wdt.txt
来自「linux 内核源代码」· 文本 代码 · 共 44 行
TXT
44 行
Last Reviewed: 10/05/2007 WDT Watchdog Timer Interfaces For The Linux Operating System Alan Cox <alan@lxorguk.ukuu.org.uk> ICS WDT501-P ICS WDT501-P (no fan tachometer) ICS WDT500-PAll the interfaces provide /dev/watchdog, which when open must be writtento within a timeout or the machine will reboot. Each write delays the reboottime another timeout. In the case of the software watchdog the ability toreboot will depend on the state of the machines and interrupts. The hardwareboards physically pull the machine down off their own onboard timers andwill reboot from almost anything.A second temperature monitoring interface is available on the WDT501P cardsThis provides /dev/temperature. This is the machine internal temperature indegrees Fahrenheit. Each read returns a single byte giving the temperature.The third interface logs kernel messages on additional alert events.The wdt card cannot be safely probed for. Instead you need to passwdt=ioaddr,irq as a boot parameter - eg "wdt=0x240,11".Features-------- WDT501P WDT500PReboot Timer X XExternal Reboot X XI/O Port Monitor o oTemperature X oFan Speed X oPower Under X oPower Over X oOverheat X oThe external event interfaces on the WDT boards are not currently supported.Minor numbers are however allocated for it.Example Watchdog Driver: see Documentation/watchdog/src/watchdog-simple.c
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?