> I've installed the watchdog timer module by giving the command:
> modprobe sa1100_wdt
> Beside using:
> echo > /dev/watchdog
> I have been unable to make the Gumstix reset. I even wrote a python script
> that executes an infinite while loop and the board still doesn't reset.
You need to open the open the /dev/watchdog device to activate it.
Once activated, somebody has to write to it every so often or it will
Normally, you create a thread and assign it the lowest priority. You
set the timeout (using an ioctl) to say 30 seconds, and you have your
thread write at least one byte to the opened handle once every 15
seconds (for example). If 30 seconds go by and the thread hasn't
written to the watchdog device, then you'll get a reset.
It looks like a watchdog daemon is already enabled on the gumstix.
watchdog -t timeout /dev/watchdog &
Will cause the watchdog to "kicked" once every 15 seconds.
Vancouver, BC, Canada