Re: [LAU] How does PulseAudio start?

From: Jonathan E. Brickman <jeb@email-addr-hidden>
Date: Tue Dec 15 2009 - 22:23:42 EET

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@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Wed Dec 16 00:15:03 2009

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