Re: [LAU] How does PulseAudio start?

From: Gerhard Zintel <gerhard.zintel@email-addr-hidden>
Date: Wed Dec 16 2009 - 00:27:37 EET

Jonathan,

it would be very nice if you could also post your comments in normal text
format like all the others. My mail client does not show html formatted mail
by default thus I always have to do additional steps to read your mail.

Thank you
Gerhard

On Tuesday 15 December 2009, Jonathan E. Brickman wrote:
> In my previous load (AVLinux), all I had to do was start jackd in
> /etc/rc.local, tell Pulse to use Jack as its sink, and tell Pulse to
> daemonize via its own .conf file, and it did very well. I have tried
> several methods, including setting Jack and Pulse at different
> runlevels, but when I try to use Jack as an /etc/init.d item the boot
> jack log says that I don't have permission to use realtime scheduling,
> and it doesn't run.
>
>
> from Cal:
>
> So give it permission :-). Does the user/group that your init.d script
> uses to start jack have 'the right stuff' in /etc/security/limits.conf?
>
> cheers.
>
>
>
> from Ng Oon-Ee:
>
> This identical setup works for me. What versions do you have of
> pulse/jack? Please dump jack1 and use jack2 if you want to work with
> pulse, there's quite a few fixes (including, coincidentally, one which
> fixes module-jack-sink/source in pulseaudio crashing the whole daemon).
> Of course, you need a relatively recent pulse (.16 and newer?).
>
> Oh, and I just noticed, please don't run JACK as root either (which is
> what /etc/init.d does).
>
> Well, the init.d/jack script I have tries to run it as user 'jeb', which
> is my login, which is a member of group 'audio' with appropriate
> limits.conf et cetera.  jack is running rather nicely as user 'jeb' started
> using su from rc.local.  But.  I am very intrigued with the idea of running
> both Pulse and Jack in userland, and I am most astonished to learn that
> jack2 should be used with Pulse.  So it looks like some good revisions are
> in order.  Basic question:  if I remove both pulseaudio and jack from the
> init.d startup set, where and how do they get told to run? 
>
> Later, both of you :-)
>
> J.E.B.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Wed Dec 16 04:15:02 2009

This archive was generated by hypermail 2.1.8 : Wed Dec 16 2009 - 04:15:03 EET