Re: [LAU] new rtirq release

From: Fernando Lopez-Lezcano <nando@email-addr-hidden>
Date: Fri May 04 2012 - 22:08:21 EEST

On 05/04/2012 05:39 AM, Rui Nuno Capela wrote:
> On 05/04/2012 12:39 AM, Fernando Lopez-Lezcano wrote:
>> Rui: this addition/hack in rtirq takes care of snd_hda_intel in my
>> 3.2.16-rt27 system and will presumably do the right thing for any other
>> pci soundcards:
>
[MUNCH]
>
> given that, which got slightly re-hacked somehow, a new rtirq release
> has bumped in:
> http://www.rncbc.org/jack#rtirq

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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat May 5 04:15:08 2012

This archive was generated by hypermail 2.1.8 : Sat May 05 2012 - 04:15:08 EEST