Gentoo Archives: gentoo-user

From: Mike Edenfield <kutulu@××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Intermittent USB device failures
Date: Thu, 14 Aug 2014 01:52:15
Message-Id: 005d01cfb762$56aadcf0$040096d0$
1 I've recently taken an old Windows XP system and rebuilt it to run Gentoo.
2 Since then, I've been having issues using any type of USB input device
3 (which is particularly bad, since it has no PS/2 input ports).
5 After some indeterminate period of time, the input device simply stops
6 responding. Typically, I can use the console for a few days at a time before
7 the keyboard dies, but if I load up a GUI and start using the mouse it takes
8 less than a few hours. I'm fairly sure this problem is USB-related, since I
9 believe I've eliminated everything downstream of that: I've tried using both
10 evdev and legacy mouse and keyboard drivers in both the kernel and X and all
11 of them work the same way. evtest shows no activity from the device once it
12 breaks, nor do the legacy /dev driver files.
14 Most notably, removing and re-plugging the device doesn't register as a
15 device attachment. If, for example, I take a working USB mouse and swap USB
16 ports, I get this:
18 [ 1219.418050] usb 2-8: USB disconnect, device number 3
19 [ 1225.258011] usb 2-7: new low-speed USB device number 4 using ohci-pci
20 [ 1225.449627] usb 2-7: New USB device found, idVendor=046d, idProduct=c044
21 [ 1225.449946] usb 2-7: New USB device strings: Mfr=1, Product=2,
22 SerialNumber=0
23 [ 1225.450240] usb 2-7: Product: USB-PS/2 Optical Mouse
24 [ 1225.450740] usb 2-7: Manufacturer: Logitech
25 [ 1225.464165] input: Logitech USB-PS/2 Optical Mouse as
26 /devices/pci0000:00/0000:00:0b.0/usb2/2-7/2-7:1.0/input/input6
27 [ 1225.464666] hid-generic 0003:046D:C044.0003: input,hidraw1: USB HID v1.10
28 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:0b.0-7/input0
30 If I do the same thing after the device has stopped functioning, I get the
31 disconnect message but that's it:
33 [199729.451060] i2c i2c-3: sendbytes: NAK bailout.
34 [199733.215303] usb 2-7: USB disconnect, device number 4
35 [199814.495204] type=1006 audit(1394381639.494:3): pid=5861 uid=0 old
36 auid=4294967295 new auid=1000 old ses=4294967295 new ses=2 res=1
38 (the i2c errors, I believe, are unrelated; they seem to be caused by the
39 nouveau driver I'm using).
41 I've gone through at least 6 different kernel versions and they all exhibit
42 this same behavior. At this point I'm not even sure what else I can do to
43 troubleshoot this problem, so any advice would be appreciated!
45 Thanks,
47 --Mike


Subject Author
Re: [gentoo-user] Intermittent USB device failures Volker Armin Hemmann <volkerarmin@××××××××××.com>