FS#12926 - usb connection hangs after lsusb -v

Attached to Project: Rockbox
Opened by Sven (skoehler) - Sunday, 05 January 2014, 23:36 GMT
Task Type Bugs
Category Drivers
Status Unconfirmed
Assigned To No-one
Operating System Sansa Clip Zip
Severity Medium
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I'm using Rockbox version 17a1867-140105 (installed it today) on a Sansa Clip Zip.
Connect your player to a PC running Linux. Both the internal memory and the SD card are recognized by the PC and mounted.
Open a terminal and as root execute the following command: lsusb -v

The lsusb -v will hang. I assume that lsusb enumerates the usb bus and the devices endpoints and whatnot. However, rockbox doesn't seem to reply or replies improperly to whatever packets lsusb sends over the USB cable. Subsequently to the hang, no files can be copied to/from the player. It has to be disconnected and reconnected.

Naturally, lsusb -v shouldn't cause these issues. Please fix this. I may be able to provide a USB trace if that is required. I forgot how to do that, but one can record every usb package that a devices receives/sends on Linux.
This task depends upon

Comment by Thomas Martitz (kugel.) - Monday, 06 January 2014, 09:53 GMT
Can you please try the very latest build? A usb-related fix landed after the build you're running.
Comment by Sven (skoehler) - Monday, 06 January 2014, 20:36 GMT
I upgraded to 204668d but the error still exists. lsusb -v hangs and in dmesg the following error messages appear:
[ 6499.004846] usb 2-1.2: new high-speed USB device number 14 using ehci-pci
[ 6499.411480] usb 2-1.2: device not accepting address 14, error -71
[ 6499.484581] usb 2-1.2: new high-speed USB device number 15 using ehci-pci
[ 6504.883455] usb 2-1.2: device not accepting address 15, error -75
[ 6504.883604] hub 2-1:1.0: unable to enumerate USB device on port 2
Comment by Ali Akcaagac (aakcaagac) - Saturday, 22 February 2014, 18:43 GMT
I confirm this behaviour with 3.13 and my Sansa Clip Zip 8gb