USB mouse boot problem (ehci-pci errors)

Sometimes I am getting this message when the booting process starts:

 1.745397] ehci-pci 0000:00:1a.0: can't setup: -110
 1.745475] ehci-pci 0000:00:1a.0: init 0000:00:1a.0 fail, -110

And every time it appears my mouse doesn’t work (even the LED is off). This cable connection is: Monitor connected to the USB port and the mouse plugged in the monitor. This has worked for years without problems. However after a recent reinstall it started happening sometimes. The only new thing is that I installed using UEFI/GPT setup and the mother board firmware is updated to the latest. Interestingly when the mouse is plugged directly into a USB port of the PC this doesn’t happen. But I plug it in the monitor (which has 2 USB ports for devices) because all my USB ports are occupied by other devices.

USB mouse (Logitech M100) in case that matters.

I don’t know how to re-activate the mouse when this happens, so I reboot from console.

When booted normally and I grep the dmesg I see:


    0.936493] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    0.936499] ehci-pci: EHCI PCI platform driver
    0.936586] ehci-pci 0000:00:1a.0: EHCI Host Controller
    0.936590] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
    0.936601] ehci-pci 0000:00:1a.0: debug port 2
    0.940503] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
    0.940514] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf7634000
    0.946031] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
    0.946059] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    0.946060] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    0.946061] usb usb1: Product: EHCI Host Controller
    0.946062] usb usb1: Manufacturer: Linux 3.16.7-24-desktop ehci_hcd
    0.946063] usb usb1: SerialNumber: 0000:00:1a.0
    0.946144] hub 1-0:1.0: USB hub found
    0.946149] hub 1-0:1.0: 2 ports detected

In UEFI/BIOS I have:

Intel USB2.0 EHCI Controller = Enabled
Legacy USB Support = Enabled
Legacy USB3.0 Support = Enabled
Intel xHCI Mode = Smart Auto
EHCI Hand-off = Disabled

The MB is ASUS P8Z77-V with latest firmware.

What might the problem be?

I’m guessing that this is a firmware problem (the firmware is wrongly identifying or configuring the USB port).

You mean mobo firmware?

Yes.

I had a USB problem on one of my computers. The problem did not occur until I updated the BIOS. And it went away after a later BIOS update. (Note that it is not the same problem that you are having).

Note, also, that I indicated that I was guessing.

Noted. However if that is the case I am lost - this is the latest firmware.

Plugging the mouse into the monitor?? and how is the monitor attached??? I’m confused. Is this some sort of KVM switch??

The monitor has additional USB connection which allows software control from the computer. All big EIZO monitors have that. And the monitor itself has 2 USB ports allowing one to plug there other devices.

It may confuse things to have the mouse in second tier USB so try plugging directly in machine so it gets recognized . After that it may work in the monitor, maybe??

If it does not you may have to explicitly set it up in the xorg.conf.d files

I thought so too. But then the question is - how come for many years it wasn’t confusing and now suddenly it is?

After that it may work in the monitor, maybe??

No. Plugging it back in the monitor doesn’t work.

If it does not you may have to explicitly set it up in the xorg.conf.d files

The USB connection fails as the very first thing at boot time, i.e. much earlier than starting X. And strangely - this happens only sometimes.

Do you turn the computer and the monitor on at the same time?? could be a timing problem.

I don’t turn anything off. Just reboot.

A solution (or workaround) I found:

Disable the initialization of USB in BIOS/UEFI.

After that I haven’t had any ehci messages. Hopefully it will be long term.

Interesting.