No (USB) mouse and keyboard after resume
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
Nov 3 18:23:24 blackbox kernel: [ 318.907441] PM: Device 6-1 failed to
resume async: error -22
Nov 3 18:23:24 blackbox kernel: [ 318.908166] OOM killer enabled.
Nov 3 18:23:24 blackbox kernel: [ 318.908168] Restarting tasks ...
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
where these two devices are mouse and keyboard:
Bus 006 Device 003: ID 046a:b090 Cherry GmbH
Bus 006 Device 002: ID 046d:c040 Logitech, Inc. Corded Tilt-Wheel Mouse
(not listed anymore after resume by lsusb).
Even unplugging and replugging the two devices physically does not bring them
back. Only reboot helps so far.
The output of lsusb after resume is
root@blackbox:/home/rd# lsusb
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@blackbox:/home/rd#
If I hibernate to disk instead of suspend to ram, the mouse/keyboard issue
does not occur.
So far, I also did not find any modules which I could unload and reload to
make the mouse and keyboard working again:
rd@blackbox:~$ lsmod
Module Size Used by
fuse 118784 3
rpcsec_gss_krb5 40960 0
auth_rpcgss 73728 1 rpcsec_gss_krb5
nfsv4 675840 2
dns_resolver 16384 1 nfsv4
nfs 311296 2 nfsv4
lockd 110592 1 nfs
grace 16384 1 lockd
fscache 380928 2 nfsv4,nfs
amdgpu 3371008 0
chash 16384 1 amdgpu
gpu_sched 28672 1 amdgpu
amd_freq_sensitivity 16384 0
edac_mce_amd 28672 0
kvm_amd 106496 0
ccp 94208 1 kvm_amd
evdev 28672 4
rng_core 16384 1 ccp
snd_hda_codec_realtek 110592 1
kvm 733184 1 kvm_amd
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
irqbypass 16384 1 kvm
radeon 1638400 23
crct10dif_pclmul 16384 0
snd_hda_codec_hdmi 57344 1
crc32_pclmul 16384 0
ttm 126976 2 amdgpu,radeon
snd_hda_intel 45056 4
drm_kms_helper 196608 2 amdgpu,radeon
ghash_clmulni_intel 16384 0
snd_hda_codec 151552 4
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
drm 475136 16 gpu_sched,drm_kms_helper,amdgpu,radeon,ttm
snd_hda_core 94208 5
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
pcspkr 16384 0
k10temp 16384 0
snd_pcm 118784 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 36864 1 snd_pcm
sg 36864 0
fam15h_power 16384 0
i2c_algo_bit 16384 2 amdgpu,radeon
snd 98304 16
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore 16384 1 snd
pcc_cpufreq 16384 0
button 16384 0
acpi_cpufreq 24576 0
parport_pc 32768 1
ppdev 20480 0
lp 20480 0
parport 57344 3 parport_pc,lp,ppdev
loop 32768 0
sunrpc 421888 10 nfsv4,auth_rpcgss,lockd,rpcsec_gss_krb5,nfs
dm_crypt 45056 0
dm_mod 147456 1 dm_crypt
ip_tables 28672 0
x_tables 45056 1 ip_tables
autofs4 49152 7
ext4 741376 3
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 118784 1 ext4
fscrypto 32768 1 ext4
ecb 16384 0
btrfs 1384448 0
xor 24576 1 btrfs
zstd_decompress 90112 1 btrfs
zstd_compress 180224 1 btrfs
xxhash 16384 2 zstd_compress,zstd_decompress
raid6_pq 122880 1 btrfs
libcrc32c 16384 1 btrfs
crc32c_generic 16384 0
hid_generic 16384 0
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
sd_mod 53248 6
crc32c_intel 24576 5
ohci_pci 16384 0
ahci 40960 4
aesni_intel 200704 1
aes_x86_64 20480 1 aesni_intel
libahci 40960 1 ahci
crypto_simd 16384 1 aesni_intel
cryptd 28672 3 crypto_simd,ghash_clmulni_intel,aesni_intel
xhci_pci 16384 0
glue_helper 16384 1 aesni_intel
xhci_hcd 270336 1 xhci_pci
ohci_hcd 61440 1 ohci_pci
ehci_pci 16384 0
i2c_piix4 24576 0
ehci_hcd 94208 1 ehci_pci
libata 278528 2 libahci,ahci
usbcore 290816 7
xhci_hcd,ohci_hcd,ehci_pci,usbhid,ehci_hcd,xhci_pci,ohci_pci
scsi_mod 253952 3 sd_mod,libata,sg
r8169 90112 0
usb_common 16384 1 usbcore
mii 16384 1 r8169
rd@blackbox:~$
The problem occurs with both the 4.18.0-0.bpo.1-amd64 and 4.9.0-8-amd64
kernels
The mainboard is a Gigabyte GA-AM1M-S2H.
Any hint or advise is welcome.
Thanks
Rainer
--
Rainer Dorsch
http://bokomoko.de/
Reply to: