Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-19-2011, 12:38 AM   #1
LQ Newbie
Registered: Mar 2011
Posts: 5

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

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, 04:17 AM   #2
Registered: Oct 2003
Posts: 44

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



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
catching the hibernate event sammy_aus Linux - Newbie 2 06-09-2010 10:11 AM
Can I wake up a server in "standby" or "memory" mode using wake-on-lan? songweijia Linux - Server 2 03-03-2010 07:51 PM
Fire Event from other event in Visual C++ Express Edition chrisliando Programming 1 11-08-2007 06:12 PM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 04:57 PM
Catching a signal? kalleanka Programming 6 02-12-2004 10:44 AM

All times are GMT -5. The time now is 10:57 PM.

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