[LAU] Trying to run jackd from udev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Audio User <Linux-audio-user@...>
Date: Friday, March 22, 2013 - 10:51 pm

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.
...

But the user trying to run jackd (pi) is a member of the audio group.
The udev rule looks like this:

ATTRS{idVendor}=="0218", ATTRS{idProduct}=="0001", ACTION=="change",
RUN+="/usr/bin/sudo -u pi -s /home/pi/bin/drumpad"

Is this maybe related to using sudo? I'd like to get this working, the
idea is that whenever I plug in my drumpad the udev rule and thus the
script gets executed. The script checks if jackd is already started and
then moves on starting up jalv with the drumkv1 plug-in. The script
itself works fine, it's just the udev part that got me puzzled.

Thanks!

Jeremy

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Trying to run jackd from udev, Jeremy Jongepier, (Fri Mar 22, 10:51 pm)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sun Mar 31, 9:05 pm)
Re: [LAU] Trying to run jackd from udev, tweed, (Sat Apr 6, 5:09 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sun Apr 14, 12:52 pm)
Re: [LAU] Trying to run jackd from udev, Raphaƫl BOLLEN, (Sat Mar 23, 1:42 pm)
Re: [LAU] Trying to run jackd from udev, Len Ovens, (Sat Mar 23, 3:43 pm)
Re: [LAU] Trying to run jackd from udev, R. Mattes, (Sat Mar 23, 4:05 pm)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sun Mar 24, 1:08 pm)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 5:49 am)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 6:48 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 8:11 am)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 10:29 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 12:39 pm)
Re: [LAU] Trying to run jackd from udev, Len Ovens, (Sat Mar 23, 3:30 pm)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 1:02 pm)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 1:18 pm)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 10:38 am)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 9:48 am)
Re: [LAU] Trying to run jackd from udev, David, (Sat Mar 23, 4:44 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 8:10 am)