View Single Post
Old 03-16-2014, 03:50 PM   #76
z000ao8q
Connoisseur
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
Hello,
I just remember 2 important parts from my implementation:
- kill all nickel & Co (I donīt even start them; i commented them in run.sh)
- get the system- and the hardware-clock right. if they are not matching, the wakeup timestamp can not be used.

i am running a own sh-script to set the times from time to time. because both clocks are running un-synced.
I know its not completely correct with summer/winter-time. but I donīt care. I simply added another hour-wake to be more tolerant.

Quote:
echo `date`
ntpd -d -q -p de.pool.ntp.org
sleep 10
echo `date`
newtime=$((`date +%s`+7200))
newtime2=`date +%T -d @$newtime`
date +%T -s $newtime2
echo `date`
hwclock -w -u
z000ao8q is offline   Reply With Quote