I am having an issue with the scroll wheel on my Logitech G903 wireless mouse. When I use the scroll wheel, I have to scroll 2 times for it to work. This only happens on direction change on the scroll wheel, and it only happens when I am using it wirelessly. I can also use it in wired mode, and in wired mode, i am not experiencing such issues with my scroll wheel. I have included an example below of how the issue is affecting me in all uis.
Just wanted to note that I am also having this issue with my Logitech MX Master 2S, which is connected through the Logitech Unifying dongle.
Often, if not always, the first scroll in the opposite direction is ignored. It’s not too annoying, say, while browsing, but all the more in games, when switching through an item bar.
Update: I’ve used libinput debug-events to print out the scroll events, which shows that the events on direction change are definitely registered, but they somehow don’t get executed. Here’s the log: https://0x0.st/HNw1.txt
I’ve inserted a line of ##### above every scroll event that is registered, but not executed.
Got the same issue with the Logitech G502 Lightspeed when using the dongle, although it works perfectly fine in wired mode. I have tried using another Lightspeed receiver, cleaning the mouse, and reconnecting the receiver via Solaar, but unfortunately, nothing has helped so far.
I only recently found a solution to this. To resolve the issue, you will need to disable high resolution scrolling for the specific mouse in libinput. To do this, first you will need to find the name of your mouse. Run the sudo evtest command, and after it has listed all devices, you can Ctrl+C and take a look at the options. Find the exact name of your mouse, edit the /etc/libinput/local-overrides.quirks file, and add the following:
[YOUR MOUSE NAME]
MatchName=YOUR MOUSE NAME
AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES;
Replace “YOUR MOUSE NAME” with the mouse name from the sudo evtest command.
Hope this will help somebody.