Opened 6 years ago

Last modified 6 months ago

#9936 new bug

EHCI: USB hot-plugging fails, error 0x00088141

Reported by: jessicah Owned by: mmlr
Priority: normal Milestone: R1
Component: Drivers/USB/EHCI Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Sometimes when hot-plugging my USB keyboard/mouse, the USB devices stop working. E.g. my mouse doesn't light up, or the blue light on my wireless keyboard's dongle doesn't go out (it seems to stay on until the device is initialised from what I've observed). Happens on hrev45982.

Attachments (4)

clipped syslog (1.5 KB ) - added by jessicah 6 years ago.
syslog
listdev.txt (2.4 KB ) - added by jessicah 6 years ago.
listusb.txt (544 bytes ) - added by jessicah 6 years ago.
clean syslog (126.0 KB ) - added by jessicah 6 years ago.
syslog, no hot-plugging

Download all attachments as: .zip

Change History (6)

by jessicah, 6 years ago

Attachment: clipped syslog added

syslog

by jessicah, 6 years ago

Attachment: listdev.txt added

by jessicah, 6 years ago

Attachment: listusb.txt added

by jessicah, 6 years ago

Attachment: clean syslog added

syslog, no hot-plugging

comment:1 by jscipione, 6 years ago

It would be quite a coincidence but, could this be related to the problem described here https://plus.google.com/u/0/116960357493251979546/posts/RZpndv4BCCD ??

I see a few snooze(10000) calls in the ehci and uchi add-ons code.

If you can't resolve the link, it describes a long time issue in Linux resulting from a misinterpretation of the USB 2 spec:

section 7.1.7.7, the spec states "The USB System Software must provide a 10 ms resume recovery time (TRSMRCY) during which it will not attempt to access any device connected to the affected (just-activated) bus segment."

Apparently 10ms is the minimum time to wait before you are allowed to check whether or not you can access a device connected to the bus, waiting 10ms doesn't guarantee that the device is available.

comment:2 by waddlesplash, 6 months ago

Component: Drivers/USBDrivers/USB/EHCI
Summary: USB hot-plugging failsEHCI: USB hot-plugging fails, error 0x00088141
Note: See TracTickets for help on using tickets.