On Fri, 26 May 2006, Norbert Preining wrote:

> > Your symptoms remind me a little of what used to happen with the Genesys 
> > chips.  Maybe the same solution will help.  Do you know how to add an 
> > entry for your drive into the unusual_devs.h file?  It should contain the 
> > US_FL_GO_SLOW flag, just like the Genesys entries.
> 
> Not 100% sure, I guess the first and second entry are VendorID and
> ProductID (or however they are called, 1006:3003 iRiver, Ltd.).

Right.

> The next two I have no idea, probalby leave it at 0x0000, 0xffff,

They are limits on the range of bcdDevice values (as shown in lsusb -v or 
in /proc/bus/usb/devices.  For testing purposes it's okay to use 0x0000, 
0xffff since that will cover the entire range.

> Then come 2 strings, but here I am out: Do I have to enter the strings
> as reported by lsusb, or are these just arbitrary description strings,
> or one is a description string, one is the "iProduct" from lsusb? Help!!

The strings don't really matter.  They are intended to be the Vendor and
the Product, but they will be overridden by the string descriptors
provided by the device.  You can make the first one "iRiver" and the
second "H300 Series".

> And for the final flags I have no idead:

The flags should be US_FL_GO_SLOW.

> So here is the stuff I can tell you, please send me an UNUSUAL_DEV
> entry (excerpts from  lsusb -v):
> 
>   idVendor           0x1006 iRiver, Ltd.
>   idProduct          0x3003 
>   bcdDevice            1.00
>   iManufacturer          73 iRiver
>   iProduct               80 iRiver H300 Series
>   iSerial                99 0123456789AB
> 
> If you need more, tell me.

That's enough.  Your entry should look like this:

UNUSUAL_DEV(  0x1006, 0x3003, 0x0100, 0x0100,
                "iRiver",
                "H300 Series",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_GO_SLOW ),

With that entry in place, there will be a visible 125 us delay in the
usbmon log between the completion of each 31-byte command block and the
submission of the following 4096-byte data transfer.

Alan Stern



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to