> 
> Dear Tech,
> 
> i have a ENDAT 7703 motherboard near my desk,
> the manual point out some instruction to configure the
> watchdog :
> 
> //init, select the destination of command...
> 
> outportb(0x2e,0x87);
> outportb(0x2e,0x87);
> outportb(0x2e,0x07);
> outportb(0x2f,0x08);
> 
> //com
> 
> outportb(0x2e,0x30); //main
> 
> outportb(0x2f,0x01); //0 to inactive
> 
> outportb(0x2e,0xf2); //reset param
> 
> outportb(0x2f,0x00); // bit 6 keyboard, bit 7 mouse
> 
> outportb(0x2e,0xf0); //time unit conf
> outportb(0x2f,0x04); // bit3 = 1 minutes
> 
> 
> outportb(0x2e,0xf1); // how much time
> outportb(0x2f,1); // 1 minute
> 
> I suppose only the kernel can write to the 0x2e and 0x2f  address ?
> 
> Usually watchdog are detected and shown in dmesg, have i to ask more
> detail to the supplier ?

Looks like a semi-standard "motherboard plug and play" SuperIO unlock
sequence to me.  If you can find out what chip they use on the
motherboard, you might be able to find a data sheet for it.

There's a couple of SuperIO drivers in the tree under sys/dev/isa.
Some of those implement a watchdog timer, for example it(4) and
viasio(4).  The tricky bit is to non-destructively probe for the
hardware.

Cheers,

Mark

Reply via email to