<div dir="ltr">Hi Juha,<div><br></div><div>I had nearly the same issues with BT headset and PA like you. The only difference is that I'm now using Stretch. But it looks like the issue is much wider. I found that PA locks any device for a single user except those ones which are provided by ALSA. Yes, PA uses ALSA anyway under the hood since ALSA is part of Linux Kernel and is the main sound API for Linux.</div><div><br></div><div>So I wanted to report another issue regarding PA when saw this one.</div><div><br></div><div>Your issue might be that another user (like Debian-gdm or anybody else) might grab PA BT device as audio device before you logged in. Since PA is so stupid that it is unable to share device across different instances (when running per-user session) you are not able to use already grabbed device from your user session.</div><div><br></div><div>To check that, just run</div><div><br></div><div><div>infestator@inftop ~ $ ps axu | grep pulseaudi[o]</div><div>infesta+  7764  0.7  0.0 1293132 13532 ?       S<l  10:04   0:16 /usr/bin/pulseaudio --start --log-target=syslog</div></div><div><br></div><div>You should see just one instance of pulseaudio process running in order to be able to use bluetooth headset. You may also see Debian-gdm user in the list. In order to disable pulseaudio daemon for Debian-gdm user just create file /var/lib/gdm3/.config/pulse/client.conf (I believe it is the same in Jessie as in Stretch, but you may check that by `getent passwd | grep -i gdm') with the following content:<br></div><div><div>  autospawn = no</div><div>  daemon-binary = /bin/true</div></div><div>and don't forget to set appropriate owner to that file.</div><div><br></div><div>If this does not help, then your issue is something else.</div><div><br></div><div><br><div><div class="gmail_signature"><div>--<br>Best regards,<br>Alexander Betaev<br></div></div></div>
</div></div>