Raspberry Pi3 の Bluetooth イヤホン接続の謎2
bluetoothのイヤホンをつないでみたくて、今度はここを参考にアップデートをしてみた。
結果:NG。
参考)https://qiita.com/nattof/items/3db73a95e63100d7580a
sudo apt install pulseaudio-module-bluetooth
ファイルの新規作成
sudo vi /etc/systemd/system/pulseaudio.service
[Unit]
Description=Pulse Audio
[Service]
Type=simple
ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm
[Install]
WantedBy=multi-user.target
ファイルの新規作成
sudo vi /etc/dbus-1/system.d/pulseaudio-bluetooth.conf
<busconfig>
<policy user="pulse">
<allow send_destination="org.bluez"/>
</policy>
</busconfig>
ファイルの末尾に追記
sudo vi /etc/pulse/system.pa
### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
sudo systemctl start pulseaudio.service
sudo systemctl enable pulseaudio.service