USB port nn disabled by hub (EMI?), re-enabling
I am getting this occasionally in dmesg:
USB port nn disabled by hub (EMI?), re-enabling and I would like to know: What does the message mean, exactly? What is the actual hardware error code from the USB subsystem? Under what conditions would the root hub disable the port? Is it related to the USB power or the USB data lines?Can this power monitoring feature be turned off in the Linux driver settings? |
Okay I did some digging myself:
In stable: 2.4.37.10 2010-09-06 in /drivers/usb/hub.c /*----- in /drivers/usb/hub.h /*------ USB 2.0 spec says: 11.24.2.7.1.1 PORT_CONNECTION------ So the message is triggered when a connected port is changed to disabled by the hardware, and the code in usb.c then reenables it. It also isn't a disconnect detection or an overcurrent detection. I assume, then, that the hardware is disabling the port due to Port_Error detection: ------ USB 2.0 spec:------ It looks to me like the protocol is being disrupted. It's a shielded USB cable, and USB uses differential signaling, so I'm suspecting the USB controller in my end device (a touchscreen) is the victim of some EMI coupled either through a common 0V reference connection, or through the touch interface it is connected to. (it isn't static discharge in this case.) |
Thanks for shearing. It was driving me nuts .. I'll have to see if it's a EMI or other hardware issue.
|
In fear of necrobumping, I am constantly getting this "disabled by hub (EMI?), re-enabling" error, and the big problem is that it does NOT re-enable afterwards. Which is suspicious and points to this being something more serious than EMI.
It shuts down all my USB ports. It was fine sometime before, now it's constant. There may be interference, but there may be something else? Otherwise, why would it not be able to re-enable? UPD: on Fedora, 6.4.9 kernel, ehci. |
All times are GMT -5. The time now is 03:37 PM. |