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 On Wed, Dec 10, 2014 at 8:32 AM, sven falempin <[email protected]> wrote: > I guess the chip used is obviously this one : > > Nuvoton NCT6106D > > spec : > https://download.nuvoton.com/NuvotonMOSS/DownloadService/Member/DocumentsInfo.aspx?tp_GUID=DA00-NCT6106D > > What now :p > > > On Tue, Dec 9, 2014 at 2:15 PM, Mark Kettenis <[email protected]> wrote: >>> >>> 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 > > > > -- > --------------------------------------------------------------------------------------------------------------------- > () ascii ribbon campaign - against html e-mail > /\ -- --------------------------------------------------------------------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\
