On Tue, 5 Sep 2006, Randy Pan wrote:

> When build the UDC and file_storage drivers as loadable modules, 
> everything works fine by doing insmod. If configure them to statically 
> linked in the kernel, I got error messages like "g_file_storage 
> gadget-lun0: unable to open backing file: /dev/hde2". The USB file 
> storage backing file is an IDE partition,  /dev/hde2.

That's probably because g_file_storage tries to open /dev/hde2 before udev
has populated the /dev directory.

> Can file_storage driver be statically built into the kernel?

For the answer, read this email thread (posted just 4 days ago):

http://marc.theaimsgroup.com/?t=115715717800002&r=1&w=2

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to