rickwookie;414879 Wrote: > Since I suspect I'm not the only one who's BIOS clock is changed by the > OS (I'm pretty sure that Windows does this by default, in fact I think > that maybe why I may have selected that the harware clock is in local > time, since on dual boot machines in the past I had problems with the > time being out by one hour in Ubuntu) it would make sense to apply a > fix for this before the realese of the plugin. > > For now as a workaround I've increased my idle time-out to 65 mins. I > may modify my /etc/default/rcS to set UTC=yes, but I haven't had > problems anywhere else with its current setting of UTC=no. May I suggest that, unless this is a dual-boot machine, you do switch the hardware clock to utc via UTC=yes in /etc/default/rcS? That should completly solve the problem with the minimum of effort.
If you really can't live with the hardware clock set to UTC, then we may, as you suggest, be able to modify the wakeup set script to calculate the fixup offset and change the wakeup time accordingly. Could you try running these two commands within a few seconds of each other and post the output? # hwclock --debug --directisa # date +%s Then, if you would, please change your system's timezone to GMT, reboot and run those commands again. Hopefully, that will give us enough output to figure out a way to parse an offset value. FYI: Windows machines actually handle things exactly opposite from the way linux machines usually do. On a windows machine, the hardware clock is kept set to the local time (and yes, updated by the OS for DST time changes) while the system kernel time is always UTC. On windows systems, SrvrPowerCtrl still sets the wakeup time to a UTC value via SCPowerTool.exe. -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=62339 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
