笔记本电脑键盘在合上盖子后锁住

笔记本电脑键盘在合上盖子后锁住

我有一台 Dell Latitude 5500 和一台 Dell Latitude 7550。5500 具有 Debian 10 和 KDE,7550 具有带 KDE 的 Ubuntu 20.04。在两台笔记本电脑中,如果我合上盖子,当我稍后打开它时,内置笔记本电脑键盘将完全锁定,我无法输入任何内容。不过,触控板仍然可以工作,我可以单击“切换用户”。当我执行此操作并提示再次登录时,笔记本电脑键盘在两台笔记本电脑上再次开始工作。

我不确定这是否是一个问题,但我的笔记本电脑上插入了一个外部 10 端口 USB 集线器。我插入了外部键盘和鼠标。外接键盘也会锁定,但外接鼠标也可以工作。

为什么关闭笔记本电脑盖子会导致键盘锁定?我能做些什么来解决这个问题吗?

dmesg 输出:

[Sat Jun 26 10:46:51 2021] usb 2-1.4: Disable of device-initiated U1 failed.
[Sat Jun 26 10:46:51 2021] usb 2-1.4: Disable of device-initiated U2 failed.
[Sat Jun 26 10:46:51 2021] usb 2-1.4: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Sat Jun 26 10:46:52 2021] usb 2-1.4: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Sat Jun 26 23:15:15 2021] usb 2-1.4: Disable of device-initiated U1 failed.
[Sat Jun 26 23:15:15 2021] usb 2-1.4: Disable of device-initiated U2 failed.
[Sat Jun 26 23:15:15 2021] usb 2-1.4: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Sat Jun 26 23:15:16 2021] usb 2-1.4: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Mon Jun 28 01:54:59 2021] usb 2-1.4: Disable of device-initiated U1 failed.
[Mon Jun 28 01:54:59 2021] usb 2-1.4: Disable of device-initiated U2 failed.
[Mon Jun 28 01:54:59 2021] usb 2-1.4: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Mon Jun 28 01:54:59 2021] usb 2-1.4: reset SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[Mon Jun 28 07:34:57 2021] usb 2-1: USB disconnect, device number 2
[Mon Jun 28 07:34:57 2021] usb 2-1.3: USB disconnect, device number 4
[Mon Jun 28 07:34:57 2021] usb 2-1.4: USB disconnect, device number 5
[Mon Jun 28 07:34:57 2021] usb 1-1: USB disconnect, device number 2
[Mon Jun 28 07:34:57 2021] usb 1-1.2: USB disconnect, device number 4
[Mon Jun 28 07:34:57 2021] usb 1-1.3: USB disconnect, device number 6
[Mon Jun 28 07:34:57 2021] usb 1-1.3.2: USB disconnect, device number 8
[Mon Jun 28 07:34:57 2021] usb 1-1.3.4: USB disconnect, device number 9
[Mon Jun 28 07:34:57 2021] usb 1-1.4: USB disconnect, device number 7
[Mon Jun 28 07:35:06 2021] usb 1-1: new high-speed USB device number 10 using xhci_hcd
[Mon Jun 28 07:35:06 2021] usb 1-1: New USB device found, idVendor=2109, idProduct=2812, bcdDevice=85.80
[Mon Jun 28 07:35:06 2021] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Mon Jun 28 07:35:06 2021] usb 1-1: Product: USB2.0 Hub        
[Mon Jun 28 07:35:06 2021] hub 1-1:1.0: USB hub found
[Mon Jun 28 07:35:06 2021] hub 1-1:1.0: 4 ports detected
[Mon Jun 28 07:35:06 2021] usb 2-1: new SuperSpeed Gen 1 USB device number 11 using xhci_hcd
[Mon Jun 28 07:35:06 2021] usb 2-1: New USB device found, idVendor=2109, idProduct=0812, bcdDevice=85.81
[Mon Jun 28 07:35:06 2021] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Jun 28 07:35:06 2021] usb 2-1: Product: USB3.0 Hub        
[Mon Jun 28 07:35:06 2021] usb 2-1: Manufacturer: VIA Labs, Inc. 
[Mon Jun 28 07:35:06 2021] hub 2-1:1.0: USB hub found
[Mon Jun 28 07:35:06 2021] hub 2-1:1.0: 4 ports detected
[Mon Jun 28 07:35:06 2021] usb 1-1.2: new full-speed USB device number 11 using xhci_hcd
[Mon Jun 28 07:35:07 2021] usb 2-1.3: new SuperSpeed Gen 1 USB device number 12 using xhci_hcd
[Mon Jun 28 07:35:07 2021] usb 2-1.3: New USB device found, idVendor=2109, idProduct=0812, bcdDevice=85.81
[Mon Jun 28 07:35:07 2021] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Jun 28 07:35:07 2021] usb 2-1.3: Product: USB3.0 Hub        
[Mon Jun 28 07:35:07 2021] usb 2-1.3: Manufacturer: VIA Labs, Inc. 
[Mon Jun 28 07:35:07 2021] hub 2-1.3:1.0: USB hub found
[Mon Jun 28 07:35:07 2021] hub 2-1.3:1.0: 4 ports detected
[Mon Jun 28 07:35:07 2021] usb 1-1.2: New USB device found, idVendor=046d, idProduct=0a8f, bcdDevice= 0.12
[Mon Jun 28 07:35:07 2021] usb 1-1.2: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[Mon Jun 28 07:35:07 2021] usb 1-1.2: Product: Logitech USB Headset
[Mon Jun 28 07:35:07 2021] usb 1-1.2: Manufacturer: Logitech USB Headset
[Mon Jun 28 07:35:07 2021] usb 2-1.4: new SuperSpeed Gen 1 USB device number 13 using xhci_hcd
[Mon Jun 28 07:35:07 2021] usb 2-1.4: New USB device found, idVendor=2109, idProduct=0812, bcdDevice=85.81
[Mon Jun 28 07:35:07 2021] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Jun 28 07:35:07 2021] usb 2-1.4: Product: USB3.0 Hub        
[Mon Jun 28 07:35:07 2021] usb 2-1.4: Manufacturer: VIA Labs, Inc. 
[Mon Jun 28 07:35:07 2021] hub 2-1.4:1.0: USB hub found
[Mon Jun 28 07:35:07 2021] hub 2-1.4:1.0: 4 ports detected
[Mon Jun 28 07:35:08 2021] input: Logitech USB Headset Logitech USB Headset as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:046D:0A8F.0007/input/input34
[Mon Jun 28 07:35:08 2021] hid-generic 0003:046D:0A8F.0007: input,hidraw1: USB HID v1.11 Device [Logitech USB Headset Logitech USB Headset] on usb-0000:00:14.0-1.2/input3
[Mon Jun 28 07:35:08 2021] usb 1-1.3: new high-speed USB device number 12 using xhci_hcd
[Mon Jun 28 07:35:08 2021] usb 1-1.3: New USB device found, idVendor=2109, idProduct=2812, bcdDevice=85.80
[Mon Jun 28 07:35:08 2021] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Mon Jun 28 07:35:08 2021] usb 1-1.3: Product: USB2.0 Hub        
[Mon Jun 28 07:35:08 2021] hub 1-1.3:1.0: USB hub found
[Mon Jun 28 07:35:08 2021] hub 1-1.3:1.0: 4 ports detected
[Mon Jun 28 07:35:08 2021] usb 1-1.4: new high-speed USB device number 13 using xhci_hcd
[Mon Jun 28 07:35:08 2021] usb 1-1.4: New USB device found, idVendor=2109, idProduct=2812, bcdDevice=85.80
[Mon Jun 28 07:35:08 2021] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Mon Jun 28 07:35:08 2021] usb 1-1.4: Product: USB2.0 Hub        
[Mon Jun 28 07:35:08 2021] hub 1-1.4:1.0: USB hub found
[Mon Jun 28 07:35:08 2021] hub 1-1.4:1.0: 4 ports detected
[Mon Jun 28 07:35:08 2021] usb 1-1.3.2: new low-speed USB device number 14 using xhci_hcd
[Mon Jun 28 07:35:09 2021] usb 1-1.3.2: New USB device found, idVendor=046d, idProduct=c00e, bcdDevice=11.10
[Mon Jun 28 07:35:09 2021] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Jun 28 07:35:09 2021] usb 1-1.3.2: Product: USB-PS/2 Optical Mouse
[Mon Jun 28 07:35:09 2021] usb 1-1.3.2: Manufacturer: Logitech
[Mon Jun 28 07:35:09 2021] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/0003:046D:C00E.0008/input/input35
[Mon Jun 28 07:35:09 2021] hid-generic 0003:046D:C00E.0008: input,hidraw2: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:14.0-1.3.2/input0
[Mon Jun 28 07:35:09 2021] usb 1-1.3.4: new low-speed USB device number 15 using xhci_hcd
[Mon Jun 28 07:35:09 2021] usb 1-1.3.4: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.02
[Mon Jun 28 07:35:09 2021] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Jun 28 07:35:09 2021] usb 1-1.3.4: Product: USB Keyboard
[Mon Jun 28 07:35:09 2021] usb 1-1.3.4: Manufacturer: Logitech
[Mon Jun 28 07:35:09 2021] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0/0003:046D:C31C.0009/input/input36
[Mon Jun 28 07:35:09 2021] hid-generic 0003:046D:C31C.0009: input,hidraw3: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:14.0-1.3.4/input0
[Mon Jun 28 07:35:09 2021] input: Logitech USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.1/0003:046D:C31C.000A/input/input37
[Mon Jun 28 07:35:09 2021] input: Logitech USB Keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.1/0003:046D:C31C.000A/input/input38
[Mon Jun 28 07:35:09 2021] hid-generic 0003:046D:C31C.000A: input,hiddev0,hidraw4: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:14.0-1.3.4/input1
[Mon Jun 28 07:35:25 2021] kscreen_backend[162047]: segfault at 10 ip 00007fdb6825df6b sp 00007ffd034223b0 error 4 in KSC_XRandR.so[7fdb68246000+1b000]
[Mon Jun 28 07:35:25 2021] Code: 73 1c e8 58 97 fe ff 49 8b 3c 24 48 8d 73 14 e8 eb 96 fe ff 49 8b 3c 24 48 8d 73 24 e8 2e 93 fe ff e8 e9 b9 fe ff 49 8b 3c 24 <0f> b7 70 10 48 89 c5 e8 d9 92 fe ff 48 89 ef e8 e1 8f fe ff 4c 89

grep "GRUB_CMDLINE_LINUX_DEFAULT=" /etc/default/grub 的输出

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

答案1

好吧,就这样吧。

  1. 在终端中,打开/etc/default/grub.
  2. 找到以 开头的行GRUB_CMDLINE_LINUX_DEFAULT=
  3. 将其替换为GRUB_CMDLINE_LINUX_DEFAULT="atkbd.reset i8042.reset i8042.nomux quiet splash".
  4. 保存并退出文件。
  5. 跑步sudo update-grub

如果这不起作用,请按照相同的过程进行尝试GRUB_CMDLINE_LINUX_DEFAULT="i8042.direct i8042.dumbkbd"

相关内容