[pulseaudio-discuss] How to avoid daemon shutdown

Tanu Kaskinen tanuk at iki.fi
Wed Jun 15 20:02:45 UTC 2016


On Tue, 2016-06-14 at 10:05 +0200, Marco Trapanese wrote:
> Hello,
> I'm running pulseaudio 8.0 in user mode. Here some logs:
> 
> > I: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Starting playback.
> > I: [pulseaudio] sink-input.c: Freeing input 4 "Playback Stream"
> > I: [pulseaudio] client.c: Freed 0 "GUI"
> > I: [pulseaudio] protocol-native.c: Connection died.
> > I: [pulseaudio] core.c: We are idle, quitting...
> > I: [pulseaudio] main.c: Daemon shutdown initiated.
> > I: [pulseaudio] module.c: Unloading "module-filter-apply" (index: #23).
> > I: [pulseaudio] module.c: Unloaded "module-filter-apply" (index: #23).
>  > ...
> > I: [pulseaudio] module.c: Unloading "module-bluetooth-policy" (index: #8).
> > I: [pulseaudio] module.c: Unloaded "module-bluetooth-policy" (index: #8).
> > I: [pulseaudio] module.c: Unloading "module-alsa-card" (index: #7).
> > I: [pulseaudio] sink.c: Freeing sink 0 "alsa_output.0.analog-stereo"
> > I: [pulseaudio] source.c: Freeing source 1 "alsa_output.0.analog-stereo.monitor"
> > I: [pulseaudio] card.c: Freed 1 "alsa_card.0"
> > I: [pulseaudio] module.c: Unloaded "module-alsa-card" (index: #7).
> > I: [pulseaudio] module.c: Unloading "module-alsa-card" (index: #6).
> > I: [pulseaudio] source.c: Freeing source 0 "alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-mono"
> > I: [pulseaudio] card.c: Freed 0 "alsa_card.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device"
> > I: [pulseaudio] module.c: Unloaded "module-alsa-card" (index: #6).
> > I: [pulseaudio] module.c: Unloading "module-udev-detect" (index: #5).
> > I: [pulseaudio] module.c: Unloaded "module-udev-detect" (index: #5).
> > I: [pulseaudio] module.c: Unloading "module-switch-on-port-available" (index: #4).
> > I: [pulseaudio] module.c: Unloaded "module-switch-on-port-available" (index: #4).
>  > ...
> > I: [pulseaudio] module.c: Unloading "module-device-restore" (index: #0).
> > I: [pulseaudio] module.c: Unloaded "module-device-restore" (index: #0).
> > I: [pulseaudio] main.c: Daemon terminated.
> 
> I attach the configuration files.
> The daemon is stared by "pulseaudio -D" as normal user.
> I don't want the daemon is terminated!
> 
> What's wrong in my config?
> 
> I set:
> 
> allow-exit = no
> exit-idle-time = 0
> 
> in daemon.conf, but it seems it's not enough!

Use a negative value for exit-idle-time to disable the exiting.

(Note also that "man pulse-daemon.conf" provides documentation for
every option.)

-- 
Tanu


More information about the pulseaudio-discuss mailing list