I can't tell you how, but there is some way to do it with a RTLinux
kernel. I'm trying to figure that out myself. From what I gather, you
can tell the kernel to deliver a special signal to a userland process
when an interupt is fired.
--- In Curtis Monroe <> wrote:
>
> User space programs can't receive hardware interupts (only kernel space
> drivers can), you would need to do polling to simulate interupt in user
> space, or look at the kernel source code for examples in kernel drivers.
>
> -Curtis.
>
>
> On November 29, 2005 03:28 pm, Yan Seiner wrote:
> > I've been playing with some concepts for alternate IO.
> >
> > Encoders, LIRC remotes, that sort of thing. One thing I need is some
> > sample code for interrupt driven IO - both leading and trailing edge.
> >
> > Is this available anywhere? Links appreciated.... Or if someone has
> > some code they want to share, please post it....
> >
> > I'd love to have the ability to run this via an IR remote...
> >
> > --Yan
> >
> >
> >
> >
> >
> >
> >
> > SPONSORED LINKS
> > Computer internet security Linux os Computer internet business
> > Computer internet access Computer internet privacy securities
Computer
> internet help
> >
> >
> > YAHOO! GROUPS LINKS
> >
> >
> > Visit your group "ts-7000" on the web.
> >
> > To unsubscribe from this group, send an email to:
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|