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 ????
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
Thanks in advance