我有一个蓝牙适配器Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
。它启动成功,但没有可用的设备进行配对。
这是输出systemcctl status bluetooth.service
:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-06-19 03:33:03 +0430; 5min ago
Docs: man:bluetoothd(8)
Main PID: 30799 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 19005)
Memory: 812.0K
CGroup: /system.slice/bluetooth.service
└─30799 /usr/lib/bluetooth/bluetoothd
ژوئن 19 03:33:03 heydar-ThinkStation-P300 systemd[1]: Starting Bluetooth service...
ژوئن 19 03:33:03 heydar-ThinkStation-P300 bluetoothd[30799]: Bluetooth daemon 5.53
ژوئن 19 03:33:03 heydar-ThinkStation-P300 systemd[1]: Started Bluetooth service.
ژوئن 19 03:33:03 heydar-ThinkStation-P300 bluetoothd[30799]: Starting SDP server
ژوئن 19 03:33:03 heydar-ThinkStation-P300 bluetoothd[30799]: Bluetooth management interface 1.17 initialized
ژوئن 19 03:33:03 heydar-ThinkStation-P300 bluetoothd[30799]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSink/sbc
ژوئن 19 03:33:03 heydar-ThinkStation-P300 bluetoothd[30799]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSource/sbc
ژوئن 19 03:33:05 heydar-ThinkStation-P300 bluetoothd[30799]: Loading LTKs timed out for hci0
ژوئن 19 03:33:13 heydar-ThinkStation-P300 bluetoothd[30799]: Failed to set mode: Failed (0x03)
ژوئن 19 03:33:24 heydar-ThinkStation-P300 bluetoothd[30799]: Failed to set mode: Failed (0x03)
hciconfig hci0
:
hci0: Type: Primary Bus: USB
BD Address: 00:1A:7D:DA:71:10 ACL MTU: 640:4 SCO MTU: 64:8
UP RUNNING
RX bytes:1238 acl:0 sco:0 events:73 errors:0
TX bytes:2771 acl:0 sco:0 commands:75 errors:0
答案1
我在使用 Ubuntu 22.04.1 LTS 时也遇到了这个问题
错误信息:
Failed to set mode: Failed (0x03)
唯一的解决办法似乎是重启。重启后,我似乎可以工作一段时间,然后再次崩溃。
编辑:
我注意到它只适用于笔记本电脑不在的时候收费模式。
答案2
作为答案而不是评论发布,因为问题可能会因为来自其他 Stack 的重复问题而被关闭。这是重复:
https://unix.stackexchange.com/questions/602730/bluetooth-intermittently-disconnects
这里解决了: https://unix.stackexchange.com/a/602739/115743
我也会标记这个问题,这是一个好问题,但网络上有一个重复的问题……谢天谢地!太麻烦了!在 解决了Unix & Linux
。