home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.kernel      Debian kernel discussions      2,884 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 984 of 2,884   
   dchan Coding to All   
   Bug#1118025: USB mouse stops working aft   
   14 Oct 25 00:00:02   
   
   XPost: linux.debian.bugs.dist   
   From: dchan.coding@gmail.com   
      
   Package: linux-image-amd64   
      
   After resuming from suspend-to-RAM, my USB mouse stops working: the pointer   
   may move, but both left and right buttons do nothing.   
   In previous Debian 12 builds (with a different kernel), the issue could be   
   fixed by clicking the right button, but this no longer works.   
      
   Kernel log (dmesg) after resume shows the following error:   
      
   usbhid 2-1.6:1.0: can't add hid device: -71   
   usbhid 2-1.6:1.0: probe with driver usbhid failed with error -71   
      
   The issue can be temporarily fixed by running:   
      
   sudo modprobe -r psmouse   
   sudo modprobe psmouse   
      
   Even though this is a standard USB mouse (not a touchpad).   
      
   As a workaround, I created a script to reload the psmouse module   
   automatically after resume, which resolves the problem. This suggests that   
   the psmouse module or related subsystem is not being reinitialized properly   
   after suspend.   
      
   SYSTEM:   
   Debian 13 (Trixie/Sid)   
   Kernel: 6.12.48+deb13-amd64   
   Generic USB mouse   
   Laptop: Dell Latitude   
      
   STEPS TO REPRODUCE:   
   Boot Debian 13 with the affected kernel   
   Suspend the system to RAM with: systemctl suspend   
   Resume from suspend   
   Observe that the mouse pointer may move, but the buttons do not work   
      
   WORKAROUND:   
   In new terminal run:   
   sudo modprobe -r psmouse   
   sudo modprobe psmouse   
      
   the psmouse module after resume restores full mouse functionality.   
      
   
Package: linux-image-amd64

After       resuming from suspend-to-RAM, my USB mouse stops working: the pointer may       move, but both left and right buttons do nothing.
In previous Debian 12       builds (with a different kernel),        the issue could be fixed by clicking the right button, but this no longer       works.

Kernel log (dmesg) after resume shows the following       error:

usbhid 2-1.6:1.0: can't add hid device: -71
usbhid       2-1.6:1.0: probe with driver usbhid        failed with error -71

The issue can be temporarily fixed by       running:

sudo modprobe -r psmouse
sudo modprobe psmouse

Even       though this is a standard USB mouse (not a touchpad).

As a workaround,       I created a script to reload        the psmouse module automatically after resume, which resolves the problem.       This suggests that the psmouse module or related subsystem is not being       reinitialized properly after suspend.

SYSTEM:
Debian 13       (Trixie/Sid)
Kernel: 6.12.48+deb13-       amd64
Generic USB mouse
Laptop: Dell Latitude

STEPS TO       REPRODUCE:
Boot Debian 13 with the affected kernel
Suspend the system to       RAM with: systemctl suspend
Resume from suspend
Observe that the mouse       pointer may move, but the        buttons do not work

WORKAROUND:
In new terminal run:
sudo       modprobe -r psmouse
sudo modprobe psmouse

the psmouse module after       resume restores full mouse functionality.
              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca