Gentoo Archives: gentoo-user

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

Replies

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