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-18-2011, 11:38 PM   #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, 03: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 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 AM.

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