Skip to contentSkip to conversation

Andigilog aSC7621 & Intel D975XBX2 Motherboard

lm-sensors Michael Nelson 3 participants 8 messages Dec 23, 2006 – Dec 24, 2006

lore
Share & tools
lore
#0 lore raw

Hi...

I've managed to do it again... bought another motherboard that seems to have hardware monitoring stuff on it that is not yet supported by lm-sensors.

The board I have is an Intel D975XBX2KR. Nice board, but I can't find anywhere in the documentation on the Intel site or that came with the board what kind of hw monitoring chip it has. The monitoring does work (I can see it in the BIOS setup screens), but running sensors-detect from lm-sensors 2.10.1 just recommends loading eeprom and i2c-i801. Naturally, sensors doesn't work.

I grabbed the nightly lm-sensors-r4270-20061223.tar.bz2 and it will compile "make user" and run sensors-detect.

It says:

Probing for `Andigilog aSC7621'... Success!
(confidence 5, driver `to-be-written')

So... is someone working on a driver for this chip, or is it a mis-detection, or?

Thanks
Michael

Signature · 5 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA
#1 lore raw
Quoted 1 line

So... is someone working on a driver for this chip...

Yep. I am. Here's the patch for the kernel. I was waiting for Jean to review it before doing the lm_sensors bit but since the Bad Axe 2 is becoming more popular maybe I'll just do the lm_sensors now and update it after the review.

Anyway, apply the patch to a 2.6.18 or greater kernel. Sensors-detect won't find the driver but you can add a MODULE line to /etc/sysconfig/lm_sensors manually.

george

-----Original Message-----
From: [email protected] [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Michael Nelson
Sent: Saturday, December 23, 2006 4:40 PM
To: lm-sensors at lm-sensors.org
Subject: [lm-sensors] Andigilog aSC7621 & Intel D975XBX2 Motherboard

Hi...

I've managed to do it again... bought another motherboard that seems to have hardware monitoring stuff on it that is not yet supported by lm-sensors.

The board I have is an Intel D975XBX2KR. Nice board, but I can't find anywhere in the documentation on the Intel site or that came with the board what kind of hw monitoring chip it has. The monitoring does work (I can see it in the BIOS setup screens), but running sensors-detect from lm-sensors 2.10.1 just recommends loading eeprom and i2c-i801. Naturally, sensors doesn't work.

I grabbed the nightly lm-sensors-r4270-20061223.tar.bz2 and it will compile "make user" and run sensors-detect.

It says:

Probing for `Andigilog aSC7621'... Success!
(confidence 5, driver `to-be-written')

So... is someone working on a driver for this chip, or is it a mis-detection, or?

Thanks
Michael

Signature · 17 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asc7xxx.patch
Type: text/x-patch
Size: 52327 bytes
Desc: asc7xxx.patch
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061223/470fd6fc/attachment-0001.bin 
#2 lore raw
In reply to Michael Nelson
Quoted 2 lines · George T. Joseph (development)

Anyway, apply the patch to a 2.6.18 or greater kernel.

I tried applying it to SUSE 10.2's linux-2.6.18.2-34 kernel source. It seemed to apply OK and I enabled it in .config, but when I recompiled the kernel:

<snip>

CC [M] drivers/hwmon/adm1031.o
CC [M] drivers/hwmon/adm9240.o
make[2]: *** No rule to make target drivers/hwmon/asc7xxx.c', needed by drivers/hwmon/asc7xxx.o'. Stop. make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2

So I guess it actually did not apply the patch correctly.

Michael

Signature · 5 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA
#3 lore raw
In reply to Michael Nelson

Interesting. I've tested the patch on 2.6.16, 2.6.18 and 2.6.19 kernels and it works every time. I have NOT tested it with distribution-specific kernels though.

Was drivers/hwmon/asc7xxx.c actually created? The message from make implies that it wasn't.
Were there ANY messages from patch?
Does a 'patch -R' work cleanly?

-----Original Message-----
From: [email protected] [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Michael Nelson
Sent: Saturday, December 23, 2006 6:22 PM
To: lm-sensors at lm-sensors.org
Subject: Re: [lm-sensors] Andigilog aSC7621 & Intel D975XBX2 Motherboard

Quoted 2 lines · George T. Joseph (development)

Anyway, apply the patch to a 2.6.18 or greater kernel.

I tried applying it to SUSE 10.2's linux-2.6.18.2-34 kernel source. It seemed to apply OK and I enabled it in .config, but when I recompiled the
kernel:

<snip>

CC [M] drivers/hwmon/adm1031.o
CC [M] drivers/hwmon/adm9240.o
make[2]: *** No rule to make target drivers/hwmon/asc7xxx.c', needed by drivers/hwmon/asc7xxx.o'. Stop.
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2

So I guess it actually did not apply the patch correctly.

Michael

Signature · 10 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to Michael Nelson
Quoted 8 lines · George T. Joseph (development)

Interesting. I've tested the patch on 2.6.16, 2.6.18 and 2.6.19 kernels and it works every time. I have NOT tested it with distribution-specific kernels though.

Was drivers/hwmon/asc7xxx.c actually created? The message from make implies that it wasn't.
Were there ANY messages from patch?
Does a 'patch -R' work cleanly?

I found it in /usr/src/linux-2.6.19 ... which apparently it created during the patch process. Anyway, I copied the stuff I found there (including asc7xxx.c) into the right places in the linux-2.6.18.2-34 tree and then compiled again. It worked, it built it. Rebooted the new kernel and it inserted fine.

Sensors doesn't show much:

sensors
asc7621-i2c-0-2e
Adapter: SMBus I801 adapter at 4000

... but gkrellm's sensor stuff shows five temps (one is the Nvidia GPU temp), four fans, and all the voltages. Some of the numbers are wierd, but I suppose a properly tweaked /etc/sensors.conf should bring that in line.

Thanks!

Michael

Signature · 5 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA
#5 lore raw
In reply to Michael Nelson

There should be 4 fans, 4 temps (temp 4 is not used by default on the BX2), 3 PWM (PWM3 controls fans 3 and 4) and 5 voltages.

What's weird? :)

I've also exposed the PECI temps that come directly from the Core 2 processors but since they're relative temps you'll have to read the Intel and Andigilog docs for info on how to use them.

-----Original Message-----
From: [email protected] [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Michael Nelson
Sent: Saturday, December 23, 2006 7:12 PM
To: lm-sensors at lm-sensors.org
Subject: Re: [lm-sensors] Andigilog aSC7621 & Intel D975XBX2 Motherboard

Quoted 1 line · George T. Joseph (development)

Interesting. I've tested the patch on 2.6.16, 2.6.18 and 2.6.19

kernels

Quoted 7 lines

and it works every time. I have NOT tested it with distribution-specific kernels though.

Was drivers/hwmon/asc7xxx.c actually created? The message from make implies that it wasn't.
Were there ANY messages from patch?
Does a 'patch -R' work cleanly?

I found it in /usr/src/linux-2.6.19 ... which apparently it created during
the patch process. Anyway, I copied the stuff I found there (including asc7xxx.c) into the right places in the linux-2.6.18.2-34 tree and then compiled again. It worked, it built it. Rebooted the new kernel and it inserted fine.

Sensors doesn't show much:

sensors
asc7621-i2c-0-2e
Adapter: SMBus I801 adapter at 4000

... but gkrellm's sensor stuff shows five temps (one is the Nvidia GPU temp), four fans, and all the voltages. Some of the numbers are wierd, but
I suppose a properly tweaked /etc/sensors.conf should bring that in line.

Thanks!

Michael

Signature · 10 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#6 lore raw
In reply to Michael Nelson

Hi George,

Quoted 6 lines · George T. Joseph \(development\)
Quoted 1 line

So... is someone working on a driver for this chip...

Yep. I am. Here's the patch for the kernel. I was waiting for Jean to review it before doing the lm_sensors bit but since the Bad Axe 2 is becoming more popular maybe I'll just do the lm_sensors now and update it after the review.

I am not the only person on earth who can review your driver, and I am (as usual) very busy. I am currently working a lot on i2c driver core cleanups and evolutions which are long overdue, I can't review individual drivers at the same time, I just don't have the time and energy.

Having user-space support for your driver will make testing easier, so I invite you to add this support to lm_sensors SVN and post the patch on this list.

Quoted 3 lines

Anyway, apply the patch to a 2.6.18 or greater kernel. Sensors-detect won't find the driver but you can add a MODULE line to /etc/sysconfig/lm_sensors manually.

Signature · 1 line
Jean Delvare
#7 lore raw
In reply to Michael Nelson

The gkrellm display of values is working very well. The "strange numbers" I saw were in some of the voltages where for some reason there were multipliers set. When I set all the multipliers to 1, the values all look normal.

Thanks for the patch!

Michael

Signature · 5 lines
If a kid asks where rain comes from, I think a cute thing to tell him is
"God is crying." And if he asks why God is crying, another cute thing to
tell him is "Probably because of something you did."

San Francisco, CA