Hi,
I have been having problems with our current version (2.10.2) of
lmsensors on Bering-uClibc 4. The code compiles OK, and the packages
(libsens.lrp and sensors.lrp) build OK but when I try to run the
"sensors" command on my test system I get an error message:
"sensors: can't load library 'libsysfs.so.2'"
OK, so maybe that's a problem in itself, but when I checked the
lm_sensors home page (http://lm-sensors.org/) it is evident that version
2.10.2 is intended for 2.4 kernels and we should really be using version
3.x of lm_sensors for 2.6 kernels. With the 2.6 kernels the device
drivers are part of the kernel and lm_sensors only includes the
userspace tools and a very "thin" library. Our existing kernel .config
seems to include all of the sensor modules already (thanks Andrew).
I have therefore upgraded the lmsensors source package to the latest
upstream version (3.2.0) and this is now working OK for me.
Note that it still seems to be necessary to load the right kernel
module(s) manually, so the "sensors-detect" Perl script is useful for
working out what is the "right" kernel module. Now that we have a full
Perl for Shorewall I have added the sensors-detect script to sensors.lrp
since I think this will be useful for users, and it is quite small.
I did find that running "sensors-detect" fails with:
No i2c device files found.
A manual workaround is to run the following command first:
mknod /dev/i2c-0 c 89 0
davidMbrooke
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel