This morning before I upgraded when I rolled the scroll wheel any active program would scroll as long as the wheel was turning. After upgrade to 19.04 after waking from suspend (closing the laptop) when I roll the wheel the view scrolls a few lines then stops, it won't scroll again until I spin the scroll wheel a few more times.
Microsoft Wireless Mobile Mouse 4000
It happens in every program including a virtual-box boot up of Windows, and only seems to be after waking from suspend. Unplugging the USB receiver and plugging it back in restores the sensitivity but to me that isn't a fix, jsut a work around.
How do I stop whatever system behavior in suspend which is disrupting the mouse settings? How do I restore it without physical intervention (automatically on wake up if possible)
And why did the upgrade break it, or could it be that much of a coincidence?
ResetMsMice
A special program has been released to reset Microsoft Mice when dual booting Windows and Linux experiences insanely fast scrolling. It has just been confirmed to work for Ubuntu 19.04 suspend/resume problem of insanely slow scrolling.
Go to this site: https://sourceforge.net/projects/resetmsmice/
Click the link for:
resetmsmice_1.1.3_amd64.deb
It is instantly downloaded to your
~/Downloads
folder.To install it use:
The program automatically runs during boot but you can also call it from the terminal at any time with:
To automatically call it after resuming you need to create a script with
gedit
.Use
sudo -H gedit /lib/systemd/system-sleep/resetmsmice
Copy these lines into the editor:
The
echo
statements help you locate your program in system logs, eggrep resetmsmice
Save the file and exit the editor. Then use:Original Answer
You can power off the USB mouse during suspend and power it on during resume. This will simulate a reboot.
Use
sudo -H gedit /lib/systemd/system-sleep/custom-xhci_hcd
Copy these lines into the editor:
Save the file and exit the editor. Then use:
Ubuntu 19.04 upgrade delivers the new Linux 5.0 kernel with new drivers. After future upgrades are done, deactivate the script to see if the problem has been fixed in new kernels.
Turn off and on the mouse or unplug and plug in the cable.
my scroll wheel will stop functioning just moving from a new tab in chrome or another app to a tab i've had open in chrome for a while. I can refresh the page and mouse wheel scrolling works again. The scroll bars to the right always work.
Using chrome stable ubuntu 19.04