David Brownell <[EMAIL PROTECTED]> [03/07/22 12:10]: > 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).
I believe so. I've put a console log up which shows the messages for booting the box, plugging in the device and then running lsusb. This time the camera never came up at all. See http://mjfrazer.org/~mjfrazer/linux/usb/ Apparently the device works reliably under windows. > > 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? yep. This is what the firmware guy has the device reporting. > What's "USB 2.10" -- did a spec revision happen when I wasn't looking? I dunno. :-/ The firmware guy claims: "The reason bcdUSB is set to 2.1 is that the NetChip supposedly complied with USB Specification Release Number 2.10." However, the device no longer uses the netchip. The old #'s were kept to prevent the need for their driver to change. (The device is not a consumer device.) > > 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/ No luck: [EMAIL PROTECTED] testusb]# insmod /usr/src/linux-2.6.0-test1/drivers/usb/misc/usbte st.o vendor=0x0525 usbtest: no version magic, tainting kernel. drivers/usb/misc/usbtest.c: params: vend=0x0525 prod=0x0000 usbtest 1-1:0: usb_device_probe usbtest 1-1:0: usb_device_probe - got id drivers/usb/misc/usbtest.c: matched module params, vend=0x0525 prod=0xdead drivers/usb/misc/usbtest.c: Generic USB device at 0000:02:04.2-1:0 ... high spee d {control} tests drivers/usb/core/usb.c: registered new driver usbtest [EMAIL PROTECTED] testusb]# ./testusb -D /proc/bus/usb/001/002 -s 2048 -c 5000 -t 9 ./testusb: /procdrivers/usb/misc/usbtest.c: 0000:02:04.2-1:0 TEST 9: ch9 (subse t) control tests, 5000 times /bus/usb/001/002ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes may see only coehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes ntrol tests ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes drivers/usb/misc/usbtest.c: 0000:02:04.2-1:0 dev descriptor --> -71 drivers/usb/misc/usbtest.c: ch9 subset failed, iterations left 4999 /proc/bus/usb/001/002 test 9 --> 71 (.���. ) [EMAIL PROTECTED] testusb]# ./testusb -D /proc/bus/usb/001/002 -s 2048 -c 5000 -t 9 e ./testusb: /procdrivers/usb/misc/usbtest.c: 0000:02:04.2-1:0 TEST 9: ch9 (subs t) control tests, 5000 times /bus/usb/001/002 may see only control tests drivers/usb/core/message.c: usb_control/bulk_msg: timeout drivers/usb/misc/usbtest.c: 0000:02:04.2-1:0 get dev status --> -110 drivers/usb/misc/usbtest.c: ch9 subset failed, iterations left 4999 /proc/bus/usb/001/002 test 9 --> 110 (.���. ) [EMAIL PROTECTED] testusb]# ./testusb -D /proc/bus/usb/001/002 -s 2048 -c 5000 -t 9 e ./testusb: /procdrivers/usb/misc/usbtest.c: 0000:02:04.2-1:0 TEST 9: ch9 (subs t) control tests, 5000 times /bus/usb/001/002ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes may see only coehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes ntrol tests ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes ehci_hcd 0000:02:04.2: devpath 1 ep0in 3strikes drivers/usb/misc/usbtest.c: 0000:02:04.2-1:0 dev descriptor --> -71 drivers/usb/misc/usbtest.c: ch9 subset failed, iterations left 4999 /proc/bus/usb/001/002 test 9 --> 71 (.���. ) -- Like most of life's problems, this one can be solved with bending. - Bender ------------------------------------------------------- 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
