Re: Random Interface numbers
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Aug 2007, Pete Zaitcev wrote: > A user reported a bug here: > https://bugzilla.redhat.com/show_bug.cgi?id=270081 > > It has two parts: > - Device is not reliable overall > - When it works, it reports strange interface numbers > > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 8 Spd=1.5 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=1267 ProdID=0210 Rev= 0.01 > S: Product=PS/2+USB Mouse > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA > I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms > > usb 2-1: new low speed USB device using uhci_hcd and address 8 > usb 2-1: config 1 has an invalid interface number: 1 but max is 0 > usb 2-1: config 1 has no interface number 0 > usb 2-1: configuration #1 chosen from 1 choice > input: PS/2+USB Mouse as /class/input/input8 > input: USB HID v1.00 Mouse [PS/2+USB Mouse] on usb-0000:00:1d.1-1 > > I don't get it, why is max zero in this case? In any configuration, the interface numbers must run from 0 to bNumInterfaces - 1. Hence if there is only one interface, its number must be 0. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel