On Thu, 15 Feb 2007, Parirajan M wrote: > Hi all, > I am working on Gadget File storage implementation. I have > compiled the drivers (both g_file_storage.ko and USB Controller > Driver) as modules. > > I want to know in which order the drivers must be inserted in to kernel. > Whether > insmod g_file_storage.ko and then > insmod <controller_driver.ko> > or > insmod <controller_driver.ko> and then > insmod g_file_storage.ko
The second way is correct (load the controller driver before the gadget driver). But you didn't have to ask the mailing list. Just try it; you'll find out pretty quickly that the first way doesn't work. Note that if you use modprobe instead of insmod then you don't have to load the controller driver at all. It will automatically be loaded for you when modprobe g_file_storage. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users