Re: Implement a watchdog

2015-01-08 Thread sven falempin
Like this ? Index: wbsio.c === RCS file: /cvs/src/sys/dev/isa/wbsio.c,v retrieving revision 1.9 diff -u -p -r1.9 wbsio.c --- wbsio.c 2 Jan 2015 23:02:54 - 1.9 +++ wbsio.c 8 Jan 2015 17:33:46 - @@ -110,9 +110,12

Re: Implement a watchdog

2015-01-08 Thread sven falempin
Please tell me the way you'd like Index: dev/isa/wbsio.c === RCS file: /cvs/src/sys/dev/isa/wbsio.c,v retrieving revision 1.8 diff -u -p -r1.8 wbsio.c --- dev/isa/wbsio.c 1 Jul 2012 02:15:09 - 1.8 +++ dev/isa/wbsio.c

Re: Implement a watchdog

2015-01-07 Thread sven falempin
On Mon, Jan 5, 2015 at 2:19 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: From: sven falempin sven.falem...@gmail.com Date: Mon, 5 Jan 2015 13:29:41 -0500 On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/11 07:41, sven falempin wrote: Thank you

Re: Implement a watchdog

2015-01-05 Thread sven falempin
On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/11 07:41, sven falempin wrote: Thank you all, I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those christmass holydays will be much welcome ! Does the wbsio detect the watchdog in the apu

Re: Implement a watchdog

2015-01-05 Thread Mark Kettenis
From: sven falempin sven.falem...@gmail.com Date: Mon, 5 Jan 2015 13:29:41 -0500 On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/11 07:41, sven falempin wrote: Thank you all, I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those

Re: Implement a watchdog

2014-12-11 Thread Matt Dainty
* sven falempin sven.falem...@gmail.com [2014-12-10 12:32:15]: On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/10 09:15, sven falempin wrote: http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c https://github.com/groeck/nct6775 So i guess

Re: Implement a watchdog

2014-12-11 Thread Mark Kettenis
Date: Thu, 11 Dec 2014 05:08:11 -0500 From: Matt Dainty m...@bodgit-n-scarper.com * sven falempin sven.falem...@gmail.com [2014-12-10 12:32:15]: On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/10 09:15, sven falempin wrote:

Re: Implement a watchdog

2014-12-11 Thread sven falempin
Thank you all, I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those christmass holydays will be much welcome ! Does the wbsio detect the watchdog in the apu card ? On Thu, Dec 11, 2014 at 5:56 AM, Mark Kettenis mark.kette...@xs4all.nl wrote: Date: Thu, 11 Dec 2014 05:08:11 -0500

Re: Implement a watchdog

2014-12-11 Thread Stuart Henderson
On 2014/12/11 07:41, sven falempin wrote: Thank you all, I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those christmass holydays will be much welcome ! Does the wbsio detect the watchdog in the apu card ? No, as the manual says, Only the hardware monitoring function is

Re: Implement a watchdog

2014-12-10 Thread sven falempin
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

Re: Implement a watchdog

2014-12-10 Thread sven falempin
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

Re: Implement a watchdog

2014-12-10 Thread Stuart Henderson
On 2014/12/10 09:15, sven falempin wrote: http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c https://github.com/groeck/nct6775 So i guess the first step is to detect the chip You'll also need somewhere (files) to put the detection. Maybe look at the commit from when tcpcib was

Re: Implement a watchdog

2014-12-10 Thread sven falempin
On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/10 09:15, sven falempin wrote: http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c https://github.com/groeck/nct6775 So i guess the first step is to detect the chip You'll also need somewhere

Implement a watchdog

2014-12-09 Thread sven falempin
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

Re: Implement a watchdog

2014-12-09 Thread Mark Kettenis
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