2010-04-14 17:13:12 g_file_storage Module Issues
Ross Squires (UNITED STATES)
Message: 88430
In the latest uclinux-dist trunk, I'm currently running into a issue to have a VFAT partition show up as USB mass storage device on a Windows machine. This is printed to the console about 15-20 times:
g_file_storage gadget: high speed config #1
After about 3-5 minutes, the device finally shows up in Windows XP, but on Windows 7, the device doesn't show up at all. Anyone else run into this issue, or may know a fix?
This is the command we're using to load the module to make the device available:
modprobe g_file_storage.ko file=/mnt/vfat.bin removable=y
QuoteReplyEditDelete
2010-04-14 17:14:40 Re: g_file_storage Module Issues
Mike Frysinger (UNITED STATES)
Message: 88431
you need to provide details about your actual hardware/software stack
QuoteReplyEditDelete
2010-04-16 14:23:44 Re: g_file_storage Module Issues
Ross Squires (UNITED STATES)
Message: 88530
Attached is out boot log and kernel config. We're also running this off of a YAFFS file system.
boot log.txt
config.txt
QuoteReplyEditDelete
2010-04-16 19:19:53 Re: g_file_storage Module Issues
Mike Frysinger (UNITED STATES)
Message: 88536
if you build for bf526-0.0 does it make a difference ?
what if you disable DMA under the MUSB option ?
[*] Disable DMA (always use PIO)
does blacklisting USB hubs make a difference ?
[*] Disable external hubs
you're using the right USB cable and plugging straight into the computer ?
under WinXP, can you actually browse the connected filesystem image ? i.e. does it actually work after waiting ?
i'm guessing using removable=n on the command line makes no difference ?
QuoteReplyEditDelete
2010-04-18 22:50:53 Re: g_file_storage Module Issues
Cliff Cai (CHINA)
Message: 88560
Hi Ross,
Try the following command:
modprobe g_file_storage.ko file=/mnt/vfat.bin removable=y stall=0
I tested it on WINDOWS XP,it works fine,but I have no windows 7 in hand,so I'm not sure if it also works on it.
btw,the trunk code is not stable,you'd better use 2009R1.
Cliff