当我在笔记本电脑上激活蓝牙时,我可以看到并配对我附近的每个蓝牙设备,但那里没有 A2DP 或 HFP/HSP 耳机。
service bluetooth status
在终端中输入后,我又回到了
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-11-07 12:35:12 MSK; 1h 2min ago
Docs: man:bluetoothd(8)
Main PID: 1189 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4331)
Memory: 2.5M
CGroup: /system.slice/bluetooth.service
└─1189 /usr/lib/bluetooth/bluetoothd
ноя 07 12:35:10 r3t4rd-K56CB systemd[1]: Starting Bluetooth service...
ноя 07 12:35:11 r3t4rd-K56CB bluetoothd[1189]: Bluetooth daemon 5.50
ноя 07 12:35:12 r3t4rd-K56CB systemd[1]: Started Bluetooth service.
ноя 07 12:35:12 r3t4rd-K56CB bluetoothd[1189]: Starting SDP server
ноя 07 12:35:13 r3t4rd-K56CB bluetoothd[1189]: Bluetooth management interface 1.14 initialized
ноя 07 12:35:28 r3t4rd-K56CB bluetoothd[1189]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSource
ноя 07 12:35:28 r3t4rd-K56CB bluetoothd[1189]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSink
ноя 07 13:31:50 r3t4rd-K56CB bluetoothd[1189]: Unable to get io data for :1.50/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb:
完全重启蓝牙服务并service bluetooth status
再次输入刚刚从反馈中删除了最后一行。我是 Linux 系统的新手,所以我不知道下一步该怎么做,你能指导我吗?
答案1
通过以下方式终止 org.bluez 进程sudo kill <org.bluez PID>
:
然后我写道
rfkill block bluetooth
sudo service bluetooth stop
sudo rfkill unblock bluetooth
输入这些命令后,蓝牙已关闭然后打开,并且我的耳机出现在设备列表中。感谢这个答案