我使用的是内核为 5.11.0-25 的 Ubuntu 20.04。如果我连接蓝牙设备(例如睡眠后的键盘或新的 USB 设备,但不是 SD 卡),系统将冻结约 5 秒钟。音频将继续播放,但图像会冻结,鼠标等将无法使用。
不幸的是我无法展示任何代码或想法。
我怎么解决这个问题?
当前通过 BT 连接到我的机器的设备列表:
- Audiolab 放大器
- Microsoft 人体工学键盘(每 5 分钟未使用就会超时)
hutber@hutber:~$ hciconfig -a
hci0: Type: Primary Bus: USB
BD Address: 5C:F3:70:A7:97:F3 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:1772646 acl:6128 sco:0 events:225073 errors:0
TX bytes:378842911 acl:443999 sco:0 commands:892 errors:0
Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH SNIFF
Link mode: SLAVE ACCEPT
Name: 'hutber'
Class: 0x1c0104
Service Classes: Rendering, Capturing, Object Transfer
Device Class: Computer, Desktop workstation
HCI Version: 4.0 (0x6) Revision: 0x1000
LMP Version: 4.0 (0x6) Subversion: 0x220e
Manufacturer: Broadcom Corporation (15)
hutber@hutber:~$ dmesg | grep -I bluetooth
[ 82.887791] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:68/0005:000A:FFFF.000B/input/input25
[30789.688109] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:65/0005:000A:FFFF.0012/input/input46
[132984.840315] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:65/0005:000A:FFFF.0017/input/input65
[133224.134540] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:65/0005:000A:FFFF.0018/input/input67
[168916.269875] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:71/0005:000A:FFFF.0019/input/input69
[169359.710382] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:65/0005:000A:FFFF.001B/input/input75
[205453.272541] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:71/0005:000A:FFFF.001C/input/input77
[205470.351280] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:68/0005:000A:FFFF.001E/input/input83
[250641.646597] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:71/0005:000A:FFFF.0021/input/input93
[250660.044110] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:68/0005:000A:FFFF.0023/input/input99
[263990.825430] input: Audiolab Omnia BT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2/1-11.2:1.0/bluetooth/hci0/hci0:12/0005:000A:FFFF.0029/input/input121
hutber@hutber:~$ sudo lsusb
[sudo] password for hutber:
Bus 002 Device 002: ID 05e3:0732 Genesys Logic, Inc. All-in-One Cardreader
Bus 002 Device 011: ID 058f:8468 Alcor Micro Corp.
Bus 002 Device 010: ID 2109:0813 VIA Labs, Inc.
Bus 002 Device 004: ID 05e3:0620 Genesys Logic, Inc.
Bus 002 Device 005: ID 17e9:6006 DisplayLink
Bus 002 Device 003: ID 05e3:0620 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0b05:18a3 ASUSTek Computer, Inc. USB2.1 Hub
Bus 001 Device 004: ID 1b1c:0c04 Corsair Link Cooling Node
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 018: ID 06c4:c411 Bizlink International Corp.
Bus 001 Device 016: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 017: ID 046d:0892 Logitech, Inc. OrbiCam
Bus 001 Device 030: ID 2109:0101 VIA Labs, Inc.
Bus 001 Device 029: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 028: ID 2109:2813 VIA Labs, Inc.
Bus 001 Device 015: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 014: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 012: ID 1532:007e Razer USA, Ltd
Bus 001 Device 011: ID 1532:0088 Razer USA, Ltd
Bus 001 Device 010: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 019: ID 046d:0ab7 Logitech, Inc. Blue Microphones
Bus 001 Device 007: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 027: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0922:001f Dymo-CoStar Corp. DYMO LabelWriter 4XL
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```
[Edit]
I replaced my entire machine, motherboard/ram/gpu/cpu/fan etc and the issue is still occuring.
答案1
我猜是 BIOS 或硬件出了问题。如果更新 BIOS 不起作用,就更新 BIOS,然后更换硬件。
*我还建议您更新系统
编辑:假设所有驱动程序都正确安装,BIOS 应该是问题所在,因为有些人遇到过冻结问题,并在更新 BIOS 后得到解决。也许是驱动程序的问题,而不是硬件或 BIOS 的问题,所以如果更新 BIOS 不起作用,请安装专有驱动程序。
(个人认为您的安装没有问题)也可以尝试从官方 Ubuntu 网站新下载 21.10 版本进行全新安装。我认为您拥有的 20.04 ISO 或刷新工具可能存在一些问题。使用 Etcher 工具,看不出您可能遇到此问题的任何其他原因。查看此链接以获得更多支持(ubuntu.com/tutorials/create-a-usb-stick-on-windows#1-overview)官方 Ubuntu 网站上有适当的分步方法,您可以轻松遵循。Ubuntu 官方还推荐使用 Etcher 而不是 Rufus 或其他工具,因为它很容易