[parisc-linux] NTP and the real time clock

Randolph Chung Randolph Chung <tausq@debian.org>
Mon, 6 May 2002 01:03:29 -0700


> I find this intriguing:
> 
> gecko:~# hwclock --show
> Mon May  6 08:46:27 2002  -0.994167 seconds
> gecko:~# hwclock --systohc
> gecko:~# hwclock --show
> Mon May  6 08:46:33 2002  -0.999854 seconds
> 
> So the hardwareclock is never set.

Are you sure?

legolas:/usr/src/linux-ide# hwclock --show
Mon May  6 00:05:08 2002  -0.995996 seconds
legolas:/usr/src/linux-ide# date 050600002002
Mon May  6 00:00:00 PDT 2002
legolas:/usr/src/linux-ide# hwclock --systohc
legolas:/usr/src/linux-ide# hwclock --show
Mon May  6 00:00:23 2002  -0.999298 seconds

> Which setting in "Character Devices" do I need so hwclock can access
> the on-board real-time-clock?
>  < > /dev/nvram support
>  < > Enhanced Real Time Clock Support 

You want: "Generic RTC device support" (I think it's on by default). The
fact that hwclock didn't give you an error suggests to me that you
already have that enabled.

randolph