Quote:
Originally Posted by yugandhar
Hi all,
I am writing a kernel module. I want to send an event from kernel module to user space how can i do this can any one give me some examples. Presenty i am sending signals from kernel module to user space process but i want events to be sent because there are only two user defined signals SIGUSR1 and SIGUSR2 if i want to have more what i have to do.
|
Hi,
In my case I just need to send one signal to my application (SIGUSR1), as you already have get this working, do you still have code snippet on both side kernel module code and user application code? From my researches on the web, I'm little bit confused on how to get this working: must I retrieve the pid of my user application and if so how? (through ioctl or something else?), should I use send_sig or kill_proc or something else?
I would really appreciate your help. Thank you in advance.