错误描述
我想使用我的蓝牙鼠标。就这么简单。所以我将鼠标与我的笔记本电脑连接起来 - 起初它工作正常,但几分钟后它突然停止工作,直到重新启动才能启动。
所以我重新启动了笔记本电脑,系统启动时一切正常,但几分钟后我的鼠标又停止工作了。
有用的信息
一般信息
OS: Ubuntu 17.04 x86_64
Model: W840SU Series
Kernel: 4.10.0-21-generic
DE: Budgie
WM: Mutter(Budgie)
CPU: Intel i5-4200U (4) @ 2.6GHz
GPU: Intel Haswell Mobile
Memory: 3500MiB / 7870MiB
lsusb
: :
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 5986:0536 Acer, Inc
Bus 002 Device 003: ID 8087:07dc Intel Corp.
Bus 002 Device 002: ID 0eef:a122 D-WAV Scientific Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
系统启动后:
hciconfig、bluetoothctl 和 rfkill 的输出
鼠标停止工作后
hciconfig、bluetoothctl 和 rfkill 的输出
dmesg | grep Blue
[ 5.049999] Bluetooth: Core ver 2.22
[ 5.050029] Bluetooth: HCI device and connection manager initialized
[ 5.050032] Bluetooth: HCI socket layer initialized
[ 5.050034] Bluetooth: L2CAP socket layer initialized
[ 5.050041] Bluetooth: SCO socket layer initialized
[ 5.202899] Bluetooth: hci0: read Intel version: 370710010002030d56
[ 5.202900] Bluetooth: hci0: Intel device is already patched. patch num: 56
[ 5.209461] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.209463] Bluetooth: BNEP filters: protocol multicast
[ 5.209468] Bluetooth: BNEP socket layer initialized
[ 29.802314] Bluetooth: RFCOMM TTY layer initialized
[ 29.802320] Bluetooth: RFCOMM socket layer initialized
[ 29.802325] Bluetooth: RFCOMM ver 1.11
[ 33.640917] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 33.640923] Bluetooth: HIDP socket layer initialized
[ 33.648277] input: Bluetooth Mouse M557 as /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/bluetooth/hci0/hci0:256/0005:046D:B010.0002/input/input24
[ 33.651568] hid-generic 0005:046D:B010.0002: input,hidraw1: BLUETOOTH HID v10.01 Mouse [Bluetooth Mouse M557] on a0:88:69:15:35:82
[ 998.091592] Bluetooth: hci0 command 0x0804 tx timeout
[ 1010.060391] Bluetooth: hci0 command 0x0c14 tx timeout
[ 1292.746097] Bluetooth: hci0 command 0x0406 tx timeout
[ 1297.962695] Bluetooth: hci0 command 0xfc3f tx timeout
[ 1303.211103] Bluetooth: hci0 command 0x0c52 tx timeout
[ 1305.227339] Bluetooth: hci0 command 0x0c13 tx timeout
[ 1306.187346] Bluetooth: hci0: turning off Intel device LED failed (-110)
[ 1528.198244] Bluetooth: hci0 urb ffff9be87115af00 failed to resubmit (113)
[ 1539.090928] Bluetooth: hci0 urb ffff9be94d2df9c0 failed to resubmit (113)
[ 1548.147837] Bluetooth: hci0 urb ffff9be94d2df9c0 failed to resubmit (113)
[ 1559.176769] Bluetooth: hci0 urb ffff9be94ef6c6c0 failed to resubmit (113)
[ 1780.029401] Bluetooth: hci0 urb ffff9be94f8b96c0 failed to resubmit (113)
[ 2167.226568] Bluetooth: hci0 urb ffff9be7b54c7900 failed to resubmit (113)
[ 2207.166935] Bluetooth: hci0 urb ffff9be88efea480 failed to resubmit (113)
[ 2483.163077] Bluetooth: hci0 urb ffff9be79f86f3c0 failed to resubmit (113)
[ 2493.148010] Bluetooth: hci0 urb ffff9be8d338a540 failed to resubmit (113)
[ 4388.304302] Bluetooth: hci0 urb ffff9be76b0f89c0 failed to resubmit (113)
这可能是最有趣的部分:
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed
答案1
尝试使用我的 Logitech K380 蓝牙键盘时,我遇到了与 Soraphis 相同的问题。从我的系统中卸载 TLP 最终为我解决了这个问题。
如果已安装 TLP,请尝试禁用或卸载它。
答案2
由于无法到达 hci0:
hciconfig hci0 up
可以达到目的。
答案3
bluethoothctl
不确定它为什么会这样,但我通过运行、打开power off
、然后power on
(失败)、使用退出并重quit
试,power off
使它无需重新启动就可以工作power on
。
user@ubuntu:~$ bluetoothctl
[bluetooth]# power off
Changing power off succeeded
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed
[bluetooth]# quit
[DEL] Controller AA:BB:CC:DD:EE:FF ubuntu [default]
user@ubuntu:~$ bluetoothctl
[NEW] Controller AA:BB:CC:DD:EE:FF ubuntu [default]
[NEW] Device 11:22:33:44:55:66 Some device
[NEW] Device 11:22:33:44:55:77 Another device
[bluetooth]# power off
Changing power off succeeded
[bluetooth]# power on
[CHG] Controller AA:BB:CC:DD:EE:FF Class: 0x1c010c
Changing power on succeeded
[CHG] Controller AA:BB:CC:DD:EE:FF Powered: yes
[CHG] Controller AA:BB:CC:DD:EE:FF Discovering: yes
希望能帮助到你!