On Sat, March 23, 2013 6:42 am, Raphaƫl BOLLEN wrote:
On 03/22/2013 11:51 PM, Jeremy Jongepier wrote:
I'm trying to run jackd from a script that is
triggered by udev. But
when I try to do so jackd
complains:
jackd 0.122.0
...
JACK is running in realtime mode, but you are not allowed to use
realtime scheduling.
...
Hi Jeremy,
I've had the same error message and issue trying to start an application
using jack form an init.d
script at boot time. It seems that start-stop-daemon does not impose PAM
("Pluggable Authentication
Module") limits to the process it starts. Maybe you are facing a similar
issue with udev. My
solution was to autologin the user and then start the application.
Which would not work here... but, maybe try changing
/etc/security/limits.d/audio.conf (or it's equiv) to be user specific
instead of group. Nope that whole file relies on PAM.
There is always the ugly way:
Have your udev module touch a file on plug in and rm it on unplug. Run a
user space loop that looks for that file and runs jack (if needed) and
connects whatever. File gone resets to look for file coming back.
--
Len Ovens
www.OvenWerks.net