/Documentation/watchdog/wdt.txt

https://bitbucket.org/abioy/linux · Plain Text · 43 lines · 32 code · 11 blank · 0 comment · 0 complexity · 8a5a43288c31e5dfb56dee45ae22bb85 MD5 · raw file

  1. Last Reviewed: 10/05/2007
  2. WDT Watchdog Timer Interfaces For The Linux Operating System
  3. Alan Cox <alan@lxorguk.ukuu.org.uk>
  4. ICS WDT501-P
  5. ICS WDT501-P (no fan tachometer)
  6. ICS WDT500-P
  7. All the interfaces provide /dev/watchdog, which when open must be written
  8. to within a timeout or the machine will reboot. Each write delays the reboot
  9. time another timeout. In the case of the software watchdog the ability to
  10. reboot will depend on the state of the machines and interrupts. The hardware
  11. boards physically pull the machine down off their own onboard timers and
  12. will reboot from almost anything.
  13. A second temperature monitoring interface is available on the WDT501P cards
  14. This provides /dev/temperature. This is the machine internal temperature in
  15. degrees Fahrenheit. Each read returns a single byte giving the temperature.
  16. The third interface logs kernel messages on additional alert events.
  17. The wdt card cannot be safely probed for. Instead you need to pass
  18. wdt=ioaddr,irq as a boot parameter - eg "wdt=0x240,11".
  19. Features
  20. --------
  21. WDT501P WDT500P
  22. Reboot Timer X X
  23. External Reboot X X
  24. I/O Port Monitor o o
  25. Temperature X o
  26. Fan Speed X o
  27. Power Under X o
  28. Power Over X o
  29. Overheat X o
  30. The external event interfaces on the WDT boards are not currently supported.
  31. Minor numbers are however allocated for it.
  32. Example Watchdog Driver: see Documentation/watchdog/src/watchdog-simple.c