我无法将任何蓝牙设备连接到我的机器上。昨晚我把蓝牙耳机连上了。我切断了他们的联系,试图连接另一个蓝牙设备。然而,在花了一段时间试图连接任何东西之后,我再也无法连接任何设备了。
现在,当我扫描蓝牙设备,没有未配对的设备出现,我无法连接任何东西。我尝试过多次重新启动,同时也进行了软件更新。我还是不能让它起作用。我确实临时设置了disable_ertm,因为这是连接一个设备所需要的。但是,通过重新启动,这不会持续下去,我不认为这会引起任何问题。
我目前正在运行Ubuntu20.04(虽然我刚刚从今天的19.10升级)。
这是dmesg | grep -i blue的输出
[ 3.118373] Bluetooth: Core ver 2.22
[ 3.118396] Bluetooth: HCI device and connection manager initialized
[ 3.118403] Bluetooth: HCI socket layer initialized
[ 3.118406] Bluetooth: L2CAP socket layer initialized
[ 3.118410] Bluetooth: SCO socket layer initialized
[ 3.142526] Bluetooth: hci0: read Intel version: 370810225019140f34
[ 3.142528] Bluetooth: hci0: Intel device is already patched. patch num: 34
[ 5.486384] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.486386] Bluetooth: BNEP filters: protocol multicast
[ 5.486389] Bluetooth: BNEP socket layer initialized
[ 320.144846] Bluetooth: RFCOMM TTY layer initialized
[ 320.144851] Bluetooth: RFCOMM socket layer initialized
[ 320.144855] Bluetooth: RFCOMM ver 1.11
[ 446.535250] Bluetooth: hci0: failed to disable LE scan: status 0x0c当我在设置中关闭和打开蓝牙时,最后一行failed to disable LE scan就会发生。
这是systemctl | grep -i blue的输出
sys-devices-pci0000:00-0000:00:01.3-0000:02:00.0-usb1-1\x2d6-1\x2d6:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6:1.0/bluetooth/hci0
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
bluetooth.service loaded active running Bluetooth service
bluetooth.target loaded active active Bluetooth这是rfkill list all的输出
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no这是lsusb的输出
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04d9:8009 Holtek Semiconductor, Inc. USB-HID Keyboard
Bus 001 Device 002: ID 8087:0aa7 Intel Corp.
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub这是bluetoothctl的输出
Agent registered
[bluetooth]# list
Controller 80:32:53:8F:AC:B3 lamoreauxaj [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# devices
Device 8C:C8:CD:87:67:DB DTVBluetooth
Device 5E:13:95:A9:16:76 BT SPEAKER
Device F1:DC:AE:DB:C9:7E MX Master 2S
Device F1:DC:AE:DB:C9:7C MX Master 2S
Device F1:DC:AE:DB:C9:7D MX Master 2S
Device 4C:24:98:5E:63:73 AnnePro2 P1这些设备以前是连接的,但是我无法连接到它们中的任何一个或未配对的设备。
我真的不知道是什么原因导致蓝牙停止为我工作。不过,我真的很感激你的任何建议。我试着查看failed to disable LE scan错误,这显示在以前的内核版本中出现的问题中,但是这些解决方案并没有解决这个问题。
发布于 2020-07-02 01:28:21
我解决了这个问题。我不知道到底是什么修复了它,但我遵循的是另一个堆栈溢出柱,它建议删除/etc/蓝牙之后重新安装bluez,以及安装linux-固件。
我做了这两件事,关机,一分钟后重新启动。现在一切都正常了。Dmesg也不再显示failed to disable LE scan消息。
https://askubuntu.com/questions/1254636
复制相似问题