Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 03-14-2010, 08:58 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 6

Rep: Reputation: 0
Questions for Power Management Code in linux with ARM

hi there !
I am engineer in S.K concetrating in solving How P.M work in linux
As already written in this. I am stuck in P.M not to know How P.M works

I started with writing command to start standby
>echo standby > /sys/power/state <-- this is written in DOC in kernel Directory

After writing command I saw few message but this P.M is restarted
So I looked into the code to know Why ????


int suspend_device_and_enter(state){
suspend_enter(state) <--- all device and file systems is suspeded : OK
return error; <--- return which I saw is only one

at this point I really Qurious about if code is correct All device is not suspend because of as soon as suspending All deivce is wakeup because of calling resume_devices


Why ??????

this is What my Device says
[root@IRISID proc]# echo standby > /sys/power/state
Syncing filesystems ... done.
PM: Preparing system for standby sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering standby sleep
Suspending console(s)
mmc1: card 5b02 removed
MMC: killing requests for dead queue
K 764, s3c6410_pm_entertimer tcon=00600000, tcnt 103c3, tcfg 00000400,00000000, usec 00001340
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 129 KHz
s3c2410-wdt: watchdog disabled
irisa_gps_resume: resuming GPS...
irisa_gps_resume: done.
LCD TYPE :: AMGA005 will be initialized
s3cfb_set_gpio(): gpio setting, backlight control, LCD reset etc...
PM: Finishing wakeup.
Restarting tasks ... <4>mmc1: host does not support reading read-only switch. assuming write-enable.
mmc1: new high speed SDHC card at address 5b02
[root@IRISID proc]# mmcblk0: mmc1:5b02 SD04G 3870720KiB
mmcblk0: p1

[root@IRISID proc]#

Thanks in advance


arm, management, power

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
how to configuring Code-Blocks IDE for arm-linux-gcc golden_boy615 Programming 5 02-22-2010 11:59 PM
Power Management on Linux tahaarifali Linux - General 1 01-21-2006 02:50 PM
Newbie - Power Management Questions kalvadar Linux - Laptop and Netbook 1 02-08-2005 05:41 PM
Power Management and questions excaliber Slackware 5 07-31-2003 06:13 AM
Power Management In Linux rch Linux - Hardware 0 05-18-2003 01:09 AM > Forums > Linux Forums > Linux - Mobile

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