Re: [LAU] new rtirq release

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rui Nuno Capela <rncbc@...>
Cc: <linux-audio-user@...>
Date: Friday, May 4, 2012 - 7:08 pm

On 05/04/2012 05:39 AM, Rui Nuno Capela wrote:

[MUNCH]

Hmm, sorry Rui but that does not seem to work, you can't rely on the
name as provided in /proc/asound/cards, it will not match in the generic
case, so this:

----
PIDS=`ps -eo pid,comm | egrep -i "irq.${IRQ}.snd.${NAME2:0:4}" | awk
'{print $1}'`
----

should be something like:

----
PIDS=`ps -eo pid,comm | egrep -i "irq.${IRQ}.snd_.*" | awk '{print $1}'`
----

that should be enough, it would be very unlikely (impossible?) that
there is another soundcard on the same interrupt so a match with snd_
should be enough, and even if that were the case it would be processed
twice I guess, no harm done.

-- Fernando
_______________________________________________
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:
Re: [LAU] Issue with the priority of the sound cards using r..., Fernando Lopez-Lezcano, (Tue May 1, 6:32 pm)
Re: [LAU] Issue with the priority of the sound cards using r..., Fernando Lopez-Lezcano, (Thu May 3, 6:26 am)
Re: [LAU] Issue with the priority of the sound cards using r..., Fernando Lopez-Lezcano, (Thu May 3, 5:01 pm)
Re: [LAU] Issue with the priority of the sound cards using r..., Fernando Lopez-Lezcano, (Thu May 3, 11:39 pm)
Re: [LAU] new rtirq release, Fernando Lopez-Lezcano, (Fri May 4, 7:08 pm)
[LAU] rtirq question, Ivica Ico Bukvic, (Sat May 5, 2:42 am)
Re: [LAU] rtirq question, Ivica Ico Bukvic, (Sat May 5, 3:02 am)
Re: [LAU] new rtirq release, Rui Nuno Capela, (Fri May 4, 9:56 pm)
Re: [LAU] new rtirq release, Fernando Lopez-Lezcano, (Fri May 4, 11:14 pm)
Re: [LAU] new rtirq release, Rui Nuno Capela, (Fri May 4, 11:42 pm)
Re: [LAU] new rtirq release, Brendan Jones, (Fri May 4, 3:36 pm)
Re: [LAU] new rtirq release, Ralf Mardorf, (Fri May 4, 4:26 pm)
Re: [LAU] Issue with the priority of the sound cards using r..., Fernando Lopez-Lezcano, (Thu May 3, 8:23 pm)