使用笔记本电脑联想 T540p 和蓝牙耳机 CEL-TEC F5A,
使用耳机时,蓝牙有时会崩溃(关闭,通知区域上的图标消失)并且无法打开。
重新启动整个系统后即可再次工作。
我怎样才能重新启动蓝牙?
当我单击设置中的 ON/OFF 开关时,journalctl 显示以下内容:
18:49:58 t540 gnome-control-c[19234]: Failed to register object:
An object is already exported for the interface org.bluez.Agent1 at /org/bluez/agent/gnome
18:49:58 t540 indicator-bluetooth-service[2419]: Agent unregistration failed:
GDBus.Error:org.bluez.Error.DoesNotExist: Does Not Exist 'g-io-error-quark'
这似乎没有效果:sudo rfkill unblock bluetooth
$ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
9: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
答案1
再实验一分钟我就得到了结果:
sudo rfkill block bluetooth && sleep 1 && \
sudo rfkill unblock bluetooth
答案2
尝试这个:
sudo systemctl restart bluetooth