[Soekris] sc520_wdt watchdog driver for Linux
Cyrus H. Behroozi
behroozi at fas.harvard.edu
Thu Apr 18 02:20:12 UTC 2002
Thanks for the great work on the LED driver!
Have you been able to get the hardware watchdog to work? I compiled
sc520_wdt (from linux-2.4.19-pre7) against my 2.4.18 kernel as a module.
I created /dev/watchdog (mknod /dev/watchdog c 10 130) and then
insmodded mmcr_alias.o and sc520_wdt.o. I opened /dev/watchdog and saw
"sc520_wdt: Watchdog timer is now enabled." in /var/log/messages, and
about thirty seconds later, "sc520_wdt: Heartbeat lost! Will not ping
the watchdog". The machine never rebooted, though. Any ideas?
On Tue, 2002-04-16 at 00:19, John Laur wrote:
> With regard to Soren's earlier post, the errorled driver no longer
> requires the MMCR to be aliased (it checks for aliasing and works
> accordingly then, too), but if it's not aliased you lose the ability to
> talk to the LED or other gpio's from userland. The mmcr_alias driver is
> still around to make the sc520_wdt watchdog driver happy, though in case
> you want to access your GPIO's from userspace for whatever reason.
More information about the Soekris-tech