SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has anyone had any luck with temp monitors? Which one do you use?
And is there a linux program that controls fan speed (the cpu fan to be exat, connected to the motherboard)? There is a few programs in windows that can do this but only with supported chipsets.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
I have tried, but I haven't had any luck with my hardware.
First of all, you need to have the i2c and lm_sensors either as kernel modules or built in ( like I did, there are patches available for kernel.org 2.4.22 ) so that the kernel can attempt to recognize your hardware. Once you have the infrastructure in place, the current temp, fan speed etc can be pulled from under the /proc filesystem. Gkrellm would be a good choice to do this job. In my case, the sensor chips weren't supported by the current drivers, YMMV.
There might be newer versions, but the ones I have are
i2c-2.8.1
lm_sensors-2.8.1
BTW, you don't have to patch your kernel, just compile and install. Once you install lm_sensors you can try, as root, the program sensors-detect that will try to write an autodetected configuration file in /etc/sensors.conf, that you will end up having to tweak a bit. But it works for me. And talks to gkrellm.
It doesn't have patches for 2.4.23 yet. ( I run 2.4.22 ) Download all three and apply. Now you should have an i2c support option on the kernel config main menu. And sensors under character devices, IIRC.
It's much easier to just install lm_sensors and i2c as kernel modules.
Just read the lm_sensors quick start supplied.
Download both the i2c and lm_sensors and read the INSTALL or QUICKSTART file... It's quite easy to do, and it'll give you nice cut-paste lines to put into modules.conf to load the modules on boot.
-Shade
Edit to add: the modules work fine in Slack 9.1 with the newest stable kernel - 2.4.23
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.