[pulseaudio-discuss] Pulseaudio 8/Bluez5 fails to load module-bluez5-device when running in system-wide mode
Tanu Kaskinen
tanuk at iki.fi
Sun Feb 7 11:53:56 CET 2016
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
More information about the pulseaudio-discuss
mailing list