Yes Vista appears to work fine with regular flash drives. Rebuilt g_file_storage.ko in debug mode as suggested. Dmesg output for Vista follows:
g_file_storage gadget: ep0-setup, length 8: 0: 80 06 00 01 00 00 40 00 g_file_storage gadget: get device descriptor g_file_storage gadget: ep0-in, length 18: 0: 12 01 00 02 00 00 00 10 25 05 a5 a4 03 03 01 02 10: 03 01 g_file_storage gadget: disconnect or port reset g_file_storage gadget-lun0: fdatasync -> 0 g_file_storage gadget: ep0-setup, length 8: 0: 80 06 00 01 00 00 12 00 g_file_storage gadget: get device descriptor g_file_storage gadget: ep0-in, length 18: 0: 12 01 00 02 00 00 00 10 25 05 a5 a4 03 03 01 02 10: 03 01 g_file_storage gadget: ep0-setup, length 8: 0: 00 09 01 00 00 00 00 00 g_file_storage gadget: set configuration g_file_storage gadget: set interface 0 g_file_storage gadget: full speed config #1 g_file_storage gadget: bulk-out, length 31: 0: 55 53 42 43 40 1c 63 83 ff 00 00 00 80 00 06 12 10: 01 80 00 ff 00 00 00 00 00 00 00 00 00 00 00 g_file_storage gadget: SCSI command: INQUIRY; Dc=6, Di=255; Hc=6, Hi=255 g_file_storage gadget: bulk-in, length 0: g_file_storage gadget: bulk-in set halt g_file_storage gadget: sending command-failure status g_file_storage gadget: sense data: SK x05, ASC x24, ASCQ x00; info x0 g_file_storage gadget: bulk-in, length 13: 0: 55 53 42 53 40 1c 63 83 ff 00 00 00 01 g_file_storage gadget: bulk-out, length 0: g_file_storage gadget: bulk_out_complete --> -108, 0/31 g_file_storage gadget: disconnect or port reset g_file_storage gadget-lun0: fdatasync -> 0 g_file_storage gadget: reset config g_file_storage gadget: reset interface On 3/15/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Thu, 15 Mar 2007 [EMAIL PROTECTED] wrote: > > > Hi, > > > > I used the g_file_storage gadget to implement an ActiveSync-like > > capability between a 2.6.18-based gumstix board (USB client) and an > > XP host. When the two are connected, the gumstix looks to the XP host > > like a "Mass Storage Device" and it automatically appears on the XP > > host under the category of "Devices with Removable Storage." Users > > can then interact with gumstix as though it were a flash drive -- > > dragging and dropping files to/from the gumstix board. > > > > Unfortunately this capability does not work on Windows Vista. When > > the gumstix is plugged into a Vista host, the Vista status screen > > indicates "USB Mass Storage Device ... Ready to Use" and then shortly > > later "Linux File-Stor Gadget USB Device ... Searching preconfigured > > driver folders ..." But after a lengthy search period (2-3 minutes) > > the status screen disappeared and the gumstix device was nowhere to be > > found in the "My Computer" folder. > > > > I opened the Device Manager on Vista and saw that an object labeled > > simply "Disk drive" was added/removed in the "Disk drives" folder each > > time I plugged/unplugged the gumstix. The drive does not show up in > > the "My Computer" display nor is it assigned a drive number, so it is > > not addressable. > > > > Does anyone know if there is g_file_storage work in progress to > > support Windows Vista, or can someone suggest a workaround to the > > current problem? > > The answer to both questions is No. But you can help start the process > off by gathering some data. > > In the source file for g_file_storage, drivers/usb/gadget/file_storage.c, > around line 220 you'll see this: > > #undef DEBUG > #undef VERBOSE > #undef DUMP_MSGS > > Change those to #define instead of #undef and rebuild the driver. After > trying to connect to the Vista host, run dmesg to see the debugging log > and post the output here. Maybe it will tell us what's going wrong. > > Does Vista work okay with regular USB flash drives? > > 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