Re: [LAU] Trying to run jackd from udev

From: Jeremy Jongepier <jeremy@email-addr-hidden>
Date: Sun Mar 24 2013 - 15:24:13 EET

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.

> 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. I could test with
Jack2 but then I have to recompile it again because I only have a deb
with dbus disabled. I'm using the Raspberry Pi without X and in order to
get that running with Jack2 I was advised to compile without the --dbus
option to avoid any hackery to get Jack2 going.

Regards,

Jeremy

> best,
> 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:03 2013

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