Questions for Power Management Code in linux with ARM
Linux - MobileThis 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: AndroidQuestions.org
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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
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...
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