LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-05-2005, 07:19 AM   #1
lordofring
Member
 
Registered: Feb 2005
Posts: 91

Rep: Reputation: 15
notify user space application from the kernel space


Hello,

I need to write a device driver to monitor the battery. The driver will capture the interrupt whenever the battery is removed. My question is how to notify the user application from the interrupt handler? May I send a signal to all of applications? Or only send the signal to the specific application and how?

Thanks
 
Old 02-18-2006, 06:08 AM   #2
vijay_gct
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Hello,

The application intends to reveive notification has to request for it..You have to use Async notification given by the fasync structure. See the fasync_struct and an example of using this from the net.

Regards,
Vijay
 
Old 06-22-2009, 12:32 PM   #3
Mr.J
Member
 
Registered: Jun 2008
Posts: 82

Rep: Reputation: 15
Try using netlink socket..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
callback or notification from kernel to user space yhus Programming 5 09-18-2005 09:41 PM
Calling User-space program functions from Kernel modules shivanu Programming 1 03-05-2005 02:11 PM
user space daemons, kernel patches, modules ajitkth Linux - General 0 02-21-2005 08:01 AM
User/Kernel Space Comms under Redhat 9.0 snigglyfox Programming 3 09-07-2004 05:24 AM
User Space - Kernel Space basu_arani Programming 3 05-25-2004 11:46 AM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration