Andigilog aSC7621 on Intel 975XBX2 - mostly working
Hi,
I obtained an Intel 975XBX2 Mainboard a while ago, and finally got round to have a look at the sensors. I'm using the asc7xxx driver I found in the list archives (posted by George T. Joseph in December), which compiles, loads and detects the aSC7621 just fine. The machine is equipped with an Intel Core 2 Duo E6600 and is running Gentoo Linux with a Xen-patched 2.6.16.49 kernel (Gentoo package xen-sources-2.6.16.49); sensors is version 2.10.3 with libsensors version 2.10.3.
sensors isn't quite happy though, the output ist just:
| asc7621-i2c-0-2e
| Adapter: SMBus I801 adapter at 2000
So I suppose it doesn't recognise the aSC7621 as a valid sensor chip, but there doesn't appear to be a --force option or some such to get it to read the values anyway. Any suggestions on this?
Meanwhile, I had a look at the input files in /sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002e:
| magrathea 0-002e # grep . *input
| fan1_input:360
This is the CPU fan (4 wires), reading is correct.
| fan2_input:364
Intel labels this one as 'auxiliary' or 'auxiliary rear' fan, 4 wires, reading correct.
| fan3_input:301
Front fan, 3 wires. The reading sometimes jumps to twice this value, and then back again after a while. I found that this fan will speed up a bit when calling up the hardware monitoring screen in the BIOS, probably because pulse stretching gets enabled, yet it doesn't do so when loading the driver - maybe the driver ought to set some bit for pulse stretching in the aSC7621? The BIOS shows this one with about 840 rpm.
| fan4_input:354
Rear fan, 3 wires. Same as fan3, though this one doesn't change its reading when stopping the fan, yet goes to 0 when disconnecting it entirely. However, this likely an issue of the fan (maybe pulses in supply voltage propagating to the tach output). About 720 rpm in BIOS.
Next, the voltages with the corresponding BIOS labels:
| in0_input:1533
V1.5
| in1_input:1187
Vccp, BIOS says 1.300 though.
| in2_input:3293
V3.3
| in3_input:4986
V5.0
| in4_input:12077
V12.0
Except for Vccp, the readings are close to what the BIOS shows.
| peci_temp1_input:-28481 | peci_temp2_input:-92501 | peci_temp3_input:-31110 | peci_temp4_input:-29297
If I'm understanding PECI correctly, these are CPU temperatures relative to the tripping point, and hence negative. Is this correct? Assuming it is, 1 2 and 4 seem roughly reasonable (or do they? I ought to look up the 'zero' temperature for the E6600), however, these values don't change at all, even after several days. Is there some way to force a refresh?
Now, time for some cooling spray to locate the other temp sensors...
| temp1_input:33750
This is the CPU temperature. As the aSC7621 has diode inputs, does this mean the CPU has a traditional diode in addition to that PECI stuff? The reading is somewhat lower than the BIOS shows, but that may be due to the BIOS code not making use of some power saving features.
| temp2_input:43500
This is the aSC7621 itself, located close to the CPU socket, well within the air flow coming from the CPU heatsink. Reading matches BIOS.
| temp3_input:41750
A diode between the RAM sockets. Matches BIOS.
| temp4_input:0
What's this? According to Documentation/hwmon/asc7xxx the aSC7621 supports two remote diodes and its internal one - where is the fourth reading supposed to come from?
Regards,
Sebastian
Signature · 4 lines
Sebastian Flothow [email protected] Because it reverses the logical flow of conversation.
Quoted 1 line
Why is top posting frowned upon?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
There's a later version of the driver at
http://www.peakin.com/download/asc76xx-2.6.21.patch
If you want to try it. More comments in line...
Quoted 22 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Flothow
Sent: Friday, August 03, 2007 3:48 PM
To: lm-sensors
Subject: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2 - mostly workingHi,
I obtained an Intel 975XBX2 Mainboard a while ago, and finally got round to have a look at the sensors. I'm using the asc7xxx driver I found in the list archives (posted by George T. Joseph in December), which compiles, loads and detects the aSC7621 just fine. The machine is equipped with an Intel Core 2 Duo E6600 and is running Gentoo Linux with a Xen-patched 2.6.16.49 kernel (Gentoo package xen-sources-2.6.16.49); sensors is version 2.10.3 with libsensors version 2.10.3.
sensors isn't quite happy though, the output ist just:
Quoted 7 lines
| asc7621-i2c-0-2e
| Adapter: SMBus I801 adapter at 2000So I suppose it doesn't recognise the aSC7621 as a valid sensor chip, but there doesn't appear to be a --force option or some such to get it
to read the values anyway. Any suggestions on this?
I'm way behind on getting the driver accepted and supported in libsensors, sorry. Hopefully by the end of August.
Quoted 27 lines
Meanwhile, I had a look at the input files in /sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-002e:
| magrathea 0-002e # grep . *input
| fan1_input:360This is the CPU fan (4 wires), reading is correct.
| fan2_input:364
Intel labels this one as 'auxiliary' or 'auxiliary rear' fan, 4 wires,
reading correct.| fan3_input:301
Front fan, 3 wires. The reading sometimes jumps to twice this value, and then back again after a while. I found that this fan will speed up
a bit when calling up the hardware monitoring screen in the BIOS, probably because pulse stretching gets enabled, yet it doesn't do so when loading the driver - maybe the driver ought to set some bit for pulse stretching in the aSC7621? The BIOS shows this one with about 840
rpm.
Quoted 6 lines
| fan4_input:354
Rear fan, 3 wires. Same as fan3, though this one doesn't change its reading when stopping the fan, yet goes to 0 when disconnecting it entirely. However, this likely an issue of the fan (maybe pulses in supply voltage propagating to the tach output). About 720 rpm in BIOS.
I'll check the fan readings but I'm not seeing any problems on 3 different machines. Maybe because my fans run at a somewhat higher speed.
Quoted 9 lines
Next, the voltages with the corresponding BIOS labels:
| in0_input:1533V1.5
| in1_input:1187
Vccp, BIOS says 1.300 though.
The vccp reading is probably correct and the result of C1E kicking in. This reduces the voltage and multiplier when the CPU is idle. The CPU runs at it's max voltage when in the BIOS screens which is why you see 1.300 there. Try loading the CPU and take the reading again.
Quoted 21 lines
| in2_input:3293
V3.3
| in3_input:4986
V5.0
| in4_input:12077
V12.0
Except for Vccp, the readings are close to what the BIOS shows.
| peci_temp1_input:-28481 | peci_temp2_input:-92501 | peci_temp3_input:-31110 | peci_temp4_input:-29297
Quoted 8 lines
If I'm understanding PECI correctly, these are CPU temperatures relative to the tripping point, and hence negative. Is this correct? Assuming it is, 1 2 and 4 seem roughly reasonable (or do they? I ought
to look up the 'zero' temperature for the E6600), however, these values
don't change at all, even after several days. Is there some way to force a refresh?
PECI has to be enabled first and when it is, only peci_temp1 is valid on this board. The E6600's have their trip point at 85C so the output is relative to that number. The documentation for the latest version of the driver explains this better.
Quoted 11 lines
Now, time for some cooling spray to locate the other temp sensors...
| temp1_input:33750
This is the CPU temperature. As the aSC7621 has diode inputs, does this
mean the CPU has a traditional diode in addition to that PECI stuff? The reading is somewhat lower than the BIOS shows, but that may be due
to the BIOS code not making use of some power saving features.
Correct on both counts.
Quoted 9 lines
| temp2_input:43500
This is the aSC7621 itself, located close to the CPU socket, well within the air flow coming from the CPU heatsink. Reading matches BIOS.
| temp3_input:41750
Quoted 7 lines
A diode between the RAM sockets. Matches BIOS.
| temp4_input:0
What's this? According to
Documentation/hwmon/asc7xxxthe aSC7621 supports two remote diodes and its internal one - where is the fourth reading supposed to come from?
The chip has 4 temperature zones whose sources can be reassigned. By default, zone 4 is unassigned but you can manually assign it to one of the peci temps for instance. Again, the documentation from the latest driver explains this better and the driver allows you to do the reassignment.
Quoted 18 lines
Regards,
SebastianSignature · 4 lines
Sebastian Flothow [email protected] Because it reverses the logical flow of conversation.Quoted 1 line
Why is top posting frowned upon?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Am 4. Aug 2007 um 17:16 Uhr schrieb George Joseph ((dev)):
Quoted 3 lines
There's a later version of the driver at
http://www.peakin.com/download/asc76xx-2.6.21.patch
If you want to try it.
I can't compile it - I tried with Gentoo's 2.6.16.52-xen, 2.6.21-gentoo-r4, as well as vanilla 2.6.21.6. Building the kernel always fails with this output:
CC [M] drivers/hwmon/asc76xx.odrivers/hwmon/asc76xx.c: In function 'asc76xx_detect':drivers/hwmon/asc76xx.c:1077: error: 'struct asc76xx_chip' has no member named 'smb_addr'
make[2]: *** [drivers/hwmon/asc76xx.o] Error 1
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2
Quoted 8 lines
Quoted 3 lines
| in1_input:1187
Vccp, BIOS says 1.300 though.
The vccp reading is probably correct and the result of C1E kicking in. This reduces the voltage and multiplier when the CPU is idle. The CPU runs at it's max voltage when in the BIOS screens which is why you see 1.300 there. Try loading the CPU and take the reading again.
Indeed, with one core on full load I get 1302; 1293 when loading both cores.
I guess I ought to read up on those power states - do you happen to have a pointer to a good reference?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hmmm. 2.6.16 is definitely not going to work but 2.6.21 should compile fine. In fact, I just tried it again on a freshly untarred 2.6.21.6 with no errors. If you tried the older driver, make sure it's completely cleaned out. Did the patch apply cleanly?
I've got some info on C1E and EIST on the XBX2 specifically at
http://www.peakin.com/xbx2/index.html
Quoted 46 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Flothow
Sent: Monday, August 06, 2007 6:07 PM
To: lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingAm 4. Aug 2007 um 17:16 Uhr schrieb George Joseph ((dev)):
Quoted 3 lines
There's a later version of the driver at
http://www.peakin.com/download/asc76xx-2.6.21.patch
If you want to try it.I can't compile it - I tried with Gentoo's 2.6.16.52-xen, 2.6.21-gentoo-r4, as well as vanilla 2.6.21.6. Building the kernel always fails with this output:
CC [M]
drivers/hwmon/asc76xx.odrivers/hwmon/asc76xx.c: In function 'asc76xx_detect':drivers/hwmon/asc76xx.c:1077: error: 'structasc76xx_chip' has no member named 'smb_addr'
make[2]: *** [drivers/hwmon/asc76xx.o] Error 1
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2Quoted 5 lines
Quoted 3 lines
| in1_input:1187
Vccp, BIOS says 1.300 though.
The vccp reading is probably correct and the result of C1E
kicking in.
Quoted 1 line
This reduces the voltage and multiplier when the CPU is
idle. The CPU
Quoted 1 line
runs at it's max voltage when in the BIOS screens which is
why you see
Quoted 1 line
1.300 there. Try loading the CPU and take the reading again.
Indeed, with one core on full load I get 1302; 1293 when loading both cores.
I guess I ought to read up on those power states - do you happen to have a pointer to a good reference?
Quoted 5 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Am 7. Aug 2007 um 03:49 Uhr schrieb George Joseph ((dev)):
Quoted 4 lines
Hmmm. 2.6.16 is definitely not going to work but 2.6.21 should compile fine. In fact, I just tried it again on a freshly untarred 2.6.21.6 with no errors. If you tried the older driver, make sure it's completely cleaned out. Did the patch apply cleanly?
Yes, I applied it to a freshly untarred 2.6.21.6 as well. There were slight offsets, but I think that shouldn't matter:
| magrathea linux-2.6.21.6 # patch -p1 < ../asc76xx-2.6.21.patch | patching file Documentation/hwmon/asc76xx | patching file drivers/hwmon/asc76xx.c | patching file drivers/hwmon/Kconfig | Hunk #1 succeeded at 153 (offset 11 lines). | patching file drivers/hwmon/Makefile | Hunk #1 succeeded at 21 (offset 1 line).
However, I just found that it seems to be caused by my config - if I use the default config (except for enabling asc76xx, of course), it compiles fine, yet if I use my usual .config I get the error:
| CC [M] drivers/hwmon/asc76xx.o | drivers/hwmon/asc76xx.c: In function 'asc76xx_detect': | drivers/hwmon/asc76xx.c:1077: error: 'struct asc76xx_chip' has no member named 'smb_addr' | make[2]: *** [drivers/hwmon/asc76xx.o] Error 1 | make[1]: *** [drivers/hwmon] Error 2 | make: *** [drivers] Error 2
This is lines 54 through 64 of drivers/hwmon/asc76xx.c:
| struct asc76xx_chip {
| char *name;
| enum chips chip_type;
| u8 chip_mask;
| u8 company_reg;
| u8 company_id;
| u8 verstep_reg;
| u8 verstep_id;
| void (*setup) (struct i2c_client * client);
| u8 addresses[4];
| };No smb_addr there indeed, so it seems one of my config options breaks your driver. Any idea what I should look for?
Quoted 2 lines
I've got some info on C1E and EIST on the XBX2 specifically at
http://www.peakin.com/xbx2/index.html
Thanks, useful page. There's just one thing which seems unclear to me:
is Tjmax equal to Tcontrol, or is it even higher (kind of a hard limit)?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 55 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Flothow
Sent: Saturday, August 11, 2007 12:26 PM
To: lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingAm 7. Aug 2007 um 03:49 Uhr schrieb George Joseph ((dev)):
Quoted 1 line
Hmmm. 2.6.16 is definitely not going to work but 2.6.21
should compile
Quoted 3 lines
fine. In fact, I just tried it again on a freshly untarred 2.6.21.6 with no errors. If you tried the older driver, make sure it's completely cleaned out. Did the patch apply cleanly?
Yes, I applied it to a freshly untarred 2.6.21.6 as well. There were slight offsets, but I think that shouldn't matter:
| magrathea linux-2.6.21.6 # patch -p1 < ../asc76xx-2.6.21.patch | patching file Documentation/hwmon/asc76xx | patching file drivers/hwmon/asc76xx.c | patching file drivers/hwmon/Kconfig | Hunk #1 succeeded at 153 (offset 11 lines). | patching file drivers/hwmon/Makefile | Hunk #1 succeeded at 21 (offset 1 line).However, I just found that it seems to be caused by my config - if I use the default config (except for enabling asc76xx, of course), it compiles fine, yet if I use my usual .config I get the error:
| CC [M] drivers/hwmon/asc76xx.o | drivers/hwmon/asc76xx.c: In function 'asc76xx_detect': | drivers/hwmon/asc76xx.c:1077: error: 'struct asc76xx_chip' has no member named 'smb_addr' | make[2]: *** [drivers/hwmon/asc76xx.o] Error 1 | make[1]: *** [drivers/hwmon] Error 2 | make: *** [drivers] Error 2This is lines 54 through 64 of
drivers/hwmon/asc76xx.c:| struct asc76xx_chip { | char *name; | enum chips chip_type; | u8 chip_mask; | u8 company_reg; | u8 company_id; | u8 verstep_reg; | u8 verstep_id; | void (*setup) (struct i2c_client * client); | u8 addresses[4]; | };
Quoted 2 lines
No
smb_addrthere indeed, so it seems one of my config options breaks your driver. Any idea what I should look for?
Just send me your config and I'll take a look. Either that or just start turning off things in your config until it works.
Quoted 10 lines
Quoted 4 lines
I've got some info on C1E and EIST on the XBX2 specifically at
http://www.peakin.com/xbx2/index.htmlThanks, useful page. There's just one thing which seems unclear to me:
is Tjmax equal to Tcontrol, or is it even higher (kind of a hard limit)?
I'm not sure that it's clear to anyone. :)
Intel's documentation is not clear and conflicts itself and comments made by Intel employees.
Quoted 6 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Oops...
Turn off "Hardware monitoring chip debugging messages". That's what's causing it to not compile and I'll take a look at it.
Quoted 96 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of George Joseph (dev)
Sent: Saturday, August 11, 2007 2:51 PM
To: Sebastian Flothow; lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Flothow
Sent: Saturday, August 11, 2007 12:26 PM
To: lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingQuoted 4 lines
Am 7. Aug 2007 um 03:49 Uhr schrieb George Joseph ((dev)):
Quoted 1 line
Hmmm. 2.6.16 is definitely not going to work but 2.6.21
should compile
Quoted 1 line
fine. In fact, I just tried it again on a freshly
untarred 2.6.21.6
Quoted 4 lines
Quoted 2 lines
with no errors. If you tried the older driver, make sure it's completely cleaned out. Did the patch apply cleanly?
Yes, I applied it to a freshly untarred 2.6.21.6 as well.
There were
Quoted 11 lines
slight offsets, but I think that shouldn't matter:
| magrathea linux-2.6.21.6 # patch -p1 < ../asc76xx-2.6.21.patch | patching file Documentation/hwmon/asc76xx | patching file drivers/hwmon/asc76xx.c | patching file drivers/hwmon/Kconfig | Hunk #1 succeeded at 153 (offset 11 lines). | patching file drivers/hwmon/Makefile | Hunk #1 succeeded at 21 (offset 1 line).However, I just found that it seems to be caused by my
config - if I
Quoted 25 lines
use the default config (except for enabling asc76xx, of course), it compiles fine, yet if I use my usual .config I get the error:
| CC [M] drivers/hwmon/asc76xx.o | drivers/hwmon/asc76xx.c: In function 'asc76xx_detect': | drivers/hwmon/asc76xx.c:1077: error: 'struct asc76xx_chip' has no member named 'smb_addr' | make[2]: *** [drivers/hwmon/asc76xx.o] Error 1 | make[1]: *** [drivers/hwmon] Error 2 | make: *** [drivers] Error 2This is lines 54 through 64 of
drivers/hwmon/asc76xx.c:| struct asc76xx_chip { | char *name; | enum chips chip_type; | u8 chip_mask; | u8 company_reg; | u8 company_id; | u8 verstep_reg; | u8 verstep_id; | void (*setup) (struct i2c_client * client); | u8 addresses[4]; | };Quoted 1 line
No
smb_addrthere indeed, so it seems one of my configoptions breaks
Quoted 1 line
your driver. Any idea what I should look for?
Just send me your config and I'll take a look. Either that or just start turning off things in your config until it works.
Quoted 10 lines
Quoted 4 lines
I've got some info on C1E and EIST on the XBX2 specifically at
http://www.peakin.com/xbx2/index.htmlThanks, useful page. There's just one thing which seems unclear to me:
is Tjmax equal to Tcontrol, or is it even higher (kind of a hard limit)?I'm not sure that it's clear to anyone. :)
Intel's documentation is not clear and conflicts itself and comments made by Intel employees.Quoted 6 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 5 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Try ...
http://www.peakin.com/download/asc76xx-2.6.22.2.patch
Does fine with 2.6.21 as well.
Quoted 117 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of George Joseph (dev)
Sent: Saturday, August 11, 2007 2:58 PM
To: Sebastian Flothow; lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingOops...
Turn off "Hardware monitoring chip debugging messages". That's what's causing it to not compile and I'll take a look at it.Quoted 40 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of George Joseph (dev)
Sent: Saturday, August 11, 2007 2:51 PM
To: Sebastian Flothow; lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Flothow
Sent: Saturday, August 11, 2007 12:26 PM
To: lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingQuoted 4 lines
Am 7. Aug 2007 um 03:49 Uhr schrieb George Joseph ((dev)):
Quoted 1 line
Hmmm. 2.6.16 is definitely not going to work but 2.6.21
should compile
Quoted 1 line
fine. In fact, I just tried it again on a freshly
untarred 2.6.21.6
Quoted 4 lines
Quoted 2 lines
with no errors. If you tried the older driver, make sure it's completely cleaned out. Did the patch apply cleanly?
Yes, I applied it to a freshly untarred 2.6.21.6 as well.
There were
Quoted 10 lines
slight offsets, but I think that shouldn't matter:
| magrathea linux-2.6.21.6 # patch -p1 < ../asc76xx-2.6.21.patch | patching file Documentation/hwmon/asc76xx | patching file drivers/hwmon/asc76xx.c | patching file drivers/hwmon/Kconfig | Hunk #1 succeeded at 153 (offset 11 lines). | patching file drivers/hwmon/Makefile | Hunk #1 succeeded at 21 (offset 1 line).Quoted 3 lines
Quoted 1 line
However, I just found that it seems to be caused by my
config - if I
Quoted 1 line
use the default config (except for enabling asc76xx, of
course), it
Quoted 5 lines
Quoted 5 lines
compiles fine, yet if I use my usual .config I get the error:
| CC [M] drivers/hwmon/asc76xx.o | drivers/hwmon/asc76xx.c: In function 'asc76xx_detect': | drivers/hwmon/asc76xx.c:1077: error: 'struct
asc76xx_chip' has noQuoted 48 lines
Quoted 19 lines
member named '
smb_addr'| make[2]: *** [drivers/hwmon/asc76xx.o] Error 1 | make[1]: *** [drivers/hwmon] Error 2 | make: *** [drivers] Error 2This is lines 54 through 64 of
drivers/hwmon/asc76xx.c:| struct asc76xx_chip { | char *name; | enum chips chip_type; | u8 chip_mask; | u8 company_reg; | u8 company_id; | u8 verstep_reg; | u8 verstep_id; | void (*setup) (struct i2c_client * client); | u8 addresses[4]; | };Quoted 1 line
No
smb_addrthere indeed, so it seems one of my configoptions breaks
Quoted 1 line
your driver. Any idea what I should look for?
Just send me your config and I'll take a look. Either that or just start turning off things in your config until it works.
Quoted 10 lines
Quoted 4 lines
I've got some info on C1E and EIST on the XBX2 specifically at
http://www.peakin.com/xbx2/index.htmlThanks, useful page. There's just one thing which seems unclear to me:
is Tjmax equal to Tcontrol, or is it even higher (kind of a hard limit)?I'm not sure that it's clear to anyone. :)
Intel's documentation is not clear and conflicts itself and comments made by Intel employees.Quoted 6 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsQuoted 5 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 5 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Am 11. Aug 2007 um 22:57 Uhr schrieb George Joseph ((dev)):
Quoted 3 lines
Oops...
Turn off "Hardware monitoring chip debugging messages". That's what's causing it to not compile and I'll take a look at it.
Yeah, I just noticed this too, but you were faster to post it :)
With debugging turned off, it compiles nicely, even against 2.6.16.52-xen.
After enabling PECI (why is it disabled by default?), and also enabling temp 6 through 8, I get these readings:
| temp1_input:34750 | temp2_input:39000 | temp3_input:38500 | temp4_input:-49000 | temp5_input:-49000 | temp6_input:-92969 | temp7_input:-31953 | temp8_input:-29969
So temp4 essentially duplicates temp5, while 6 through 8 seem to be random garbage for lack of real data. temp1-temp4 is always about 85 degrees or slightly less, which makes sense.
I tried setting peci_domain to 1 in the hopes of getting separate readings for the CPU cores, but this behaves rather weird: temp4 reads -128 degrees, while temp5 retains the correct value, and all fans go to full speed.
BTW, there's a small mistake in the docs: it mentions files temp[5-8]_enable
however they're actually called peci_temp[5-8]_enable.
As to the fan readings:
| fan1_input:361 | fan2_input:357 | fan3_input:302 | fan4_input:300
1 and 2 are fine, but 3 and 4 are about half the correct value. (This is just an estimate - the BIOS shows them at about 800 rpm, but the BIOS enables pulse stretching upon entering the monitoring screen, resulting in an audible speed increase, and the very first readings still show them at something in the 600 range.)
In fact, when reading the files repeatedly, they are sometimes, rarely, shown at about 600.
I then decided to twiddle pwm3_freq, which defaults to 10: When set to 15 or 23, the readings seem pretty random. Set to 30, I get readings slightly below 600 most of the time, but sometimes it's too high (about 900 to 1000). 38 is OK too, but the too-high values occur more often. Anything higher causes wrong readings almost all of the time, sometimes way beyond the fans' max speed. The high-frequency settings are unsuitable for 3-wire fans and result in a 0 reading.
So for now im running with pwm3_freq = 30, which seems to give correct readings most of the time, but this is just a kludge; it would be great to have support for pulse stretching in the drivers.
Voltage readings are fine.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Am 12. Aug 2007 um 00:19 Uhr schrieb George Joseph ((dev)):
Quoted 2 lines
Try ...
http://www.peakin.com/download/asc76xx-2.6.22.2.patch
Does compile against 2.6.16.52-xen, with hwmon debugging turned on. I'll boot it tomorrow.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Am 12. Aug 2007 um 00:43 Uhr schrieb Sebastian Flothow:
Quoted 6 lines
Am 12. Aug 2007 um 00:19 Uhr schrieb George Joseph ((dev)):
Quoted 2 lines
Try ...
http://www.peakin.com/download/asc76xx-2.6.22.2.patchDoes compile against 2.6.16.52-xen, with hwmon debugging turned on. I'll boot it tomorrow.
Works, debug messages appear in dmesg, and PECI is enabled by default. Nice.
I took a closer look at the PWM stuff this time and found it's behaving a bit weird.
Setting pwm?_enable to 0 should cause the fan to run at full speed, right? This is not really clear in Documentation/hwmon/sysfs-interface, though.
When setting pwm[12]_enable to 0, I can't observe any effect at all; setting pwm3_enable to 0 causes the fans 3 and 4 to stop.
With pwm?_enable set to 1 (manual), it seems that 51 is the effective minimum for pwm1 - I can set it to lower values, and read them back, but the fan won't get any slower than at 51. For pwm2 and pwm3, this limit is 76. Why is this?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 26 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Flothow
Sent: Sunday, August 12, 2007 11:56 AM
To: lm-sensors
Subject: Re: [lm-sensors] Andigilog aSC7621 on Intel 975XBX2
- mostly workingAm 12. Aug 2007 um 00:43 Uhr schrieb Sebastian Flothow:
Quoted 6 lines
Am 12. Aug 2007 um 00:19 Uhr schrieb George Joseph ((dev)):
Quoted 2 lines
Try ...
http://www.peakin.com/download/asc76xx-2.6.22.2.patchDoes compile against 2.6.16.52-xen, with hwmon debugging turned on. I'll boot it tomorrow.
Works, debug messages appear in dmesg, and PECI is enabled by default.
Nice.I took a closer look at the PWM stuff this time and found it's behaving
a bit weird.
Quoted 6 lines
Setting pwm?_enable to 0 should cause the fan to run at full speed, right? This is not really clear in
Documentation/hwmon/sysfs-interface,
though.
When setting pwm[12]_enable to 0, I can't observe any effect at all; settingpwm3_enableto 0 causes the fans 3 and 4 to stop.
Pwm?_enable = 0 means disable the fan. The driver makes no distinction between the 3 pwm settings whatsoever but remember, pwm 1 & 2 are 4-wire interfaces and pwm 3 is a 3 wire interface. Also, there are other settings that can affect what happens to the fan when "disabled". Take a look at the datasheet
(http://www.andigilog.com/downloads/aSC7621_70A06010.pdf) and in the mean time, I'll run another set of tests. Also, on 1 of my 3 boards, the pwm1 output is inverted. I.E. 0=full, 255=off. Don't ask me why. I have to set pwm1_invert=1 to get it to behave correctly.
Quoted 6 lines
With pwm?_enable set to 1 (manual), it seems that 51 is the effective minimum for pwm1 - I can set it to lower values, and read them back, but the fan won't get any slower than at 51. For pwm2 and pwm3, this limit is 76. Why is this?
Unfortunately, this is a question for Intel and Andigilog. I see the same.
Quoted 6 lines
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors