View Single Post
Old 12-23-2014, 05:17 AM   #34
StefanS
Junior Member
StefanS began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2014
Device: Kindle4
Hello,

I also had some problems with the onlinescreensaver when the time switched from summer time to normal time. Somehow the RTC alarm didn't wake the kindle up correctly. Looking at the code I had the impression that there is a race condition anyway when the Kindle starts sleeping while no alarm is set (duiring the http request for example).
My solution for the PW was to modify utils.sh so that it uses two RTC alarms in parallel. The first one as usual and a second as last resort two minutes later.
If somebody is interested I can post the modified utils.sh here.

I also managed to make it run on my K4 by slightly modifying the code (no upstart script, switching from the sys filesystem access to the rtc to a compiled busybox with rtcwake for the K4).

If anybody is intersted in integrating this into the package I would be happy to share the patches.


regards,
Stefan
StefanS is offline   Reply With Quote