我有一台裝有 Ubuntu 20.04 LTS 的華碩。我發現我的藍牙在電腦暫停後無法工作。我找到的唯一解決方案是再次重新啟動電腦。我已經嘗試過這個問題的解決方案Ubuntu 18.04 從睡眠狀態恢復後藍牙無法運作,但它不起作用。我已經有一個來自 bluez 的5.53-0ubuntu3.1
比有問題的版本更好的版本。我的問題與此有關問題,但沒有人回應。
我真的很感謝任何幫助,因為我遠端工作並且需要一直戴著耳機。
感謝您的時間。
掛起前的終端輸出
$ rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04ca:3010 Lite-On Technology Corp.
Bus 001 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 002: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ sudo dmesg | grep -i blue
[ 3.770780] Bluetooth: Core ver 2.22
[ 3.770816] Bluetooth: HCI device and connection manager initialized
[ 3.770820] Bluetooth: HCI socket layer initialized
[ 3.770822] Bluetooth: L2CAP socket layer initialized
[ 3.770826] Bluetooth: SCO socket layer initialized
[ 7.634896] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.634898] Bluetooth: BNEP filters: protocol multicast
[ 7.634901] Bluetooth: BNEP socket layer initialized
[ 17.691202] Bluetooth: RFCOMM TTY layer initialized
[ 17.691210] Bluetooth: RFCOMM socket layer initialized
[ 17.691216] Bluetooth: RFCOMM ver 1.11
掛起後的終端輸出
$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 04ca:3010 Lite-On Technology Corp.
Bus 001 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 002: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ sudo dmesg | grep -i blue
[ 3.738454] Bluetooth: Core ver 2.22
[ 3.738472] Bluetooth: HCI device and connection manager initialized
[ 3.738475] Bluetooth: HCI socket layer initialized
[ 3.738477] Bluetooth: L2CAP socket layer initialized
[ 3.738479] Bluetooth: SCO socket layer initialized
[ 9.483031] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 9.483032] Bluetooth: BNEP filters: protocol multicast
[ 9.483035] Bluetooth: BNEP socket layer initialized
[ 19.747496] Bluetooth: RFCOMM TTY layer initialized
[ 19.747504] Bluetooth: RFCOMM socket layer initialized
[ 19.747510] Bluetooth: RFCOMM ver 1.11
[10365.247046] Bluetooth: Can't get version to change to load ram patch err
[10365.247050] Bluetooth: Loading patch file failed
答案1
今天下午我對這個問題做了一些測試,懷疑 ubuntu 沒有正確關閉藍牙。
嘗試修改:/etc/bluetooth/input.conf,未註解:
空閒超時=5
使用者空間HD=true
到目前為止,已經用我的 JBL GO 3 進行了測試,無論我做什麼,JBL 都會再次連接。
也許它可能需要更多測試,我們會盡力讓您知道:)