Re: 'hwclock' not working? (ASU)

2008-07-27 Thread Torfinn Ingolfsen
Hello, On Sat, Jul 26, 2008 at 10:33 PM, Holger Freyther [EMAIL PROTECTED] wrote: write the current time into the rtc then you have to write W\n into /var/spool/at/trigger. Like this: echo W\n /var/spool/at/trigger Or is th '\n' not needed in that case? I have already updated the wiki, and

'hwclock' not working? (ASU)

2008-07-26 Thread Torfinn Ingolfsen
Hello, I'm running ASU on my FR. It seems that something is broken or missing for the 'hwclock' command to work: [EMAIL PROTECTED]:~# uname -a Linux om-gta02 2.6.24 #1 PREEMPT Wed Jul 23 08:50:28 CST 2008 armv4tl unknown [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# hwclock --systohc hwclock: can't

Re: 'hwclock' not working? (ASU)

2008-07-26 Thread Lorn Potter
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: [EMAIL PROTECTED]:~# uname -a Linux om-gta02 2.6.24 #1 PREEMPT Wed Jul 23 08:50:28 CST 2008 armv4tl unknown [EMAIL PROTECTED]:~# [EMAIL

Re: 'hwclock' not working? (ASU)

2008-07-26 Thread Christopher White
On Sat, 2008-07-26 at 22:56 +1000, Lorn Potter wrote: Torfinn Ingolfsen wrote: I'm running ASU on my FR. It seems that something is broken or missing for the 'hwclock' command to work: [EMAIL PROTECTED]:~# hwclock --systohc hwclock: can't open '/dev/misc/rtc': No such file or

Re: 'hwclock' not working? (ASU)

2008-07-26 Thread Holger Freyther
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 root3r CHR 254,0 1304 /dev/rtc0 #

Re: 'hwclock' not working? (ASU)

2008-07-26 Thread Christopher White
On Sat, 2008-07-26 at 22:33 +0200, Holger Freyther wrote: 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: We run atd on the ASU image on purpose. It allows to