943,891 Members | Top Members by Rank

Ad:
Sep 13th, 2009
0

Urgent help needed for a small linux driver program

Expand Post »
my need or requirement may sound funny, also there will be a question, why a driver program to do this? but the answer is simple, we need a driver program
Let me just explain what i am looking for is,

A simple linux keboard driver program which should detect a key combination [preferrably, ctrl + k], up on pressing this combination, driver should generate a SIGUSR1 signal and it should send this signal to another program.
I have written [not my own, through google and other resources] the driver program to detect ctrl + k and a small application program to act on the signal. Now I am facing a problem in sending the signal from driver program to application program
If i directly use application program's pid in my keyboard driver program, this can be achieved. But I need a more generic approach, because each time executing the application program and geting the pid will be tough.

I tried what ever i could do, i did lot of googling too, but couldnt get any good solution anywhere;(.

I would be greatful if i get any help or suggestions in this regard.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
maneeshmp is offline Offline
1 posts
since Sep 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: USB: The enclosing drive for the volume is locked?
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: Fetchmail Configuration





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC