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 wrote: >> From: sven falempin >> Date: Mon, 5 Jan 2015 13:29:41 -0500 >> >> On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson wrote: >> > >> > On 2014/12/11 07:41, sven falempin wrote: >> > > Thank you all, >> > > >> > > I grep(ed) -r NCT6 in sys and

Re: Implement a watchdog

2015-01-05 Thread Mark Kettenis
> From: sven falempin > Date: Mon, 5 Jan 2015 13:29:41 -0500 > > On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson 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 wi

Re: Implement a watchdog

2015-01-05 Thread sven falempin
On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson 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 card

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 cu

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 wrote: >> Date: Thu, 11 Dec 2014 05:08:11 -0500 >> From: Matt Dainty >> >

Re: Implement a watchdog

2014-12-11 Thread Mark Kettenis
> Date: Thu, 11 Dec 2014 05:08:11 -0500 > From: Matt Dainty > > * sven falempin [2014-12-10 12:32:15]: > > On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson wrote: > > > On 2014/12/10 09:15, sven falempin wrote: > > >> http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c > > >> > > >> h

Re: Implement a watchdog

2014-12-11 Thread Matt Dainty
* sven falempin [2014-12-10 12:32:15]: > On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson 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 d

Re: Implement a watchdog

2014-12-10 Thread sven falempin
On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson 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 (files)

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 wa

Re: Implement a watchdog

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

Re: Implement a watchdog

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

Re: Implement a watchdog

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

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 outport