"br-connection-adapter-not-powered"で失敗する "bluez"接続の試みを修正する方法

私のBluetoothコントローラは次の場所に表示されますbluetoothctl

[bluetooth]# list
Controller 08:D8:33:xx:xx:xx BlueZ 5.62 [default]

ただし、デバイスに接続しようとすると、どこにも記載されていないエラーが発生します。

[bluetooth]# connect E8:06:88:xx:xx:xx
Attempting to connect to E8:06:88:xx:xx:xx
Failed to connect: org.bluez.Error.NotReady br-connection-adapter-not-powered

この問題をどのように解決しますか?

ベストアンサー1

実際に私が使用しているDistroパッケージのバージョンでは、デフォルト設定はbluez起動時にBluetoothコントローラを自動的に使用しません。この機能を有効にするには、設定のAutoEnableコメントを外し、/etc/bluetooth/main.conf次のように設定しますtrue

[Policy]
# ... snip ...
AutoEnable=true

その後、再起動してくださいbluez

sudo service bluez restart

または、リリースでサービスを再起動するのと同じです。

(ソリューション提案https://wiki.archlinux.org/title/bluetooth#Auto_power-on_after_boot)

おすすめ記事