系统: ubuntu18.04\ elementary os juno
蓝牙无法启动
在自己电脑上点击桌面的蓝牙图标发现无法启动蓝牙,在此记录下解决方案.
解决方案一: 手动启动
在终端中输入如下命令启动蓝牙,这时查看蓝牙状态,发现已经可以使用了
sudo systemctl restart bluetooth
方案二:查看是否被限制
使用如下命令查看蓝牙是否被某个软件或者系统给禁用了
sudo rfkill list
如果被禁用了,使用如下命令取消限制,然后在桌面蓝牙程序中打开蓝牙即可
sudo rfkill unblock bluetooth
方案三:
检查电脑上是否安装了tlp这类的电源管理软件,有可能是tlp禁用了蓝牙,在tlp的配置文件中添加配置规则取消限制.
打开tlp配置文件
sudo vi /etc/default/tlp
找到下面的内容,并设置 USB_BLACKLIST_BTUSB=1
# Bluetooth devices are excluded from USB autosuspend:
# 0=do not exclude, 1=exclude.
USB_BLACKLIST_BTUSB=1
重装蓝牙相关软件
重装蓝牙管理器
sudo apt install --reinstall bluez gnome-bluetooth indicator-bluetooth pulseaudio-module-bluetooth
安装 blueman
sudo apt install blueman
蓝牙无法配对
扫描到蓝牙后, 需要进行配对, 配对只有通知却无法确认, 这里使用 terminal 进行配对.
- 进入蓝牙管理
- 扫描设备
- 使用 设备的mac 地址进行配对
bluetoothctl
scan on
pair mac_addr
参考资料:
https://elementaryos.stackexchange.com/questions/12048/bluetooth-not-work-on-elementary-os-0-4-loki
https://forum.manjaro.org/t/bluetooth-adapter-cannot-be-turned-on-realtek-rtl8723be/10130/32