Michael Zapf schrieb:
I have some trouble using a memory stick of LG in my Athlon64 system.
When I plug it in, dmesg gives messages like this:
ehci_hcd 0000:00:02.2: port 6 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.2: port 6 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: Cannot enable port 6. Maybe the USB cable is bad?
just minutes before starting to pack my barebone to send it to service,
it seems that I solved the issue with the USB stick by patching the
ehci-hub.c file.
Actually, the messages in the log file
ehci_hcd 0000:00:02.2: port 6 reset error -110
showed that I had a timeout problem (110=ETIMEOUT). I found a call to a
function "handshake" in ehci-hub.c which set the timeout to 500µs.
Increasing this timeout to 600µs allows the onboard hub to complete the
reset. The stick is correctly mounted afterwards. (I tried 550, but this
was still not enough.)
Any chance to have this included in future patches and versions? I guess
there could be other people around with such a problem. The increase of
the timeout should not hurt too much, should it?
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]