Ubuntu 22.04 LTS で Bluetooth をオンにできない

Ubuntu 22.04 LTS で Bluetooth をオンにできない

Lenovo ラップトップに Ubuntu 22.04 LTS の新規コピーをインストールしたところ、Bluetooth システム全体が動作しません (つまり、トグルが動作しません)。以下のスクリーンショットに示すメッセージが表示されます。

Bluetooth設定

出力は次のとおりです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 ステータス bluetooth.service

出力は次のようになります。

 bluetooth.service
 Loaded: masked (Reason: Unit bluetooth.service is masked.)
 Active: inactive (dead)

これを修正するには、

$ systemctl bluetooth.service のマスクを解除します

$ sudo systemctl bluetooth.service を起動します

$ sudo rmmod btusb

$ sudo systemctl Bluetoothを有効にする

bluetooth.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth

$ sudo systemctl ステータス bluetooth.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 ステータス bluetooth.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 をインストールします

$ キルオールパルスオーディオ

リブート

ブーム!

答え2

これを試して:

sudo apt update && sudo apt upgrade
sudo systemctl start bluetooth
rfkill unblock bluetooth

編集: 再起動も試してみてください

答え3

そこで、ついにこの問題の解決策を見つけました。

ソース:ニルソン・オリベイラの回答Ubuntu 22.04 LTS で Bluetooth が見つからないと表示される Bluetooth を使用するにはドングルを差し込む

結果を確認してください:

sudo dmesg |grep -i bluetooth

私のケースはあなたと同じで、結果に次のエラーが表示されていました:

[    3.935429] Bluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu

そして解決策はzxcde の回答パッチファイルが見つかりません ar3k/AthrBT_0x31010000.dfu:

私の解決策を試してみてください:

  1. ダウンロード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詳細については)。
  2. フォルダを抽出してにlinux-firmware_1.201.tar.xzコピーします。ar3k/lib/firmware
  3. コンピュータを再起動してください。
  1. 上記の引用ブロックの出力が表示された場合は、linux-firmware_1.201.tar.xz以下からダウンロードしてください。ここ

  2. それを解凍し、以下に示すようにフォルダーに移動します。

    抽出されたフォルダ

  3. フォルダar3kを にコピーします/lib/firmware。次のコマンドを使用することもできます。

    sudo cp -R ar3k /lib/firmware
    

    注記:必ず解凍したフォルダ内でターミナルを開いてください。

  4. PC を再起動すると、Bluetooth を再び使用できるようになります。

答え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

関連情報