Skip to contentSkip to conversation

vt1211 2.6.6-mm4 patch

DISCUSSION Aaron Theodore 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

heres a patch to get the via vt1211 working under the 2.6.6 kernel (it should work under any 2.6 kernel though)

id spent weeks trying to get the vt1211 working under linux, after lotsa searching i found:

http://jdelvare.net1.nerim.net/sensors/vt1211.c

it compiled fine in 2.6 but all the devices in sysfs were wrong so i edited this file to follow the 2.6 naming convention

so here the patch is:
http://bat.ath.cx/vt1211-2.6.6-mm4.patch.gz
(also attatched to email)

enjoy!

latero

Aaron Theodore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vt1211-2.6.6-mm4.patch.gz
Type: application/x-gzip
Size: 6106 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040522/e701c69b/vt1211-2.6.6-mm4.patch.gz

#1 lore raw

Thanks aaron ,
your patch is working on my kernel.
But the values are strange :

vt1211-isa-6000

Adapter: ISA adapter
Algorithm: ISA algorithm
in0:       +1.87 V  (min =  +0.00 V, max =  +2.55 V)  
in1:       +1.95 V  (min =  +0.00 V, max =  +2.55 V)  
in2:       +1.15 V  (min =  +0.00 V, max =  +2.55 V)  
in3:       +1.89 V  (min =  +0.00 V, max =  +2.55 V)  
in4:       +2.03 V  (min =  +0.00 V, max =  +2.55 V)  
ERROR: Can't get IN5 data!
fan1:     4519 RPM  (min =    0 RPM, div = 2)         
fan2:        0 RPM  (min =    0 RPM, div = 2)         
temp2:    +187.0 C  (high =  +255 C, hyst =    +0 C)                    

! really high for Celsius
temp3: +107.2 C (high = +255 C, hyst = +0 C)
ERROR: Can't get TEMP4 data!
ERROR: Can't get TEMP5 data!
ERROR: Can't get TEMP6 data!
ERROR: Can't get TEMP7 data!

and if i do a sensors -f (fahrenheit)

vt1211-isa-6000

Adapter: ISA adapter
in0:       +1.87 V  (min =  +0.00 V, max =  +2.55 V)  
in1:       +1.95 V  (min =  +0.00 V, max =  +2.55 V)  
in2:       +1.15 V  (min =  +0.00 V, max =  +2.55 V)  
in3:       +1.89 V  (min =  +0.00 V, max =  +2.55 V)  
in4:       +2.03 V  (min =  +0.00 V, max =  +2.55 V)  
ERROR: Can't get IN5 data!
fan1:     4519 RPM  (min =    0 RPM, div = 2)         
fan2:        0 RPM  (min =    0 RPM, div = 2)         
temp2:    +368.6 F  (high =  +491 F, hyst =   +32 F)  
temp3:    +225.0 F  (high =  +491 F, hyst =   +32 F)  
ERROR: Can't get TEMP4 data!
ERROR: Can't get TEMP5 data!
ERROR: Can't get TEMP6 data!
ERROR: Can't get TEMP7 data!

Is it a configuration problem or something like that ?

Thks for all.

Nicolas