Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#62035 - USB mouse wheel behaviour changed after suspend

Attached to Project: Arch Linux
Opened by Tuomas Jäntti (qwertypoke) - Saturday, 16 March 2019, 23:55 GMT
Task Type Bug Report
Category System
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



After boot wireless mouse wheel works as desired: Each small step of the wheel results in a step of vertical scrolling. After suspend one single step of vertical scrolling requires about a whole round of the wheel. The amount of wheel steps required is not constant. It varies: 10-30 steps.

Recovering desired usage can be obtained by either rebooting or pulling out the USB-receiver and pushing it back in. Switching the mouse off and on does not restore correct behaviour.

Additional info:
* package version(s)
I really do not know what part of the system is relevant. Please ask for relevant version info.
GUI: Xfce 4.12 kernel 5.0.2
Mouse: Microsoft Wireless Mobile Mouse 3500
* config and/or log files etc.
I will provide these as desired.
* link to upstream bug report, if any

Steps to reproduce:

1) Boot machine: mouse wheel is responding normally
2) Suspend and wake-up: Mouse wheel response is faulty
This task depends upon

Comment by Tuomas Jäntti (qwertypoke) - Sunday, 17 March 2019, 00:32 GMT
Another way of restoring correct action of the mouse:
# modprobe -r usbhid && sleep 5 && modprobe usbhid
Comment by kbt (kbt) - Tuesday, 19 March 2019, 09:51 GMT
I have the same problem, but erratically. I use xmonad, kernel 5.0.0.
Comment by Mathieu Provençal (Amathadius) - Sunday, 24 March 2019, 21:36 GMT
Same thing here. In fact, it also appends when I don't touch my mouse for a while (sleep mode of the mouse ?)
I think it's related to high-resolution scrolling module implemented in the kernel 5.0.
Comment by kbt (kbt) - Tuesday, 26 March 2019, 17:33 GMT
What I did to solve this:

I installed resetmsmice (available in AUR) and I used systemd to launch it after each suspend (following