Gentoo Archives: gentoo-user

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: lm_sensors problem
Date: Mon, 13 Feb 2006 02:58:09
Message-Id: 200602130351.14879.harmgeerts@home.nl
In Reply to: [gentoo-user] lm_sensors problem by Allan Spagnol Comar
1 On Monday 13 February 2006 03:26, Allan Spagnol Comar wrote:
2 > Hi all,
3 >
4 > I had installed lm_sensors and kernel modules, now when I run sensors
5 > command I got:
6 >
7 > monstro ~ # sensors
8 > it8712-isa-0290
9 > Adapter: ISA adapter
10 > VCore 1: +1.41 V (min = +1.42 V, max = +1.57 V) ALARM
11 > VCore 2: +0.00 V (min = +2.40 V, max = +2.61 V) ALARM
12 > +3.3V: +6.53 V (min = +3.14 V, max = +3.46 V) ALARM
13 > +5V: +5.00 V (min = +4.76 V, max = +5.24 V)
14 > +12V: +11.84 V (min = +11.39 V, max = +12.61 V)
15 > -12V: -4.17 V (min = -12.63 V, max = -11.41 V) ALARM
16 > -5V: -13.64 V (min = -5.26 V, max = -4.77 V) ALARM
17 > Stdby: +4.89 V (min = +4.76 V, max = +5.24 V)
18 > VBat: +3.12 V
19 > fan1: 0 RPM (min = 0 RPM, div = 8)
20 > fan2: 0 RPM (min = 3013 RPM, div = 8) ALARM
21 > fan3: 6750 RPM (min = 3013 RPM, div = 8)
22 > M/B Temp: +35 C (low = +15 C, high = +40 C) sensor = thermistor
23 > CPU Temp: +40 C (low = +15 C, high = +45 C) sensor = thermistor
24 > Temp3: +27 C (low = +15 C, high = +45 C) sensor = thermistor
25 >
26 > how you all can see VCore2 is unavailable and -5 and -12 information
27 > seems to be switched,
28 >
29 > does anyone had a clue about it, I am running on a nvidia4 base
30 > motherboard.
31
32 You'll need to change some settings in /etc/sensors.conf for your sensor chip.
33 Your output seems a lot like mine with a default config so I'll paste the
34 relevant part of my config, I have a Asus A8N SLI-Deluxe with a
35 it8712-isa-0290.
36
37 After you've modified /etc/sensors.conf you need to run `sensors -s` for the
38 changes to take effect. You also need to run `sensors -s` after a reboot.
39 Unless you use the sensors init.d script you can add that command
40 to /etc/conf.d/local.start
41
42 # cat /etc/sensors.conf
43
44 chip "it87-*" "it8712-*"
45
46 # Modified for Asus A8N SLI-Deluxe
47
48 # Voltage monitors as advised in the It8705 data sheet
49
50 label in0 "VCore 1"
51 label in1 "VCore 2"
52 label in2 "+3.3V"
53 label in3 "+5V"
54 label in4 "+12V"
55 label in5 "-5V"
56 label in6 "-12V"
57 label in7 "Stdby"
58 label in8 "VBat"
59
60 # vid is not monitored by IT8705F
61 # comment out if you have IT8712
62 ignore vid
63 ignore in1
64
65 # Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
66 # to report the VCORE voltage approximately 0.05V higher than the board's
67 # BIOS does. Although it doesn't make much sense physically, uncommenting
68 # the next line should bring the readings in line with the BIOS' ones in
69 # this case.
70 # compute in0 -0.05+@ , @+0.05
71
72 # If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
73 # comment out following line.
74 # compute in2 2*@ , @/2
75 #
76 compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
77 compute in4 ((30/10) +1)*@ , @/((30/10) +1)
78 # For this family of chips the negative voltage equation is different from
79 # the lm78. The chip uses two external resistor for scaling but one is
80 # tied to a positive reference voltage. See ITE8705/12 datasheet (SIS950
81 # data sheet is wrong)
82 # Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
83 # Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
84
85 # The next two are negative voltages (-12 and -5).
86 # The following formulas must be used. Unfortunately the datasheet
87 # does not give recommendations for Rin, Rf, but we can back into
88 # them based on a nominal +2V input to the chip, together with a 4.096V Vref.
89 # Formula:
90 # actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
91 # For -12V input use Rin/Rf = 6.68
92 # For -5V input use Rin/Rf = 3.33
93 # Then you can convert the forumula to a standard form like:
94 compute in5 (7.67 * @) - 27.36 , (@ + 27.36) / 7.67
95 compute in6 (4.33 * @) - 13.64 , (@ + 13.64) / 4.33
96 #
97 # this much simpler version is reported to work for a
98 # Elite Group K7S5A board
99 #
100 # compute in5 -(36/10)*@, -@/(36/10)
101 # compute in6 -(56/10)*@, -@/(56/10)
102 #
103 compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
104
105 set in0_min 1.4 * 0.95
106 set in0_max 1.4 * 1.05
107 set in1_min 2.4
108 set in1_max 2.6
109 set in2_min 3.3 * 0.95
110 set in2_max 3.3 * 1.05
111 set in3_min 5.0 * 0.95
112 set in3_max 5.0 * 1.05
113 set in4_min 12 * 0.95
114 set in4_max 12 * 1.05
115 set in5_max -5 * 0.95
116 set in5_min -5 * 1.05
117 set in6_max -12 * 0.95
118 set in6_min -12 * 1.05
119 set in7_min 5 * 0.95
120 set in7_max 5 * 1.05
121 #the chip does not support in8 min/max
122
123 # Temperature
124 #
125 # Important - if your temperature readings are completely whacky
126 # you probably need to change the sensor type.
127 # Adujst and uncomment the appropriate lines below.
128 # The old method (modprobe it87 temp_type=0xXX) is no longer supported.
129 #
130 # 2 = thermistor; 3 = thermal diode; 0 = unused
131 # set sensor1 3
132 # set sensor2 3
133 # set sensor3 3
134 # If a given sensor isn't used, you will probably want to ignore it
135 # (see ignore statement right below).
136
137 label temp1 "CPU Temp"
138 set temp1_over 50
139 set temp1_low 15
140 label temp2 "MB Temp"
141 set temp2_over 45
142 set temp2_low 15
143 # ignore temp3
144 label temp3 "Temp3"
145 set temp3_over 40
146 set temp3_low 15
147
148 # The A7V8X-X has temperatures inverted, and needs a conversion for
149 # CPU temp. Thanks to Preben Randhol for the formula.
150 # label temp1 "CPU Temp"
151 # label temp2 "M/B Temp"
152 # compute temp1 (-15.096+1.4893*@), (@+15.096)/1.4893
153
154 # The A7V600 also has temperatures inverted, and needs a different
155 # conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
156 # label temp1 "CPU Temp"
157 # label temp2 "M/B Temp"
158 # compute temp1 (@+128)/3, (3*@-128)
159
160 # Fans
161 set fan1_min 0
162 set fan2_min 3000
163 ignore fan2
164 ignore fan3
165 set fan3_min 3000
166 --
167 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: lm_sensors problem Allan Spagnol Comar <allan.comar@×××××.com>