*/
CPU temp from w83697hf chip 1.0
Submitted By:
san1983
Rating:





(
Rate It)
A simple cpu & mbm temperature reader from winbond w83697hf
chip. This program is a good example how to access directly to
I/O under window XP
NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our
submissions area.
Screenshot
Details
Number of downloads:
15708
Comments (8)
Awesome




Posted on Monday, March 31, 2003
Awesome
W83697HF




Posted by: KK on Sunday, October 24, 2004
Can you in e-mail to tell me , how to download W83697HF Color Card , Please
..




Posted on Thursday, March 31, 2005
works perfect and is very small
ok!




Posted by: sapero on Monday, April 11, 2005
works fine on XP (drv:userport) :)
Ported to linux
(Not rated)
Posted by: Matthue Gera on Tuesday, May 31, 2005
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <asm/io.h>
// By the manual we have two ports to use
// 0x295 - the INDEX port and
// 0x296 - the DATA port
#define INDEX 0x295
#define DATA 0x296
#define BANK_SET 0x4e // lowest three bitti set a bank, in manual lk97 and lk109
#define CPU_TEMP 0x50 // BANK 0 0x4e = xxxxx001
#define MBM_TEMP 0x67 // 0x4e = xxxxx000
main(int argc, char **argv)
{
if (ioperm(INDEX,1,1))
fprintf(stderr, "Couldn't get the port at %x\n", INDEX), exit(1);
if (ioperm(DATA,1,1))
fprintf(stderr, "Couldn't get the port at %x\n", DATA), exit(1);
outb(BANK_SET, INDEX);
outb(inb(DATA) | 0x01, DATA);
outb(CPU_TEMP, INDEX);
printf("CPU %d\n",inb(DATA));
outb(BANK_SET, INDEX);
outb(inb(DATA)&0xf8, DATA);
outb(MBM_TEMP, INDEX);
printf("MBM %d\n",inb(DATA));
}
Genius !
(Not rated)
Posted on Friday, February 17, 2006
Well done. This is exactly what I'm after !!
This is a piece of crap
(Not rated)
Posted on Sunday, April 22, 2007
THis is the worst it will blow up your computer its a virus (trojan horse downloader)
Comment




Posted by: Dharmesh on Saturday, August 04, 2007
My PC(Windows XP) has W83627EHF chip.. i run this code but get FF which is incorrect value.
what's tha problem ?
I boot the PC in LINUX and run again this code but same result..
Next i get utility ExploChip and try to read to ISA by 295 and 296 but same FF..
can any budy sugest me ?
Add Your Rating