qua*_*ant 18 sound headphones bluetooth 16.04
我正在尝试通过蓝牙将我的 Bose Quiet Comfort 连接到我的笔记本电脑。
我能够像连接任何其他无线蓝牙设备一样将这些耳机连接并配对到我的手机,而不会出现问题。
使用bluetoothctlI 似乎能够连接,但不能配对:
[bluetooth]# devices
Device 04:52:C7:32:68:16 Bose QuietComfort 35
[bluetooth]# connect 04:52:C7:32:68:16
Attempting to connect to 04:52:C7:32:68:16
Connection successful
[Bose QuietComfort 35]# devices
[Bose QuietComfort 35]#ch)`pair ': pair 04:52:C7:32:68:16
Attempting to pair with 04:52:C7:32:68:16
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device 04:52:C7:32:68:16 Connected: no
[CHG] Device 04:52:C7:32:68:16 Connected: yes
Run Code Online (Sandbox Code Playgroud)
但是,在蓝牙GUI菜单中,似乎认为我已与设备配对:
耳机本身似乎从未识别出笔记本电脑已连接,并且在我的声音设置中,我看不到任何可以输出的内容,因此我认为“配对”是假的。
所以这显然是 ubuntu 中的一个问题。
我试过删除设备并重新启动,但每次我都可以连接但无法配对。我还尝试按照此答案停用蓝牙 LE:
通过蓝牙将 Bose QuietComfort 35 与 Ubuntu 16.04 配对
但行为没有改变。
这是我输入时发生的情况info <MAC Address>:
Device 04:52:C7:32:68:16
Name: Bose QuietComfort 35
Alias: Bose QuietComfort 35
Paired: no
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Bose Corporation (0000febe-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v009Ep400Cd0106
Run Code Online (Sandbox Code Playgroud)
不确定这有帮助。
我找到了这个页面,它似乎相关:
我尝试blueman按照建议使用,每当我尝试配对我的设备时它都会崩溃。
我尝试通过运行升级建议的软件包
sudo apt-get install libpam-systemd libsystemd0 libudev1 systemd ubuntu-mono udev
Run Code Online (Sandbox Code Playgroud)
这阻止了错误的出现,但我仍然无法配对blueman(没有错误,当我尝试配对时它什么也没做)。
我tail -f /var/syslog在打开耳机的同时尝试跑步,并看到以下消息:
Dec 7 20:18:15 elitebook bluetoothd[860]: Unable to register GATT service with handle 0x0001 for device 04:52:C7:32:68:16
Dec 7 20:18:15 elitebook bluetoothd[860]: Unable to register GATT service with handle 0x0013 for device 04:52:C7:32:68:16
Run Code Online (Sandbox Code Playgroud)
我想这可能是一个线索......
看起来潜在的问题与此问题的问题类似:
\n\n\n\n除了我正在运行 systemd linux 设置之外,所以我必须按照该答案的评论建议进行操作:
\n\n\n\n\n对于较新的基于 Systemd 的系统,将\n 复制
\n/lib/systemd/system/bluetooth.service到\n/etc/systemd/system/bluetooth.service并将该ExecStart行更改为\nExecStart=/usr/lib/bluetooth/bluetoothd -E。
\xe2\x80\x93 阿托·本迪肯
\n\n所以我这样做了,重新启动,然后启动bluetoothctl,并手动连接:
[Bose QuietComfort 35]# connect 04:52:C7:32:68:16 \nAttempting to connect to 04:52:C7:32:68:16\n[CHG] Device 04:52:C7:32:68:16 Paired: yes\nConnection successful\nRun Code Online (Sandbox Code Playgroud)\n\n这次当我配对时,我的耳机识别出了连接(之前没有识别出,尽管 GNOME 似乎认为配对已经成功)并且输出设备出现在我的设备列表中。
\n| 归档时间: |
|
| 查看次数: |
4730 次 |
| 最近记录: |