On Sun, 1 Feb 2004, Gene Heskett wrote:

> Can I toss out that I have one device on my usb bus that violates
> the hell out of this spec if that 4 Alt limitation is what it says:
> --
> T:  Bus=03 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  5 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=046d ProdID=0900 Rev= 0.90
> C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> I:  If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
> I:  If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
> I:  If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
> I:  If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 640 Ivl=1ms
> I:  If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
> I:  If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
> I:  If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
> I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=84(I) Atr=03(Int.) MxPS=   1 Ivl=8ms
> ---
> I believe thats the Logitech Clicksmart 310 thats currently plugged
> in, but which we have no drivers for.  It has Sunplus chips in it.
> This is probably why verizon gave them away for signing up for DSL. :)

No, no -- it's not a 4 altsetting limitation.  The spec doesn't put any 
particular limit on the number of altsettings, other than the total number 
has to fit into a single byte so it can't be larger than 255.  The problem 
Frank faced was that the altsettings weren't numbered correctly.  His 
device had an interface with two altsettings numbered 0 and 4, which is 
illegal: The altsetting numbers must go from 0 to one less than the 
number of altsettings.

Your device looks fine.  Interface 0 has eight altsettings numbered 0 to
7, and interface 1 has one altsetting numbered 0.

Alan Stern




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to