Here's what discussion on RedHat's bugzilla says about the issue in the
thread https://bugzilla.redhat.com/show_bug.cgi?id=1701322

I've excerpted a few remarks:
---------------------------------------------

This is likely a kernel bug.

Since kernel v5.0, we enabled the high-resolution scrolling capability of the 
mouse. This will allow libinput and gnome to provide smooth scrolling.
However, the setting is not persistent. Whenever the mouse goes to sleep to 
save battery, the setting is reverted.
The kernel is supposed to resend the setting when the mouse comes back, but it 
seems it doesn't from time to time.

The question is now whether the kernel doesn't see the "connect" event
from the mouse or if the kernel fails at sending the parameter to the
mouse.

----------------------------------------------------

Same issue here with a Logitech Performance MX mouse. A workaround seems
to be to use Solaar to turn on "Smooth Scrolling", which restores the
correct scrolling operation.

----------------------------------------------------

Turns out that solaar can try to guess the device you want so here is my
updated command wrapped by a function I stuck in my .bashrc and that I
can either execute manually or, is one so desires, could be executed in
the background at login.

function hack_bz_1701322() {
    _sleep_interval=25
    if [ $# -gt 0 ]; then
        _DEVICE="$1"
    else
        _DEVICE="mouse"
    fi
    while true; do
        if ! solaar config "$_DEVICE" | grep -qE 
'^\s*smooth-scroll\s*=\s*True\s*$'; then
                solaar config "$_DEVICE" smooth-scroll True
        fi
        sleep "$_sleep_interval"
    done
}


However, the underlying issue that is causing this needs to be properly 
diagnosed and fixed. At the moment, this issue has added the unintended feature 
of the mouse randomly turning into a flying projectile.


** Bug watch added: Red Hat Bugzilla #1701322
   https://bugzilla.redhat.com/show_bug.cgi?id=1701322

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871415

Title:
  Upgrading 18.04 to 20.04: Issues with Logitech Mouse Scroll Button

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871415/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to