上次开机还能连接Airpods,再开机突然发现蓝牙无法打开
原因:暂时不明,欢迎懂得兄弟们留言讨论!(6.1号找到原因了)
即使点了打开,也没用!!
解决方案
//打开终端执行
sudo rmmod btusb
sleep 1
sudo modprobe btusb
**
****后续追加
**
这段时间在写文章,平时不喜欢关机,都是挂起suspend操作,几次之后发现又出现了这个问题,而且用上面的方法也不好用了,这让绵羊哥很是疑惑,经过亿顿搜索和排查后,发现了原因:
主要原因是电脑待机挂起后,usb也自动挂起了,然后蓝牙就不工作了,而唤醒电脑后也不能智能的唤醒usb,找到原因就好操作,直接把usb挂起的操作关闭,永远保持mount。
原因如下:
0x01 - Bluetooth: hci0: Failed to send firmware data (-110)[1]
[ 6.111317] Bluetooth: hci0: command 0xfc09 tx timeout
[ 14.218049] Bluetooth: hci0: Failed to send firmware data (-110)
检查:
systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2019-09-10 14:44:54 CEST; 31min ago
Docs: man:bluetoothd(8)
Main PID: 913 (bluetoothd)
Status: "Running"
$ bluetoothctl
[Bluetoothctl] $ power on
> No default controller available
[Bluetoothctl] $ scan on
> No default controller available
诊断: USB auto-suspend 导致的错误.常常在笔记本电脑没电后 suspend 不完全导致错误. 又或是安装了 laptop-mode 后更改设置选项导致的错误.解决方法: disable USB auto-suspend[1]
touch /etc/modprobe.d/usb-autosuspend.conf
vim /etc/modprobe.d/usb-autosuspend.conf
修改为-1
options usbcore autosuspend=-1
方案二:
cd /sys/bus/usb/devices/
手动将/sys/bus/usb/devices/usb*/power/autosuspend更改为“ -1”而不是“ 0”。
关机,重启。熟悉的蓝牙又出现了
Reference
【1】https://www.zhihu.com/column/p/189843430?utm_medium=social&utm_source=weibo