![罗技无线鼠标在挂起后无法工作](https://linux22.com/image/1027354/%E7%BD%97%E6%8A%80%E6%97%A0%E7%BA%BF%E9%BC%A0%E6%A0%87%E5%9C%A8%E6%8C%82%E8%B5%B7%E5%90%8E%E6%97%A0%E6%B3%95%E5%B7%A5%E4%BD%9C.png)
- 操作系统
Ubuntu 20.04
- 设备
XPS-13 2019
- 核心
5.15.0-41-generic
我正在使用 USB 集线器并将 Logitech 无线鼠标连接到我的笔记本电脑。
在(自动)挂起后,计算机不再识别鼠标(向鼠标发出信号的 USB 设备)。
重新连接 USB 集线器或鼠标可以解决问题;但我不喜欢这样做,因为频繁的连接和断开操作会磨损物理输入/输出端子。
的输出xinput --list
为:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL096D:01 06CB:CDE6 Mouse id=14 [slave pointer (2)]
⎜ ↳ DLL096D:01 06CB:CDE6 Touchpad id=15 [slave pointer (2)]
⎜ ↳ YICHIP Wireless Device Consumer Control id=10 [slave pointer (2)]
⎜ ↳ YICHIP Wireless Device Mouse id=20 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=12 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=13 [slave keyboard (3)]
↳ Intel HID 5 button array id=16 [slave keyboard (3)]
↳ Intel HID events id=17 [slave keyboard (3)]
↳ Dell WMI hotkeys id=18 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=19 [slave keyboard (3)]
↳ YICHIP Wireless Device System Control id=9 [slave keyboard (3)]
↳ YICHIP Wireless Device Consumer Control id=11 [slave keyboard (3)]
输出lsmod | grep psmouse
前暂停是
psmouse 172032 0
后暂停是
psmouse 172032 0
的输出dmesg --level=err
为:
[ 0.067035] x86/cpu: SGX disabled by BIOS.
[ 0.427745] pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid
[ 0.430259] pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
[ 0.831262] wmi: Failed to parse WDG method
[ 44.117591] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 44.117618] usb 3-8.5: PM: failed to resume async: error -5
[ 2644.419014] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 2644.419031] usb 3-8.5: PM: failed to resume async: error -5
[ 2813.787886] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 2813.787901] usb 3-8.5: PM: failed to resume async: error -5
[ 3980.333287] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 3980.333304] usb 3-8.5: PM: failed to resume async: error -5
[ 4658.805360] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 4658.805377] usb 3-8.5: PM: failed to resume async: error -5
[ 4700.060619] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 4700.060636] usb 3-8.5: PM: failed to resume async: error -5
[ 4766.598694] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 4766.598712] usb 3-8.5: PM: failed to resume async: error -5
[ 4827.793456] PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
[ 4827.793475] usb 3-8.5: PM: failed to resume async: error -5
每次计算机从挂起状态唤醒时都会附加最后两行。
我试过了 :
它们不起作用。这个问题与上面的问题不是重复的,因为它们是针对不同版本的 Ubuntu 的问题。
好像这个已经持续了 10 多年了?
- 暂停至内存(睡眠)后键盘不工作
- https://ubuntu-mate.community/t/after-suspend-resume-cycle-keyboard-mouse-are-not-working/22110
它们不起作用,并且它们不是重复的,因为它们是关于不同版本 Ubuntu 的问题。
这个问题不同于: