I'm using mandriva 2005LE with the 2.6.12 smp kernel. I have tried installing lm-sensor from the mirrors using rpmdrake, but all i was able to get when i run sensors-detect is this:
[root@localhost lm_sensors-2.9.2]# sensors-detect
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.
It is generally safe and recommended to accept the default answers to all
questions, unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Sorry, no PCI bus adapters found.
We will now try to load each adapter module in turn.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.
To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is already loaded.
We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).
Some chips are also accessible through the ISA bus. ISA probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.
Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!
Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (0x88)
Probing for `Winbond W83627HF Super IO Sensors'
Failed! (0x88)
Probing for `Winbond W83627THF Super IO Sensors'
Failed! (0x88)
Probing for `Winbond W83637HF Super IO Sensors'
Failed! (0x88)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x88)
Probing for `Winbond W83697SF/UF Super IO PWM'
Failed! (0x88)
Probing for `Winbond W83L517D Super IO'
Failed! (0x88)
Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)
Sorry, no chips were detected.
Either your sensors are not supported, or they are
connected to an I2C bus adapter that we do not support.
See doc/FAQ, doc/lm_sensors-FAQ.html, or
http://www2.lm-sensors.nu/~lm78/cvs/...nsors-FAQ.html
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, see
http://secure.netroedge.com/~lm78/newdrivers.html for driver status.
# sensors
No sensors found!
---------
next, i tried opening up ksensor, and it actually gave me 4 parameters: processor speed, swap usage, cpu usage, up time. I thought this was strange since it didn't detect any sensors.
so, then i thought maybe i didn't have the latest version of lm-sensor, so i removed the packages i had installed via rpmdrake and downloaded the .tar.gz from the lm-sensor home page. i did the following:
[root@localhost lm_sensors-2.9.2]# make user
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
gcc -Wl,-rpath,/usr/local/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors
lib/libsensors.so: undefined reference to `sensors_yylex'
lib/libsensors.so: undefined reference to `sensors_yyin'
lib/libsensors.so: undefined reference to `sensors_lex_error'
lib/libsensors.so: undefined reference to `sensors_yylineno'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1
[root@localhost lm_sensors-2.9.2]#
I did make user_install and got a lot of stuff that i'm not sure i should post here but here it is:
[root@localhost lm_sensors-2.9.2]# make user_install
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
if [ -n "kernel/include/i2c-dev.h kernel/include/sensors.h" ] ; then \
mkdir -p /usr/local/include/linux ; \
install -m 644 kernel/include/i2c-dev.h kernel/include/sensors.h /usr/local/include/linux ; \
fi
mkdir -p /usr/local/lib /usr/local/include/sensors /usr/local/man/man3 /usr/local/man/man5
install -m 644 lib/libsensors.a /usr/local/lib
install -m 755 lib/libsensors.so.3.0.9 /usr/local/lib
ln -sf libsensors.so.3.0.9 /usr/local/lib/libsensors.so.3
ln -sf libsensors.so.3 /usr/local/lib/libsensors.so
install -m 644 lib/error.h lib/sensors.h lib/chips.h /usr/local/include/sensors
install -m 644 lib/libsensors.3 /usr/local/man/man3
install -m 644 lib/sensors.conf.5 /usr/local/man/man5
mkdir -p /usr/local/sbin /usr/local/man/man8
install -m 755 prog/detect/sensors-detect prog/detect/i2cdetect /usr/local/sbin
install -m 644 prog/detect/i2cdetect.8 prog/detect/sensors-detect.8 /usr/local/man/man8
mkdir -p /usr/local/sbin /usr/local/man/man8
install -m 755 prog/dump/i2cdump prog/dump/i2cset prog/dump/isadump prog/dump/isaset /usr/local/sbin
install -m 644 prog/dump/i2cdump.8 prog/dump/i2cset.8 prog/dump/isadump.8 prog/dump/isaset.8 /usr/local/man/man8
mkdir -p /usr/local/bin
install -m 755 prog/eeprom/ddcmon prog/eeprom/decode-dimms.pl prog/eeprom/decode-edid.pl prog/eeprom/decode-vaio.pl /usr/local/bin
mkdir -p /usr/local/sbin /usr/local/man/man8
install -m 755 prog/pwm/fancontrol prog/pwm/fancontrol.pl prog/pwm/pwmconfig /usr/local/sbin
install -m 644 prog/pwm/fancontrol.8 prog/pwm/pwmconfig.8 /usr/local/man/man8
gcc -Wl,-rpath,/usr/local/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors
lib/libsensors.so: undefined reference to `sensors_yylex'
lib/libsensors.so: undefined reference to `sensors_yyin'
lib/libsensors.so: undefined reference to `sensors_lex_error'
lib/libsensors.so: undefined reference to `sensors_yylineno'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1
then for kicks i tried this:
[root@localhost lm_sensors-2.9.2]# sensors
bash: /usr/bin/sensors: No such file or directory
[root@localhost lm_sensors-2.9.2]# sensors-detect
bash: /usr/sbin/sensors-detect: No such file or directory
[root@localhost lm_sensors-2.9.2]#
------------------
so it looks like I really screwed things up and I don't know how to fix it. I have an Asus P5P800 mobo with 3.0GHz P4. I have consulted the manual at lm_sensor's website and I have searched this forum but nothing so far has been helpful. thanks in advance.