		åɥåޡ󥿡ե

		Alan Cox <alan@lxorguk.ukuu.org.uk> 
		  <ayamagat@phys.metro-u.ac.jp> 

		Linux ɥ饤Сȥץ೫ȯδ


ߡʲΥåɥåɥ饤СƤޤ:

	ICS	WDT501-P
	ICS	WDT501-P (ե󡦥᡼ʤ)
	ICS	WDT500-P
	եȥΤ

4 ƤΥ󥿡ե /dev/watchdog ޤΥǥХ
եΥץ󤫤 1 ʬְ˽񤭹ߤʤȷ׻֡Ȥ
ޤ񤭹िӤ˥֡Ȥλ郎 1 ʬֱĹޤեȥ
åɥåξ硤֡ȤΤϷ׻ȳߤξ֤˰¸ޤ
ϡɥܡɤϷ׻򥪥ܡɡޡʪŪ˰Υ
ĤǤ֡Ȥޤ

WDT501P ɤǤϡ٤ƻ뤹 2 Υ󥿡եѤǤ
/dev/temperature ޤϷ׻βڻᲹ٤Ǥɤ߹
िӤ˲٤򼨤 1 ХȤ֤ޤ

 3 Υ󥿡եղŪٹŪ٥Ȥ˴ؤ륫ͥ롦å
Ͽޤ

ɸŪʥͥǤϡեȥȥϡɥξΥåɥå
饤СѤǤޤեȥåɥå򤪻Ȥʤ顤
֡Ȼΰ "panic=60" ɲäƤ褤Ǥ礦

ǽ
----
			WDT501P		WDT500P	       եȥ
֡ȡޡ	   X               X                X
֡		   X	           X                o
			   X		   o		    o
ե󡦥ԡ	   X		   o		    o
ѥ	   X               o                o
ѥС	   X               o                o
Сҡ		   X               o                o

 WDT ܡɾγ٥ȡ󥿡եϥݡȤƤ
󡥤ʤ餽ΤΥޥʡֹϳƤƤޤ


åɥåɥ饤С
----------------------------

#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

int main(int argc, const char *argv[])
{
	int fd=open("/dev/watchdog",O_WRONLY);
	if(fd==-1)
	{
		perror("watchdog");
		exit(1);
	}
	while(1)
	{
		write(fd,"\0",1);
		sleep(10);
	}
}


Ϣ

WDT åɥåޡϡɥˤĤƤΤ礻³Ƥ
: Industrial Computer Source Ϣ:
 
ꥫ: 619 677 0877 ()  0895 (եå)
ꥹ: 01243 533900
ե (1) 69.18.74.30

Industrial Computer Source 
9950 Barnes Canyon Road 
San Diego, CA     

礻κݤ Linux ȤääƤ
