You are not logged in.

#1 2013-07-17 11:04:07

gadget3000
Member
Registered: 2010-05-11
Posts: 23

Kernel does not recognise generic USB device

Hi everyone!

Up until about a week ago I could connect a USB device that I have, and I could use it fine. But (I think) after upgrading my kernel to 3.9.9 it's stopped functioning properly. Now it doesn't show up in lsusb and the kernel just spits this out:
[  251.221597] usb 2-1.2: new full-speed USB device number 4 using ehci-pci
[  251.307277] usb 2-1.2: unable to read config index 0 descriptor/start: -61
[  251.307286] usb 2-1.2: can't read configurations, error -61
[  251.374908] usb 2-1.2: new full-speed USB device number 5 using ehci-pci
[  251.460750] usb 2-1.2: unable to read config index 0 descriptor/start: -61
[  251.460759] usb 2-1.2: can't read configurations, error -61
[  251.528404] usb 2-1.2: new full-speed USB device number 6 using ehci-pci
[  251.547772] usb 2-1.2: unable to read config index 0 descriptor/start: -61
[  251.547780] usb 2-1.2: can't read configurations, error -61
[  251.615081] usb 2-1.2: new full-speed USB device number 7 using ehci-pci
[  251.634337] usb 2-1.2: unable to read config index 0 descriptor/start: -61
[  251.634344] usb 2-1.2: can't read configurations, error -61
[  251.638274] hub 2-1:1.0: unable to enumerate USB device on port 2

Also if I use linux-lts instead (3.0.85-1) the device is recognised. But (and this might just be me) I can't use the device with the program I usually use it with and libusb returns a pipe error when I use libusb_get_device_descriptor_ascii.
The program definitely isn't the issue because it works on another (Ubuntu) PC, even with the same USB hardware.

If it helps, here's what the linux-lts says:
[ 2076.422864] usb 2-1.2: new full speed USB device number 6 using ehci_hcd
[ 2076.534811] usb 2-1.2: unable to read config index 0 descriptor/start: -61
[ 2076.534817] usb 2-1.2: chopping to 0 config(s)
[ 2076.536300] usb 2-1.2: string descriptor 0 malformed (err = -61), defaulting to 0x0409
[ 2076.540936] usb 2-1.2: no configuration chosen from 0 choices

I've tried kernels 3.9.{5,6,7,8,9,10} and none of them work (even though it's definitely worked on 3.9.6 before!).

Any ideas? And thanks for any help you can give.

Last edited by gadget3000 (2013-07-26 13:35:00)

Offline

#2 2013-07-26 14:02:15

gadget3000
Member
Registered: 2010-05-11
Posts: 23

Re: Kernel does not recognise generic USB device

I've also uploaded a wireshark dump here (http://underrun.org/~gadget/energy-usb.pcapng) which captures what happens when I plug in the device.

Offline

Board footer

Powered by FluxBB