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

Reply via email to