I have not been able to get lm_sensors working on 9.1. There is a support ticket that shows the exact same problem I have at http://secure.netroedge.com/~lm78/readticket.cgi?ticket=1668 where the response is "You use the wrong version of lm_sensors for your kernel. According to our "2.6 kernel information" page, Linux 2.6.4 only works properly with lm_sensors 2.8.5. http://www2.lm-sensors.nu/~lm78/kernel26.html" It looks like the version of sensors installed in 9.1 is "sensors-2.8.3-99", so it's not surprising it doesn't work. I wonder how SuSE managed to miss this?
On Fri, May 07, 2004 at 08:27:20AM -0700, Michael Nelson wrote:
I have not been able to get lm_sensors working on 9.1. There is a support ticket that shows the exact same problem I have at http://secure.netroedge.com/~lm78/readticket.cgi?ticket=1668 where the response is
"You use the wrong version of lm_sensors for your kernel. According to our "2.6 kernel information" page, Linux 2.6.4 only works properly with lm_sensors 2.8.5.
http://www2.lm-sensors.nu/~lm78/kernel26.html"
It looks like the version of sensors installed in 9.1 is "sensors-2.8.3-99", so it's not surprising it doesn't work. I wonder how SuSE managed to miss this?
Answering myself.... I solved the problem by getting the lm_sensors-2.8.6.tar.gz package from http://secure.netroedge.com/~lm78/download.html I then renamed /usr/bin/sensors to /usr/bin/sensors-DIST and did a "make user" and "make user_install" on the source. It installed the new sensors program in /usr/local/bin. I had to fiddle around with inserting the i2c modules until I got it all working (the sensors-detect program that came in the 2.8.6 package came up with wacky mods to /etc/sysconfig/lm_sensors. I ended up with the following entries there: MODULE_0=i2c-i801 MODULE_1=i2c_core MODULE_2=i2c_dev MODULE_3=i2c_sensor MODULE_4=i2c_isa MODULE_5=w83781d MODULE_6=eeprom Also, the 2.8.6 package installed an /etc/init.d/lm_sensors script that was checking /proc and exiting. In 2.6 the info is kept in sysfs, not proc, so that script didn't work. I copied /usr/share/doc/packages/sensors/prog/init/lm_sensors.init.suse to /etc/init.d/lm_sensors, and now it all works. Pretty crappy QA job on this one, SuSE!! Michael PS: I also grabbed the gkrellm-2.1.28-0.pm.0.i586.rpm package from http://packman.links2linux.org/?action=318, and sensors works right in gkrellm too.
participants (1)
-
Michael Nelson