LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Send Events from Kernel space to User Space (https://www.linuxquestions.org/questions/linux-kernel-70/send-events-from-kernel-space-to-user-space-866359/)

bkankru 03-04-2011 12:23 AM

Send Events from Kernel space to User Space
 
Dear Friends,

I am not clear of how to send the Push button(Simple Button connected through GPIO) event from Kernel to User space. I have gone through the code of how keyboard and touchscreen or input devices work. I found that input devices talks to input_core kernel driver and that inturn talks to evdev(Event Handler) which will send the event to the userspace which will handle by application.

I would like to know how evdev sends events to userspace? Does it uses signals to send the events?

Have a Good day,
Thank you,
Ankur.

jrtayloriv 03-04-2011 04:24 PM

This post explains X event processing very well.

You also might want to take a look at how the evtest utility works.


All times are GMT -5. The time now is 07:58 PM.