Hmm...
Code:
[root@kindle power]# cat state
standby mem
[root@kindle power]# echo -n standby > state
That works - at least everything stops.
A quick tap of the power button wakes it up.
Code:
[19426.780764] PM: Syncing filesystems ... done.
[19426.827399] PM: Preparing system for standby sleep
[19426.830041] Freezing user space processes ... (elapsed 0.02 seconds) done.
[19426.853048] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[19426.873065] PM: Entering standby sleep
[19426.873074] Suspending console(s) (use no_console_suspend to debug)
[19426.893764] udc suspend begins
[19426.893986] USB Gadget suspend ends
[19426.894128] KERNEL: I pmic:fg suspend battinfo:current=0mA, volt=4205mV, capav=100%, mAh=1467mAh:
[19426.913705] add wake up source irq 105
[19426.914966] add wake up source irq 51
[19426.915025] PM: suspend of devices complete after 41.500 msecs
[19426.915401] PM: late suspend of devices complete after 0.359 msecs
# tap power button -
[19426.920381] PM: early resume of devices complete after 0.187 msecs
[19426.920523] remove wake up source irq 51
[19427.122463] remove wake up source irq 105
[19427.142687] KERNEL: I pmic:fg resume battinfo:current=0mA, volt=4206mV, capav=100%, mAh=1466mAh:
[19427.145863] USB Gadget resume begins
[19427.145872] fsl_udc_resume, Wait for wakeup thread finishes
[19427.149345] USB Gadget resume ends
[19427.151052] KERNEL: I pmic:onkey::wario button online event
[19427.168286] PM: resume of devices complete after 247.810 msecs
[19427.168507] PM: Finishing wakeup.
[19427.168515] Restarting tasks ... done.
[19427.188456] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
[19427.304414] mmc1: mmc_rescan_try_freq: trying to init card at 300000 Hz
[19427.400930] mmc1: mmc_rescan_try_freq: trying to init card at 200000 Hz
[19427.515914] mmc1: mmc_rescan_try_freq: trying to init card at 100000 Hz
[19427.584262] g_file_storage gadget: high speed config #1