Web lists-archives.com

Re: No (USB) mouse and keyboard after resume




	Hi.

On Sat, Nov 03, 2018 at 07:12:55PM +0100, Rainer Dorsch wrote:
> Hi,
> 
> after resume from suspend I have no mouse and keyboard anymore in a Debian 
> stable system.
> 
> The syslog shows:
> 
> Nov  3 18:23:24 blackbox kernel: [  318.907431] dpm_run_callback(): 
> usb_dev_resume+0x0/0x20 [usbcore] returns -22 

Note [usbcore] here.


> Nov  3 18:23:24 blackbox kernel: [  318.908237] usb 6-1: USB disconnect, 
> device number 2 
> Nov  3 18:23:24 blackbox kernel: [  318.927894] usb 6-2: USB disconnect, 
> device number 3

Given these,

> (not listed anymore after resume by lsusb).

this is expected.


> Even unplugging and replugging the two devices physically does not bring them 
> back. Only reboot helps so far.

Your USB hub disconnected USB devices and presumably has powered itself down.


> So far, I also did not find any modules which I could unload and reload to 
> make the mouse and keyboard working again:

I'd try usbcore and usbhid for starters.
Or resetting problematic USB bus as shown at [1].

Reco

[1] http://billauer.co.il/blog/2013/02/usb-reset-ehci-uhci-linux/