在Arch安装完成后,安装bluez、bluez-utils、bluedevil后可以正常在KDE界面使用蓝牙。在使用命令行bluetoothctl管理后打不到蓝牙适配器,初次运行bluetoothctl时可以找到适配器并配对、连接。重启计算计后蓝牙显示找不到蓝牙适配器。bluetoothctl与bluedevil都不能用。
#####################################
$ lsusb |grep tooth
Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
$ sudo systemctl |grep tooth
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14-1\x2d14:1.0-bluetooth-hci0.device loaded active plugged
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
bluetooth-mesh.service loaded active running Bluetooth mesh service
bluetooth.service loaded active running Bluetooth service
bluetooth.target loaded active active Bluetooth
$ bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
这个是驱动有问题吗?我用另一台计算测试,也出现了相同的情况。
最近编辑记录 need_it (2020-11-22 02:52:48)
离线
貌似这个是很常见的问题,人个认为应该是蓝牙固件的问题吧。
关机/或者是从windows切换到Linux会遇到这问题。
你可以先看下内核加载了蓝牙驱动没:
$ dmesg | grep Bluetooth
.....
[ 5.612537] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[ 5.616191] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 5.617166] Bluetooth: hci0: Reading supported features failed (-16)
[ 5.617184] Bluetooth: hci0: Telemetry exception format not supported
[ 5.618138] Bluetooth: hci0: Firmware revision 0.0 build 10 week 41 2018
[ 14.691081] Bluetooth: RFCOMM TTY layer initialized
[ 14.691090] Bluetooth: RFCOMM socket layer initialized
[ 14.691096] Bluetooth: RFCOMM ver 1.11
没有的话就看下自己的蓝牙驱动是啥,如我自己的是 btusb :
$ lsmod | grep bt
...
btusb 69632 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
bluetooth 741376 49 btrtl,btintel,btbcm,bnep,btusb,rfcomm
然后再自己手动加载蓝牙驱动下看:
sudo modprobe btusb
最近编辑记录 luxni (2020-11-22 22:45:30)
虽然人菜菜的,但也想做个有趣的人。
离线
貌似这个是很常见的问题,人个认为应该是蓝牙固件的问题吧。
关机/或者是从windows切换到Linux会遇到这问题。
你可以先看下内核加载了蓝牙驱动没:
$ dmesg | grep Bluetooth ..... [ 5.612537] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc [ 5.616191] Bluetooth: hci0: Applying Intel DDC parameters completed [ 5.617166] Bluetooth: hci0: Reading supported features failed (-16) [ 5.617184] Bluetooth: hci0: Telemetry exception format not supported [ 5.618138] Bluetooth: hci0: Firmware revision 0.0 build 10 week 41 2018 [ 14.691081] Bluetooth: RFCOMM TTY layer initialized [ 14.691090] Bluetooth: RFCOMM socket layer initialized [ 14.691096] Bluetooth: RFCOMM ver 1.11
没有的话就看下自己的蓝牙驱动是啥,如我自己的是 btusb :
$ lsmod | grep bt ... btusb 69632 0 btrtl 24576 1 btusb btbcm 20480 1 btusb btintel 32768 1 btusb bluetooth 741376 49 btrtl,btintel,btbcm,bnep,btusb,rfcomm
然后再自己手动加载蓝牙驱动下看:
sudo modprobe btusb
btusb是通用蓝牙驱动,这个我的加载了
$ lsmod |grep bt
btusb 69632 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
bluetooth 741376 10 btrtl,btintel,btbcm,bnep,btusb
查看启动信息,这个我看不懂是不是加载成功。
$ dmesg |grep Bluetooth
[ 4.921129] Bluetooth: Core ver 2.22
[ 4.921169] Bluetooth: HCI device and connection manager initialized
[ 4.921174] Bluetooth: HCI socket layer initialized
[ 4.921177] Bluetooth: L2CAP socket layer initialized
[ 4.921185] Bluetooth: SCO socket layer initialized
[ 5.059752] Bluetooth: hci0: read Intel version: 370810011003110e32
[ 5.059756] Bluetooth: hci0: Intel device is already patched. patch num: 32
[ 221.008611] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 221.008615] Bluetooth: BNEP filters: protocol multicast
[ 221.008626] Bluetooth: BNEP socket layer initialized
在直接运行bluetoothd时,提示如下:
$ sudo /usr/lib/bluetooth/bluetoothd -n
bluetoothd[1351]: Bluetooth daemon 5.55
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRPageScanType” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRPageScanInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRPageScanWindow” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRInquiryScanType” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRInquiryScanInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRInquiryScanWindow” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRLinkSupervisionTimeout” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRPageTimeout” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRMinSniffInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “BRMaxSniffInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEMinAdvertisementInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEMaxAdvertisementInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEMultiAdvertisementRotationInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalAutoConnect” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowAutoConnect” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalSuspend” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowSuspend” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalDiscovery” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowDiscovery” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalAdvMonitor” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowAdvMonitor” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
bluetoothd[1351]: Starting SDP server
bluetoothd[1351]: Bluetooth management interface 1.18 initialized
最近编辑记录 need_it (2020-11-23 02:08:55)
离线
看了下,驱动已经识别了蓝牙设备,
理论上应该在bluetoothctl list 是有设备的。
#这个标明驱动已经识别了
[ 5.059752] Bluetooth: hci0: read Intel version: 370810011003110e32
[ 5.059756] Bluetooth: hci0: Intel device is already patched. patch num: 32
# 这个是没有识别到某些功能而已,不碍事。
bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
实在不行,就换hcitool看下,
注意:先看下用户在不在 rfkill 组里。
如果还是不行,那就只能升级BIOS看下了。
虽然人菜菜的,但也想做个有趣的人。
离线
看了下,驱动已经识别了蓝牙设备,
理论上应该在bluetoothctl list 是有设备的。#这个标明驱动已经识别了 [ 5.059752] Bluetooth: hci0: read Intel version: 370810011003110e32 [ 5.059756] Bluetooth: hci0: Intel device is already patched. patch num: 32 # 这个是没有识别到某些功能而已,不碍事。 bluetoothd[1351]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
实在不行,就换hcitool看下,
注意:先看下用户在不在 rfkill 组里。
如果还是不行,那就只能升级BIOS看下了。
谢谢!应该是硬件有问题。暂时不用蓝牙了。
离线