root/lm-sensors/tags/V3-0-1/doc/lm_sensors-FAQ.texi

Revision 4865, 64.3 kB (checked in by khali, 1 year ago)

lm-sensors should now be safe to use on Thinkpad laptops.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 \input texinfo.tex    @c -*-texinfo-*-
2
3 @c %**start of header
4 @setfilename lm_sensors-FAQ.info
5 @include version.texi
6 @settitle Sensors FAQ for lm_sensors version @value{VERSION}
7 @comment %**end of header
8
9 @titlepage
10 @center @titlefont{This is the FAQ for the @command{lm_sensors} program, @value{VERSION}}
11 @sp 3
12 @center Copyright (C) 1998 - 2005
13 @sp 1
14 @center Frodo Looijaard,
15 @center Philip Edelbrock,
16 @center Mark D. Studebaker,
17 @center and
18 @center Jean Delvare
19 @end titlepage
20
21 @ifhtml
22 Copyright (C) 1998 - 2005@*
23 Frodo Looijaard,@*
24 Philip Edelbrock,@*
25 Mark D. Studebaker@*
26 and@*
27 Jean Delvare@*
28 @end ifhtml
29
30 @dircategory Utilities
31 @direntry
32 * lm_sensors-FAQ: (lm_sensors-FAQ)           The lm_sensors FAQ
33 @end direntry
34
35 @summarycontents
36 @contents
37
38 @ifnottex
39 @node Top
40 @top lm_sensors
41
42 The lm_sensors package includes a collection of modules for general SMBus
43 access and hardware monitoring.  NOTE: this requires special support which
44 is not in standard 2.2-vintage kernels.
45
46 @end ifnottex
47
48 @menu
49 * Overview::                PC and Sensor Overview
50 * Basics::                  Sensor and Bus Basics
51 * Installation::            Installation and Management
52 * Problems::                Problems
53 * Help::                    How to Ask for Help
54 * Contribute::              How to Contribute
55 * Document Revisions::      Revision History of This Document
56 @end menu
57
58
59 @node Overview, Basics, Top, Top
60 @chapter PC and Sensor Overview
61
62 @menu
63 * Section 1.1::             What sensors are available on my PC?
64 * Section 1.2::             What can a sensor chip like the "LM78" do?
65 * Section 1.3::             Where do I find out more about any of these chips?
66 @end menu
67
68 @node Section 1.1, Section 1.2, , Overview
69 @section What sensors are available on my PC?
70
71 Most PC's built since late 1997 now come with a
72 hardware health monitoring chip. This chip may be accessed via the
73 ISA bus or the SMBus, depending on the motherboard.
74
75 Some motherboard chipsets, notably the Via 686 and the SiS 5595,
76 contain hardware monitor functions.
77
78 This FAQ frequently refers to the "LM78". This chip has been
79 obsoleted by National Semiconductor. Most motherboards today contain
80 a chip with similar functions.
81
82
83 @node Section 1.2, Section 1.3, Section 1.1, Overview
84 @section What can a sensor chip like the "LM78" do?
85
86 The LM78 is a chip made by National Semiconductor which can monitor 7
87 voltages (5 positive, 2 negative) from 0 to 4.08V.  The inputs are usually in
88 series with voltage dividers which lower the +/- 12V and +/- 5V supplies to
89 measurable range.  Therefore, the readings for such inputs need to be
90 re-scaled appropriately by software.
91
92 The LM78 also has 3 fan speed monitoring inputs, an internal
93 temperature sensor, a chassis intrusion sensor, and a couple maskable interrupt
94 inputs.  The LM78 can also relay the processor's (P6 or Pent II) VID lines
95 which are hardwired and used to indicate to the power regulator (usually on
96 the mainboard close to the processor socket/slot) what voltage to supply to
97 the processor.
98
99 The LM78 can be interfaced to a system via the ISA bus and/or the
100 SMBus.
101
102 Most other sensor chips have comparable functionality. Each supported
103 chip is documented in the @file{doc/chips} directory.
104
105
106 @node Section 1.3,  , Section 1.2, Overview
107 @section Where do I find out more about any of these chips?
108
109 Most semiconductor companies have comprehensive documentation,
110 including complete datasheets, on their websites. Analog Devices,
111 Dallas Semiconductor, Maxim, and National Semiconductor have the widest selection
112 of sensor chips. Their websites are:
113
114 @itemize @bullet
115   @item @uref{http://www.analog.com}
116   @item @uref{http://www.dalsemi.com}
117   @item @uref{http://www.maxim-ic.com}
118   @item @uref{http://www.national.com}
119 @end itemize
120
121 Please see the file @uref{http://www.lm-sensors.org/wiki/UsefulLinks}
122 for links to other companies' websites.
123
124
125
126 @node Basics, Installation, Overview, Top
127 @chapter Sensor and Bus Basics
128
129 @menu
130 * Section 2.1::             What sensors are available on my PC?
131 * Section 2.2::             What can a sensor chip like the "LM78" do?
132 * Section 2.3::             Where do I find out more about any of these chips?
133 * Section 2.4::             What sensors are available on my PC?
134 * Section 2.5::             What can a sensor chip like the "LM78" do?
135 * Section 2.6::             Where do I find out more about any of these chips?
136 @end menu
137
138
139 @node Section 2.1, Section 2.2, , Basics
140 @section How are these sensors read?
141
142 Sensor chips reside on either the ISA bus, the SMBus, or both.
143 See the file @file{doc/chips/SUMMARY} in our package for a list.
144
145 To communicate with chips on the ISA bus, the software uses
146 simple I/O reads and writes.
147
148 To communicate with chips on the SMBus, the software must
149 use an SMBus interface device, explained below.
150
151
152 @node Section 2.2, Section 2.3, Section 2.1, Basics
153 @section What is the SMBus? And the I2C bus?
154
155 The SMBus is the "System Management Bus".  More specifically, it is a
156 2-wire, low-speed serial communication bus used for basic health monitoring
157 and hardware management. It is a specific implementation of the more
158 general I2C (pronunciation: I-squared-C) bus. In fact, both I2C devices
159 and SMBus devices may be connected to the same (I2C) bus.
160
161 The SMBus (or I2C bus) starts at the host controller, used for
162 starting transactions on the SMBus.  From the host interface, the
163 devices communicated with are the @dfn{slave} devices.  Each slave device has a
164 unique 7-bit address which the host uses to refer to that device.
165
166 For each supported SMBus host, there is a separate kernel module
167 which implements the communication protocol with the host. Some SMBus hosts
168 really operate on the SMBus level; these hosts can not cope with pure I2C
169 devices. Other hosts are in fact I2C hosts: in this case, we implement
170 the SMBus protocol in terms of I2C operations. But these hosts can also
171 talk to pure I2C devices.
172
173
174 @node Section 2.3, Section 2.4, Section 2.2, Basics
175 @section I don't have an ISA bus!
176
177 We promise, you do, even if you don't have any old ISA slots.
178 The "ISA Bus" exists in your computer even if you don't have ISA slots;
179 it is simply a memory-mapped area, 64KB in size (0x0000 - 0xFFFF)
180 where many "legacy" functions, such as keyboard and interrupt controllers,
181 are found. It isn't necessarily a separate physical bus.
182 See the file @file{/proc/ioports} for a list of devices living on
183 the "ISA Bus" in your system. If you don't like the term "ISA Bus"
184 think "I/O Space".
185
186
187 @node Section 2.4, Section 2.5, Section 2.3, Basics
188 @section What sensors do processors have?
189
190 Most new processors contain a thermal diode on the die itself.
191 The electical properties of all diodes and transistors vary
192 slightly with temperature. The thermal diode is exceptionally accurate
193 because it is directly on the die. Newer temperature sensor chips,
194 like the Analog Devices ADM1021 and clones, and the Winbond chips,
195 have circuitry for measuring the the electrical properties of
196 an external diode and converting this data to a temperature.
197 Any sensor chip listed in @file{doc/chips/SUMMARY} in our package which
198 has support for more than one temperature supports external temperature sensing.
199
200 Older motherboards and processors without this feature generally use
201 an LM75 placed close to the processor. This is much less accurate.
202
203 The Pentium 2 'boxed' processor usually has an LM75 very close to the
204 base of the box. It can be read through the SMBus to report the approximate
205 temperature of the processor.  The processor also contains an internal
206 temperature sensor (of low accuracy) used as a fail-safe to disable the
207 processor in case it gets much too hot (usually around 130 degrees C).  And,
208 the Pentium 2 also has a hard-wired signal (VID lines) on it's SEC (single
209 edge connector) which indicates what power supply is required to operate the
210 processor.
211
212 The P6 (Pentium-Pro) may have an LM75 in or just under the socket.
213 P6's also have VID lines.
214
215 Pentiums and Pentium w/ MMX do not have VID lines, and sometimes have
216 LM75's under the sockets (depends on the mainboard, and how 'modern' the
217 mainboard is).
218
219 The P2 Xeon was the first Intel processor to include the SMBus
220 interface on the P2 Xeon SEC.
221
222
223 @node Section 2.5, Section 2.6, Section 2.4, Basics
224 @section How often are the sensor values updated?
225
226 The LM78, and most other sensor chips like it, reads its sensors one
227 by one. A complete scanning sweep will take about 1.5 seconds. The LM78 stops
228 readings sensors if you try to access it, so if you access it very often
229 (by reading sensor values; writing new limits is safe) it will not find the
230 time to update its sensor values at all! Fortunately, the kernel module takes
231 care not to do this, and only reads new values each 1.5 seconds. If you
232 read the values again, you will get the 'old' values again.
233
234
235 @node Section 2.6, , Section 2.5, Basics
236 @section How are alarms triggered?
237
238 It is possible to monitor each sensor and have an alarm go off if
239 it crosses some pre-determined limits.  There are two sorts of interrupts
240 which can be generated by sensor chips if this happens (it depends a bit on
241 the actual chip if both are supported; the LM80, for example, has only
242 IRQ interrupts): IRQ interrupts and SMI interrupts.  IRQ stands for
243 Interrupt Request and are the interrupt lines you can find in @file{/proc/interrupts}.
244 SMI stands for System Management Interrupt, and is a special interrupt which
245 puts the processor in a secure environment independent of any other things
246 running.  SMI is currently not supported by the Linux kernel.  IRQs are
247 supported, of course.
248
249 Even if no interrupt is generated, some bits in a status register
250 will be set until the register is read the next time. If the alarm condition
251 persists after that, the bits will be set on the next scanning sweep, etc.
252
253 Most drivers in our package do not support interrupts at this time.
254
255
256
257 @node Installation, Problems, Basics, Top
258 @chapter Installation and Management
259
260 @menu
261 * Section 3.1::     Why so many modules, and how do I cope with them?
262 * Section 3.2::     How do I know which chips I own?
263 * Section 3.3::     Which modules should I insert?
264 * Section 3.4::     Do I need the configuration file @file{/etc/sensors.conf}?
265 * Section 3.5::     What about the @samp{No such file or directory} warnings
266 * Section 3.6::     I get all kinds of weird compilation errors?
267 * Section 3.7::     It still does not compile or patch!
268 * Section 3.8::     @command{make install} fails on Mandrake kernels
269 * Section 3.9::     I get unresolved symbols when I @command{modprobe} modules
270 * Section 3.10::    I2C_DRIVERID_ADM1024 undefined (Red Hat especially)
271 @end menu
272
273 @node Section 3.1, Section 3.2, , Installation
274 @section Why so many modules, and how do I cope with them?
275
276 We tried to make this package as modular as possible. This makes it
277 easy to add new drivers, and unused drivers will take no precious kernel
278 space. On the other hand, it can be a bit confusing at first.
279
280 Here are two simple guidelines:
281 @itemize
282   @item Run @command{sensors-detect} and do what it tells you.
283   @item Always use @command{modprobe}, not @command{insmod}.
284 @end itemize
285
286 Further information is in @file{doc/modules}.
287
288
289 @anchor{How do I know which chips I own}
290 @node Section 3.2, Section 3.3, Section 3.1, Installation
291 @section How do I know which chips I own?
292
293 We have an excellent program that scans all your hardware.
294 It is called @file{sensors-detect} and is installed in @file{/usr/local/sbin}
295 by @command{make install}. Just execute this script, and it will tell you.
296
297 Chip detection in the drivers is fairly good. That means that it is
298 usually harmless to insert more chip drivers than you need. However, this
299 can still lead to problems, so we do not recommend it.
300
301 If sensors-detect didn't find any sensors, either you don't have
302 any, or the ones you have, we don't support. (Look at your motherboard
303 for candidates, then @pxref{Help})
304
305
306 @anchor{Section 3.2.1}
307 @subsection What chips are on motherboard XYZ?
308
309     @strong{!!!!!!!!! YES THIS IS THE MOST FREQUENT QUESTION WE GET !!!!!!!!!}
310
311 We have no idea. Here is what you should do:
312 @enumerate
313   @item Run sensors-detect.
314 @end enumerate
315
316 If that doesn't work:
317 @enumerate 2
318 @item Look at your motherboard.
319 @item Check the manufacturer's website or ask their support
320 @item Check the
321 @uref{http://www.lm-sensors.org/wiki/UsefulLinks, "links"}
322 page on @uref{http://www.lm-sensors.org, our website} some good cross-references.
323 @end enumerate
324
325
326 @anchor{Section 3.2.2}
327 @subsection Do you support motherboard XYZ?
328
329 We don't support boards, we support chips. @xref{Section 3.2.1, What chips are on motherboard XYZ}.
330
331
332 @anchor{Section 3.2.3}
333 @subsection Do you support chip XYZ?
334
335 This we have good answers for.
336 @itemize
337 @item Sorted by Manufacturer:   @file{README}
338 @item Sorted by Manufacturer:   @uref{http://www.lm-sensors.org/wiki/Devices}
339 @item Sorted by Sensor Driver:  @file{doc/chips/SUMMARY}
340 @end itemize
341
342
343 @anchor{Section 3.2.4}
344 @subsection Anybody working on a driver for chip XYZ?
345
346 Newest Driver Status: @uref{http://www.lm-sensors.org/wiki/Devices}
347
348
349 @node Section 3.3, Section 3.4, Section 3.2, Installation
350 @section Which modules should I insert?
351
352 @command{sensors-detect} will tell you. Take the @command{modprobe} lines it
353 recommends and paste them into the appropriate @file{/etc/rc.d/xxxx} file
354 to be executed at startup.
355
356 You need one module for each sensor chip and bus adapter you own;
357 if there are sensor chips on the ISA bus, you also need @file{i2c-isa.o}.
358 for each type of chip you own. That's all. On my computer, I could use the
359 following lines:
360 @itemize
361 @item @command{modprobe i2c-isa}
362 @item @command{modprobe i2c-piix4}
363 @item @command{modprobe lm78}
364 @item @command{modprobe lm75}
365 @item @command{modprobe i2c-dev}
366 @item @command{sensors -s}
367 @end itemize
368
369
370 @node Section 3.4, Section 3.5, Section 3.3, Installation
371 @section Do I need the configuration file @file{/etc/sensors.conf}?
372
373 Yes, for any applications that use @file{libsensors,} including the
374 @command{sensors} application included in our package.
375 It tells libsensors how to translate the values the chip
376 measures to real-world values. This is especially important for voltage
377 inputs. The default configuration file should usually do the trick.
378 It is automatically installed as @file{/etc/sensors.conf}, but it will not
379 overwrite any existing file with that name.
380
381
382 @anchor{Section 3.4.1}
383 @subsection The labels for the voltage and temperature readings in @command{sensors} are incorrect!
384
385 Every motherboard is different. You can customize the labels
386 in the file @file{/etc/sensors.conf}. That's why it exists!
387 The default labelling (in @file{lib/chips.c} and @file{/etc/sensors.conf}) is just
388 a template.
389
390
391 @anchor{Section 3.4.2}
392 @subsection The min and max for the readings in @command{sensors} are incorrect!
393
394 You can customize them in the file @file{/etc/sensors.conf}. See above.
395
396
397 @anchor{Section 3.4.3}
398 @subsection The min and max settings in @file{/etc/sensors.conf} didn't take effect!
399
400 You forgot to run @command{sensors -s}. See above.
401
402
403 @anchor{Section 3.4.4}
404 @subsection One sensor isn't hooked up on my board!
405
406 Use an @command{ignore} line in @file{/etc/sensors.conf} so it isn't
407 displayed in @command{sensors}.
408
409
410 @anchor{Section 3.4.5}
411 @subsection I need help with @file{sensors.conf}!
412
413 There is detailed help at the top of that file.
414
415
416 @anchor{Section 3.4.6}
417 @subsection Do you have a database of @file{sensors.conf} entries for specific boards?
418
419 No. Good idea though. If you would like to set one up on your website
420 send us mail and we will set up a link to it.
421
422
423 @node Section 3.5, Section 3.6, Section 3.4, Installation
424 @section What about the @samp{No such file or directory} warnings when I compile?
425
426 Don't worry about them. The dependency files (which tell which
427 files should be recompiled when certain files change) are created
428 dynamically. They are not distributed with the package. The @command{make} program
429 notices they are not there, and warns about that - and the first thing
430 it will do is generate them. So all is well.
431
432
433 @node Section 3.6, Section 3.7, Section 3.5, Installation
434 @section I get all kinds of weird compilation errors?
435
436 Check that the correct i2c header files are used. Depending on
437 how you installed, they should be under either @file{/usr/local/include} or
438 @file{/usr/src/linux*/include}. Try to edit the @file{Makefile} for the other setting.
439
440
441 @anchor{Section 3.6.1}
442 @subsection @samp{No rule to make target xxxx needed by xxxx} - how to fix?
443
444 @itemize
445 @item @xref{Section 3.6, I get all kinds of weird compilation errors}, also try @command{make clean} in @file{lm_sensors}.
446 @item If that doesn't work, try @command{make clean} in @file{i2c}.
447 @item If that doesn't work, try @command{make clean} in the kernel.
448 @item Also make sure @file{/usr/include/linux} points to @file{/usr/src/linux/include/linux}.
449 @end itemize
450
451
452 @node Section 3.7, Section 3.8, Section 3.6, Installation
453 @section It still does not compile or patch!
454
455 Have you installed the matching version of the i2c package? Remember,
456 compilation is not enough, you also need to install it for the header
457 files to be found!
458
459 If you want to patch the kernel, you will have to apply the i2c
460 patches first!
461
462
463 @node Section 3.8, Section 3.9, Section 3.7, Installation
464 @section @command{make install} fails on Mandrake kernels
465
466 Mandrake uses a non-standard @file{version.h} file which confuses our @file{Makefile}.
467 Edit our @file{Makefile} on the @code{MODDIR :=} line to hard-code the module directory.
468
469
470 @node Section 3.9, Section 3.10, Section 3.8, Installation
471 @section I get unresolved symbols when I @command{modprobe} modules (Red Hat especially)
472
473 Example:
474 @example
475 *** Unresolved symbols in /lib/modules/2.4.5/kernel/drivers/i2c/i2c-i810.o
476 i2c_bit_add_bus_R8c3bc60e
477 i2c_bit_del_bus_R92b18f49
478 @end example
479
480 You can also run @command{depmod -a -e} to see all unresolved symbols.
481
482
483 These are module versioning problems. Generally you did not compile
484 against the kernel you are running. Sometimes the Red Hat source you
485 have is not for the kernel you are running.
486 You must compile our package against the source for the kernel you
487 are running with something like @command{make LINUX=/usr/src/linux-2.4.14}.
488
489
490 Try the following to be sure:
491
492 @itemize
493 @item @command{nm --extern MODULE.o}
494 Filter out the kernel symbols, like @code{kmalloc}, @code{printk} etc. and note the
495 number code behind them, like @code{printk_R1b7d4074}. If there is no numeric
496 code after them, note this too.
497 @item @command{grep SYMBOL /proc/ksyms}
498 Substitute SYMBOL by the basename of the symbols above, like @code{kmalloc},
499 @code{printk} etc. Note the number code behind them, or the lack thereof.
500 @item Compare both sets of symbols. Are they the same? If so, the problem
501 lies somewhere else. Are they different? If so, you have a module
502 versioning problem.
503 @end itemize
504
505
506 @node Section 3.10, , Section 3.9, Installation
507 @section I2C_DRIVERID_ADM1024 undefined (Red Hat especially)
508
509 In some versions of Redhat, an RPM is included to provide i2c support.
510 However, this RPM does not place the header files in the kernel directory
511 structure.  When you update kernels, they may persist.  To get rid of
512 these obsolete header files, at a command prompt:
513
514 @enumerate
515 @item @command{rpm -qa | grep i2c}
516 @item Look for @file{kernel-i2c,} or a similar rpm in the output
517 @item <as root>
518 @command{rpm -ev kernel-i2c} (or the name of the similar package)
519 If this complains about dependencies, you can try adding
520 @command{--nodeps}, but this *MAY* break something else.  Not likely,
521 as you have upgraded kernels, and nothing should be using the
522 old i2c stuff anymore anyway.  Just don't use it with abandon.
523 @item Try (in the build directory of @file{lm_sensors)}
524 @example
525 @command{make clean}
526 @command{make}
527 @end example
528 @item @emph{If} you still have problems, you may have to replace the include
529 paths in the @file{.c/.h} files with absolute paths to the header files.
530 More of a workaround than a real fix, but at least you can get it
531 to work.
532 @end enumerate
533
534
535 @node Problems, Help, Installation, Top
536 @chapter Problems
537
538 @menu
539 * Section 4.1::         My fans report exactly half/double their values?
540 * Section 4.2::         Why do my two LM75's report "-48 degrees"?
541 * Section 4.3::         Why do I have two Vcore readings?
542 * Section 4.4::         How do those ALARMS work?
543 * Section 4.5::         My voltage readings seem to drift a bit. What's wrong?
544 * Section 4.6::         Some measurements are way out of range. What happened?
545 * Section 4.7::         What are VID lines? Why is the VID reading wrong?
546 * Section 4.8::         Sensor are only updated each second or so. Why?
547 * Section 4.9::         It takes a second before reading sensor results. Why?
548 * Section 4.10::        Can I be alerted when an ALARM occurs?
549 * Section 4.11::        SMBus transactions on my PIIX4 simply don't work. Why?
550 * Section 4.12::        My BIOS reports a higher CPU temperature than you!
551 * Section 4.13::        I read strange values from the raw @file{/proc} files!
552 * Section 4.14::        How do I set new limits?
553 * Section 4.15::        Some sensors are doubly detected?
554 * Section 4.16::        I ran sensors-detect, but now I get strange readings?!
555 * Section 4.17::        Bad readings from particular chips
556 * Section 4.18::        How do I configure two chips (LM87) differently?
557 * Section 4.19::        Dmesg says @samp{Upgrade BIOS}! I don't want to!
558 * Section 4.20::        Sensors says @samp{Can't access procfs/sysfs file}
559 * Section 4.21::        Sensors says @samp{No sensors found!}
560 * Section 4.22::        Sensors output is not correct!
561 * Section 4.23::        What is at I2C address XXX?
562 * Section 4.24::        Sensors-detect doesn't work at all
563 * Section 4.25::        Sensors says @samp{Error: Line xxx: zzzzzzz}
564 * Section 4.26::        Sensors only gives the name and adapter!
565 * Section 4.27::        Sensors says @samp{ERROR: Can't get xxxxx data!}
566 * Section 4.28::        Sensors doesn't find any sensors, just eeproms.
567 * Section 4.29::        Inserting modules hangs my board
568 * Section 4.30::        Inserting modules slows down my board
569 * Section 4.31::        Problems on particular motherboards
570 * Section 4.32::        Problems on 2.6 kernels
571 @end menu
572
573
574 @node Section 4.1, Section 4.2, , Problems
575 @section My fans report exactly half/double their values compared to the BIOS?
576
577 The problem with much of the sensor data is that it is impossible to
578 properly interpret some of the readings without knowing what the hardware
579 configuration is.  Some fans report one 'tick' each rotation, some report
580 two 'ticks' each rotation. It is easy to resolve this through the
581 configuration file @file{/etc/sensors.conf}:
582
583 @example
584 chip lm78-*             # Or whatever chip this relates to
585 compute fan1 2*@@,@@/2    # This will double the fan1 reading
586                         # -- or --
587 compute fan1 @@/2,2*@@    # This will halve the fan1 reading
588 @end example
589
590 See @file{doc/fan-divisors} in our package for further information.
591
592
593 @anchor{Fans sometimes/always read 0!}
594 @subsection Fans sometimes/always read 0!!
595
596 You may not have a three-wire fan, which is required.
597
598 You may need to increase the 'fan divisor'. See @file{doc/fan-divisors}
599 in our package for further information.
600
601
602 @anchor{I doubled the fan divisor and the fan still reads 7000}
603 @subsection I doubled the fan divisor and the fan still reads 7000!
604
605 Believe it or not, doubling the 'fan divisor' will not halve
606 the fan reading. You have to add a compute line in @file{/etc/sensors.conf}.
607 @xref{Section 4.1, My fans report exactly half/double their values compared to the BIOS},
608 and see @file{doc/fan-divisors} in our package for further information.
609
610
611 @node Section 4.2, Section 4.3, Section 4.1, Problems
612 @section Why do my two LM75's report "-48 degrees"?
613
614 For starters, those aren't LM75's.  Your mainboard actually has the
615 Winbond W83781D which emulates two LM75's, but many systems which use the
616 Winbond chip (such as the Asus P2B) don't have the thermo-resisters connected
617 to the chip resulting in these strange -48 degree readings.
618
619 In upcoming versions, you will be able to disable non-interesting
620 readings.
621
622
623 @node Section 4.3, Section 4.4, Section 4.2, Problems
624 @section Why do I have two Vcore readings, I have only one processor!
625
626 The LM78 has seven voltage sensors. The default way of
627 connecting them is used in the configuration file. This includes a VCore2,
628 even if you do not have one. You can easily edit the configuration file
629 to give it another name, or make this reading disappear using
630 an @command{ignore} line.
631
632 Note that Vcore2 is often the same as Vcore on motherboards which
633 only support one processor. Another possibility is that Vcore2 is not
634 connected at all and will not have a valid reading at all.
635 A third possibility, is that Vcore2 monitors something
636 else, so you should not be too surprised if the values are completely
637 different.
638
639
640 @node Section 4.4, Section 4.5, Section 4.3, Problems
641 @section How do those ALARMS work? The current value is within range but there is still an ALARM warning!
642
643 The ALARM indications in @command{sensors} are those reported by the
644 sensor chip itself. They are NOT calculated by @command{sensors}. @command{sensors}
645 simply reads the ALARM bits and reports them.
646
647 An ALARM will go off when a minimum or maximum limit is crossed.
648 The ALARM is then latched - that is, it will stay there until the
649 chip's registers are next accessed - which will be the next time
650 you read these values, but not within (usually) 1.5 seconds since the last
651 update.
652
653 Reading the registers clears the ALARMS, unless the current
654 value is still out of range.
655
656 The purpose of this scheme is to tell you if there has been
657 a problem and report it to the user. Voltage or temperature spikes
658 get detected without having to read the sensor chip hundreds of times
659 a second. The implemetation details depend a bit on the kind of chip.
660 See the specific chip documentation in @file{doc/chips} and the
661 chip datasheet for more information.
662
663
664 @node Section 4.5, Section 4.6, Section 4.4, Problems
665 @section My voltage readings seem to drift a bit. Is something wrong?
666
667 No, probably not. If your motherboard heats up a bit, the sensed
668 voltages will drift a bit. If your power supply is loaded (because a disk
669 gets going, for example), the voltages may get a bit lower. Heavy
670 processor activity, in particular, dramatically increases core voltage
671 supply load which will often cause variation in the other supplies.
672 As long as they stay within a sensible range (say 5% of the nominal value
673 for CPU core voltages, and 10% for other voltages), there is no
674 reason to worry.
675
676
677 @node Section 4.6, Section 4.7, Section 4.5, Problems
678 @section Some measurements are way out of range. What happened?
679
680 Each module tries to set limits to sensible values on initialization,
681 but a module does not know how a chip is actually connected. This is
682 described in the configuration file, which is not read by kernel modules.
683 So limits can be strange, if the chip is connected in a non-standard way.
684
685 Readings can also be strange; there are several reasons for this.
686 Temperature sensors, for example, can simply not be present, even though
687 the chip supports them. Also, it can be that the input is used in a
688 non-standard way. You can use the configuration file to describe how this
689 measurement should be interpreted; see the comments the example file for
690 more information.
691
692 @anchor{-5V and -12V readings are way out of range!}
693 @subsection -5V and -12V readings are way out of range!
694
695 It's very frequent that negative voltage lines are not wired because
696 motherboard manufacturers don't think they're worth monitoring
697 (they are mostly unused these days). You can just add
698 @command{ignore inN} lines to @file{/etc/sensors.conf} to hide them.
699
700 Another possibility is that these lines are used to monitor different
701 voltages. Only the motherboard manufacturer can tell for sure. Taking
702 a look at what voltage values the BIOS displays may provide valuable
703 hints though.
704
705
706 @node Section 4.7, Section 4.8, Section 4.6, Problems
707 @section What are VID lines? Why is the VID reading wrong?
708
709 These describe the core voltage for your processor. They are
710 supported for most processors, however they are not always
711 correctly connected to the sensor chip, so the readings may be invalid.
712 A reading of 0V, +3.5V or +2.05V is especially suspect.
713 If this is the case, add a line @command{ignore vid} to @file{/etc/sensors.conf},
714 and change the min and max settings for the Processor Core voltage
715 (often in0_min and in0_max) in that file so that they don't depend on vid.
716
717 The CPU nominal voltage is computed from VID lines according to a formula
718 that depends on the CPU type. Since Linux 2.6.9, the right formula is
719 selected automatically.
720 See @file{doc/vid} for more information.
721
722
723 @node Section 4.8, Section 4.9, Section 4.7, Problems
724 @section I read sensor values several times a second, but they are only updated only each second or so. Why?
725
726 If we would read the registers more often, it would not find the
727 time to update them. So we only update our readings once each 1.5 seconds
728 (the actual delay is chip-specific; for some chips, it may not be needed
729 at all).
730
731
732 @node Section 4.9, Section 4.10, Section 4.8, Problems
733 @section It sometimes seems to take almost a second before I see the sensor reading results. Why?
734
735 ISA bus access is fast, but SMBus access is really slow. If you have
736 a lot of sensors, it just takes a lot of time to access them. Fortunately,
737 this has almost no impact on the system as a whole, as another job can run
738 while we are waiting for the transaction to finish.
739
740
741 @node Section 4.10, Section 4.11, Section 4.9, Problems
742 @section Can I be alerted when an ALARM occurs?
743
744 No, you can't; and it may well be never supported.
745
746 Almost no mainboard we have encountered have actually connected the
747 IRQ-out pin of sensor chips. That means that we could enable IRQ reporting, but
748 nothing would happen. Also, even if a motherboard has it connected, it is
749 unclear what interrupt number would be triggered. And IRQ lines are a scarce
750 facility, which means that almost nobody would be able to use it anyway.
751
752 The SMI interrupt is only available on a few types of chips. It is
753 really a very obscure way to handle interrupts, and supporting it under Linux
754 might be quite hard to do.
755
756 Your best bet would be to poll the alarm file with a user-land daemon
757 which alerts you if an alarm is raised. I am not aware of any program which
758 does the job, though you might want to examine one of the graphical monitor
759 programs under X, see @uref{http://www.lm-sensors.org/wiki/UsefulLinks} for addresses.
760
761
762 @node Section 4.11, Section 4.12, Section 4.10, Problems
763 @section SMBus transactions on my PIIX4 simply don't work (timeouts happen).  Why?
764
765 Some chips which mainboard makers connect to the SMBus are not SMBus
766 devices.  An example is the 91xx clock generator chips.  When read, these
767 devices can lock up the SMBus until the next hard reboot.  This is because
768 they have a similar serial interface (like the I2C), but don't conform to
769 Intel's SMBus standard.
770
771 Why did they connect these devices to the SMBus if they aren't
772 compatible?  Good question! :')  Actually, these devices may support being
773 written to, but lock things up when they are read.
774
775
776 @node Section 4.12, Section 4.13, Section 4.11, Problems
777 @section My BIOS reports a much higher CPU temperature than your modules!
778
779 We display the actual temperature of the sensor. This may not be the
780 temperature you are interested in, though.  If a sensor should measure
781 the CPU temperature, it must be in thermal contact with it.  In practice,
782 it may be just somewhere nearby. Your BIOS may correct for this (by adding,
783 for example, thirty degrees to the measured temperature).  The correction
784 factor is regrettably different for each mainboard, so we can not do this
785 in the module itself. You can do it through the configuration file, though:
786
787 @example
788 chip lm75-*-49                      # Or whatever chip this relates to
789 label temp "Processor"
790 compute temp @@*1.2+13,(@@-13)/1.2    # Or whatever formula
791 @end example
792
793 However, the offset you are introducing might not be necessary. If you
794 tried to have Linux idle temperature and BIOS "idle" temperature match,
795 you may be misguided.
796 We have a Supermicro (370DLE) motherboard and we know
797 that its BIOS has a closed, almost undelayed while(1) loop that
798 keeps the CPU busy all the time. Linux reads 26 degrees idle, BIOS reads
799 38 degrees. Linux at full load is in the 35-40 degrees range so this
800 makes sense.
801
802 @node Section 4.13, Section 4.14, Section 4.12, Problems
803 @section I try to read the raw @file{/proc} files, but the values are strange?!?
804
805 Remember, these values do not take the configuration file
806 @file{compute} lines in account. This is especially obvious for voltage readings
807 (usually called in? or vin?). Use a program linked to libsensors (like
808 the provided @command{sensors} program) instead.
809
810
811 @node Section 4.14, Section 4.15, Section 4.13, Problems
812 @section How do I set new limits?
813
814 Change the limit values in @file{/etc/sensors.conf} and then run
815 @command{sensors -s}.
816
817
818 @anchor{I set new limits and it didnt work}
819 @subsection  I set new limits and it didn't work?
820
821 You forgot to run @command{sensors -s}. Put it in a @file{/etc/rc.d/...} file
822 after the modprobe lines to run at startup.
823
824
825 @node Section 4.15, Section 4.16, Section 4.14, Problems
826 @section Some sensors are doubly detected?
827
828 Yes, this is still a problem. It is partially solved by alias detection
829 and confidence values in sensors-detect, but it is really tough.
830
831 Double detections can be caused by two things:
832 sensors can be detected to both the ISA and the SMBus (and if you have
833 loaded the approprate adapter drivers, it will be detected on both), and
834 some chips simulate other chips (the Winbond W83781D simulates LM75 chips
835 on the SMBus, for example). Remove the offending adapter or chip driver, or
836 run sensors-detect and add the @command{ignore=} modprobe parameters it suggests.
837
838
839 @node Section 4.16, Section 4.17, Section 4.15, Problems
840 @section I ran sensors-detect, but now I get very strange readings?!?
841
842 Your SMBus (PIIX4?) is probably crashed or hung. There are some mainboards
843 which connect a clock chip to the SMBus. Unfortunately, this clock chip
844 hangs the PIIX4 if it is read (it is an I2C device, but not SMBus compatible).
845 We have found no way of solving this, except for rebooting your computer.
846 Next time when you run sensors-detect, you may want to exclude addresses
847 0x69 and/or 0x6a, by entering @kbd{s} when you are asked whether you want to
848 scan the PIIX4.
849
850
851 @node Section 4.17, Section 4.18, Section 4.16, Problems
852 @section Bad readings from particular chips
853
854 See below for some particularly troublesome chips.
855 Also be sure and check @file{doc/chips/xxxxx} for the particular driver.
856
857
858 @anchor{Bad readings from the AS99127F}
859 @subsection Bad readings from the AS99127F!
860
861 The Asus AS99127F is a modified version of the Winbond W83781D.
862 Asus will not release a datasheet. The driver was developed by tedious
863 experimentation. We've done the best we can. If you want to make adjustments
864 to the readings please edit @file{/etc/sensors.conf.} Please don't ask us to
865 fix the driver. Ask Asus to release a datasheet.
866
867
868 @anchor{Bad readings from the VIA 686A}
869 @subsection Bad readings from the VIA 686A!
870
871 The Via 686A datasheet is incomplete.
872 Via will not release details. The driver was developed by tedious
873 experimentation. We've done the best we can. If you want to make adjustments
874 to the readings please edit @file{/etc/sensors.conf.} Please don't ask us to
875 fix the driver. Ask Via to release a better datasheet.
876 Also, don't forget to @command{modprobe i2c-isa}.
877
878
879 @anchor{Bad readings from the MTP008}
880 @subsection Bad readings from the MTP008!
881
882 The MTP008 has programmable temperature sensor types.
883 If your sensor type does not match the default, you will have to change it.
884 See @file{doc/chips/mtp008} for details.
885 Also, MTP008 chips seem to randomly refuse to respond, for
886 unknown reasons. You can see this as 'XX' entries in i2cdump.
887
888
889 @anchor{Bad temperature readings from the SIS5595}
890 @subsection Bad temperature readings from the SIS5595!
891
892 This chip can use multiple thermistor types and there are also
893 two different versions of the chip. We are trying to get the driver
894 working better and develop formulas for different thermistors
895 but we aren't there yet. Sorry.
896 Also, many times the chip isn't really a sis5595 but it was
897 misidentified. We are working on improving that too.
898
899
900 @anchor{Bad readings from a w8378[12]d}
901 @subsection Bad readings from a w8378[12]d!
902
903 Do you own an ASUS motherboard?  Perhaps your chip is being
904 misidentified.  Look on the motherboard for a 'Winbond' or Asus chip.
905 Often the real device is an Asus as99127f. If so, the driver can be
906 forced to recognize the as99127f with
907 @command{force_as99127f=BUS,0x2d} where @code{BUS} is your i2c bus number.
908 Cat /proc/bus/i2c to see a list of bus numbers.
909 Read the w83781d module documentation (@file{doc/chips/w83781d})
910 for more details.
911
912
913 @anchor{Bus hangs on Ali 1543 on Asus P5A boards}
914 @subsection Bus hangs on Ali 1543 on Asus P5A boards!
915
916 The SMBus tends to hang on this board and it seems to get worse
917 at higher temperatures. Use ISA accesses to reliably use the w83781d
918 monitor chip on this board and use the @command{ignore=1,0x2d} or similar option
919 to the w83781d module to prevent i2c accesses.
920
921
922 @anchor{Bad readings from LM75}
923 @subsection Bad readings from LM75!
924
925 The LM75 detection is poor and other hardware is often misdetected
926 as an LM75. Figure out what you really have @xref{Section 3.2.1, What chips are on motherboard XYZ}.
927
928
929 @anchor{Bad readings from LM78}
930 @subsection Bad readings from LM78!
931
932 The LM78 is no longer manufactured by National Semiconductor.
933 You probably don't have a real LM78 but something similar that we
934 do not recogize or support. Figure out what you really have @xref{Section 3.2.1, What chips are on motherboard XYZ}.
935
936
937 @anchor{Bad readings from LM80}
938 @subsection Bad readings from LM80!
939
940 The LM80 detection is poor and other hardware is often misdetected
941 as an LM80. Figure out what you really have @xref{Section 3.2.1, What chips are on motherboard XYZ}.
942
943
944 @node Section 4.18, Section 4.19, Section 4.17, Problems
945 @section How do I configure two chips (LM87) differently?
946
947 There is a SuperMicro board with two LM87's on it that are
948 not hooked up in the same way, so they need different defaults.
949 For example, both CPU temperatures go to one LM87.
950
951 Make two different sections in @file{/etc/sensors.conf} as follows:
952 @example
953 chip "lm87-i2c-*-2c"
954     put configuration for the chip at 0x2c here
955 chip "lm87-i2c-*-2d"
956     put configuration for the chip at 0x2d here
957 @end example
958
959 There is a commented example in @file{sensors.conf.eg} which should
960 be helpful.
961
962
963 @node Section 4.19, Section 4.20, Section 4.18, Problems
964 @section Dmesg says @samp{Upgrade BIOS}! I don't want to!
965
966 If the problem is a PCI device is not present in @command{lspci}, the solution
967 is complex. For the ALI M7101 device, there is a solution which uses the
968 2.4 kernel's @command{hotplug} facility. See @file{prog/hotplug} in our package.
969 For other PCI devices, you can try to modify
970 the m7101 solution in @file{prog/hotplug}.
971
972
973 If dmesg says @samp{try force_addr}, see below. Other drivers generally do not
974 support the force_addr parameter. Sorry. Check the documentation
975 for your driver in @file{doc/[chips,busses]} and if we don't support it
976 you can send us your request.
977
978
979 @anchor{Dmesg says use force_addr=0xaddr! What address do I use}
980 @subsection Dmesg says @samp{use force_addr=0xaddr}! What address do I use?
981
982 If the problem is a PCI device whose base address is not set,
983 you may be able to set the address with a force parameter. The via686a
984 and sis5595 chip drivers, and some bus drivers, support the command line
985 @command{modprobe via686a force_addr=0xADDRESS} where ADDRESS
986 is the I/O address. You must select an address that is not in use.
987 @command{cat @file{/proc/ioports}} to check (carefully) for conflicts. A high number like
988 0xf000 is generally safe.
989
990
991 @node Section 4.20, Section 4.21, Section 4.19, Problems
992 @section Sensors says @samp{Can't access procfs/sysfs file}
993
994 @itemize
995 @item Linux 2.6
996 @itemize
997 @item Did you @command{modprobe i2c_sensor}? Check @command{lsmod}.
998 @item Do you have sysfs support in your kernel and @file{/sys} mounted (is @file{/sys} there and populated)?
999 Create /sys with @command{mkdir /sys} if needed. Then add the following line to @file{/etc/fstab}:
1000 @example
1001 sys              /sys             sysfs       default          0   0@end example
1002 and @command{mount /sys}.
1003 @end itemize
1004 @item Linux 2.4
1005 @itemize
1006 @item Did you @command{modprobe i2c-proc}? Check @command{lsmod}.
1007 @item Do you have procfs support in your kernel and @file{/proc} mounted (is @file{/proc} there and populated)?
1008 Create /proc with @command{mkdir /proc} if needed. Then add the following line to @file{/etc/fstab}:
1009 @example
1010 proc             /proc            proc        defaults         0   0@end example
1011 and @command{mount /proc}.
1012 @end itemize
1013 @item If you did @command{sensors -s}, did you run it as root?
1014 @end itemize
1015
1016
1017 @node Section 4.21, Section 4.22, Section 4.20, Problems
1018 @section Sensors says @samp{No sensors found!}
1019
1020 @itemize
1021 @item Did @command{sensors-detect} find sensors? (If not @pxref{Sensors-detect doesnt find any sensors})
1022 @item Did you do what @command{sensors-detect} said?
1023 @item Did you @command{modprobe} your sensor modules?
1024 @item Did you @command{modprobe} your I2C adapter modules?
1025 @item Did you @command{modprobe i2c-isa} if you have ISA sensor chips?
1026 @item Check @command{lsmod}.
1027 @end itemize
1028
1029
1030 @node Section 4.22, Section 4.23, Section 4.21, Problems
1031 @section Sensors output is not correct!
1032
1033     What specifically is the trouble?
1034 @itemize
1035 @item Labels: @xref{Section 3.4.1, The labels for the voltage and temperature readings in sensors are incorrect}.
1036 @item Min/max readings: @xref{Section 3.4.2, The min and max for the readings in sensors are incorrect}, and @xref{Section 3.4.3, The min and max settings didnt take effect}.
1037 @item AS99127F: @xref{Section 4.16, I ran sensors-detect but now I get very strange readings?}.
1038 @item Via 686A: @xref{Section 4.16, I ran sensors-detect but now I get very strange readings?}.
1039 @item Other specific chips: @xref{Section 4.16, I ran sensors-detect but now I get very strange readings?}.
1040 @item No output for a particular sensors chip: @xref{Section 5.3, What to do if it inserts but nothing happens}.
1041 @item No output at all: @xref{Section 4.21, Sensors says No sensors found}, @xref{Section 5.3, What to do if it inserts but nothing happens}.
1042 @item Completely bad output for a particular sensor chip: @xref{Section 5.4, What to do if I read only bogus information}.
1043 @item One particular sensor readings:
1044 @itemize
1045 @item Maybe it isn't hooked up? - tell 'sensors' to ignore it. @xref{Section 3.4.4, One sensor isnt hooked up on my board}.
1046 @item Maybe it is hooked up differently on your motherboard? - adjust @file{sensors.conf} calculation.
1047 @end itemize
1048 @end itemize
1049
1050 @node Section 4.23, Section 4.24, Section 4.22, Problems
1051 @section What is at I2C address XXX?
1052
1053 In general, we don't know. Start by running @command{sensors-detect}.
1054 If it doesn't recognize it, try running @command{i2cdump}. A partial list
1055 of manufacturers' IDs are at the bottom of @file{doc/chips/SUMMARY}.
1056
1057
1058 @anchor{What is at I2C address 0x69}
1059 @subsection What is at I2C address 0x69?
1060
1061 A clock chip. Often, accessing these clock chips in the wrong
1062 way will instantly crash your computer. Sensors-detect carefully
1063 avoids these chips, and you should do too.  You have been warned.
1064
1065
1066 @anchor{What is at I2C addresses 0x50 - 0x57}
1067 @subsection What is at I2C addresses 0x50 - 0x57?
1068
1069 EEPROMs on your SDRAM DIMMs. Load the eeprom module and use the script
1070 @command{decode-dimms.pl} (in the i2c-tools package)
1071 to get more information than you ever wanted.
1072
1073
1074 @anchor{What is at I2C addresses 0x30 - 0x37}
1075 @subsection What is at I2C addresses 0x30 - 0x37?
1076
1077 These are often 'shadows' of your EEPROMs on your SDRAM DIMMs
1078 at addresses 0x50 - 0x57. They are the 'software write-protect'
1079 registers of the SDRAM Serial Presence Detect EEPROMs.
1080 If you try and
1081 do a @command{i2cdump} on them to read the location, you won't get anything,
1082 because they contain a single write-only register.
1083 This register can be used to permanently
1084 write-protect the contents of the eeprom.
1085
1086
1087 @node Section 4.24, Section 4.25, Section 4.23, Problems
1088 @section Sensors-detect doesn't work at all
1089
1090 It could be many things. What was the problem? @xref{Section 4.31, Problems on particular motherboards}.
1091
1092
1093 @anchor{Sensors-detect says "Couldnt open /proc/bus/i2c?!?"}
1094 @subsection Sensors-detect says "Couldn't open /proc/bus/i2c?!?"
1095
1096 You don't have i2c support in your kernel, or the i2c-core module
1097 was not loaded and you did not run sensors-detect as root.
1098
1099
1100 @anchor{Sensors-detect says "Cant open /dev/i2c[-/]0"}
1101 @subsection Sensors-detect says "Can't open /dev/i2c[-/]0"
1102
1103 Your @file{/dev/i2c-0,} @file{/dev/i2c0}, or @file{/dev/i2c/0} files do not exist
1104 or you did not run @command{sensors-detect} as root.
1105 Use @command{MAKEDEV} or @command{mknod} to create the @file{/dev/i2c-x} files.
1106 Run @command{devfs} in the kernel to get the @file{/dev/i2c/x} files.
1107
1108
1109 @anchor{Sensors-detect doesnt find any sensors}
1110 @subsection Sensors-detect doesn't find any sensors!
1111
1112 Either
1113 @enumerate
1114 @item The board doesn't have any sensors.
1115 @item We don't support the sensors on the board.
1116 @item The sensors it has are on an I2C bus connected to an I2C bus adapter that we don't support.
1117 @item You don't have the latest version of lm_sensors.
1118 @end enumerate
1119
1120 But in any case you should figure out what is on the board:
1121 @enumerate
1122 @item Look at your motherboard.
1123 @item Check the manufacturer's website.
1124 @end enumerate
1125
1126 When you know what chips you have, check the
1127 @uref{http://www.lm-sensors.org/wiki/Devices, Driver Status} web page to
1128 see if support has been added for your chip in a later release or in SVN.
1129
1130
1131 @node Section 4.25, Section 4.26, Section 4.24, Problems
1132 @section Sensors says @samp{Error: Line xxx: zzzzzzz}
1133
1134 These are errors from the libsensors library in
1135 reading the @file{/etc/sensors.conf} configuration file. Go to that line
1136 number and fix it. If you have a parse error, perhaps you have
1137 to put the feature name in double quotes.
1138
1139
1140 @node Section 4.26, Section 4.27, Section 4.25, Problems
1141 @section Sensors only gives the name and adapter for my chip
1142
1143 If @command{sensors} only says this, for example, and doesn't
1144 provide any actual data at all:
1145
1146 @example
1147 it87-isa-0290
1148 Adapter: ISA adapter
1149 @end example
1150
1151 Your chip is not currently supported by @command{sensors} and so all it
1152 does is print out that information. Get the latest release
1153 and be sure you are running the @command{sensors} program it installed
1154 and not some older @command{sensors}.
1155
1156
1157 @node Section 4.27, Section 4.28, Section 4.26, Problems
1158 @section Sensors says @samp{ERROR: Can't get xxxxx data!}
1159
1160 @itemize
1161 @item (Linux 2.6) Make sure you are using one of the
1162 @uref{http://www.lm-sensors.org/wiki/Kernel2.6,
1163 recommended kernel/lm_sensors combination}.
1164 @item You have a @file{libsensors}/@command{sensors} mismatch.
1165 @command{sensors} is unable to
1166 get a data entry from @file{libsensors}. You probably have an
1167 old @file{libsensors} in your @file{/etc/ld.so.conf} path.
1168 Make sure you did (as root) a @command{make install} (Linux 2.4) or
1169 @command{make user_install} (Linux 2.6) followed by a @command{ldconfig}.
1170 Then check the output of @command{ldconfig -v | grep libsensors} to
1171 verify that there is only ONE @file{libsensors} entry and that it matches
1172 the @file{libsensors} that was built in the @file{lib/} directory in @file{lm_sensors2}.
1173 @end itemize
1174
1175
1176 @node Section 4.28, Section 4.29, Section 4.27, Problems
1177 @section Sensors doesn't find any sensors, just eeproms.
1178
1179 @xref{Section 4.24, Sensors-detect doesnt work at all}, if @command{sensors-detect} failed to find any sensors.
1180
1181 If @command{sensors-detect} did find sensors, did you insert your modules? For chips on the ISA
1182 bus, did you insert i2c-isa?
1183
1184 @xref{Section 5.2, What to do if a module wont insert}, if the modules didn't insert,
1185 also @ref{Section 4.21, Sensors says No sensors found}.
1186
1187
1188 @node Section 4.29, Section 4.30, Section 4.28, Problems
1189 @section Inserting modules hangs my board
1190
1191 There are several possible causes:
1192 @enumerate
1193 @item Bus driver problems. Insert the bus driver first, before you have inserted any chip drivers, to verify.
1194 @item Wrong chip driver. Verify that you have a chip supported by the chip driver, see @ref{Section 3.2.1, What chips are on motherboard XYZ}.
1195 @item The chip driver is reinitializing the chip, which undoes critical initialization done by the BIOS.  Try the parameter @command{init=0} for the w83781d driver; this is the only driver supporting this parameter.
1196 @item Some chips on the bus don't like to be probed at all.  After inserting the bus driver (but not the chip drivers), run @command{i2cdetect} on the bus, then @command{i2cdump} on each address responding to @command{i2cdetect}. This may find the culprit.  Do not @command{i2cdump address 0x69}, the clock chip.
1197 @item The chip driver is incorrectly finding a second chip on the bus and is accessing it. For example, with the Tyan 2688 with a w83781d at 0x29, use @command{modprobe ignore_range=0,0x00,0x28,0,0x2a,0x7f} to prevent access to other addresses. (@command{init=0} also req'd for the Tyan 2688).
1198 @end enumerate
1199
1200
1201 @node Section 4.30, Section 4.31, Section 4.29, Problems
1202 @section Inserting modules slows down my board
1203
1204 Generally this is caused by an overtemperature alarm output from
1205 the sensor chip. This triggers hardware on the board which
1206 automatically slows down the CPU clock. Be sure that your
1207 temperature limits are above the temperature reading. Put
1208 the new limits in @file{/etc/sensors.conf} and run @command{sensors -s