title: Loading Android Kernel modules
body: <p>After weeks of mucking around i have (i think) successfully compiled g_hid.ko (USB Gadget HID module) for my Samsung Galaxy S3 but have been unable to test it. If i try and use insmod from the directory it is stored in i get <code>insmod: can't insert 'g_hid.ko': No such device</code> I'm new to this but i think this means that i should have loaded something else that g_hid is dependent on first. Any one know what this would be or how i can find out? </p>
  
  <p>Also when trying to use rmmod i receive the following error <code>rmmod: chdir(/system/lib/modules): No such file or directory</code> which is true, that directory doesnt exist, as far as i can tell, my modules are stored in /lib/modules but this is a read only file system so i cant add my modle there. I also get the same error if i try and use modprobe. Any help you can offer would be greatly appreiated.</p>
  
  <p>Thanks</p>
  
  <p>Adrian</p>