[Voyage-linux] ALIX 2d13 hardware clock
Teco Boot
(spam-protected)
Fri Oct 25 02:55:48 HKT 2013
What about putting following line in /etc/default/hwclock
HWCLOCKPARS="--directisa -u —noadjfile"
And add following in /etc/init.d/hwclockfirst.sh and /etc/init.d/hwclock.sh
# Include hwclock defaults if available
if [ -f /etc/default/hwclock ] ; then
. /etc/default/hwclock
fi
I'll have to test on 0.9.1.
Better approaches are welcome.
Teco
Op 18 okt. 2013, om 14:56 heeft Daniel Wilson <daniel.a.wilson at gmail.com> het volgende geschreven:
> Hi all,
>
> I'm having problems with the hardware clock when using ALIX 2d13 boards with Voyage 0.9.1. The date isn't being saved to the clock on shutdown:
>
> [info] Saving the system clock.
> hwclock: Cannot access the Hardware Clock via any known method.
> hwclock: Use the --debug option to see the details of our search for an access method.
>
>
> calling "hwclock" doesn't work -
>
> hwclock: Cannot access the Hardware Clock via any known method.
> hwclock: Use the --debug option to see the details of our search for an access method.
>
>
> I've read another post where the suggestion is to use:
>
> hwclock --directisa
>
>
> but I'm not sure how to fix this in the startup scripts, nor what the underlying problem is that is causing "hwclock" without parameters to function correctly.
>
> Please can someone explain what's going wrong here ?
>
> Dan
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
More information about the Voyage-linux
mailing list