
剛剛在我的 Lenovo 筆記型電腦上安裝了 Ubuntu 22.04 LTS 的新副本,整個藍牙系統無法工作(我的意思是開關不起作用)。我收到以下螢幕截圖中顯示的訊息:
這是輸出lspci -knn | grep Net -A3; lsusb; dmesg | grep -i blue
:
09:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: Lenovo QCA9565 / AR9565 Wireless Network Adapter [17aa:4026]
Kernel driver in use: ath9
Kernel modules: ath9k
Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0cf3:3004 Qualcomm Atheros Communications
AR3012 Bluetooth 4.0
Bus 002 Device 003: ID 13d3:5727 IMC Networks Lenovo EasyCamera
Bus 002 Device 002: ID 1c4f:0c07 SiGma Micro USB Keyboard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg: read kernel buffer failed: Operation not permitted
我嘗試了一切,但無法使其發揮作用。我錯過了什麼嗎?
答案1
所以,我終於找到解決這個問題的方法
(這對我有用)*
$ sudo systemctl 狀態藍牙.service
您的輸出應該類似於:
bluetooth.service
Loaded: masked (Reason: Unit bluetooth.service is masked.)
Active: inactive (dead)
為了解決這個問題,
$ systemctl unmask bluetooth.service
$ sudo systemctl 啟動藍牙服務
$ 須藤 rmmod btusb
$ sudo systemctl 啟用藍牙
bluetooth.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
$ sudo systemctl 狀態藍牙.service
bluetooth.service - LSB: Start bluetooth daemons
Loaded: loaded (/etc/init.d/bluetooth; generated)
Active: active (exited) since Wed 2022-05-11 22:00:50 +0545; 1min 31>
Docs: man:systemd-sysv-generator(8)
CPU: 2ms
$ sudo apt-get 刪除 bluez
$ sudo apt install bluez
這些僅供檢查:
$ sudo systemctl 啟動藍牙
$ sudo systemctl 狀態藍牙.service
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vend>
Active: active (running) since Wed 2022-05-11 22:08:13 +0545; 1min 2>
Docs: man:bluetoothd(8)
Main PID: 84272 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4525)
Memory: 692.0K
CPU: 102ms
CGroup: /system.slice/bluetooth.service
└─84272 /usr/lib/bluetooth/bluetoothd
$ sudo apt-get安裝pulseaudio-module-bluetooth
$ Killall 脈衝音頻
重啟
繁榮!
答案2
嘗試這個:
sudo apt update && sudo apt upgrade
sudo systemctl start bluetooth
rfkill unblock bluetooth
編輯:也嘗試重新啟動
答案3
所以我終於找到了解決這個問題的方法。
來源:尼爾森·奧利維拉的回答到Ubuntu 22.04 LTS 提示找不到藍牙 插入加密狗即可使用藍牙
檢查結果:
sudo dmesg |grep -i bluetooth
我的情況和你的一樣,我在結果中給了這個錯誤:
[ 3.935429] Bluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu
解決方案是遵循zxcde 的回答到未找到補丁檔案 ar3k/AthrBT_0x31010000.dfu:
你可以嘗試我的解決方案:
- 下載
linux-firmware_1.201.tar.xz
自http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.201.tar.xz (你可以拜訪https://packages.ubuntu.com/impish/linux-firmware更多細節)。- 解壓縮資料夾
linux-firmware_1.201.tar.xz
並將其複製ar3k
到/lib/firmware
.- 重啟你的電腦。
如果您在上面的區塊引用中獲得輸出,請
linux-firmware_1.201.tar.xz
從以下地址下載這裡。解壓縮並進入如下所示的資料夾:
將資料夾複製
ar3k
到/lib/firmware
.您也可以使用以下命令:sudo cp -R ar3k /lib/firmware
筆記:確保在提取的資料夾中打開終端機。
重新啟動您的電腦,您應該可以再次使用藍牙。
答案4
請在終端機中嘗試以下操作(驗證系統是否已關閉):
~$ hciconfig
hci0: Type: Primary Bus: USB
BD Address: C0:18:85:50:33:42 ACL MTU: 1022:8 SCO MTU: 121:3
DOWN
RX bytes:1087 acl:0 sco:0 events:128 errors:0
TX bytes:4933 acl:0 sco:0 commands:95 errors:18
如果系統確實已關閉,請輸入以下內容,然後重新啟動
~$ sudo hciconfig -a hci0 up