Debian bullseyeでPipeWireに切り替えてPulseAudioに戻したらA2DPが使えなくなった

Debian BullseyeのサウンドサーバのPipeWireですが,experimentalだとかBullseyeのPipeWireは現在の状態を表すものではないとか書かれています.でもちょっと試したいことがあってDebian Wikiを見ながらPulseAudioからPipeWireに切り替えてみました.少し試したあと元のPuleAudioに戻したのですが,以前使えていたBluetooth A2DPに切り替えできなくなりました.

Bluetoothプロファイルの切り替えにいつもはblueman-managerやpavuctrlを使っていますがどちらでもHSP/HFPかoffしか設定できずA2DPに切り替えようとするとうまく行きません.
pacmdではこんなメッセージ.

$ pacmd set-card-profile 4 a2dp_sink
Failed to set card profile to 'a2dp_sink'

ヘッドセットのペアリング設定を削除して設定し直ししても動作変わらず.
以下のページを見て同じ常用でGDMが掴んでしまうことがあるよう.GDM3を使っているけどプロセスは残ってないし関係なさそう.でも一応設定して動作変わらず.

以前遭遇した以下の設定も試してみましたが動作変わらず.

プロセスを見るとPipeWireのものが残っています.
これのせいかな?とPipeWireのプロセスを止めたあとPulseAudioを再起動してBluetoothヘッドセットを接続するとA2DPでつながるようになりました.

$ systemctl --user stop pipewire.service pipewire.socket
$ systemctl --user restart pulseaudio

PipeWire pkgを消してしまおうと思ったがGnomeなどが依存しているようなのでそのままにして次ログイン以降も大丈夫なようにPipeWireを無効化しました.

$ systemctl --user disable pipewire pipewire-pulse

追記)
再起動したらPipeWireのプロセスが起動してきました./etc/systemd/user の下にシステムワイドの設定があるのでこれも削除して再起動して起動してこなくなるんのを確認しました.

$ sudo rm /etc/systemd/user/sockets.target.wants/pipewire.socket \
/etc/systemd/user/default.target.wants/pipewire.service
環境
$ bluetoothctl info 00:18:09:FF:FF:FF
Device 00:18:09:FF:FF:FF (public)
        Name: MDR-ZX330BT
        Alias: MDR-ZX330BT
        Class: 0x00240404
        Icon: audio-card
        Paired: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
$ dpkg-query -W pipewire* pulseaudio* bluetooth* blueman* pavucontrol
blueman 2.1.4-1+b1
bluetooth       5.55-3.1
pavucontrol     4.0-2
pipewire:amd64  0.3.19-4
pipewire-bin    0.3.19-4
pulseaudio      14.2-2
pulseaudio-module-bluetooth     14.2-2
pulseaudio-module-jack  14.2-2
pulseaudio-module-zeroconf
pulseaudio-utils        14.2-2
$ lsb_release -dr
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
$ arch
x86_64

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)