Skip to contentSkip to conversation

ADM 1025 on 2.6 kernel

DISCUSSION Daniel Piccoli 2 participants 7 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

just wondering the approximate timeframe for ADM 1025 support on the 2.6 kernel.

Thanks for the great sw.

regards,

Daniel

#1 lore raw

Thanks for the info,

regards,
Dan

Quoted 31 lines · Jean Delvare

Hi Daniel,

Including Freitas as well since you seem to share interests.

Quoted 2 lines

just wondering the approximate timeframe for ADM 1025 support on the 2.6 kernel.

I just finised my port, sorry for the delay. You can get it here:
http://khali.linux-fr.org/devel/i2c/linux-2.6/

Either apply the adm1031 and adm1025 patches in order (I don't think the adm1025 patch alone will apply cleanly) or the unified linux-2.6.7-i2c.patch.gz, to any 2.6.7+ kernel.

You will need lm_sensors CVS for user-space tools for full support. If you have an older version (but at least 2.8.5) it should still work, you'll only miss the VID value in "sensors".

I'm particularly interested in feedback concerning VID value. As you may know, the ADM1025 chip may either monitor +12V and have 4-bit VID values, or have 5-bit VID values. In the first case, I'm not sure of the value to give to the missing bit. The driver and datasheet suggest 0, but another doc I found about Pentium Pro (which is the target CPU for the ADM1025 according to the datasheet) suggests 1. That's not something I can verify on my evaluation board, of course, since it has no CPU.

Let me know how it works for you!

Quoted 1 line

Thanks for the great sw.

Thanks :)

#2 lore raw
In reply to Daniel Piccoli

Hi Daniel,

Including Freitas as well since you seem to share interests.

Quoted 2 lines

just wondering the approximate timeframe for ADM 1025 support on the 2.6 kernel.

I just finised my port, sorry for the delay. You can get it here:
http://khali.linux-fr.org/devel/i2c/linux-2.6/

Either apply the adm1031 and adm1025 patches in order (I don't think the adm1025 patch alone will apply cleanly) or the unified linux-2.6.7-i2c.patch.gz, to any 2.6.7+ kernel.

You will need lm_sensors CVS for user-space tools for full support. If you have an older version (but at least 2.8.5) it should still work, you'll only miss the VID value in "sensors".

I'm particularly interested in feedback concerning VID value. As you may know, the ADM1025 chip may either monitor +12V and have 4-bit VID values, or have 5-bit VID values. In the first case, I'm not sure of the value to give to the missing bit. The driver and datasheet suggest 0, but another doc I found about Pentium Pro (which is the target CPU for the ADM1025 according to the datasheet) suggests 1. That's not something I can verify on my evaluation board, of course, since it has no CPU.

Let me know how it works for you!

Quoted 1 line

Thanks for the great sw.

Thanks :)

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#3 lore raw
In reply to Daniel Piccoli

Hi Jean,

I have just tried the unified linux patch for ADM 1025 and everything seems to be working fine.

The VID value is +1.700 V

regards,

Daniel.

Quoted 31 lines · Jean Delvare

Hi Daniel,

Including Freitas as well since you seem to share interests.

Quoted 2 lines

just wondering the approximate timeframe for ADM 1025 support on the 2.6 kernel.

I just finised my port, sorry for the delay. You can get it here:
http://khali.linux-fr.org/devel/i2c/linux-2.6/

Either apply the adm1031 and adm1025 patches in order (I don't think the adm1025 patch alone will apply cleanly) or the unified linux-2.6.7-i2c.patch.gz, to any 2.6.7+ kernel.

You will need lm_sensors CVS for user-space tools for full support. If you have an older version (but at least 2.8.5) it should still work, you'll only miss the VID value in "sensors".

I'm particularly interested in feedback concerning VID value. As you may know, the ADM1025 chip may either monitor +12V and have 4-bit VID values, or have 5-bit VID values. In the first case, I'm not sure of the value to give to the missing bit. The driver and datasheet suggest 0, but another doc I found about Pentium Pro (which is the target CPU for the ADM1025 according to the datasheet) suggests 1. That's not something I can verify on my evaluation board, of course, since it has no CPU.

Let me know how it works for you!

Quoted 1 line

Thanks for the great sw.

Thanks :)

#4 lore raw
In reply to Daniel Piccoli

Hi Jean,

this is the sensors output:

adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0

+2.5V:     +2.49 V  (min =  +0.00 V, max =  +3.32 V)
VCore:     +1.68 V  (min =  +0.00 V, max =  +2.99 V)
+3.3V:     +3.37 V  (min =  +0.00 V, max =  +4.38 V)
+5V:       +4.92 V  (min =  +0.00 V, max =  +6.64 V)
+12V:     +11.94 V  (min =  +0.00 V, max = +15.94 V)
VCC:       +3.39 V  (min =  +0.00 V, max =  +4.38 V)
CPU Temp:  +43.0 C  (low  =    +0 C, high =  +127 C)
M/B Temp:  +39.0 C  (low  =    +0 C, high =  +127 C)

vid: +1.700 V

The CPU is a Pentium III 866 (SL4MD). Its voltage is supposed to be 1.7V

Here is the output of /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 864.112
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse
bogomips : 1708.03

thanks,

regards Daniel

Quoted 16 lines · Jean Delvare

Hi Daniel,

Quoted 2 lines

I have just tried the unified linux patch for ADM 1025 and everything seems to be working fine.

Great :)

Quoted 1 line

The VID value is +1.700 V

I guess you were using a recent CVS snapshot of lm_sensors?

Do you know if this is the correct voltage for your CPU? What CPU is it BTW? Please show /proc/cpuinfo. I would also appreciate the output of "sensors" itself.

Thanks for testing.

#5 lore raw
In reply to Daniel Piccoli

Hi Daniel,

Quoted 2 lines

I have just tried the unified linux patch for ADM 1025 and everything seems to be working fine.

Great :)

Quoted 1 line

The VID value is +1.700 V

I guess you were using a recent CVS snapshot of lm_sensors?

Do you know if this is the correct voltage for your CPU? What CPU is it BTW? Please show /proc/cpuinfo. I would also appreciate the output of "sensors" itself.

Thanks for testing.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#6 lore raw
In reply to Daniel Piccoli
Quoted 12 lines

this is the sensors output:

adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0

+2.5V:     +2.49 V  (min =  +0.00 V, max =  +3.32 V)
VCore:     +1.68 V  (min =  +0.00 V, max =  +2.99 V)
+3.3V:     +3.37 V  (min =  +0.00 V, max =  +4.38 V)
+5V:       +4.92 V  (min =  +0.00 V, max =  +6.64 V)
+12V:     +11.94 V  (min =  +0.00 V, max = +15.94 V)
VCC:       +3.39 V  (min =  +0.00 V, max =  +4.38 V)
CPU Temp:  +43.0 C  (low  =    +0 C, high =  +127 C)
M/B Temp:  +39.0 C  (low  =    +0 C, high =  +127 C)
Quoted 4 lines

vid: +1.700 V

The CPU is a Pentium III 866 (SL4MD). Its voltage is supposed to be 1.7V

OK. Looks very good! Now you can copy etc/sensors.conf.eg to /etc/sensors.conf and tweak this configuration file to fit your needs. Defaults for voltage limits should be just fine, but you may want to refine the temperature limits. Then running "sensors -s" will set the requested limits.

Thanks for reporting, and glad that my driver seems to be working OK :)

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/