Re: [LAU] Trying to run jackd from udev

From: Robin Gareus <robin@email-addr-hidden>
Date: Sun Mar 24 2013 - 15:42:13 EET

On 03/24/2013 02:24 PM, Jeremy Jongepier wrote:
> On 03/24/2013 01:47 PM, Robin Gareus wrote:
>> it is. edit /etc/pam.d/su and make sure there's a line:
>>
>> session required pam_limits.so
>>
>> on debian it's commented out by default. and su does not set/unset limit
>> required for RT operation.
>>
>
> Hello Robin,
>
> I just set up a wrapper script following Ralf's advise but I think this
> option is more elegant so you win the Stroopwafel this time :) So many
> thanks, I'll settle with this solution.

Mmh lekker stroopwafeltjes!

>> As for starting jack from udev. I just run 'dbus-triggerd' [1] as user.
>> No pam-hacking required:) dbus-triggerd triggers shell-commands when
>> something happens on dbus (e.g. audio-device connected/disconnected). An
>> example how to put it all together is:
>> http://gareus.org/blog/jack2dbus
>>
>
> I've looked at this option but I prefer using Jack1.

This works just fine with jack1, too. dbus-tiggerd just launches
commands or shell scripts. It's completely independent from jack's dbus
stuff.

Though in my case I'm using dbus-tiggerd to [launch a script to] send
dbus messages to jack2 for things such as backend switching..

Anyway if you just want to start it, a udev rule will do the trick as well.

robin

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Mar 24 16:15:04 2013

This archive was generated by hypermail 2.1.8 : Sun Mar 24 2013 - 16:15:05 EET