Logitech G903 (046d:c091) mouse wheel is way too fast if kernel option HID_LOGITECH_HIDPP=m/y
After updating my Debian system recently (kernel version 6.0.12 -> 6.1.4), my mouse wheel was going crazy: whereas I could easily middle-click things or use the wheel to select my desktop, it now was super sensitive, making both tasks nigh impossible.
Steps to reproduce
Install Debian testing, add Openbox and LightDM, load into openbox session, try to select desktop using the mousewheel.
Preventing the module
hid_logitech_hidpp from being loaded fixes the issue.
Unloading the module once X11 has started produces no error, but also does not fix the problem.
I've found mention of
/etc/libinput and a way of adding quirks there online,
but I do not have such a directory and no Debian package ships it.
- libinput version: 1.22.0
- hardware information: Logitech G903 (046d:c091) set to 400 dpi using piper. logitech_g903_lsusb.txt
libinput debug-events --verboseoutput:
The bad files are from a fresh install of Debian Bookworm (aka testing atm), plus Lightdm and Openbox, all with stock config. While only OB was affected to the point of the scrollwheel being useless, middle-clicking links in a browser became almost impossible since the page would scroll (and the link move) before the click event ever registered. The module mentioned above is loaded automatically during boot or maybe during X11 startup.
good files are recordings of using the mousewheel with everything setup the same, except adding the module to blacklist on the kernel commandline, and thus is never loaded.
I've also reported this bug as a Debian kernel bug (because that's what it looked like in the beginning): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029584
I am not sure if this is a bug with the kernel, strictly speaking, or even with libinput. Maybe openbox needs to handle this better? But other apps (Browser, GTK and Qt apps) also noticeably sped up scrolling.