'hwclock' not working? (ASU)

Holger Freyther zecke at selfish.org
Sat Jul 26 22:33:49 CEST 2008

On Saturday 26 July 2008 20:55:15 Christopher White wrote:

> I ran into the same issue.  After running the above link, I also had to
> stop the atd daemon which had /dev/rtc0 open:
> # opkg install lsof
> # lsof | grep rtc
> atd       1334       root    3r   CHR      254,0
> 1304 /dev/rtc0
> # /etc/init.d/atd stop
> # /etc/init.d/atd stop
> Stopping at daemon: atd.
> # hwclock --systohc
> # /etc/init.d/atd start
> Starting at daemon: atd.

We run atd on the ASU image on purpose. It allows to schedule any kind of 
alarms and will program the RTC for wakeup automatically. If you want atd to 
write the current time into the rtc then you have to write "W\n" 
into /var/spool/at/trigger.

But on the other hand we provide a GUI application to set the Timezone and the 
Time and they work.... :)


More information about the community mailing list