{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/a2dp/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/a2dp", "feed_url": "https://matoken.org/blog/tag/a2dp/feed/json", "language": "ja", "title": "a2dp – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4104", "url": "https://matoken.org/blog/2024/09/29/unable-to-connect-to-bluetooth-a2dp-in-debian-sid/", "title": "Debian sid \u74b0\u5883\u3067 Bluetooth A2DP \u306b\u306a\u304b\u306a\u304b\u63a5\u7d9a\u3067\u304d\u306a\u3044", "content_html": "
\u6700\u8fd1 Debian sid amd64 \u74b0\u5883\u3067 Bluetooth \u30aa\u30fc\u30c7\u30a3\u30aa\u30c7\u30d0\u30a4\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u3068HSP/HFP \u306f\u9078\u629e\u3067\u304d\u307e\u3059\u304c\u3001\u97f3\u8cea\u306e\u3044\u3044 A2DP \u304c\u9078\u629e\u80a2\u306b\u51fa\u3066\u3053\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u4f55\u5ea6\u304b\u63a5\u7d9a\u3057\u76f4\u3059\u3068 A2DP \u304c\u9078\u629e\u80a2\u306b\u51fa\u308b\u3053\u3068\u304c\u3042\u308b\u3068\u3044\u3046\u611f\u3058\u3002
\n\u6570\u56de\u306b1\u56de\u63a5\u7d9a\u3057\u76f4\u3057\u3067 A2DP \u304c\u5229\u7528\u3067\u304d\u3066\u3044\u305f\u9803\u306f\u307e\u3060\u826f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u6700\u8fd1\u306f10\u56de\u7a0b\u63a5\u7d9a\u3057\u76f4\u3057\u3066\u3082\u99c4\u76ee\u3067\u3059\u3002
\n
\u5c11\u3057\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30e9\u30e0\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002
\n\n\n\n\nOn my system I managed to solve this problem by uninstalling the bluez-alsa-utils package, which was competing with Pipewire.
\n
bluez-alsa-utils \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b\u3068\u5b58\u5728\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u524a\u9664\u3057\u3066\u307f\u307e\u3059\u3002
bluez-alsa-utils \u3092\u78ba\u8a8d\u3057\u3066\u524a\u9664$ dpkg-query -W bluez-alsa-utils\nbluez-alsa-utils 4.2.0-1\n$ sudo apt remove bluez-alsa-utils\n
\u3053\u306e\u5f8c Bluetooth \u30aa\u30fc\u30c7\u30a3\u30aa\u30c7\u30d0\u30a4\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u3068\u6bce\u56de A2DP \u304c\u51fa\u3066\u304f\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002
\n3\u65e5\u307b\u3069\u8a66\u3057\u3066\u3044\u307e\u3059\u304c\u4eca\u306e\u6240\u6bce\u56de A2DP \u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u304c\u51fa\u3066\u304d\u3066\u3044\u307e\u3059\u3002
\n$ dpkg-query -W bluetooth pipewire* pavucontrol*\nbluetooth 5.77-1\npavucontrol\npavucontrol-qt 1.4.0-2\npavucontrol-qt-l10n 1.4.0-2\npipewire:amd64 1.2.4-2\npipewire-bin 1.2.4-2\npipewire-media-session\npipewire-pulse 1.2.4-2\n$ lsb_release -dr\nDescription: Debian GNU/Linux trixie/sid\nRelease: n/a\n$ arch\nx86_64\n
Debian Bullseye\u306e\u30b5\u30a6\u30f3\u30c9\u30b5\u30fc\u30d0\u306ePipeWire\u3067\u3059\u304c\uff0cexperimental\u3060\u3068\u304bBullseye\u306ePipeWire\u306f\u73fe\u5728\u306e\u72b6\u614b\u3092\u8868\u3059\u3082\u306e\u3067\u306f\u306a\u3044\u3068\u304b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\uff0e\u3067\u3082\u3061\u3087\u3063\u3068\u8a66\u3057\u305f\u3044\u3053\u3068\u304c\u3042\u3063\u3066Debian Wiki\u3092\u898b\u306a\u304c\u3089PulseAudio\u304b\u3089PipeWire\u306b\u5207\u308a\u66ff\u3048\u3066\u307f\u307e\u3057\u305f\uff0e\u5c11\u3057\u8a66\u3057\u305f\u3042\u3068\u5143\u306ePuleAudio\u306b\u623b\u3057\u305f\u306e\u3067\u3059\u304c\uff0c\u4ee5\u524d\u4f7f\u3048\u3066\u3044\u305fBluetooth A2DP\u306b\u5207\u308a\u66ff\u3048\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e
\n\n
Bluetooth\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306e\u5207\u308a\u66ff\u3048\u306b\u3044\u3064\u3082\u306fblueman-manager\u3084pavuctrl\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\u3069\u3061\u3089\u3067\u3082HSP/HFP\u304boff\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u305aA2DP\u306b\u5207\u308a\u66ff\u3048\u3088\u3046\u3068\u3059\u308b\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u305b\u3093\uff0e
\npacmd\u3067\u306f\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\uff0e
$ pacmd set-card-profile 4 a2dp_sink\nFailed to set card profile to 'a2dp_sink'\n\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u306e\u30da\u30a2\u30ea\u30f3\u30b0\u8a2d\u5b9a\u3092\u524a\u9664\u3057\u3066\u8a2d\u5b9a\u3057\u76f4\u3057\u3057\u3066\u3082\u52d5\u4f5c\u5909\u308f\u3089\u305a\uff0e
\n\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u898b\u3066\u540c\u3058\u5e38\u7528\u3067GDM\u304c\u63b4\u3093\u3067\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308b\u3088\u3046\uff0eGDM3\u3092\u4f7f\u3063\u3066\u3044\u308b\u3051\u3069\u30d7\u30ed\u30bb\u30b9\u306f\u6b8b\u3063\u3066\u306a\u3044\u3057\u95a2\u4fc2\u306a\u3055\u305d\u3046\uff0e\u3067\u3082\u4e00\u5fdc\u8a2d\u5b9a\u3057\u3066\u52d5\u4f5c\u5909\u308f\u3089\u305a\uff0e
\u4ee5\u524d\u906d\u9047\u3057\u305f\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3082\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u52d5\u4f5c\u5909\u308f\u3089\u305a\uff0e
\n\u30d7\u30ed\u30bb\u30b9\u3092\u898b\u308b\u3068PipeWire\u306e\u3082\u306e\u304c\u6b8b\u3063\u3066\u3044\u307e\u3059\uff0e
\n\u3053\u308c\u306e\u305b\u3044\u304b\u306a?\u3068PipeWire\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u6b62\u3081\u305f\u3042\u3068PulseAudio\u3092\u518d\u8d77\u52d5\u3057\u3066Bluetooth\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u63a5\u7d9a\u3059\u308b\u3068A2DP\u3067\u3064\u306a\u304c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
$ systemctl --user stop pipewire.service pipewire.socket\n$ systemctl --user restart pulseaudio\nPipeWire pkg\u3092\u6d88\u3057\u3066\u3057\u307e\u304a\u3046\u3068\u601d\u3063\u305f\u304cGnome\u306a\u3069\u304c\u4f9d\u5b58\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u6b21\u30ed\u30b0\u30a4\u30f3\u4ee5\u964d\u3082\u5927\u4e08\u592b\u306a\u3088\u3046\u306bPipeWire\u3092\u7121\u52b9\u5316\u3057\u307e\u3057\u305f\uff0e
\n$ systemctl --user disable pipewire pipewire-pulse\n\n\n\u8ffd\u8a18\uff09
\n
\n\u518d\u8d77\u52d5\u3057\u305f\u3089PipeWire\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u8d77\u52d5\u3057\u3066\u304d\u307e\u3057\u305f\uff0e/etc/systemd/user \u306e\u4e0b\u306b\u30b7\u30b9\u30c6\u30e0\u30ef\u30a4\u30c9\u306e\u8a2d\u5b9a\u304c\u3042\u308b\u306e\u3067\u3053\u308c\u3082\u524a\u9664\u3057\u3066\u518d\u8d77\u52d5\u3057\u3066\u8d77\u52d5\u3057\u3066\u3053\u306a\u304f\u306a\u308b\u3093\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e \n\n$ sudo rm /etc/systemd/user/sockets.target.wants/pipewire.socket \\\n/etc/systemd/user/default.target.wants/pipewire.service\n
$ bluetoothctl info 00:18:09:FF:FF:FF\nDevice 00:18:09:FF:FF:FF (public)\n Name: MDR-ZX330BT\n Alias: MDR-ZX330BT\n Class: 0x00240404\n Icon: audio-card\n Paired: yes\n Trusted: yes\n Blocked: no\n Connected: yes\n LegacyPairing: no\n UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)\n UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)\n UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)\n UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)\n UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)\n UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)\n$ dpkg-query -W pipewire* pulseaudio* bluetooth* blueman* pavucontrol\nblueman 2.1.4-1+b1\nbluetooth 5.55-3.1\npavucontrol 4.0-2\npipewire:amd64 0.3.19-4\npipewire-bin 0.3.19-4\npulseaudio 14.2-2\npulseaudio-module-bluetooth 14.2-2\npulseaudio-module-jack 14.2-2\npulseaudio-module-zeroconf\npulseaudio-utils 14.2-2\n$ lsb_release -dr\nDescription: Debian GNU/Linux 11 (bullseye)\nRelease: 11\n$ arch\nx86_64\n