Gentoo Archives: gentoo-user

From: Pouru Lasse <lasse.pouru@××××××××××××.fi>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] USB mouse disconnecting
Date: Sun, 13 Jan 2019 12:30:20
Message-Id: 87a7k4bv04.fsf@edu.turkuamk.fi
1 For the past few weeks I've had strange issues with my USB mouse
2 randomly disconnecting and reconnecting right afterwards. At first I
3 thought it might be the USB port dying, but it happens with multiple USB
4 ports (both USB 2 and 3) and two different Logitech mice. I haven't
5 noticed any issues with other USB devices.
6
7 Is this more likely a hardware or a software problem? I'm on kernel
8 4.14.83 and I'm pretty sure the problems didn't start right after the
9 update, although it's hard to tell because the disconnects seem
10 completely random and don't even happen every day. Dmesg output looks
11 something like this, sometimes with multiple disconnects in a row, with
12 the device number being incremented each time:
13
14 [41235.377257] usb 3-2: USB disconnect, device number 17
15 [41235.645027] usb 3-2: new low-speed USB device number 18 using xhci_hcd
16 [41235.778228] usb 3-2: New USB device found, idVendor=046d, idProduct=c01e
17 [41235.778232] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
18 [41235.778234] usb 3-2: Product: USB-PS/2 Optical Mouse
19 [41235.778236] usb 3-2: Manufacturer: Logitech
20 [41235.783149] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:046D:C01E.001A/input/input41
21 [41235.783504] hid-generic 0003:046D:C01E.001A: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:14.0-2/input0
22
23 Less often there are also errors like:
24
25 [13844.911317] usb 3-2: device not accepting address 15, error -71
26 [13844.911362] usb usb3-port2: unable to enumerate USB device
27
28 and:
29
30 [42555.126541] usb 3-2: reset low-speed USB device number 18 using xhci_hcd
31 [42555.382373] usb 3-2: device descriptor read/64, error -71
32 [42555.763574] usb 3-2: device descriptor read/all, error -71
33 [42556.022536] usb 3-2: reset low-speed USB device number 18 using xhci_hc
34
35 Usually the mouse starts working again right away, but sometimes I need
36 to switch it to another port despite it being visible in lsusb. This, I
37 guess, has something to do with the device number changing.
38
39 One thing I suspected was USB power management, but as far as I know I
40 haven't enabled any such options, at least not on purpose.
41
42 - Lasse

Replies

Subject Author
Re: [gentoo-user] USB mouse disconnecting R0b0t1 <r030t1@×××××.com>
Re: [gentoo-user] USB mouse disconnecting Jack <ostroffjh@×××××××××××××××××.net>