Some Logitech mice are reported to be "keyboard pointer"
Summary
I'm using a Logitech G304 mouse, and after upgrading to GNOME 46 it's behaving abnormally for wayland popups. Reading code, debugging and I found that my mouse is detected to have the capabilities of both keyboard and pointer, which confuses mutter (and possibly some other downstream projects).
Related bug report: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7556. In the issue Logitech G502 mouse is also reported to be misdetected in some cases. I'm not sure if this shall be handled (a quirk maybe?) in udev (systemd), libinput, or mutter. In the issue I'm suggested to fill a bug report in libinput for now...
The output of sudo udevadm info /sys/class/input/event16
is in "Required information" part. It looks like udev is reporting the mouse to both be a mouse and keyboard.
Steps to reproduce
-
Plug in a Logitech USB receiver (for mice)
-
Check
sudo libinput list-devices
:Device: Logitech G304 Kernel: /dev/input/event16 Group: 5 Seat: seat0, default Capabilities: keyboard pointer Tap-to-click: n/a Tap-and-drag: n/a Tap drag lock: n/a Left-handed: disabled Nat.scrolling: disabled Middle emulation: disabled Calibration: n/a Scroll methods: button Click methods: none Disable-w-typing: n/a Disable-w-trackpointing: n/a Accel profiles: flat *adaptive custom Rotation: 0.0
But Logitech G304 is a mouse, and does not have the functionality of keyboard.
Required information
- libinput version: 1.25.0-1 (Arch Linux build)
- hardware information: Logitech G304
-
libinput record
output: record-event16 -
libinput debug-events --verbose
output: debug-event16 -
udevadm info
output: udevadm-event16