开机几小时后已连接的蓝牙会出现声音断断续续有爆破音的情况,还有概率直接断开无法重连,类似下面这样,一般这时候蓝牙就连不上了如果还没连接的话
------------------------------____-----____--_-_----__--___-----------------------------_--____---___---
正常情况 不稳定 又正常了 又出问题了
❯ btmgmt info
Index list with 1 item
hci0: Primary controller
addr 00:E9:3A:7F:83:86 version 8 manufacturer 93 class 0x6c010c
supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr le advertising secure-conn debug-keys privacy static-addr phy-configuration
current settings: powered bondable ssp br/edr le secure-conn
name hmeqo-archlinux
short name
❯ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a2c:4224 China Resource Semico Co., Ltd USB Keyboard
Bus 001 Device 003: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 001 Device 004: ID 04f2:b729 Chicony Electronics Co., Ltd Chicony USB2.0 Camera
Bus 001 Device 005: ID 13d3:3533 IMC Networks Bluetooth Radio
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Edit: 现在还变成传送门里GLaDOS的声音那样,乐坏我了
最近编辑记录 hmeqo (2025-01-25 00:35:48)
离线
dmesg
[ 6616.147064] Bluetooth: hci0: corrupted SCO packet
[ 6616.147068] Bluetooth: hci0: corrupted SCO packet
[ 6616.147069] Bluetooth: hci0: corrupted SCO packet
[ 6616.147070] Bluetooth: hci0: corrupted SCO packet
[ 6616.147071] Bluetooth: hci0: corrupted SCO packet
[ 6616.147071] Bluetooth: hci0: corrupted SCO packet
[ 6616.147072] Bluetooth: hci0: corrupted SCO packet
[ 6616.147073] Bluetooth: hci0: corrupted SCO packet
[ 6616.147074] Bluetooth: hci0: corrupted SCO packet
[ 6616.156028] Bluetooth: hci0: SCO packet for unknown connection handle 2
[ 6616.156031] Bluetooth: hci0: SCO packet for unknown connection handle 2
[ 6616.156033] Bluetooth: hci0: SCO packet for unknown connection handle 2
[ 6616.156034] Bluetooth: hci0: SCO packet for unknown connection handle 2
[ 6653.927545] Bluetooth: hci0: SCO packet for unknown connection handle 3
[ 6653.927551] Bluetooth: hci0: SCO packet for unknown connection handle 3
[ 6653.927555] Bluetooth: hci0: SCO packet for unknown connection handle 3
[ 6653.927557] Bluetooth: hci0: SCO packet for unknown connection handle 3
[ 6755.080893] input: Bose QC45 (AVRCP) as /devices/virtual/input/input34
[ 6825.297874] input: Bose QC45 (AVRCP) as /devices/virtual/input/input35
journalctl -b 0
Jan 15 18:55:51 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
Jan 15 18:56:00 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
Jan 15 18:56:13 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
Jan 15 18:56:29 hmeqo-archlinux wireplumber[1085]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+BTRH?
Jan 15 18:56:30 hmeqo-archlinux wireplumber[1085]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+XEVENT=Bose SoundLink,158
Jan 15 18:56:30 hmeqo-archlinux wireplumber[1085]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+CSRSF=0,0,0,1,0,0,0
Jan 15 18:56:30 hmeqo-archlinux bluetoothd[580]: src/service.c:btd_service_connect() avrcp-controller profile connect failed for AC:BF:71:E2:D6:EA: Operation already in progress
Jan 15 18:56:30 hmeqo-archlinux kernel: Bluetooth: hci0: SCO packet for unknown connection handle 3
Jan 15 18:56:30 hmeqo-archlinux kernel: input: Bose QC45 (AVRCP) as /devices/virtual/input/input34
Jan 15 18:56:30 hmeqo-archlinux systemd-logind[587]: Watching system buttons on /dev/input/event27 (Bose QC45 (AVRCP))
Jan 15 18:56:39 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:cancel_request() Close: Connection timed out (110)
Jan 15 18:56:41 hmeqo-archlinux bluetoothd[580]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Jan 15 18:56:47 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
Jan 15 18:56:54 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
Jan 15 18:56:57 hmeqo-archlinux wireplumber[1085]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+BTRH?
Jan 15 18:56:58 hmeqo-archlinux wireplumber[1085]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+XEVENT=Bose SoundLink,158
Jan 15 18:56:58 hmeqo-archlinux wireplumber[1085]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+CSRSF=0,0,0,1,0,0,0
Jan 15 18:56:58 hmeqo-archlinux bluetoothd[580]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for AC:BF:71:E2:D6:EA: Device or resource busy
Jan 15 18:56:58 hmeqo-archlinux bluetoothd[580]: plugins/policy.c:reconnect_timeout() Reconnecting services failed: Operation already in progress (114)
Jan 15 18:56:59 hmeqo-archlinux bluetoothd[580]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for AC:BF:71:E2:D6:EA: Device or resource busy
Jan 15 18:57:05 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:cancel_request() Discover: Connection timed out (110)
Jan 15 18:57:06 hmeqo-archlinux systemd[808]: Started kitty - Terminal emulator.
Jan 15 18:57:06 hmeqo-archlinux systemd[808]: Started kitty child process: 35024 launched by: 35011.
Jan 15 18:57:08 hmeqo-archlinux bluetoothd[580]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Jan 15 18:57:08 hmeqo-archlinux kded6[1188]: org.kde.pulseaudio: No object for name "bluez_output.AC_BF_71_E2_D6_EA.1"
Jan 15 18:57:08 hmeqo-archlinux plasmashell[1240]: org.kde.pulseaudio: No object for name "bluez_output.AC_BF_71_E2_D6_EA.1"
Jan 15 18:57:14 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
Jan 15 18:57:21 hmeqo-archlinux bluetoothd[580]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:BF:71:E2:D6:EA: Host is down (112)
最近编辑记录 hmeqo (2025-01-16 16:31:51)
离线
有没有可能是无线环境比较糟糕?
离线
有没有可能是无线环境比较糟糕?
em有可能,周围电脑比较多的时候非常频发,但现在在家,之前win系统并没有这种问题
离线
这本子网络控制器是这个 Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter,仔细研究发现用的驱动是 rtw88_8821ce / rtw88_8821c,并且这网卡是蓝牙和wifi共用
然后我尝试装了 rtl8821ce 驱动,用了几天,没再出现断连连不上的问题 (可能是因为还没用几天,这个bug比较怕生),但是有了新的问题,rtl8821ce 驱动蓝牙和wifi同时连接的情况下,wifi网速会变得很慢,只有几百kb/s,蓝牙还没有遇到断连,但是并不是很稳定,玩游戏隔个几秒就小抽一下 (不知道怎么形容,类似掉帧),想了想还是换回rtw88了
最近编辑记录 hmeqo (2025-01-22 23:57:21)
离线
改用 rtl8821ce 驱动可以解决断连无法连接的问题,wifi 蓝牙同时连接网速慢理论上可以让 wifi 走 5G频段来解决,rtl8821ce 的稳定性最近突然变好了 (不懂怎么回事),但是这个驱动不支持 qc45 多设备连接的功能,如果手机连接了蓝牙,电脑会断开,暂时还没测试如果蓝牙手柄+蓝牙耳机会发生什么
最近编辑记录 hmeqo (2025-01-25 00:45:49)
离线
rtl8821ce 驱动连不上我手机热点可还行
离线
倒是有一个办法能恢复蓝牙功能,快速重复运行下面的命令,直到出现错误,等几秒钟,再尝试重启蓝牙,如果没有报错,蓝牙就又能正常工作了,但治标不治本
❯ sudo systemctl restart bluetooth
Job for bluetooth.service failed.
See "systemctl status bluetooth.service" and "journalctl -xeu bluetooth.service" for details.
这时候看日志会看到这个
> journalctl -b 0
Jan 29 01:33:47 hmeqo-archlinux bluetoothd[69773]: src/service.c:btd_service_connect() a2dp-source profile connect failed for AC:BF:71:E2:D6:EA: Device or resource busy
离线