PDA

View Full Version : Viewing motherboard temperatures



pummer
06-12-2003, 02:58 AM
Does anyone know an easy way to see your temps in Knoppix?

If so, please post

I think my system might be getting devilishly hot and the BIOS has no temp readings (yeah it's old)

rickenbacherus
06-12-2003, 03:36 AM
This might do (http://ksensors.sourceforge.net/)

oscar
06-12-2003, 06:21 AM
...there is not an easy way...in Knoppix CD it is impossible.
lm_sensors must be installed and kernel must be patched and then recompiled
ksensor is only a gui front-end for lm_sensors.

Dave_Bechtel
06-12-2003, 07:05 AM
--I dunno about Knoppix, but I'm using CPUCool in Win98.

http://www.podien.onlinehome.de/default.htm


Does anyone know an easy way to see your temps in Knoppix?

If so, please post

I think my system might be getting devilishly hot and the BIOS has no temp readings (yeah it's old)

TheCyberDude
09-03-2003, 04:36 PM
How to get KSensors to Work

First do the following at link below.
http://www.knoppix.net/forum/viewtopic.php?t=4639

Second do the following code:



apt-get -t unstable install ksensors
apt-get install hddtemp
apt-get install i2c-source lm-sensors lm-sensors-source


Third - go to /usr/src and move lm-sensors.tar.gz to /home/knoppix/tmp

DON'T EXTRACT lm-sensors.tar.gz IN /usr/src !!!

Also don't use lm-sensors from there Web Site, it is missing some i2c modules - use apt-get install lm-sensors-source !

Fourth - Copy lm-sensors to /usr/local and Compile: make all | su to root and make install

Fifth - Run sensors-detect [root] - Follow direction's, don't worry if it can't load some modules (Say no to i2c-riva, NEVER load it - it will Screw up your Kernel) at the end it will give directions to get modules to load after rebooting.

Sixth - Configure KSensors to show temps, voltages, etc. IF they don't show, try
insmod i2c-dev or modprobe i2c-dev - OR/AND rerun sensors-detect and at:
If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)?

Select ISA (NOTE: If you have no ISA slots like my motherboard - There STILL is an ISA BUS
on you Motherboard !!!)

Mine is running OK ...

TheCyberDude
09-03-2003, 06:35 PM
UPDATE

Also install the following:


apt-get install libsensors-dev

Also ksensors_alert.wav was not included in install, download the following.
http://www.internettrash.com/users/thecyberdude/alert.wav

Concerning HDD Temp, cd /usr/sbin and hddtemp /dev/<your hdd>

SUID bit of hddtemp file must by set, type:
chmod +s hddtemp

WARNING: Setting suid bit can be a security flaw.

/usr/sbin# hddtemp /dev/hdg
WARNING: Drive /dev/hdg doesn't appear in the database of supported drives
WARNING: But using a common value, it reports something.
WARNING: Note that the temperature shown could be wrong.
WARNING: See --help, --debug and --drivebase options.
WARNING: And don't forget you can add your drive to hddtemp.db
/dev/hdg: Maxtor 4D040H2: 0 C or F


Uncomment Maxtor 4D040H2 in /etc/hddtemp.db and you get the following.

/usr/sbin# hddtemp /dev/hdg
/dev/hdg: Maxtor 4D040H2: known drive, but it doesn't have a temperature sensor.


http://www.inernettrash.com/users/thecyberdude/SnapShot.png

http://internettrash.com/users/thecyberdude/TheCyberDude.gif

arkaine23
09-04-2003, 05:22 AM
Yes, but how do you remaster it so it can work on the Live CD? Someone give me a patched kernel that can be run on the CD!

I relaize the users would still need to configure lm-sensors each time they boot....

audioaficionado
09-10-2003, 05:39 AM
Why can't the im-sensor configs be saved with all the Knoppix configs when you save your Knoppix configs?

arkaine23
09-10-2003, 07:25 AM
It's not really that. It's that the kernel has certain limitations when you're booting from CD, and it needs the i2c support. I don;t know how to go about installing i2c in the kernel without fubarring its ability to be booted from the CD.

I'd have to make a script that saved your lm-sensors configuration while running off the CD- they are kept in /etc not in /home/knopppix, so persistent home won't work.

But following this procedure after a hdd-install should work just fine.

audioaficionado
09-10-2003, 07:56 AM
I don't use pesistant home but I use the saved configs after each session and it picks up where I left off when I use the 'knoppix myconfig=scan' cheat code.

arkaine23
09-11-2003, 05:11 PM
Yeah, now that I look at it, uses myconf probably can save the /etc/sensors.conf.

The problem remains with lack of i2c if you are booting from CD.

JoDaY
09-13-2003, 06:08 PM
Hi,

I use lm_sensors (with i2c) from website

My monitor (gui) is gkrellm

I uses it on two different machine (elite k7s5a/abit kt7)

I've never patch the kernel of knoppix !

Just install i2c then install lm_sensors in order to find which module to load (whith help of sensors-detect included in lm_sensors package)

I've made it in hdd install but i'm sure you can compile your own necessary modules in live-cd, and load them using modprobe.
-->But you'll have to modify the install path in the Makefile(s)

Cordially