
當我暫停機器然後恢復它時,在 Ubuntu 21.10 和 Pop!_OS 21.10 下,藍牙消失,如下圖所示:
就像我的電腦上沒有藍牙卡一樣。唯一能修復它的就是重新啟動。
在網上查了一下,這似乎是個常見問題。我嘗試了所有能找到的解決方案。
一些較舊的帖子將問題歸因於 bluez 的舊版本,但在我的機器上我有最新版本:
gerardozinno@pop-os:~$ dpkg --status bluez | grep '^Version:'
Version: 5.60-0ubuntu2.1
我嘗試了這裡建議的解決方案https://askubuntu.com/questions/875901/no-bluetooth-found-plug-in-a-dongle-to-use-bluetooth:
gerardozinno@pop-os:~$ rfkill list all
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
但我的輸出與帖子中的輸出相反,顯示沒有藍牙。
我嘗試了以下解決方案後發現這裡:
gerardozinno@pop-os:~$ hcitool dev
Devices:
gerardozinno@pop-os:~$ sudo systemctl restart bluetooth
gerardozinno@pop-os:~$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
Active: active (running) since Tue 2022-01-04 22:46:57 CET; 8min ago
Docs: man:bluetoothd(8)
Main PID: 40233 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 18336)
Memory: 544.0K
CPU: 16ms
CGroup: /system.slice/bluetooth.service
└─40233 /usr/lib/bluetooth/bluetoothd
gen 04 22:46:57 pop-os systemd[1]: bluetooth.service: Deactivated successfully.
gen 04 22:46:57 pop-os systemd[1]: Stopped Bluetooth service.
gen 04 22:46:57 pop-os systemd[1]: Starting Bluetooth service...
gen 04 22:46:57 pop-os bluetoothd[40233]: Bluetooth daemon 5.60
gen 04 22:46:57 pop-os systemd[1]: Started Bluetooth service.
gen 04 22:46:57 pop-os bluetoothd[40233]: Starting SDP server
gen 04 22:46:57 pop-os bluetoothd[40233]: Bluetooth management interface 1.21 i>
從輸出看來,藍牙應該處於活動狀態並且正在運行,那麼問題出在哪裡?
我也嘗試先問詢問Ubuntu,但由於那裡的技術含量較低,所以我也在這裡問。我該如何解決這個問題?