serial port interrupts in user space
Could a user space program be driven by hardware interrupts ? I'm looking of an efficient way to make my program (user space) react to some data written on the serial port by device. Otherwise... I'd maybe have to code my own driver that calls the other process by signals.
This is somewhat related to my previous (resolved) thread http://www.linuxquestions.org/questi...d.php?t=547580 but this is another matter... |
This might get you going
Take a look at the following thread, seems pretty much like the question you are asking.
http://kerneltrap.org/node/7580 A simple example of just getting a notice on when new data has arrived. 3.3 Asynchronous Input in http://www.faqs.org/docs/Linux-HOWTO...ing-HOWTO.html /Kristofer |
It seems to be exactly what I was searching for.
Thank you. |
All times are GMT -5. The time now is 05:43 PM. |