Re: Periodic reconnects of USB mouse on Dell PowerEdge R730

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Johan,


On 02/08/17 17:54, Johan Hovold wrote:
On Wed, Feb 08, 2017 at 05:41:33PM +0100, Paul Menzel wrote:
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.

You'd need to rebuild the kernel.

Also, I am unable to reproduce this problem with the *same* mice on a
laptop with a USB3 – it’s blue – port.

Ok, then the quirk is probably not the right solution (even if it could
possibly help with the disconnects).

Thank you. I’ll try that then as a data point.

I tested CentOS 7, and the problem is reproducible with their default Linux kernel 3.10, and Linux 4.9.8 von ELRepo [1].

```
$ uname -a
Linux wincastle 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ journalctl -k | tail -30
Feb 09 17:21:55 centos7 kernel: usb 3-8: New USB device found, idVendor=046d, idProduct=c077 Feb 09 17:21:55 centos7 kernel: usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 09 17:21:55 centos7 kernel: usb 3-8: Product: USB Optical Mouse
Feb 09 17:21:55 centos7 kernel: usb 3-8: Manufacturer: Logitech
Feb 09 17:21:55 centos7 kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/input/input178 Feb 09 17:21:55 centos7 kernel: hid-generic 0003:046D:C077.00B1: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-8/input0
Feb 09 17:22:56 centos7 kernel: usb 3-8: USB disconnect, device number 57
Feb 09 17:22:57 centos7 kernel: usb 3-8: new low-speed USB device number 58 using xhci_hcd Feb 09 17:22:57 centos7 kernel: usb 3-8: New USB device found, idVendor=046d, idProduct=c077 Feb 09 17:22:57 centos7 kernel: usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 09 17:22:57 centos7 kernel: usb 3-8: Product: USB Optical Mouse
Feb 09 17:22:57 centos7 kernel: usb 3-8: Manufacturer: Logitech
Feb 09 17:22:57 centos7 kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/input/input179 Feb 09 17:22:57 centos7 kernel: hid-generic 0003:046D:C077.00B2: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-8/input0
Feb 09 17:23:57 centos7 kernel: usb 3-8: USB disconnect, device number 58
Feb 09 17:23:59 centos7 kernel: usb 3-8: new low-speed USB device number 59 using xhci_hcd Feb 09 17:23:59 centos7 kernel: usb 3-8: New USB device found, idVendor=046d, idProduct=c077 Feb 09 17:23:59 centos7 kernel: usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 09 17:23:59 centos7 kernel: usb 3-8: Product: USB Optical Mouse
Feb 09 17:23:59 centos7 kernel: usb 3-8: Manufacturer: Logitech
Feb 09 17:23:59 centos7 kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/input/input180 Feb 09 17:23:59 centos7 kernel: hid-generic 0003:046D:C077.00B3: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-8/input0
Feb 09 17:24:59 centos7 kernel: usb 3-8: USB disconnect, device number 59
Feb 09 17:25:01 centos7 kernel: usb 3-8: new low-speed USB device number 60 using xhci_hcd Feb 09 17:25:01 centos7 kernel: usb 3-8: New USB device found, idVendor=046d, idProduct=c077 Feb 09 17:25:01 centos7 kernel: usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 09 17:25:01 centos7 kernel: usb 3-8: Product: USB Optical Mouse
Feb 09 17:25:01 centos7 kernel: usb 3-8: Manufacturer: Logitech
Feb 09 17:25:01 centos7 kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/input/input181 Feb 09 17:25:01 centos7 kernel: hid-generic 0003:046D:C077.00B4: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-8/input0
```

I am still wondering, how `usb3` or `usb1` gets into that path? Probably depending on the port. I’ll try that tomorrow.


Kind regards,

Paul


[1] https://elrepo.org/tiki/kernel-ml
--
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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux