watchdog applet

Denys Vlasenko vda.linux at googlemail.com
Sun Nov 14 02:58:28 UTC 2010


On Thursday 11 November 2010 10:54, Sergey Naumov wrote:
> Hello.
> 
> I am testing watchdog driver now and have problems with watchdog
> applet.

From which version of busybox?

> I cannot change timeout or ping watchdog with this applet,

With which options do you run it? What do you see?
What do you expect to see?
Can you run it under strace and post the log?


> but  
> with my own program I can (my program opens /dev/watchdog and uses
> WDIOC_SETTIMEOUT and WDIOC_KEEPALIVE). Also I can ping watchdog by
> echo > /dev/watchdog. May be this problem happens because of
> assumption that the file descriptor of /dev/watchdog = 3? (everywhere
> inside watchdog applet fd=3 is used).

This shouldn't be a problem.

-- 
vda


More information about the busybox mailing list