蓝牙在一段时间后停止工作,重新启动可以修复它 - 一段时间

Axe*_*sen 5 bluetooth 20.04

我在一台曾经运行 Windows 的旧笔记本电脑上安装了 Ubuntu 20.04。运行 Windows 时蓝牙很稳定。在 Ubuntu 20.04 上,使用笔记本电脑一段时间后蓝牙会关闭。有时是 \xc2\xbd 小时,有时是几个小时,但随后,蓝牙突然断电并且无法再次通电。

\n\n

我尝试过bluetoothctl重新打开电源,但得到了不同的答案。有时它会说“更改电源成功”,即使它没有,有时它会说类似失败的内容(下次发生时会添加正确的行)。

\n\n

我的系统配置如下:

\n\n
lspci\n00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 35)\n00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)\n00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 35)\n00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 35)\n00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 35)\n00:1b.0 Audio device: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller (rev 35)\n00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 35)\n00:1c.2 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #3 (rev 35)\n00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 35)\n00:1f.3 SMBus: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx SMBus Controller (rev 35)\n02:00.0 Network controller: Intel Corporation Wireless 7260 (rev cb)\n
Run Code Online (Sandbox Code Playgroud)\n\n

我一生都在运行 Windows,这是切换到 Linux 的一次尝试。我必须承认,通过这个构建,它比以前变得容易得多。

\n\n

我真的很想解决这个问题,并将提供有关系统所需的任何信息来帮助我。

\n\n

最近我在蓝牙连接 45 分钟后收到此消息:

\n\n
bluetoothctl Agent registered\n[CHG] Device 00:1F:20:35:7F:61 Connected: no\n[CHG] Controller 7C:5C:F8:F3:CD:51 Powered: no\n[CHG] Controller 7C:5C:F8:F3:CD:51 Discovering: no\n[CHG] Controller 7C:5C:F8:F3:CD:51 Pairable: no\n[bluetooth]\n# power on [bluetooth]\n# power off Changing power off succeeded [bluetooth]\n# power on Changing power on succeeded\nFailed to set power on: org.bluez.Error.Failed\n
Run Code Online (Sandbox Code Playgroud)\n\n

当连接失败时,此事件将被记录:drops: Bluetooth: hci0: unexpected event for opcode 0xfc2f

\n\n
sudo dmesg | grep -i blue\n[    6.595832] Bluetooth: Core ver 2.22\n[    6.595923] Bluetooth: HCI device and connection manager initialized\n[    6.595932] Bluetooth: HCI socket layer initialized\n[    6.595935] Bluetooth: L2CAP socket layer initialized\n[    6.595943] Bluetooth: SCO socket layer initialized\n[    6.877274] Bluetooth: hci0: read Intel version: 3707100180012d0d00\n[    6.881131] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq\n[    7.066253] Bluetooth: hci0: unexpected event for opcode 0xfc2f\n[    7.081277] Bluetooth: hci0: Intel firmware patch completed and activated\n[   10.332093] Bluetooth: BNEP (Ethernet Emulation) ver 1.3\n[   10.332096] Bluetooth: BNEP filters: protocol multicast\n[   10.332104] Bluetooth: BNEP socket layer initialized\n[   47.340916] Bluetooth: HIDP (Human Interface Emulation) ver 1.2\n[   47.340926] Bluetooth: HIDP socket layer initialized\n[   47.354895] input: Logitech Bluetooth Mouse M555b Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/bluetooth/hci0/hci0:256/0005:046D:B009.0001/input/input11\n[   47.355648] hid-generic 0005:046D:B009.0001: input,hidraw0: BLUETOOTH HID v4.19 Mouse [Logitech Bluetooth Mouse M555b] on 7c:5c:f8:f3:cd:51\n[   56.928757] Bluetooth: RFCOMM TTY layer initialized\n[   56.928769] Bluetooth: RFCOMM socket layer initialized\n[   56.928780] Bluetooth: RFCOMM ver 1.11\n[ 1342.898738] Bluetooth: hci0: read Intel version: 3707100180012d0d00\n[ 1342.898747] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq\n[ 1343.083723] Bluetooth: hci0: unexpected event for opcode 0xfc2f\n[ 1343.098752] Bluetooth: hci0: Intel firmware patch completed and activated\n[ 1346.358720] input: Logitech Bluetooth Mouse M555b Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/bluetooth/hci0/hci0:256/0005:046D:B009.0002/input/input13\n[ 1346.360283] hid-generic 0005:046D:B009.0002: input,hidraw0: BLUETOOTH HID v4.19 Mouse [Logitech Bluetooth Mouse M555b] on 7c:5c:f8:f3:cd:51\n
Run Code Online (Sandbox Code Playgroud)\n\n
lsusb -v | grep -A 10 -i blue\ncan\'t get debug descriptor: Resource temporarily unavailable\ncan\'t get debug descriptor: Resource temporarily unavailable\n  bDeviceProtocol         1 Bluetooth\n  bMaxPacketSize0        64\n  idVendor           0x8087 Intel Corp.\n  idProduct          0x07dc \n  bcdDevice            0.01\n  iManufacturer           0 \n  iProduct                0 \n  iSerial                 0 \n  bNumConfigurations      1\n  Configuration Descriptor:\n    bLength                 9\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x81  EP 1 IN\n        bmAttributes            3\n          Transfer Type            Interrupt\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0040  1x 64 bytes\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x03  EP 3 OUT\n        bmAttributes            1\n          Transfer Type            Isochronous\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0000  1x 0 bytes\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x03  EP 3 OUT\n        bmAttributes            1\n          Transfer Type            Isochronous\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0009  1x 9 bytes\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x03  EP 3 OUT\n        bmAttributes            1\ncan\'t get device qualifier: Resource temporarily unavailable\n          Transfer Type            Isochronous\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0011  1x 17 bytes\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x03  EP 3 OUT\n        bmAttributes            1\n          Transfer Type            Isochronous\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0019  1x 25 bytes\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x03  EP 3 OUT\n        bmAttributes            1\n          Transfer Type            Isochronous\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0021  1x 33 bytes\n--\n      bInterfaceProtocol      1 Bluetooth\n      iInterface              0 \n      Endpoint Descriptor:\n        bLength                 7\n        bDescriptorType         5\n        bEndpointAddress     0x03  EP 3 OUT\n        bmAttributes            1\n          Transfer Type            Isochronous\n          Synch Type               None\n          Usage Type               Data\n        wMaxPacketSize     0x0031  1x 49 bytes\ncan\'t get debug descriptor: Resource temporarily unavailable\ncan\'t get debug descriptor: Resource temporarily unavailable\ncan\'t get device qualifier: Resource temporarily unavailable\ncan\'t get debug descriptor: Resource temporarily unavailable\n
Run Code Online (Sandbox Code Playgroud)\n\n

运行 Adupa 建议的命令:

\n\n
uname -a; lspci -nnk | grep -iA2 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth\nLinux axbuntu 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux\n02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev cb)\n    Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [8086:4c70]\n    Kernel driver in use: iwlwifi\nBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\nBus 001 Device 005: ID 0bda:57b5 Realtek Semiconductor Corp. USB Camera\nBus 001 Device 003: ID 8087:07dc Intel Corp. \nBus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller\nBus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\n[    6.491119] Bluetooth: Core ver 2.22\n[    6.502736] Bluetooth: HCI device and connection manager initialized\n[    6.502744] Bluetooth: HCI socket layer initialized\n[    6.502747] Bluetooth: L2CAP socket layer initialized\n[    6.502770] Bluetooth: SCO socket layer initialized\n[    6.719436] Bluetooth: hci0: read Intel version: 3707100180012d0d00\n[    6.723005] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq\n[    6.926410] Bluetooth: hci0: unexpected event for opcode 0xfc2f\n[    6.941453] Bluetooth: hci0: Intel firmware patch completed and activated\n[   12.064240] Bluetooth: BNEP (Ethernet Emulation) ver 1.3\n[   12.064243] Bluetooth: BNEP filters: protocol multicast\n[   12.064250] Bluetooth: BNEP socket layer initialized\n[   46.652461] Bluetooth: HIDP (Human Interface Emulation) ver 1.2\n[   46.652474] Bluetooth: HIDP socket layer initialized\n[   46.674697] input: Logitech Bluetooth Mouse M555b Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/bluetooth/hci0/hci0:256/0005:046D:B009.0001/input/input11\n[   46.678068] hid-generic 0005:046D:B009.0001: input,hidraw0: BLUETOOTH HID v4.19 Mouse [Logitech Bluetooth Mouse M555b] on 7c:5c:f8:f3:cd:51\n[   59.322839] Bluetooth: RFCOMM TTY layer initialized\n[   59.322850] Bluetooth: RFCOMM socket layer initialized\n[   59.322862] Bluetooth: RFCOMM ver 1.11\n[    0.160706] Spectre V2 : Enabling Restricted Speculation for firmware calls\n[    0.245143] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored\n[    6.039318] elan_i2c i2c-ELAN1000:00: Elan Touchpad: Module ID: 0x0005, Firmware: 0x0004, Sample: 0x000d, IAP: 0x000e\n[    6.505681] iwlwifi 0000:02:00.0: loaded firmware version 17.3216344376.0 op_mode iwlmvm\n[    6.723005] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq\n[    6.941453] Bluetooth: hci0: Intel firmware patch completed and activated\nbluetooth             581632  36 btrtl,hidp,btintel,btbcm,bnep,btusb,rfcomm\necdh_generic           16384  2 bluetooth\n
Run Code Online (Sandbox Code Playgroud)\n\n

无法真正弄清楚这应该告诉我什么,但我也运行了更新。我将在白天进行测试,看看是否解决了问题。

\n\n

更新:\n不幸的是,更新驱动程序后问题仍然存在。

\n