Attached USB devices are ignored.

Bug #1794245 reported by Gerald
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After few suspends or detach-/attachments of USB devices libinput starts ignoring new devices due to too many input devices. Unnecessary to say there is only one device attached.

journalctr reports this behavior:

/usr/lib/gdm3/gdm-x-session[1407]: (**) PixArt USB Optical Mouse: always reports core events#
/usr/lib/gdm3/gdm-x-session[1407]: (**) Option "Device" "/dev/input/event295"
/usr/lib/gdm3/gdm-x-session[1407]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[1407]: (II) event295 - PixArt USB Optical Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[1407]: (II) event295 - PixArt USB Optical Mouse: device set to 1000 DPI
/usr/lib/gdm3/gdm-x-session[1407]: (II) event295 - PixArt USB Optical Mouse: device is a pointer
/usr/lib/gdm3/gdm-x-session[1407]: (II) event295 - PixArt USB Optical Mouse: device removed
/usr/lib/gdm3/gdm-x-session[1407]: (EE) Too many input devices. Ignoring PixArt USB Optical Mouse
/usr/lib/gdm3/gdm-x-session[1407]: (II) UnloadModule: "libinput"

The bug seems related to a known libinput bug 1579567.
https://bugzilla.redhat.com/show_bug.cgi?id=1579567

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xserver-xorg-input-libinput 0.27.1-1
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 25 09:11:31 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
MachineType: ASUSTeK COMPUTER INC. UX51VZA
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-34-generic root=UUID=05aab5a7-bef4-4178-acea-7bebfacf8766 ro quiet splash vt.handoff=1
SourcePackage: xserver-xorg-input-libinput
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/03/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX51VZA.204
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX51VZA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX51VZA.204:bd12/03/2012:svnASUSTeKCOMPUTERINC.:pnUX51VZA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX51VZA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: UX
dmi.product.name: UX51VZA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Gerald (kablooie) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-input-libinput (Ubuntu):
status: New → Confirmed
Revision history for this message
Giacomo Trimarchi (giacomo.trimarchi3173) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Reassigning to the kernel, the redhat bug states the issue is there and it has been marked as fixed in a kernel update

affects: xserver-xorg-input-libinput (Ubuntu) → linux (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

So the fix lands in kernel >= v4.18.

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Raphaël Droz (raphael-droz) wrote :
Download full text (7.7 KiB)

I'm getting a possibly similar bug.
Lately, during the first couple of minutes after login, I'm getting terrible mouse freezes every two seconds:
Here is a truncated sample:
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) XINPUT: Adding extended input device "SEMICCHIP Usb Mouse" (type: MOUSE, id 14)
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (**) Option "AccelerationScheme" "none"
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (**) SEMICCHIP Usb Mouse: (accel) selected scheme none/0
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (**) SEMICCHIP Usb Mouse: (accel) acceleration factor: 2.000
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (**) SEMICCHIP Usb Mouse: (accel) acceleration threshold: 4
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) event17 - SEMICCHIP Usb Mouse: is tagged by udev as: Mouse
juin 08 10:01:57 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) event17 - SEMICCHIP Usb Mouse: device is a pointer
juin 08 10:01:59 hostn kernel: usb 1-1: USB disconnect, device number 125
juin 08 10:01:59 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) config/udev: removing device SEMICCHIP Usb Mouse
juin 08 10:01:59 hostn /usr/lib/gdm3/gdm-x-session[3092]: (**) Option "fd" "82"
juin 08 10:01:59 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) event17 - SEMICCHIP Usb Mouse: device removed
juin 08 10:01:59 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) UnloadModule: "libinput"
juin 08 10:01:59 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) systemd-logind: releasing fd for 13:81
juin 08 10:01:59 hostn kernel: usb 1-1: new low-speed USB device number 126 using xhci_hcd
juin 08 10:02:00 hostn kernel: usb 1-1: New USB device found, idVendor=1a2c, idProduct=0042, bcdDevice= 1.10
juin 08 10:02:00 hostn kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
juin 08 10:02:00 hostn kernel: usb 1-1: Product: Usb Mouse
juin 08 10:02:00 hostn kernel: usb 1-1: Manufacturer: SEMICCHIP
juin 08 10:02:00 hostn kernel: input: SEMICCHIP Usb Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:1A2C:0042.007A/input/input147
juin 08 10:02:00 hostn kernel: hid-generic 0003:1A2C:0042.007A: input,hidraw0: USB HID v1.10 Mouse [SEMICCHIP Usb Mouse] on usb-0000:00:14.0-1/input0
juin 08 10:02:00 hostn mtp-probe[7409]: checking bus 1, device 126: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
juin 08 10:02:00 hostn mtp-probe[7409]: bus: 1, device: 126 was not an MTP device
juin 08 10:02:00 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) config/udev: Adding input device SEMICCHIP Usb Mouse (/dev/input/mouse0)
juin 08 10:02:00 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) No input driver specified, ignoring this device.
juin 08 10:02:00 hostn /usr/lib/gdm3/gdm-x-session[3092]: (II) This device may have been added with another device file.
juin 08 10:02:00 hostn /usr/lib/gdm3/gdm-x-session[1617]: (II) config/udev: Adding input device SEMICCHIP Usb Mouse (/dev/input/mouse0)
juin 08 10:02:00 hostn /usr/lib/gdm3/gdm-x-session[1617]: (II) No input driver specified, ignoring this device.
juin 08 10:02:00 hostn /usr/lib/gdm3/gdm-x-session[1617]: (II) This device may have been added with a...

Read more...

Revision history for this message
Raphaël Droz (raphael-droz) wrote :
Revision history for this message
bol (bol) wrote :
Download full text (6.2 KiB)

This issue, especially comment #7 looks very much like the issues I've been having since I installed Ubuntu on my desktop for the first time.

I have described the issue in this askubuntu post more in detail: https://askubuntu.com/questions/1286301/ubuntu-20-04-1-lts-mouse-removed-and-added-intermittently

Log messages when the issue occurs:
```
nov 08 19:33:19 trillian kernel: usb 2-1.4.2: USB disconnect, device number 15
nov 08 19:33:19 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) config/udev: removing device Logitech Gaming Mouse G400
nov 08 19:33:19 trillian /usr/lib/gdm3/gdm-x-session[3785]: (**) Option "fd" "78"
nov 08 19:33:19 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) event2 - Logitech Gaming Mouse G400: device removed
nov 08 19:33:19 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) UnloadModule: "libinput"
nov 08 19:33:19 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) systemd-logind: releasing fd for 13:66
nov 08 19:33:19 trillian kernel: usb 2-1.4.2: new full-speed USB device number 16 using ehci-pci
nov 08 19:33:20 trillian kernel: usb 2-1.4.2: New USB device found, idVendor=046d, idProduct=c245, bcdDevice=69.00
nov 08 19:33:20 trillian kernel: usb 2-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
nov 08 19:33:20 trillian kernel: usb 2-1.4.2: Product: Gaming Mouse G400
nov 08 19:33:20 trillian kernel: usb 2-1.4.2: Manufacturer: Logitech
nov 08 19:33:20 trillian kernel: input: Logitech Gaming Mouse G400 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.2/2-1.4.2:1.0/0003:046D:C245.0016/input/input29
nov 08 19:33:20 trillian kernel: hid-generic 0003:046D:C245.0016: input,hidraw0: USB HID v1.10 Mouse [Logitech Gaming Mouse G400] on usb-0000:00:1d.0-1.4.2/input0
nov 08 19:33:20 trillian kernel: hid-generic 0003:046D:C245.0017: hiddev0,hidraw1: USB HID v1.10 Device [Logitech Gaming Mouse G400] on usb-0000:00:1d.0-1.4.2/input1
nov 08 19:33:20 trillian mtp-probe[7109]: checking bus 2, device 16: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.2"
nov 08 19:33:20 trillian mtp-probe[7109]: bus: 2, device: 16 was not an MTP device
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) config/udev: Adding input device Logitech Gaming Mouse G400 (/dev/input/mouse0)
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) No input driver specified, ignoring this device.
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) This device may have been added with another device file.
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[2421]: (II) config/udev: Adding input device Logitech Gaming Mouse G400 (/dev/input/mouse0)
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[2421]: (II) No input driver specified, ignoring this device.
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[2421]: (II) This device may have been added with another device file.
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[2421]: (II) config/udev: Adding input device Logitech Gaming Mouse G400 (/dev/input/event2)
nov 08 19:33:20 trillian /usr/lib/gdm3/gdm-x-session[3785]: (II) config/udev: Adding input device Logitech Gaming Mouse G400 (/dev/input/event2)
nov 08 19:33:20 trillian /usr/li...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.