Re: catching interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-06-13 at 02:04 +0200, Bernhard Kuhn wrote:
> Peter Feuerer wrote:
> 
> > is it possible to catch e.g. the interrupt of the Parallelport (IRQ7 in
> > my case) in userspace with a RT-Rreempt patched kernel?
> 
> A very simple solution would be to create a small kernel device driver
> that implements a blocking read function that always gets woken up
> by the parport interrupt service routine, then sending one dummy byte.

That would be a very fast and easy to implement solution, but then I
have to touch the kernel again. I wanted not to do that.

> But i guess a better variant would be to adopt the IIO framework
> for your purpose (http://lkml.org/lkml/2006/8/30/22)

Great, seems like that's what I'm searching for. I will have a deeper
look into this. Because if this is going to be in the mainline kernel, I
don't have to touch the kernel at all.
Thanks.

regards,
--peter

-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux