Hi. I'm pretty new to USB, so bear with me if I seem confused.
I have a new device I'm writing a driver for. 2.6.0-test1 detects the device and puts it in the USB tree. My driver's probe function is being called.
However, the user space utility lsusb cannot always see the device properly. I am using lsusb from the usbutils-0.11 package I downloaded today. The first time I use lsusb after plugging the device, I get output like this:
Was this the first error reported -- with enumeration (including string fetches) working correctly? I've sometimes seen such problems with buggy firmware, since "lsusb" and the kernel may ask for descriptors in different ways (both being perfectly legal).
Also, if I do 'cat /proc/bus/usb/devices' I see the following in my log:
ehci_hcd 0000:02:04.2: devpath 4 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 4 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 4 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 4 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 4 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 4 ep0in 3strikes
Also suggesting that the device firmware has some kind of problem.
This is my driver's entry in /proc/bus/usb/devices T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 10 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0525 ProdID=dead Rev= 2.02 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Is that all correct, with NetChip assigning you that product ID? What's "USB 2.10" -- did a spec revision happen when I wasn't looking?
If there is a regression test or anything that would be useful for me to run against this device, I'd be happy to do so.
From a 2.6 host you can use test9 and test10 from "usbtest", more info at http://www.linux-usb.org/usbtest/
- Dave
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
