[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: util-linux and hwclock



On Tue, 3 Aug 1999, Hartmut Koptein wrote:
> > > The util-linux pkg provides hwclock which doesn't work on PPC. Should
> > > this be removed?
> > 
> > I can remove it from the package for the powerpc arch., but I'd rather
> > appreciate if someone could send me the patch that would make hwclock work
> > on powerpc (I don't have a powerpc machine anymore, so I can't test it)...
> > ;)
> 
> The hwclock works on powerpc, but not on all types. 
> 
>  isis:~# hwclock
>  Tue Aug  3 11:16:22 1999  -0.275828 seconds
> 
> This is with my chrp system. 

| [13:29:37]~# hwclock --debug
| hwclock: Open of /dev/rtc failed, errno=19: No such device.
| No usable clock interface found.
| Cannot access the Hardware Clock via any known method.  Use --debug option to see the details of our search for an access method.
| [13:29:51]~# 

Hmm, looks like I forgot to compile in support for /dev/rtc on my chrp system
:-(

> Other powerpc types use the 'adb' clock, the clock binary is in the
> powerpc-utils package (/sbin/clock). 

PowerMac uses adb.  AFAIK APUS uses the same ioctls as the m68k port, so I
think hwclock supports that.

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


Reply to: