Phone wakes up after being powered off
ed at kapitein.org
ed at kapitein.org
Wed May 23 14:57:40 CEST 2012
------------------------------------------------------------------------------------
Hello Ed,
Thanks for your replies.
Unfortunately the man command doesn't work with rtcwake on the phone
(but does with other software, e.g. 7zr). A specific command to try
would be very helpful. On the desktop running as root "rtcwake -m show"
shows the alarms that are on (but this command does not work on the
phone, specifically on QtMoko v26).
I noticed the issue regarding the phone turning itself on was reported
in Android on Freerunner's bug tracker here:
http://code.google.com/p/android-on-freerunner/issues/detail?id=24
trevi55 suggested to switch off alarms and update hardware clock. I'll
try this (using "echo -e "W\n" > /var/spool/at/trigger").
Alon.
--------------------------------------------------------------------------
Hi Alon,
check if you can use:
/usr/sbin/rtcwake --verbose --seconds 1 --mode disable
Or if disable is not available in your version of rtcwake:
/usr/sbin/rtcwake --verbose --seconds 1 --mode no
Using UTC time.
delta = 1
tzone = 0
tzname = UTC
systime = 1337703739, (UTC) Tue May 22 16:22:19 2012
rtctime = 1337703738, (UTC) Tue May 22 16:22:18 2012
alarm 0, sys_time 1337703739, rtc_time 1337703738, seconds 1
rtcwake: wakeup from "no" using /dev/rtc0 at Tue May 22 16:22:20 2012
And you can check the RTC with:
cat /proc/driver/rtc
rtc_time : 16:25:13
rtc_date : 2012-05-22
alrm_time : 16:22:20
alrm_date : 2012-05-22
alarm_IRQ : yes
alrm_pending : yes
24hr : yes
And see if it has any effect.
Kind regards,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmoko.org/pipermail/community/attachments/20120523/1dbf2dad/attachment.htm>
More information about the community
mailing list