Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 02-01-2011, 12:24 AM   #1
LQ Newbie
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Power aware application

I am working to develop software for a Set top box with GIT Linux.

I need to implement power management feature.

I have added the routines in the kernel with which the system can enter suspend when I give the following system call from the application

system("echo standby > /sys/power/state")

My question is how to have a callback in the user level application which will come to know that the system has resumed after suspend?

Can I pass a user level function to the register_pm_notifier api...or is ther any other way out


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
Using kernel preemption power in application not in C programing language arash_220 Programming 1 12-29-2009 09:29 AM
LXer: ext4, application expectations and power management LXer Syndicated Linux News 0 03-15-2009 03:30 PM
Be aware about sureshsujatha kirukan Linux - Newbie 2 03-09-2009 03:06 PM
be aware of ip stealing bujecas Linux - Networking 4 07-11-2007 12:48 PM
Power Builder Application on Suse Linux safdar SUSE / openSUSE 1 06-10-2007 02:48 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:31 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