'hwclock' not working? (ASU)

Lorn Potter lpotter at trolltech.com
Sat Jul 26 14:56:51 CEST 2008


Torfinn Ingolfsen wrote:
> Hello,
> 
> I'm running ASU on my FR.
> 
> It seems that something is broken or missing for the 'hwclock' command to work:
> 
> root at om-gta02:~# uname -a
> Linux om-gta02 2.6.24 #1 PREEMPT Wed Jul 23 08:50:28 CST 2008 armv4tl unknown
> root at om-gta02:~#
> root at om-gta02:~# hwclock --systohc
> hwclock: can't open '/dev/misc/rtc': No such file or directory
> root at om-gta02:~# hwclock -s
> hwclock: can't open '/dev/misc/rtc': No such file or directory
> root at om-gta02:~# hwclock --help
> BusyBox v1.11.1 (2008-07-18 00:49:01 CEST) multi-call binary
> 
> Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc]
> [-l|--localtime] [-u|--utc] [-f FILE]

quick fix is to run
mkdir /dev/misc
ln -s /dev/rtc /dev/misc/rtc


-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Trolltech, a Nokia company




More information about the community mailing list