这是我之前问题的延伸。我认为tlp
是罪魁祸首,于是停止了服务,结果成功了。但是,当我尝试使用电池运行笔记本电脑时,USB 设备再次无法工作。工作几秒钟然后停止。
lsusb
显示我的设备和dmesg
[ 1.903341] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=60.60
[ 1.903347] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.903350] usb 3-1: Product: USB2.0 Hub
[ 1.919601] usb 1-3: New USB device found, idVendor=413c, idProduct=250e, bcdDevice= 1.24
[ 1.919608] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.919612] usb 1-3: Product: Dell Laser Mouse MS3220
[ 1.919615] usb 1-3: Manufacturer: Dell Computer Corp
[ 1.946309] hub 3-1:1.0: USB hub found
[ 1.946662] hub 3-1:1.0: 4 ports detected
[ 1.959834] input: Dell Computer Corp Dell Laser Mouse MS3220 as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.0/0003:413C:250E.0002/input/input16
[ 50.021872] xhci_hcd 0000:05:00.3: WARNING: Host System Error
[ 61.509372] xhci_hcd 0000:05:00.4: xHCI host not responding to stop endpoint command
[ 61.509412] xhci_hcd 0000:05:00.4: xHCI host controller not responding, assume dead
[ 61.509439] xhci_hcd 0000:05:00.4: HC died; cleaning up
[ 61.509462] usb 3-1: USB disconnect, device number 2
[ 61.509467] usb 3-1.1: USB disconnect, device number 4
[ 61.513144] usb 3-1.2: USB disconnect, device number 5
[ 61.518612] usb 3-2: USB disconnect, device number 3
在tlp-stat
总线 001 设备 002 ID 413c:250e 控制 = 打开,autosuspend_delay_ms = -1000 -- 戴尔计算机公司戴尔激光鼠标 MS3220 (usbhid)
我曾尝试安装linux-hwe-22.04
、停止tlp
、配置 tlp,如此处所述。
我对 Ubuntu 22.04 真的很失望。
经过几天的调试,我找到了解决方案。也与
tlp
.在
/etc/tlp.conf
文件中。必须要设置
RUNTIME_PM_ON_BAT=on
,本来是设置自动的。现在,外部 USB 键盘和鼠标可以正常工作,不会出现电池问题。