ADT7475
Hi Juergen,
Quoted 2 lines
it seems that the ADT7475 is compatible with an ADT7463, so i have tried to use the lm85 driver. (The ADT7475 is missing the Vid Inputs.)
How did you figure out? I guess you mean the "vin inputs"? VID inputs are something different. Oh well, they are also missing, anyway.
Quoted 9 lines
My first attempd was to force the ADT7463 with
modprobe lm85 force_adt7463:0,0x2e
but this fails with
==> FATAL: Error inserting
lm85/lib/modules/2.6.16.21-0.13-smp/kernel/drivers/hwmon/lm85.ko): Unknown symbol in module, or unknown parameter (see dmesg)
==
Replace ":" with "=", and it should work better, except that according to the output below, the proper address is 1,0x2e rather than 0,0x2e.
Quoted 37 lines
After that i have added the verstep to
lm85.c#define
LM85_VERSTEP_ADT74750x69and changed inside
lm85_detect...} else if( company = LM85_COMPANY_ANALOG_DEV && (verstep = LM85_VERSTEP_ADT7463 || verstep = LM85_VERSTEP_ADT7463C || verstep = LM85_VERSTEP_ADT7475) ) { kind = adt7463 ;now sensors give me the following infos:
snip=======> adt7463-i2c-1-2e
Adapter: SMBus nForce2 adapter at 1c40V1.5: +0.000 V (min = +0.00 V, max = +3.32 V) VCore: +0.000 V (min = +0.00 V, max = +2.99 V) ALARM V3.3: +3.395 V (min = +0.00 V, max = +4.38 V) V5: +0.000 V (min = +0.00 V, max = +6.64 V) V12: +0.000 V (min = +0.00 V, max = +15.94 V) CPU_Fan: 2019 RPM (min = 0 RPM) fan2: 1420 RPM (min = 0 RPM) fan3: 1889 RPM (min = 0 RPM) fan4: 0 RPM (min = 0 RPM) CPU Temp: +0.25?C (low = +1?C, high = -1?C) ALARM FAULT Board Temp: +87.00?C (low = +1?C, high = -1?C) Remote Temp: +0.00?C (low = +1?C, high = -1?C) ALARM FAULT CPU_PWM: 0 Fan2_PWM: 0 Fan3_PWM: 0 vid: +0.000 V (VRM Version 2.4)
Quoted 2 lines
snap=========>
What do you think about this ?
Looks good. I presume in2 is Vcc. The chip can also monitor one external voltage but I guess it's not wired here (the IT8716F is used to monitor Vcore.)
Do the fan speeds reported here match the ones displayed by your BIOS? Can you try setting limits and checking whether alarms trigger as they should?
The temp2 value is rather frightening... It is supposed to be the chip's own temperature. It looks like the chip supports different modes, include an "ADT7463 compatibility mode", and I guess your chip is not in this mode, thus the weird reading. The external temperatures are obviously not wired.
Now the question is, do we want to add support for the ADT7475 chip to the lm85 driver? That's a recurring question, each time several chips are compatible but still somewhat different.
In this case, the lm85 driver already supports 6 different chips (although there was no reason to differenciate between the B and C revisions as far as I can see) and we must beware of not increasing the complexity of our drivers beyond reason. I'm not too sure what to do. Maybe we can try adding support to the lm85 driver, and if it turns up adding too much complexity, do a separate driver.
One element which may help us decide is whether the ADT7475 itself is compatible with other chips. If it is, making a new driver for the ADT7475 and the compatible chips would make sense. Can you make some research?
Signature · 1 line
Jean Delvare
Hi Jean,
Quoted 8 lines
Hi Juergen,
Quoted 2 lines
it seems that the ADT7475 is compatible with an ADT7463, so i have tried to use the lm85 driver. (The ADT7475 is missing the Vid Inputs.)
How did you figure out? I guess you mean the "vin inputs"? VID inputs are something different. Oh well, they are also missing, anyway.
I have found that the lm85 driver is usable for the ADT7463, then i thought there could be a possibility that the ADT7475 is compatible with the ADT7463 in some way.
After that i have compared nearly every page of the two datasheets.... If you take a look at the functional diagram of the ADT7463
http://www.analog.com/images/Product_Descriptions/408124366940429ADT7463_S.jpg
you can see in the upper left corner 7 "VID" Inputs which are not available at the ADT7475.
Quoted 3 lines
Replace ":" with "=", and it should work better, except that according to the output below, the proper address is 1,0x2e rather than 0,0x2e.
OK...
Quoted 4 lines
Do the fan speeds reported here match the ones displayed by your BIOS? Can you try setting limits and checking whether alarms trigger as they should?
Yes they do.. i think good enough ;-)
Bios SensorsCHA_FAN2 1427 1420 (fan2)CHA_FAN3 1908 1889 (fan3)CHA_FAN4 1978 2019 (CPU_FAN)
Quoted 10 lines
The temp2 value is rather frightening... It is supposed to be the chip's own temperature. It looks like the chip supports different modes, include an "ADT7463 compatibility mode", and I guess your chip is not in this mode, thus the weird reading. The external temperatures are obviously not wired.
Now the question is, do we want to add support for the ADT7475 chip to the lm85 driver? That's a recurring question, each time several chips are compatible but still somewhat different.
Quoted 7 lines
In this case, the lm85 driver already supports 6 different chips (although there was no reason to differenciate between the B and C revisions as far as I can see) and we must beware of not increasing the complexity of our drivers beyond reason. I'm not too sure what to do. Maybe we can try adding support to the lm85 driver, and if it turns up adding too much complexity, do a separate driver.
Yes i think, this would be the right way.
Quoted 4 lines
One element which may help us decide is whether the ADT7475 itself is compatible with other chips. If it is, making a new driver for the ADT7475 and the compatible chips would make sense. Can you make some research?
Yes i can do some research... but i've not much spare time at the moment and i am on vacation for 3 weeks starting next friday.
=
Juergen
Hi Guys,
I have a ADT7475 on my board as well, I don't have much driver experience but I am making some headway...
Going from this message:
http://lists.lm-sensors.org/pipermail/lm-sensors/2006-September/017552.html
I have since been able to get the CPU temperature working...
adt7463-i2c-1-2e
Adapter: SMBus nForce2 adapter at 1c40 V1.5: +0.000 V (min = +1.42 V, max = +1.58 V) VCore: +0.000 V (min = +0.00 V, max = +0.00 V) ALARM V3.3: +3.360 V (min = +3.13 V, max = +3.47 V) V5: +0.000 V (min = +4.74 V, max = +5.26 V) V12: +0.000 V (min = +11.38 V, max = +12.62 V) CPU_Fan: 0 RPM (min = 4000 RPM) ALARM fan2: 0 RPM (min = 0 RPM) fan3: 0 RPM (min = 0 RPM) fan4: 0 RPM (min = 0 RPM) CPU: +32.25 C (low = +10 C, high = +50 C) ALARM FAULT Board: +0.00 C (low = +10 C, high = +35 C) ALARM Remote: +0.00 C (low = +10 C, high = +35 C) ALARM FAULT CPU_PWM: 0 Fan2_PWM: 0 Fan3_PWM: 0 vid: +0.000 V (VRM Version 2.4)
Change this below from register 0x25 to 0x77, 0x25 is the 8bit resolution and 0x77 is the 10bit..
#define LM85_REG_TEMP(nr) (0x77 + (nr))
This gives the correct CPU temperature (verified by bios)
Hi,
I have a ADT7475 chip (Asus M2N-SLI board), which it would be nice to be able to use.
I noticed some posts on the mailing lists about this, but don't really know what's going on.
I could potentially work on this myself if you'd like me to, but I'd need some help getting started. I've done a reasonable amount of higher-level C++ coding, but nothing on drivers or kernel-related programming.
Thanks for this great project,
Diggory Hardy
Greetings!
I've got this chip on my ASUS M2N-SLI motherboard and am willing to hack on the code a bit. Any thoughts/decisions as to whether it should be it's own driver or added into the lm85?
-Joel
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 6 lines · Joel McKee Cooper
Greetings!
I've got this chip on my ASUS M2N-SLI motherboard and am willing to hack on the code a bit. Any thoughts/decisions as to whether it should be it's own driver or added into the lm85?
That would depend on how similar it is, if it can easily (without klutering up the driver) can be added to lm85, then thats a good idea,\. If it would become a bit messy a new driver might be a better idea.
Notice that a driver for the ADT7470 was just posted the list, maybe it would be better / easier to add ADT7475 support there?
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors