Dear Johan,
On 02/08/17 16:50, Johan Hovold wrote:
On Wed, Feb 08, 2017 at 04:15:02PM +0100, Paul Menzel wrote:
On 02/08/17 14:02, Greg KH wrote:
On Wed, Feb 08, 2017 at 12:16:44PM +0100, Paul Menzel wrote:
On the server Dell PowerEdge R730 with firmware 2.3.4, and Linux 4.9.2, the
connected USB mouse disconnects and connects again periodically. This can be
reproduced with two different (Logitech) mice.
```
$ more /proc/version
Linux version 4.9.0-1-amd64 (debian-kernel@xxxxxxxxxxxxxxxx) (gcc version
6.3.0 20161229 (Debian 6.3.0-2) ) #1 SMP Debian 4.9.2-2 (2017-01-12)
$ journalctl -o short-precise -k -f
[…]
Feb 08 12:00:16.193817 poweredger730 kernel: usb 3-2: USB disconnect, device
number 84
Looks like a hardware issue, the kernel can not cause a device to
disconnect itself.
Especially as this happens with two different mice, you might want to
see if there's something wrong with that port.
With three devices of the Logitech model 046d:c077 (Logitech, Inc. M105
Optical Mouse) the problem could be reproduced on each USB port.
Have you tried enabling the always-poll HID-quirk, which is needed for
certain devices to prevent issues like this?
See commit bfe3c873e978 ("HID: usbhid: enable always-poll quirk for Elan
Touchscreen") for an example.
No, I have not. Is this run-time configurable, or do I need to build the
Linux kernel myself.
Also, I am unable to reproduce this problem with the *same* mice on a
laptop with a USB3 – it’s blue – port.
```
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:1112 Acer, Inc
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```
Here are the Linux messages.
```
Feb 08 17:30:38 tuxedobookbu1406 kernel: usb 1-1: New USB device found,
idVendor=046d, idProduct=c077
Feb 08 17:30:38 tuxedobookbu1406 kernel: usb 1-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Feb 08 17:30:38 tuxedobookbu1406 kernel: usb 1-1: Product: USB Optical Mouse
Feb 08 17:30:38 tuxedobookbu1406 kernel: usb 1-1: Manufacturer: Logitech
Feb 08 17:30:38 tuxedobookbu1406 kernel: calling hid_init+0x0/0x1000
[usbhid] @ 179
Feb 08 17:30:38 tuxedobookbu1406 kernel: usbcore: registered new
interface driver usbhid
Feb 08 17:30:38 tuxedobookbu1406 kernel: usbhid: USB HID core driver
Feb 08 17:30:38 tuxedobookbu1406 kernel: initcall hid_init+0x0/0x1000
[usbhid] returned 0 after 1358 usecs
Feb 08 17:30:38 tuxedobookbu1406 kernel: calling
hid_generic_init+0x0/0x1000 [hid_generic] @ 179
Feb 08 17:30:38 tuxedobookbu1406 kernel: input: Logitech USB Optical
Mouse as
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:046D:C077.0001/input/input12
Feb 08 17:30:38 tuxedobookbu1406 kernel: hid-generic
0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB
Optical Mouse] on usb-0000:00:14.0-1/input0
Feb 08 17:30:38 tuxedobookbu1406 kernel: initcall
hid_generic_init+0x0/0x1000 [hid_generic] returned 0 after 167 usecs
```
Note, the “path” contains *usb1* instead of *usb3* in the “path” below
on the Dell server.
```
/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:046D:C077.042B/input/input1068
```
Kind regards,
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html