|
1 Introduction
cf le mail de Luisa :
To use the watchdog, one has to create a character special file:
# mknod /dev/watchdog c 10 130
Then the device has to be "pinged" regurarly by writing one or more characters to it.
This could be done by a C program, or a shell script.
A shell script would look like:
while true; do
echo -n "x"
sleep 20
done >/dev/watchdog
The Linux kernel has not support for the watchdog of RIO3 and RIOC boards.
You get "no such device" error because as I said in the Linux kernel you currently have,
there is no driver for the watchdog of RIOC 4068/ RIOC 4065.
I have asked to our Linux developer to work at a watchdog driver for RIOC and RIO3 boards.
As soon as I have it I will send you.
2 test
# mknod /dev/watchdog c 10 130
# echo -n "x" > /dev/watchdog
bash: /dev/watchdog: No such device
|