Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I want to monitor the temperature of my CPU while in Linux. My motherboard (nForce w/Award bios) has this feature along with monitoring CPU fan speed. I have searched the net (and these forums) and learned about lm_sensors, which I installed, and a front end called GKllM. I installed lm_sensores and went through the sensor_detect routine and it found the board I2C eeprom, but nothing else happened and when I run "sensors", I get "no sensors found".
My question is: Since the motherboard bios is constandly monitoring this data, is there a way to access this information directly from the BIOS within Linux, or is some additional hardware necessasry?
lm_sensors does actually access the information from the BIOS. The problem I have seen recently, at least with our new boards, is that lm_sensors has not quite caught up with a number of the new BIOS chipsets, and therefore while it detects them, does not know what to do with them.
Thanks for the information, which is what I suspected because the sensors-detect routine seemed to find everything OK. Just though there might be something I didn't know about built into Linux that might access BIOS data directly.
There is a gadget for SuperKaramba in KDE which monitors CPU temp but I assume it also uses lm_senosrs somehow. But that is in Fedora only, I believe, and I wanted to do it in Slackware anyway.
One thing to do is to keep an eye out for updates for lm_sensors and kernel updates. It will very likely get into the stream eventually, it just hasn't done so yet.
I have found tons of little desktop applets for Gnome and KDE that will do this, but virtually all of them use lm_sensors, so I guess it is pointless to download any of them.
if you don't have this module, then you may want to consider recompiling...it will update a file /proc/acpi/thermal/CPUx/state with the current temperature.
I wrote a simple python script that will go into that file and do some stuff with it and print it out. I have the script in case you may be interested. Try modprobing thermal and see if it works
FYI: I received the same messages as you did above "no sensors detected" when lm_sensors was not running. This may be just simple enough to have easily missed:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.