Linux [RELEASE]Plugin for Timer- and Powermanagement in XBMC/Kodi and TVHeadend
The code for setting the wakealarm executes very late while system is shutting down. So you have no chance to read the rtc because system shuts down immediatly after that. Look at the shutdown.sh (https://github.com/b-jesch/service.tvh.m...hutdown.sh), there is:

echo 0 > /sys/class/rtc/rtc0/wakealarm # reset the rtc
echo $2 > /sys/class/rtc/rtc0/wakealarm # set the new wakeup time
shutdown -h now # shutdown immediatly
Reply


Messages In This Thread
[No subject] - by ronnylov - 2011-12-07, 12:34
time or hwclock problem - by fecus - 2011-12-20, 22:12
[No subject] - by _BJ1 - 2011-12-21, 12:40
[No subject] - by fecus - 2011-12-21, 17:28
[No subject] - by _BJ1 - 2011-12-21, 18:21
[No subject] - by _BJ1 - 2011-12-21, 18:54
[No subject] - by _BJ1 - 2011-12-22, 23:45
[No subject] - by fecus - 2011-12-23, 17:22
[No subject] - by _BJ1 - 2011-12-23, 23:26
[No subject] - by fecus - 2011-12-24, 13:35
[No subject] - by _BJ1 - 2011-12-24, 17:21
[No subject] - by fecus - 2011-12-25, 23:45
[No subject] - by _BJ1 - 2011-12-26, 00:26
[No subject] - by fecus - 2011-12-26, 12:24
[No subject] - by _BJ1 - 2011-12-27, 12:11
[No subject] - by fecus - 2011-12-27, 18:04
[No subject] - by _BJ1 - 2011-12-27, 18:18
[No subject] - by _BJ1 - 2012-01-24, 23:36
[No subject] - by harryzimm - 2012-02-16, 21:52
[No subject] - by _BJ1 - 2012-02-17, 13:52
RE: [RELEASE]Plugin for Timer - by Daddy_Dog - 2013-03-12, 15:06
RE: [RELEASE]Plugin for Timer - by _BJ1 - 2013-03-12, 19:47
RE: [RELEASE]Plugin for Timer - by Daddy_Dog - 2013-03-12, 19:58
RE: [RELEASE]Plugin for Timer - by Daddy_Dog - 2013-03-12, 20:08
RE: [RELEASE]Plugin for Timer- and Powermanagement in XBMC/Kodi and TVHeadend - by _BJ1 - 2015-11-10, 15:57
Logout Mark Read Team Forum Stats Members Help
[RELEASE]Plugin for Timer- and Powermanagement in XBMC/Kodi and TVHeadend2