[pulseaudio-discuss] is it possible to ignore a module load failure?

Arun Raghavan arun at accosted.net
Tue Aug 19 20:29:00 PDT 2014


On 19 August 2014 22:42, Dmitry Pavlov <dmitry.pavlov at gmail.com> wrote:
> Hello,

Hiya,
This list is subscriber-only, so you'll need to subscribe to post and
see replies. I've manually let this message through for now.

> I have the following line in my default.pa:
>
> load-module module-alsa-sink device=bt sink_name=alsa_bt
>
> Sometimes (when the corresponding physical device is turned off)
> pulseaudio refuses to start, saying
>
> E: [pulseaudio] module.c: Failed to load module "module-alsa-sink"
> (argument: "device=bt sink_name=alsa_bt"): initialization failed.
> E: [pulseaudio] main.c: Module load failed.
> E: [pulseaudio] main.c: Failed to initialize daemon.
>
> While the error is not surprising, I would like Pulseaudio
> to go on starting and working, just with this particular sink disabled,
> and other sink(s) enabled. Is it possible?

You should be able to see ".fail" and ".nofail" directives that allow
you to do this.

Cheers,
Arun


More information about the pulseaudio-discuss mailing list