Announcement

Collapse
No announcement yet.

USB Mouse stopped working with latest kernel upgrade

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    USB Mouse stopped working with latest kernel upgrade

    On my HP laptop today, with a working USB connected mouse, I updated the package cache and then ran an apt full-upgrade. This updated the kernel to 5.4.0-52-generic:amd64. I was running on the 5.4.0-48-generic:amd64.

    After rebooting, which was then using the 5.4.0-52-generic:amd64 kernel, my USB connected mouse no longer responded. Rebooting into the 5.4.0-51-generic:amd64 kernel resulted in the same thing.

    I verified that the mouse was actually still functional by plugging it in to another running PC. It works perfectly.

    I booted my HP laptop from a USB Key containing a bootable Kubuntu 20.04. The mouse worked perfectly there (the copy of 20.04 on that key is older, so running an earlier kernel).

    So it appears that there's a problem with the -51 and -52 kernels not properly supporting/recognizing a generic USB mouse. Anyone else experiencing this?

    Output of todays apt history log:
    Code:
    [COLOR=#000000][FONT=monospace]Start-Date: 2020-10-21  15:30:37 [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]Commandline: apt full-upgrade -y [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]Install: linux-image-5.4.0-52-generic:amd64 (5.4.0-52.57, automatic), linux-modules-extra-5.4.0-52-generic:amd64 (5.4.0-52.57, automatic), linux-headers-5.4.0-52-generic:amd64 (5.4.0-52.57, automatic), linux-head[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]ers-5.4.0-52:amd64 (5.4.0-52.57, automatic), linux-modules-5.4.0-52-generic:amd64 (5.4.0-52.57, automatic) [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]Upgrade: cryptsetup-bin:amd64 (2:2.2.2-3ubuntu2.2, 2:2.2.2-3ubuntu2.3), cryptsetup-initramfs:amd64 (2:2.2.2-3ubuntu2.2, 2:2.2.2-3ubuntu2.3), [/FONT][/COLOR][URL="http://netplan.io/"]netplan.io[/URL][COLOR=#000000][FONT=monospace]:amd64 (0.99-0ubuntu3~20.04.2, 0.100-0ubuntu4~20.04.2), linux[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]-headers-generic:amd64 (5.4.0.51.54, 5.4.0.52.55), linux-libc-dev:amd64 (5.4.0-51.56, 5.4.0-52.57), linux-image-generic:amd64 (5.4.0.51.54, 5.4.0.52.55), cryptsetup-run:amd64 (2:2.2.2-3ubuntu2.2, 2:2.2.2-3ubuntu2[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace].3), ubuntu-release-upgrader-qt:amd64 (1:20.04.25, 1:20.04.28), apport:amd64 (2.20.11-0ubuntu27.9, 2.20.11-0ubuntu27.10), python3-distupgrade:amd64 (1:20.04.25, 1:20.04.28), ubuntu-release-upgrader-core:amd64 (1:[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]20.04.25, 1:20.04.28), python3-apport:amd64 (2.20.11-0ubuntu27.9, 2.20.11-0ubuntu27.10), firefox-locale-en:amd64 (81.0+build2-0ubuntu0.20.04.1, 81.0.2+build1-0ubuntu0.20.04.1), libnetplan0:amd64 (0.99-0ubuntu3~20[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace].04.2, 0.100-0ubuntu4~20.04.2), libfreetype6:amd64 (2.10.1-2, 2.10.1-2ubuntu0.1), firefox:amd64 (81.0+build2-0ubuntu0.20.04.1, 81.0.2+build1-0ubuntu0.20.04.1), libcryptsetup12:amd64 (2:2.2.2-3ubuntu2.2, 2:2.2.2-3[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]ubuntu2.3), apport-kde:amd64 (2.20.11-0ubuntu27.9, 2.20.11-0ubuntu27.10), cryptsetup:amd64 (2:2.2.2-3ubuntu2.2, 2:2.2.2-3ubuntu2.3), python3-problem-report:amd64 (2.20.11-0ubuntu27.9, 2.20.11-0ubuntu27.10) [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]End-Date: 2020-10-21  15:36:33 [/FONT][/COLOR]
    
    [COLOR=#000000][FONT=monospace]Start-Date: 2020-10-21  15:36:37 [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]Commandline: apt-get -y --purge autoremove [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]Purge: linux-headers-5.4.0-48-generic:amd64 (5.4.0-48.52), linux-modules-extra-5.4.0-48-generic:amd64 (5.4.0-48.52), linux-modules-5.4.0-48-generic:amd64 (5.4.0-48.52), linux-headers-5.4.0-48:amd64 (5.4.0-48.52),[/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]linux-image-5.4.0-48-generic:amd64 (5.4.0-48.52) [/FONT][/COLOR]
    [COLOR=#000000][FONT=monospace]End-Date: 2020-10-21  15:36:59[/FONT][/COLOR]
    Last edited by Snowhog; Oct 23, 2020, 09:55 AM.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    #2
    I'm running a more current kernel, 5.9.1, under Kubuntu 20.04.1, on an HP Pavilion laptop and have no problem with my ONN USB mouse.
    Kubuntu 23.11 64bit under Kernel 6.8.8, Hp Pavilion, 6MB ram. All Bow To The Great Google... cough, hack, gasp.

    Comment


      #3
      Just now, plugged my USB mouse back in and it's working! The laptop was left on overnight. No automatic updates (I do all maintenance manually). Not sure what the issue was, but it seems to have self-resolved. Gotta love Linux!
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Let's call it magic and hope it continues to work for us.
        Kubuntu 23.11 64bit under Kernel 6.8.8, Hp Pavilion, 6MB ram. All Bow To The Great Google... cough, hack, gasp.

        Comment


          #5
          Originally posted by TWPonKubuntu View Post
          Let's call it magic and hope it continues to work for us.
          Magic is good!

          Comment


            #6
            Well, the condition as returned.

            While the connected mouse was working yesterday, I logged out and shutdown (powered off) the laptop. I just now turned it back on. The plugged in USB mouse isn't recognized.
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              How old/new is that mouse? Perhaps trying another mouse, different brand, might help? Do you have more than one USB port to test with?
              Kubuntu 23.11 64bit under Kernel 6.8.8, Hp Pavilion, 6MB ram. All Bow To The Great Google... cough, hack, gasp.

              Comment


                #8
                It's an older USB mouse, but that isn't a factor; it works just fine when plugged into my other PC (Apple iMac Desktop). It also works perfectly when I boot into 20.04 from a USB Thumb Drive, which I just now did (again). The kernel that is running from the USB 20.04 is 5.3.0-24-generic.

                On my laptop, prior to booting into the USB 20.04, I reinstalled kernel 5.4.0-48-generic. I booted into it, and the USB mouse didn't work. Likewise, booting into -51 and -52, the USB mouse didn't work.

                The USB ports are functional; I've tested all three. And I just now, with the booted USB 20.04, tried another, even older USB mouse. It also works.

                So, it remains that kernels 5.4.0-48, -51, and -52 are somehow complicit in this issue.

                The issue seems to me, to be that these (three at least) kernels, or some module related to them, have an intermittent issue with the mouse.

                The mouse being affected is detected by lsusb and reports as: Bus 001 Device 035: ID 0458:0003 KYE Systems Corp. (Mouse Systems) Genius NetScroll+
                Last edited by Snowhog; Oct 24, 2020, 04:54 PM.
                Using Kubuntu Linux since March 23, 2007
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Evidence points to the kernel. I'm running 5.9.1 now. The intermittent operation is strange...
                  Kubuntu 23.11 64bit under Kernel 6.8.8, Hp Pavilion, 6MB ram. All Bow To The Great Google... cough, hack, gasp.

                  Comment


                    #10
                    I had something similar a couple weeks or so ago. When ever I exited my qemu/kv VM my touchpad re-enables. I have set the touchpad to be disabled when the mouse is plugged in, in both the VM and my desktop. I'm a thumb drager and it puts the cursor all over the screen, making typing difficult.

                    Last week I replaced deepin20 with Neon as the VM and the issue appears to have gone away.

                    In a similar note, I was curious about eDEX-UI and ran it as an AppImage. Interesting, but nothing I'd adopt as a tell-all desktop. When I quit it I found that my desktop was switched to the folder mode. Easy fix but annoying.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      Googled on optical mouse not working in ubuntu 20.04 and reviewed https://unix.stackexchange.com/quest...keyboard-mouse

                      The fourth answer:

                      I have the same problem. After upgrade to 20.04, mouse and keyboard are not recognised by the GUI. Pressing Ctrl+Alt+Del reboots the machine immediately without going through the normal shutdown questionnaire ("are you sure you want to restart?" thing). I have discovered that if I boot into recovery mode and then opt to continue to a normal boot, it all works as expected.

                      Booting straight into the GUI, however, does not work.
                      I tried this. Shut down/powered off the laptop. Plugged in my mouse. Powered on. Opted for Recovery mode. When at the menu, opted to Resume normal boot. The mouse is working!

                      What does this suggest?
                      Using Kubuntu Linux since March 23, 2007
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        Originally posted by Snowhog View Post
                        Googled on optical mouse not working in ubuntu 20.04 and reviewed https://unix.stackexchange.com/quest...keyboard-mouse

                        The fourth answer:


                        I tried this. Shut down/powered off the laptop. Plugged in my mouse. Powered on. Opted for Recovery mode. When at the menu, opted to Resume normal boot. The mouse is working!

                        What does this suggest?
                        The ordering of which drivers and services are started/loaded/reloaded. Seems hardware detection/udev rules related
                        Or a bug in the kernel's mouse driver?

                        I have a wireless optical mouse connected to my PC, but I never use it, preferring my multi-device Bluetooth one, but I can't reproduce the bug at all., so far.

                        Comment


                          #13
                          My ancient Logitech M325 optical wireless mouse works fine with 20.04.x
                          Some VM distros that I've played with, however, toggle my touchpad setting to ON when I log out of the VM and my thumbs start the mouse jumping all over the screen because of tremors. Going into settings I cannot "Disable the touchpad when the mouse is plugged in" because it is greyed out. I have to log out and back in or reboot.
                          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                          – John F. Kennedy, February 26, 1962.

                          Comment


                            #14
                            With my laptop booted via Recover Mode | Resume normal boot, I found that if I let the display sleep (after x minutes of inactivity), I can't get the display to wake up. I resorted to using the Magic Key Sequence to safely shutdown and reboot.
                            Using Kubuntu Linux since March 23, 2007
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment

                            Working...
                            X