我遇到的问题是,WiFi 工作正常,但蓝牙无法工作或无法识别。我四处搜索,尝试在 bios (MOBO strix z370) 中禁用某些功能,但没有成功。WIFI 工作正常。我有点不确定如何继续调试,因为我不太熟悉调试这类东西。它在 18.04 和 Windows 上运行良好,但自从我安装了全新的 20.04 后,它就停止工作了。
如果我尝试通过 GUI 访问,我会得到著名的no bluetooth found
。
如果我尝试通过 bluetoothctl 访问
➜ ~ bluetoothctl
Agent registered
[bluetooth]# devices
No default controller available
[bluetooth]#
➜ ~ uname -a
Linux borko-ubuntu 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
rfkill 列表没有注册该设备,我认为这意味着内核没有注册该设备?
➜ ~ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
➜ ~ service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
мај 20 15:10:57 borko-ubuntu systemd[1]: Condition check resulted in Bluetooth service being skipped.
мај 20 15:11:23 borko-ubuntu systemd[1]: Condition check resulted in Bluetooth service being skipped.
мај 20 15:12:15 borko-ubuntu systemd[1]: Condition check resulted in Bluetooth service being skipped.
运行此命令后,我至少可以启动该服务
➜ ~ sudo systemctl enable bluetooth
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
➜ ~ sudo modprobe btusb
➜ ~ sudo systemctl restart bluetooth
➜ ~ service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-05-20 15:15:57 CEST; 1s ago
Docs: man:bluetoothd(8)
Main PID: 7578 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 38393)
Memory: 2.1M
CGroup: /system.slice/bluetooth.service
└─7578 /usr/lib/bluetooth/bluetoothd
мај 20 15:15:57 borko-ubuntu systemd[1]: Starting Bluetooth service...
мај 20 15:15:57 borko-ubuntu bluetoothd[7578]: Bluetooth daemon 5.53
мај 20 15:15:57 borko-ubuntu systemd[1]: Started Bluetooth service.
мај 20 15:15:57 borko-ubuntu bluetoothd[7578]: Starting SDP server
мај 20 15:15:57 borko-ubuntu bluetoothd[7578]: Bluetooth management interface 1.14 initialized