Re: [linux-audio-user] dipping toes in 2.6 waters

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] dipping toes in 2.6 waters
From: Lee Revell (rlrevell_AT_joe-job.com)
Date: Sun Aug 08 2004 - 07:41:36 EEST


On Sun, 2004-08-08 at 00:30, Luke Yelavich wrote:
> On Sun, Aug 08, 2004 at 02:27:02PM EST, Lee Revell wrote:
> > This ensures that those interrupts have the highest priority of anything
> > on the system. The soundcard is important for obvious reasons, and the
> > RTC is used for midi timing. These are also the only two devices on the
> > system (other than the timer irq 0 which cannot be made threaded) whose
> > nature imposes an inherehent real time constraint on the system. For
> > any other device that can raise an interrupt, we can process it at our
> > leisure, but if we don't handle the sound card interrupt within the
> > period time we are hosed.
>
> Sorry, I haven't really been following the thread, but how do you set interrupts
> to be non-threaded?

Just echo 0 > /proc/irq/foo/bar/threaded.

root_AT_mindpipe:/home/rlrevell/testresults# find /proc/irq -name threaded -print -a -exec cat {} \;
/proc/irq/15/ide1/threaded
1
/proc/irq/14/ide0/threaded
1
/proc/irq/12/uhci_hcd/threaded
1
/proc/irq/11/eth0/threaded
1
/proc/irq/11/uhci_hcd/threaded
1
/proc/irq/10/EMU10K1/threaded
0
/proc/irq/10/uhci_hcd/threaded
1
/proc/irq/8/rtc/threaded
0
/proc/irq/1/i8042/threaded
1

Lee


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Aug 08 2004 - 07:44:13 EEST