Jonatas Bessow | 28 Apr 2010 22:31
Picon

Handle interrupts

How can I use parpot to handle interrupts in SPP mode?
Nowdays I'm using a module that I got from the web and compiled in my slack11 2.6.21.
It's still working, but I'm having problems to port that module to a newer kernel. I got a lot of errors when trying to compile it.
I would be glad if I could just left it in the past and start using a better way to handle interrupts from my paralell port.

Thanks,
Jonatas Bessow

_______________________________________________
Linux-parport mailing list
Linux-parport <at> lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-parport
Dirk Jagdmann | 30 Apr 2010 00:56
Picon

Re: Handle interrupts

You can do it from user-space with the ppdev driver. See
<http://people.redhat.com/twaugh/parport/html/ppdev.html>
I have used this successfully to read the keys available on a LCD
module attachted to the parallel port. Each key press is indicated by
an interrupt, and I can wait for that interrupt with a select() call
on the ppdev file descriptor.

> How can I use parpot to handle interrupts in SPP mode?

--

-- 
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org

Gmane