[ previous ] [ next ] [ threads ]
 
 From:  Marcel Wiget <mwiget at mac dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] WRAP Geode CPU support for HW watchdog and LED's
 Date:  Thu, 6 Jul 2006 12:33:08 +0100
Hi,

sorry about my first post regarding the subject line. I also realized  
that I can't send attachments, so I will email the patch and files on  
request until I placed the files on a web server for download.

Marcel

On Jul 6, 2006, at 12:23 PM, Marcel Wiget wrote:

> Hi,
>
> apart from all the hype about FreeBSD 6.1 for m0n0wall, I'm working  
> on a project based on the WRAP platform where the 4.11 based  
> m0n0wall software is more than adequate. I was looking though for  
> LED and HW watchdog support but couldn't find it, so I ported it  
> back from more recent BSD versions.
>
> I've attached the required kernel changes as a patch and also  
> provide a test program wdtest.c, which simply activates the  
> watchdog and lets the WRAP box die after 8 seconds. The actual  
> 'kick the dog' part in form of a watchdog daemon is still missing  
> though. I'm still looking into how to do this best. Any feedback is  
> of course welcome. This is a first shot at the problem and it seems  
> to work for me, but of course limited to WRAP boards only.
>
> The other little program, led.c, allows the 3 LED's of the WRAP  
> board (from PC Engines) to be turned off or on individually.
>
> You'll need to create the character device special file for the  
> watchdog and LED's to be set:
>
> mknod $MWROOT/dev/fido c 200 0
>
> Any feedback is of course welcome.
>
> Best regards,
>
> Marcel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash dev dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash dev dash help at lists dot m0n0 dot ch