LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   interrupt with push buttons through Linux - driver or user space? (https://www.linuxquestions.org/questions/linux-newbie-8/interrupt-with-push-buttons-through-linux-driver-or-user-space-693652/)

lila780 12-29-2008 09:09 AM

interrupt with push buttons through Linux - driver or user space?
 
Hi!

We're trying to connect a push button to an ingenic processor, which should generate an interrupt. How do we make the connection between user space in Linux and a certain register in the processor? Do we have to write a device driver to register an interrupt handler or can we use something already existing?

We're thinking about using a thread in user space to monitor the interrupt status, but we don't know how to make the connection with the hardware.

Thanks!
/Rob & Stu

DiBosco 12-30-2008 05:31 AM

You really should have this in the programming section. I'd contact a mod to ask him/her to move it.


All times are GMT -5. The time now is 07:48 AM.