Debian Codegraph @

prog/debug/README

raw
1 This directory contains tools which may help with debugging lm_sensors.
2
3 find-driver
4 ===========
5 If the 'sensors' program does not report useful values for certain hardware
6 monitoring inputs, the problem in most cases is not in lm_sensors. lm_sensors
7 only reads values exported by the Linux kernel. Finding the driver responsible
8 for exporting the particular hardware monitoring chip may help to diagnose
9 the problem further. It is possible that there is a bug in the driver, however
10 it is even more likely that the input is simply not used on your board.
11 Nonetheless, identifying the driver may help you identify the piece of hardware
12 that reports the bogus value.
13
14 This script finds the driver and kernel module responsible for exporting
15 a hardware monitoring chip in sysfs. It should be given the chip name (as
16 reported by the 'sensors' program) as argument. For example:
17
18 $ sensors
19 thinkpad-isa-0000
20 Adapter: ISA adapter
21 fan1: 0 RPM
22
23 $ ./find-driver thinkpad-isa-0000
24 Driver: thinkpad_hwmon
25 Module: thinkpad_acpi