is it possible to ignore a module load failure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux