<div dir="ltr">Thank you, that did the trick!<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 7, 2016 at 10:53 AM, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, 2016-02-06 at 22:13 +0000, Vlad Nikolyukin wrote:<br>
> I'm running Jessie on Raspberry Pi2. I'm trying to install Pulseaudio 8<br>
> from the source, but having problems running it in system mode with Bluez5<br>
> with A2DP support.<br>
><br>
> On startup in system-wide mode, it fails with `"module-bluez5-discover.c:<br>
> Failed to load module for device /org/bluez/hci0/dev_AC_CF_85_23_8C_78"`<br>
> error when I connect my phone to bluetooth.<br>
><br>
> If I simply restart pulseaudio under normal user account (pi) using:<br>
><br>
> pulseaudio -vvvv<br>
><br>
> and connecting the phone, everything works fine and I can play music via<br>
> A2DP from the phone.<br>
><br>
> Pulseaudio is setup to run as systemd service in<br>
> `/etc/systemd/system/pulseaudio.service`:<br>
><br>
> /usr/local/bin/pulseaudio --system --disallow-exit --disable-shm<br>
> --exit-idle-time=-1 --disallow-module-loading<br>
<br>
</span>--disallow-module-loading is probably the culprit. It prevents any<br>
modules from loading after the daemon initialization. (I think it<br>
should be changed to only prevent users from loading modules.)<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Tanu<br>
</font></span></blockquote></div><br></div>