自从我将笔记本电脑更新到 Ubuntu 18.04 后,我的蓝牙就一直无法使用。当我尝试在系统设置中打开蓝牙时,需要一段时间才能打开,当我打开或关闭蓝牙时,它一直显示“打开以连接设备并接收文件传输”。
我本想稍后再修复此问题,但由于我还注意到我的电池消耗得非常快,所以我很想知道这可能是什么原因。使用终端中的“top”或“htop”命令,我看到了导致此问题的原因。进程“bluetoothd”显示 CPU 使用率为 100%。我想知道它在做什么,因为它无法使用。
现在我真的希望能够再次使用蓝牙,并且我尝试了不同的方法来修复它,即:
- 在 /etc/blueoth/main.cfg 中添加“AutoEnable=true”
- 安装 bluez
- sudo 服务蓝牙停止/启动/重启
- systemctl 蓝牙停止/启动
可能还有其他我记不清的东西。无论如何,为了防止我的笔记本电脑耗尽电池,我必须强制停止“bluetoothd”进程。否则我的笔记本电脑将在一小时内死机……
我的蓝牙版本是 5.50,我想我也手动更新了它,但我不确定。
我希望有人能帮助我解决这个问题。
编辑: lspci -knn | grep Net -A3; lsusb
02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)
Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [8086:4070]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
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 002: ID 0424:5534 Standard Microsystems Corp. Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 04f2:b3ed Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 8087:07dc Intel Corp.
Bus 002 Device 002: ID 0424:2134 Standard Microsystems Corp. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
编辑2: dmesg | grep -i blue; uname -a; rfkill list
[ 25.918370] Bluetooth: Core ver 2.22
[ 25.918390] Bluetooth: HCI device and connection manager initialized
[ 25.918393] Bluetooth: HCI socket layer initialized
[ 25.918395] Bluetooth: L2CAP socket layer initialized
[ 25.918398] Bluetooth: SCO socket layer initialized
[ 26.426223] Bluetooth: hci0: read Intel version: 370710018002030d00
[ 26.474144] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[ 26.613246] Bluetooth: hci0: Intel firmware patch completed and activated
[ 45.410462] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 45.410466] Bluetooth: BNEP filters: protocol multicast
[ 45.410472] Bluetooth: BNEP socket layer initialized
Linux HP 4.20.13-042013-generic #201902270533 SMP Wed Feb 27 10:35:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
编辑3: systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2019-03-04 16:24:58 CET; 2s ago
Docs: man:bluetoothd(8)
Main PID: 25143 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─25143 /usr/lib/bluetooth/bluetoothd
mrt 04 16:24:58 HP systemd[1]: Starting Bluetooth service...
mrt 04 16:24:58 HP bluetoothd[25143]: Bluetooth daemon 5.50
mrt 04 16:24:58 HP systemd[1]: Started Bluetooth service.
mrt 04 16:24:58 HP bluetoothd[25143]: Starting SDP server
mrt 04 16:24:58 HP bluetoothd[25143]: Bluetooth management interface 1.14 initialized
mrt 04 16:24:58 HP bluetoothd[25143]: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
mrt 04 16:24:58 HP bluetoothd[25143]: avrcp-controller: Protocol not supported (93)
mrt 04 16:24:58 HP bluetoothd[25143]: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
mrt 04 16:24:58 HP bluetoothd[25143]: audio-avrcp-target: Protocol not supported (93)