
Originally Posted by
gtj
And of course I totally forgot to upload it so I'll do that now and post the link in about 30 minutes.
OK, posted at
http://www.peakin.com/x38/asc76xx.zip
Unzip it in an empty directory and read README and INSTALL
Thank you very much!
At first I just saw this error in dmesg:
Code:
[ 4558.898570] i2c-adapter i2c-1: asc76xx not found at 1,0x2e.
The chip seems to be an aSC7621a (with an a on the end), i.e. COMPANY=0x61 and VERSTEP=0x6d. I was
not able to make your kernel module work unless I patched it like this. The kernel is linux version 2.6.24.
Code:
--- a/asc76xx.c 2008-02-22 11:23:17.000000000 +0000
+++ b/asc76xx.c 2008-02-22 14:17:07.000000000 +0000
@@ -37,7 +37,7 @@
};
/* Insmod parameters */
-I2C_CLIENT_INSMOD_2(asc7611, asc7621);
+I2C_CLIENT_INSMOD_3(asc7611, asc7621, asc7621a);
#define INTERVAL_HIGH (HZ + HZ / 2)
@@ -46,7 +46,7 @@
#define PRIORITY_LOW 1
#define PRIORITY_HIGH 2
#define FIRST_CHIP asc7611
-#define LAST_CHIP asc7621
+#define LAST_CHIP asc7621a
#define MASK_ASC7611 0x01
#define MASK_ASC7621 0x02
@@ -80,7 +80,7 @@
.addresses = {0x2c, 0x2d, 0x2e, 0x00},
},
{
- .name = "asc7621a",.chip_type = asc7621,
+ .name = "asc7621a",.chip_type = asc7621a,
.chip_mask = MASK_ASC7621,
.company_reg = 0x3e,.company_id = 0x61,
.verstep_reg = 0x3f,.verstep_id = 0x6d,
Then after
Code:
modprobe asc76xx
dmesg
I see the following (with debugging messages turned on):
Code:
[ 267.141938] i2c-adapter i2c-1: Autodetecting device at 1,0x2e ...
[ 267.157915] i2c-adapter i2c-1: Checking 0x2e,0x61,0x6d against 0x61,0x69
[ 267.157918] i2c-adapter i2c-1: Didn't match asc7611
[ 267.173897] i2c-adapter i2c-1: Checking 0x2e,0x61,0x6d against 0x61,0x6c
[ 267.173900] i2c-adapter i2c-1: Didn't match asc7621
[ 267.189888] i2c-adapter i2c-1: Checking 0x2e,0x61,0x6d against 0x61,0x6d
[ 267.189891] i2c-adapter i2c-1: Matched asc7621a
[ 267.189893] i2c-adapter i2c-1: Detected asc7621a device at 1,0x2e with COMPANY: 0x61 and VERSTEP: 0x6d
Which looks ok. Then
gives the following
Code:
asc7621a-i2c-1-2e
Adapter: SMBus I801 adapter at 2000
in0: +1.21 V (min = +0.00 V, max = +3.31 V)
in1: +1.01 V (min = +0.00 V, max = +2.99 V)
in2: +3.24 V (min = +0.00 V, max = +4.36 V)
in3: +4.99 V (min = +0.00 V, max = +6.61 V)
in4: +11.84 V (min = +0.00 V, max = +15.94 V)
fan1: 0 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
temp1: -62.0°C (low = -127.0°C, high = +0.0°C)
(crit = -21.0°C) sensor = diode
temp2: +44.2°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C) sensor = thermal diode
temp3: +46.5°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C) sensor = transistor
temp4: +41.8°C (low = -127.0°C, high = +127.0°C)
(crit = -128.0°C) sensor = Intel PECI
temp5: -62.0°C sensor = Intel PECI
temp6: -85.0°C sensor = Intel PECI
temp7: +96.0°C sensor = Intel PECI
temp8: +118.0°C sensor = Intel PECI
I only have a fan connected to the MCH fan header on the motherboard so I would have
expected to see one non-zero fan speed -- but actually I don't see it in
the bios (v1397) either.
Does that look ok to you? Do you know how to interpret the figures -- i.e. which fans and temps are which? The CPU is a QX9650.
Bookmarks