[pulseaudio-discuss] module-alsa-sink device
Tadej Panjtar
tadej.panjtar at gmail.com
Mon Mar 20 19:54:53 UTC 2017
HI!
I must say that the system is now working as expected.
Problem was in system.pa. I found in manual that in system wide daemon
configuration should not use automatic detection.
from pulseaudio manual pages:
--disallow-module-loading[=BOOL]
Disallow module loading after startup. This is a security
feature since it disallows additional module loading during runtime
and on user request. It is highly recommended when --system is used
(see above). Note however, that this breaks certain fea‐
tures like automatic module loading on hot plug.
So I disabled (commented) lines from system.pa
### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
#### Use the static hardware detection module (for systems that
lack udev/hal support)
#load-module module-detect
#.endif
and now works.
Thanks!
On Sat, Mar 18, 2017 at 9:54 PM, Anton Lundin <glance at acc.umu.se> wrote:
> On 18 March, 2017 - Tadej Panjtar wrote:
>
> > Thanks!
> >
> ...
> >
> > If PA is started via command as root it works. But if same command
> > is run via systemd, happens Got signal SIGTERM.
> > Here is log.
> ...
> > mar 18 00:14:11 tadejas pulseaudio[8285]: Got signal SIGTERM.
> ...
> > and here is service script:
> >
> > # systemd service spec for pulseaudio running in system mode -- not
> > recommended though!
> > # put it under /etc/systemd/system/pulseaudio.service
> > # start with: systemctl start pulseaudio.service
> > # enable on boot: systemctl enable pulseaudio.service
> >
> > [Unit]
> > Description=Plseaudio Service
> > After=network-online.target
> >
> > [Service]
> > ExecStart=/usr/bin/pulseaudio -vvvv --system --disallow-exit
> > --disallow-module-loading
> > #ExecReload=/bin/kill -HUP $MAINPID
> > TimeoutSec=13
>
> I guess this is your problem. 13 seconds after start systemd sends a
> SIGTERM, because it thinks the service didn't start properly.
>
>
> //Anton
>
>
> >
> > [Install]
> > WantedBy=multi-user.target
> >
> > Best regards,
> > Tadej
> >
> >
> >
> > On Fri, Mar 17, 2017 at 3:16 AM, Arun Raghavan <arun at arunraghavan.net>
> > wrote:
> >
> > > On Wed, 15 Mar 2017, at 12:27 PM, Tadej Panjtar wrote:
> > > > Hi!
> > > >
> > > > I Migrated from pulseaudio version 4.0 to 8.0 and the following
> command
> > > > does not work anymore:
> > > > load-module module-alsa-sink device="hw:2,7" sink_name=seat1
> > > >
> > > > E: [pulseaudio] module.c: Failed to load module "module-alsa-sink"
> > > > (argument: "device="hw:2,7" sink_name=seat1"): initialization failed.
> > > > E: [pulseaudio] main.c: Module load failed.
> > > >
> > > > What is wrong?
> > >
> > > You need to increase your pulseaudio debug level (or start it with
> > > -vvvv).
> > >
> > > -- Arun
> > >
>
> > _______________________________________________
> > pulseaudio-discuss mailing list
> > pulseaudio-discuss at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
>
> --
> Anton Lundin +46702-161604
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170320/5dd11d42/attachment.html>
More information about the pulseaudio-discuss
mailing list