Intel 网卡 蓝牙出问题

表现在开机的时候有 hci0 reading feature failed 之类的报错。
关闭蓝牙的时候有 resetting during shutdown failure
有时候有 hci0 operation 0x0804 tx timeout 报错。而且关闭蓝牙会使得整个系统 freeze 一会儿(7-8 秒左右)。

从 dmesg 输出理撷取一些 error

Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Bluetooth: hci0: Reading supported features failed (-16)
Bluetooth: hci0: sending frame failed (-19)
Bluetooth: hci0: HCI reset during shutdown failed
Bluetooth: hci0: command 0x0c03 tx timeout
Bluetooth: hci0: HCI reset during shutdown failed

dmesg 完整输出如下

log.txt (73.5 KB)

systemctl status bluetooth 输入如下

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
     Active: active (running) since Wed 2023-09-27 21:21:37 CST; 8min ago
       Docs: man:bluetoothd(8)
   Main PID: 1241 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4915)
        CPU: 153ms
     CGroup: /system.slice/bluetooth.service
             └─1241 /usr/libexec/bluetooth/bluetoothd

9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/aptx_ll_0
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/faststream
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/faststream_duplex
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSink/opus_05
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/opus_05
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSink/opus_05_duplex
9 月 27 21:23:44 T460s bluetoothd[1241]: Endpoint registered: sender=:1.75 path=/MediaEndpoint/A2DPSource/opus_05_duplex
9 月 27 21:23:51 T460s bluetoothd[1241]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down

貌似和 kernel 有关?

https://www.reddit.com/r/pop_os/comments/11aakg8/bluetooth_hci0_malformed_msft_vendor_event_0x02/

https://www.reddit.com/r/archLinux/comments/zzauvh/no_intel_bluetooth_since_kernel_601/

网上还有不少相似的问题。从 16 年到最近一直都有。貌似都是 Intel 系列的网卡,从 7260 到 AX201,各种 Linux 发行版貌似都有。

通过使用之前的快照启动系统发现貌似很早就有这个问题了