[pulseaudio-discuss] Pulseaudio 8/Bluez5 fails to load module-bluez5-device when running in system-wide mode

Vlad Nikolyukin jodvova at gmail.com
Sun Feb 7 13:56:19 CET 2016


Thank you, that did the trick!



On Sun, Feb 7, 2016 at 10:53 AM, Tanu Kaskinen <tanuk at iki.fi> wrote:

> On Sat, 2016-02-06 at 22:13 +0000, Vlad Nikolyukin wrote:
> > I'm running Jessie on Raspberry Pi2. I'm trying to install Pulseaudio 8
> > from the source, but having problems running it in system mode with
> Bluez5
> > with A2DP support.
> >
> > On startup in system-wide mode, it fails with `"module-bluez5-discover.c:
> > Failed to load module for device /org/bluez/hci0/dev_AC_CF_85_23_8C_78"`
> > error when I connect my phone to bluetooth.
> >
> > If I simply restart pulseaudio under normal user account (pi) using:
> >
> >     pulseaudio -vvvv
> >
> > and connecting the phone, everything works fine and I can play music via
> > A2DP from the phone.
> >
> > Pulseaudio is setup to run as systemd service in
> > `/etc/systemd/system/pulseaudio.service`:
> >
> >     /usr/local/bin/pulseaudio --system --disallow-exit --disable-shm
> > --exit-idle-time=-1 --disallow-module-loading
>
> --disallow-module-loading is probably the culprit. It prevents any
> modules from loading after the daemon initialization. (I think it
> should be changed to only prevent users from loading modules.)
>
> --
> Tanu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160207/9f473995/attachment.html>


More information about the pulseaudio-discuss mailing list