Can't get lm_sensors to work with GKrellM
I am running Debian 2.6.3 on an AMD Athlon 800 MHz machine w/256 MB RAM on an Asus K7 motherboard. hddtemp/hda is working OK but no CPU temperature, fan speed or voltage. lm_sensors and i2c have successfully installed. GKrellM is working OK except for sensors, and sysfs is mounted.
I ran /usr/sbin/sensors-detect as root and it identified the following code to be added to /etc/modules: # I2C adapter drivers i2c-isa # I2C chip drivers w83781d via686a #----cut here-- Then, run /etc/init.d/modutils <<I did that, to no apparent effect.>> To make the sensors modules behave correctly, add these lines to /etc/modutils/local and run update-modules: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----cut here---- Here's a problem. No /etc/modutils/local exists. Instead, there is /etc/modutils/i2c which has the following code: alias char-major-89 i2c-dev as root, running update-modules returns: bash: update-modutils: command not found What to do now? Sincerely, a noob at his wits end... Thanks, /Don Lewis dlewis@praxisgrp.com |
I haven't got any experince on this but I do know that you'll need to recompile the kernel in order to get the lm_sensors working. The lm_sensors are not enabled in Debian's default kernel-images. Perhaps a search in google would produce something useful?
Studying this web address might be useful: http://secure.netroedge.com/~lm78/index.html |
Quote:
|
As root you can place the alias in etc/modutils/aliases
And as Dead Parrot said, you need to have IC2 support in your kernel (compiled as modules is fine). Sinse sensor-detect picked them up, you should be fine. A lot of drivers havent been ported to 2.6 yet so I hope you're lucky. See their homepage for more info. |
Quote:
/Don |
Have you tried sensors-detect yet? remember that after installing you have to setup the sensors available in your pc, that is what sensors-detect will do.
|
Re: Can't get lm_sensors to work with GKrellM
Quote:
Try commenting out or removing the w83781d line in the snippet you put into the /etc/modules. And if you compiled/installed the lm_sensors package into /usr/local when you did the make user and make user_install be sure that you have edited the /etc/ld.so.conf and added the line /usr/local/lib to the file and then run /sbin/ldconfig so the system can find the new libraries. BTW what version of lm sensors are you using (IIRC you need 2.8.2 or better for 2.6.x kernels) and why did you compile the i2c modules when they are already included in 2.6 kernels?? |
http://secure.netroedge.com/~lm78/kernel26.html
Take a look at "Recommended kernel and lm_sensors combinations" and make sure you have the right one for your kernel. I had the same problem with 2.6.3 but it worked fine with 2.6.6. I think the version in Sid right now is for 2.6.6..... not sure though. |
All times are GMT -5. The time now is 03:07 AM. |