蓝牙已打开,但无法找到或无法被任何其他设备找到。
的输出sudo service bluetooth status:
? bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since ??? 2015-06-04 22:33:18 GET; 13min ago
Main PID: 26678 (bluetoothd)
CGroup: /system.slice/bluetooth.service
??26678 /usr/sbin/bluetoothd -n
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink
??? 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: …Run Code Online (Sandbox Code Playgroud) 当有多个蓝牙适配器可用时,如何让蓝牙 UI 使用特定的蓝牙适配器?
我的笔记本电脑的内置蓝牙适配器有故障。所以我买了一个USB蓝牙适配器。我可以使用命令行实用程序将设备与第二个适配器连接,但我无法让 UI 来使用它。:(
手动连接步骤:
# Step 1: Find alias for my adapter
sudo hciconfig
# hci1: <stuff> (this is the new one)
# hci0: <stuff> (built-in)
# Step 2: Discover available devices
bt-adapter -a hci1 -d
# <bd mac>
# Step 3: Bind bluetooth device
bt-device -a hci1 -c <bd mac>
# Step 4: Connect audio device
bt-audio -a hci1 -c <bd mac>
Run Code Online (Sandbox Code Playgroud)
Ubuntu 版本:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Run Code Online (Sandbox Code Playgroud)