我正在运行带有 Realtek 蓝牙适配器的 Ubuntu 22.04。一切都运行正常,直到几天前,蓝牙设备突然关闭并且无法重新打开。
我运行了dmesg -T
,这是输出:
[Mon Nov 13 11:01:04 2023] usb 3-2: reset high-speed USB device number 2 using xhci_hcd
[Mon Nov 13 11:01:05 2023] usb 3-2.1: reset high-speed USB device number 3 using xhci_hcd
[Mon Nov 13 11:01:05 2023] usb 3-2.3: reset full-speed USB device number 4 using xhci_hcd
[Mon Nov 13 11:01:05 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:05 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:06 2023] usb 3-2.3: reset full-speed USB device number 4 using xhci_hcd
[Mon Nov 13 11:01:06 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:06 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:06 2023] usb 3-2.3: reset full-speed USB device number 4 using xhci_hcd
[Mon Nov 13 11:01:06 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:06 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:07 2023] usb 3-2.3: device not accepting address 4, error -71
[Mon Nov 13 11:01:07 2023] usb 3-2.3: reset full-speed USB device number 4 using xhci_hcd
[Mon Nov 13 11:01:07 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:07 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:07 2023] usb 3-2.3: device not accepting address 4, error -71
[Mon Nov 13 11:01:07 2023] usb 3-2.3: USB disconnect, device number 4
[Mon Nov 13 11:01:07 2023] usb 3-2.3: new full-speed USB device number 5 using xhci_hcd
[Mon Nov 13 11:01:07 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:08 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:08 2023] usb 3-2.3: new full-speed USB device number 6 using xhci_hcd
[Mon Nov 13 11:01:08 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:08 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:01:08 2023] usb 3-2-port3: attempt power cycle
[Mon Nov 13 11:01:09 2023] usb 3-2.3: new full-speed USB device number 7 using xhci_hcd
[Mon Nov 13 11:01:09 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:09 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:09 2023] usb 3-2.3: device not accepting address 7, error -71
[Mon Nov 13 11:01:09 2023] usb 3-2.3: new full-speed USB device number 8 using xhci_hcd
[Mon Nov 13 11:01:09 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:10 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:01:10 2023] usb 3-2.3: device not accepting address 8, error -71
[Mon Nov 13 11:01:10 2023] usb 3-2-port3: unable to enumerate USB device
在另一篇博客文章中,有人建议写入值0
然后1
但cat /sys/bus/usb/devices/3-2.3/authorized
当时文件丢失。
同时,重新启动后,该文件及其内容仍然存在1
。
重启后,我dmesg -T
再次运行,结果如下:
[Mon Nov 13 11:45:56 2023] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[Mon Nov 13 11:45:57 2023] usb 3-2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
[Mon Nov 13 11:45:57 2023] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Mon Nov 13 11:45:57 2023] usb 3-2: Product: USB2.0 Hub
[Mon Nov 13 11:45:57 2023] hub 3-2:1.0: USB hub found
[Mon Nov 13 11:45:57 2023] hub 3-2:1.0: 4 ports detected
[Mon Nov 13 11:45:57 2023] usb 3-2.1: new high-speed USB device number 3 using xhci_hcd
[Mon Nov 13 11:45:57 2023] usb 3-2.1: New USB device found, idVendor=30c9, idProduct=0013, bcdDevice= 0.01
[Mon Nov 13 11:45:57 2023] usb 3-2.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[Mon Nov 13 11:45:57 2023] usb 3-2.1: Product: HP TrueVision HD Camera
[Mon Nov 13 11:45:57 2023] usb 3-2.1: Manufacturer: DJKCVA1G4FVZLB
[Mon Nov 13 11:45:57 2023] usb 3-2.1: SerialNumber: 0001
[Mon Nov 13 11:45:57 2023] usb 3-2.3: new full-speed USB device number 4 using xhci_hcd
[Mon Nov 13 11:45:57 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:45:57 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:45:58 2023] usb 3-2.3: new full-speed USB device number 5 using xhci_hcd
[Mon Nov 13 11:45:58 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:45:58 2023] usb 3-2.3: device descriptor read/64, error -32
[Mon Nov 13 11:45:58 2023] usb 3-2-port3: attempt power cycle
[Mon Nov 13 11:45:59 2023] usb 3-2.3: new full-speed USB device number 6 using xhci_hcd
[Mon Nov 13 11:45:59 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:45:59 2023] usb 3-2.3: Device not responding to setup address.
[Mon Nov 13 11:45:59 2023] usb 3-2.3: device not accepting address 6, error -71
[Mon Nov 13 11:45:59 2023] usb 3-2.3: new full-speed USB device number 7 using xhci_hcd
[Mon Nov 13 11:45:59 2023] usb 3-2.3: New USB device found, idVendor=0bda, idProduct=b00c, bcdDevice= 0.00
[Mon Nov 13 11:45:59 2023] usb 3-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Mon Nov 13 11:45:59 2023] usb 3-2.3: Product: Bluetooth Radio
[Mon Nov 13 11:45:59 2023] usb 3-2.3: Manufacturer: Realtek
[Mon Nov 13 11:45:59 2023] usb 3-2.3: SerialNumber: 00e04c000001
[Mon Nov 13 11:46:01 2023] usb 3-2.1: Found UVC 1.00 device HP TrueVision HD Camera (30c9:0013)
[Mon Nov 13 11:46:01 2023] input: HP TrueVision HD Camera: HP Tru as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2.1/3-2.1:1.0/input/input20
[Mon Nov 13 11:46:05 2023] input: Keyboard K380 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2.3/3-2.3:1.0/bluetooth/hci0/hci0:1/0005:046D:B342.0005/input/input22
我还需要提一下,所有其他 USB 设备和 Wi-Fi 都正常工作,只有蓝牙受到了影响。
我该怎么做才能防止此类问题?