今天突然发现蓝牙打不开了,一点开就关上,看了很多文章,最后通过这个方法解决。
sudo dmesg |grep -i bluetooth
输出如下:
[ 3.632009] Bluetooth: Core ver 2.22
[ 3.632028] NET: Registered PF_BLUETOOTH protocol family
[ 3.632030] Bluetooth: HCI device and connection manager initialized
[ 3.632034] Bluetooth: HCI socket layer initialized
[ 3.632036] Bluetooth: L2CAP socket layer initialized
[ 3.632039] Bluetooth: SCO socket layer initialized
[ 3.653529] Bluetooth: hci0: Device revision is 2
[ 3.653530] Bluetooth: hci0: Secure boot is enabled
[ 3.653531] Bluetooth: hci0: OTP lock is enabled
[ 3.653531] Bluetooth: hci0: API lock is enabled
[ 3.653532] Bluetooth: hci0: Debug lock is disabled
[ 3.653532] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 3.653533] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[ 3.653893] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-1040-1050.sfi (-2)
[ 3.654508] Bluetooth: hci0: Failed to read MSFT supported features (-56)
[ 4.298132] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.298135] Bluetooth: BNEP filters: protocol multicast
[ 4.298137] Bluetooth: BNEP socket layer initialized
看到在日志中可以看到一条错误消息 Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-1040-1050.sfi (-2)
,这表明蓝牙固件文件缺失或加载失败。
如果报错的地方和我一样,那么通过这种方式应该能解决。
cd /lib/firmware/intel
sudo cp ibt-1040-0041.ddc ibt-1040-1050.ddc
sudo cp ibt-1040-0041.sfi ibt-1040-1050.sfi