1 ===================================
2 Berkshire Products PC Watchdog Card
3 ===================================
5 Last reviewed: 10/05/2007
7 Support for ISA Cards Revision A and C
8 =======================================
10 Documentation and Driver by Ken Hollis <kenji@bitgate.com>
12 The PC Watchdog is a card that offers the same type of functionality that
13 the WDT card does, only it doesn't require an IRQ to run. Furthermore,
14 the Revision C card allows you to monitor any IO Port to automatically
15 trigger the card into being reset. This way you can make the card
16 monitor hard drive status, or anything else you need.
18 The Watchdog Driver has one basic role: to talk to the card and send
19 signals to it so it doesn't reset your computer ... at least during
22 The Watchdog Driver will automatically find your watchdog card, and will
23 attach a running driver for use with that card. After the watchdog
24 drivers have initialized, you can then talk to the card using a PC
27 I suggest putting a "watchdog -d" before the beginning of an fsck, and
28 a "watchdog -e -t 1" immediately after the end of an fsck. (Remember
29 to run the program with an "&" to run it in the background!)
31 If you want to write a program to be compatible with the PC Watchdog
32 driver, simply use of modify the watchdog test program:
33 tools/testing/selftests/watchdog/watchdog-test.c
36 Other IOCTL functions include:
39 This returns the support of the card itself. This
40 returns in structure "PCWDS" which returns:
42 options = WDIOS_TEMPPANIC
43 (This card supports temperature)
44 firmware_version = xxxx
45 (Firmware version of the card)
48 This returns the status of the card, with the bits of
49 WDIOF_* bitwise-anded into the value. (The comments
53 This returns the status of the card that was reported
57 This returns the temperature of the card. (You can also
58 read /dev/watchdog, which gives a temperature update
62 This lets you set the options of the card. You can either
63 enable or disable the card this way.
66 This pings the card to tell it not to reset your computer.
68 And that's all she wrote!