Lines Matching +full:reset +full:- +full:on +full:- +full:timeout
9 Copyright 2002 Christer Weingel <wingel@nano-system.com>
19 A Watchdog Timer (WDT) is a hardware circuit that can reset the
27 that the watchdog should wait for yet another little while to reset
29 notifications cease to occur, and the hardware watchdog will reset the
30 system (causing a reboot) after the timeout occurs.
32 The Linux watchdog API is a rather ad-hoc construction and different
43 timeout or margin. The simplest way to ping the watchdog is to write
45 like this source file: see samples/watchdog/watchdog-simple.c
54 drivers support the configuration option "Disable watchdog shutdown on
58 after the timeout has passed. Watchdog devices also usually support
71 cause a reboot if the watchdog is not re-opened in sufficient time.
92 Setting and getting the timeout
95 For some drivers it is possible to modify the watchdog timeout on the
98 representing the timeout in seconds. The driver returns the real
99 timeout used in the same variable, and this timeout might differ from
102 int timeout = 45;
103 ioctl(fd, WDIOC_SETTIMEOUT, &timeout);
104 printf("The timeout was set to %d seconds\n", timeout);
106 This example might actually print "The timeout was set to 60 seconds"
107 if the device has a granularity of minutes for its timeout.
110 current timeout using the GETTIMEOUT ioctl::
112 ioctl(fd, WDIOC_GETTIMEOUT, &timeout);
113 printf("The timeout was is %d seconds\n", timeout);
119 actual time they will reset the system. This can be done with an NMI,
128 when the timeout will go off. It is not the number of seconds until
129 the pretimeout. So, for instance, if you set the timeout to 60 seconds
135 ioctl(fd, WDIOC_GETPRETIMEOUT, &timeout);
136 printf("The pretimeout was is %d seconds\n", timeout);
148 printf("The timeout was is %d seconds\n", timeleft);
174 WDIOF_OVERHEAT Reset due to CPU overheat
192 a reset.
207 WDIOF_CARDRESET Card previously reset the CPU
217 under and one over both bits will be set - this may seem odd but makes
227 WDIOF_SETTIMEOUT Can set/get the timeout
267 WDIOS_ENABLECARD Turn on the watchdog timer
268 WDIOS_TEMPPANIC Kernel panic on temperature trip
271 [FIXME -- better explanations]