Anyway without further ado, the tut:
1. First thing you're going to need is a motherboard which supports hardware monitoring. If when you go in the BIOS and check there's a page that allows you to see the temp your CPU is currently running at, chances are there's an lm_sensors config for it.
2. I kinda gave away the second thing you're gonna need which is the lm_sensors package from mandrake. You can search for it using rpmdrake or as root at a console type
urpmi lm_sensors
and Mandrake does its magic. Ok, from here on out this is an ECS K7S5A tutorial but you should be able to follow the general steps to get your mobo working.
3. If you don't have the same mobo as me look through the HOW-TOs if you've installed them for mobo. The package is howto-html, search for it in rpmdrake (urpmi doesn't provides descriptions for the various languages). If you don't find it there start googling. For wording I'd recommend lm_sensors your_mobo linux howto. For those of you with the same motherboard:
4. You'll have to edit your /etc/modules.confalias char-major-89 i2c-dev
options it87 temp_type=0x31[/color] and save.
eg My /etc/modules.conf
probeall usb-interface usb-ohci
alias eth0 sis900
above snd-emu10k1 snd-pcm-oss
alias sound-slot-0 snd-emu10k1[/CODE]
and my /etc/modules.confalias char-major-89 i2c-dev
options it87 temp_type=0x31
probeall usb-interface usb-ohci
alias eth0 sis900
above snd-emu10k1 snd-pcm-oss
alias sound-slot-0 snd-emu10k1[/CODE]
5. You now have to create a file /etc/sysconfig/lm_sensorsmodprobe i2c-proc
modprobe it87
modprobe i2c-isa[/color].
6. At a root console type
/etc/init.d/sensors startwait for the [b]OKYou should see some output on your console, probably a couple of ALARMs. Don't worry about it. We just did that to make sure you see output. If you didn't, something's wrong and you are SOL. :twisted: Sorry. Make sure you typed stuff in properly.
7. Now for the boring part, there's a file you need to edit, /etc/sensors.conf comes in handy with it's little find function).
8. Then make sure that the uncommented (doesn't begin with #) lines look like this
set in0_min 1.7 * 0.95 set in0_max 1.7 * 1.05 set in1_min 2.4 set in1_max 2.6 set in2_min 3.3 * 0.95 set in2_max 3.3 * 1.05 set in3_min 5.0 * 0.95 set in3_max 5.0 * 1.05 set in4_min 12 * 0.95 set in4_max 12 * 1.05 set in5_max -12 * 0.95 set in5_min -12 * 1.05 set in6_max -5 * 0.95 set in6_min -5 * 1.05 set in7_min 5 * 0.95 set in7_max 5 * 1.05 #the chip does not support in8 min/max # vid is not monitored by IT8705F # and is not supported by driver at this time ignore vid # If 3.3V reads 2X too high (Soyo Dragon, for example), # comment out following line. # compute in2 2*@ , @/2 # compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) compute in4 ((30/10) +1)*@ , @/((30/10) +1) # For this family of chips the negative voltage equation is different from # the lm78. The chip uses two external resistor for scaling but one is # tied to a positive reference voltage. See ITE8705/12 datasheet (SIS950 # data sheet is wrong) # Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref. # Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage. # The next two are negative voltages (-12 and -5). # The following formulas must be used. Unfortunately the datasheet # does not give recommendations for Rin, Rf, but we can back into # them based on a nominal +2V input to the chip, together with a 4.096V Vref. # Formula: # actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf)) # For -12V input use Rin/Rf = 6.68 # For -5V input use Rin/Rf = 3.33 # Then you can convert the forumula to a standard form like: # compute in5 (7.67 * @) - 27.36 , (@ + 27.36) / 7.67 # compute in6 (4.33 * @) - 13.64 , (@ + 13.64) / 4.33 # # this much simpler version is reported to work for a # Eltite Group K7S5A board # compute in5 -(36/10)*@, -@/(36/10) compute in6 -(56/10)*@, -@/(56/10) # compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1) # Temperature # # Important - if your temperature readings are completely whacky # you probably need to change the sensor type. This must be done # with 'modprobe it87 temp_type=0xXX', you can't fix it in this file. # See ../doc/chips/it87 for details and valid 'XX' values!!! # label temp3 "Processor" set temp3_over 40 set temp3_hyst 20 label temp2 "MainBoard" set temp2_over 45 set temp2_hyst 25 ignore temp1 label temp1 "Temp3" set temp1_over 45 set temp1_hyst 25 # Fans label fan1 "CPU Fan" set fan1_div 8 set fan1_min 3000 ignore fan3 set fan3_min 3000 # This worked for my second fan so I'll include it label fan2 "MB Fan" set fan2_div 8 set fan2_min 2500
9. Right then, now the worst is over. At a root console type
/etc/init.d/sensors restartto enable our little changes and it's time for the promised gkrellm integration. For those of you who may not want to check this graphically, the sensors-12V: -12.24 V (min = -12.60 V, max = -11.38 V) ALARM
-5V: -6.27 V (min = -5.15 V, max = -4.70 V) ALARM[/color] from what I'm been able to tell. I just ignore it.***
10. Now you need Gkrellm if you don't have it already you need to urpmize it:
urpmi gkrellm
I however would recommend that you get gkrellm2 in all its anti-aliased (fonts don't look like my sister scribbled them) glory. To do that you have to add a texstar source to urpme. I explained this here http://www.mandrakeu...opic.php?t=2644 . Then just do
urpmi gkrellm-2urpmi will, hopefully, take care of the rest. Once that's done ...
11. It's screenie time! Once installed start gkrellm from the menu (if it got added that fast) http://uhaweb.hartford.edu/obennett/MUO_screens/gkrellm_menu_snapshot1.png or type it in at the run dialog http://uhaweb.hartford.edu/obennett/MUO_screens/gkrellm_run_snapshot2.png (or whatever you gnomes use)
12. Now since you already have the plugins installed, it's a cinch to monitor you CPU et al with just the click of a button. Click on the gkrellm window and then press F1, the configuration dialog should pop up. You can also get there by right clicking on the gkrellm window. Once at the configuration window click on Sensors.
13. Click on the little white triangle beside Temperatures like so
http://uhaweb.hartford.edu/obennett/MUO_screens/snapshot3.png
or just edit the Label
Well that all folks. Gonna go (continue thanks to zapping) watching the superbowl. Go RAIDERS!

Sign In
Register
Help
MultiQuote


