e...@kapitein.org writes: > ------------------------------------------------------------------------------------ > > 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").
Are you using original atd or atd-over-fso? atd-over-fso has the following bug (which I have not fixed and it may be related): if you set an alarm at time t0 and t0 happens to be the next alarm and then you remove alarm t0 and a later alarm will become the next alarm atd-over-fso will nevertheless wake up the phone at time t0. > > 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 > > > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community