LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 08-18-2011, 11:38 PM   #1
venu_s
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
Question catching wake-up event in C


Hi,
I need to catch standby/suspend to ram/suspend to disk from my application.
Also I need to catch wake up event from any of the above states.
I have been googling for 1 week , but couldn't get any info.
I tried with acpi_listen, which suppose to print the events, but it doesn't print anything on SUSE 13 32 bit OS.

can any one help me?
 
Old 09-15-2011, 03:17 AM   #2
vadiml
Member
 
Registered: Oct 2003
Posts: 42

Rep: Reputation: 19
You can try using dBus handler and /etc//init.d/ scripts sending dbus events for different situations
 
  


Reply

Tags
acpid


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
catching the hibernate event sammy_aus Linux - Newbie 2 06-09-2010 09:11 AM
Can I wake up a server in "standby" or "memory" mode using wake-on-lan? songweijia Linux - Server 2 03-03-2010 06:51 PM
Fire Event from other event in Visual C++ Express Edition chrisliando Programming 1 11-08-2007 05:12 PM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM
Catching a signal? kalleanka Programming 6 02-12-2004 09:44 AM


All times are GMT -5. The time now is 11:50 AM.

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