Bluetoothスピーカーの接続中にエラーが発生しました: `org.bluez.Error.Failed`

Bluetoothスピーカーの接続中にエラーが発生しました: `org.bluez.Error.Failed`

私はDebian Jessie 8.2を実行しています。マイコンピュータにBluetooth USBアダプタが接続されています。

実行しsudo bluetoothctl -aたら、次の操作を行います。

[NEW] Controller 5C:F3:70:6B:57:60 debian [default]
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 5C:F3:70:6B:57:60 Discovering: yes
[bluetooth]# devices
[NEW] Device 08:DF:1F:A7:B1:7B Bose Mini II SoundLink
[bluetooth]# pair 08:DF:1F:A7:B1:7B
Attempting to pair with 08:DF:1F:A7:B1:7B
[CHG] Device 08:DF:1F:A7:B1:7B Connected: yes
[CHG] Device 08:DF:1F:A7:B1:7B UUIDs:
    0000110b-0000-1000-8000-00805f9b34fb
    0000110c-0000-1000-8000-00805f9b34fb
    0000110e-0000-1000-8000-00805f9b34fb
    0000111e-0000-1000-8000-00805f9b34fb
    00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 08:DF:1F:A7:B1:7B Paired: yes
Pairing successful
[CHG] Device 08:DF:1F:A7:B1:7B Connected: no
[bluetooth]# trust 08:DF:1F:A7:B1:7B
[CHG] Device 08:DF:1F:A7:B1:7B Trusted: yes
Changing 08:DF:1F:A7:B1:7B trust succeeded
[bluetooth]# connect 08:DF:1F:A7:B1:7B
Attempting to connect to 08:DF:1F:A7:B1:7B
Failed to connect: org.bluez.Error.Failed

しかし、私はできるこのようにiPhoneに接続されました。 Bose Mini II SoundLinkスピーカーに接続できないのはなぜですか?

ベストアンサー1

pulseaudio-module-bluetoothパッケージがインストールされていないために発生する可能性があります。見つからない場合は、インストールしてpulseaudioを再起動してください。

sudo apt install pulseaudio-module-bluetooth 
pulseaudio -k
pulseaudio --start

問題がパッケージの欠落によるものではない場合、この場合の問題はPulseAudioが追いつかないことです。この問題に対する一般的な解決策は、PulseAudioを再起動することです。 PulseAudioがユーザーとして実行されている場合は、bluetoothctlをrootとして実行しても問題はありません。 PulseAudioを再起動してからもう一度接続してみてください。ペアリングを繰り返す必要はありません。

上記の方法で問題が解決しない場合にのみ、2番目の部分を試してください。

PulseAudioを再起動しても機能しない場合は、module-bluetooth-discoverをロードする必要があります。

sudo pactl load-module module-bluetooth-discover

同じロードモジュールコマンドをに追加できます/etc/pulse/default.pa。それでも機能しない場合、またはPulseAudioのシステムフルモードを使用している場合は、次のPulseAudioモジュールもロードしてください(このモジュールはdefault.paまたはsystem.paを介してロードすることもできます)。 ):

module-bluetooth-policy
module-bluez5-device
module-bluez5-discover

おすすめ記事