CPUtemp - A CPU Temperature Monitor

Miscellaneous tools
Message
Author
User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#21 Post by 8-bit »

I had the old version still installed, but it was my dumb mistake to think I could just run the new script without removing the earlier version.
I removed it, installed the version 1.2 pet and everything works and displays properly.

I should have followed instructions fully and not tried to shortcut testing it.

So there is NOTHING WRONG with your script and PET.

But you cannot control the actions of a dumb user. ME.

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

CPUTemp - A CPU Temperature Monitor

#22 Post by majorfoo »

Thought I would give 1.3 pet a try on
HP Pentium 4 with 2.80 ghz cpu
2 gb memory
Intel 82865 chipset
puppy 525 and then 528 on ext 4 partition.

I installed pet, restarted x and saw flame icon in system tray.
Clicked on it and said CPU Scaling Tool was not running.

Tried to set this up and every entry I tried (except one that was not recommended) did not update screen and allow program to work

Then checked bios setup and found following:
CPU Warning Temperature 85 c/185 f
CPU Shutdown Temperature 90 c/ 194 f
System Warning Temperature 60 c/ 140 f
System Shutdown Temperature 65 c/149 f
CPU Temperature 57 c/134 f
System Temperature 45 c/113 f
CPU Fan Speed 2275 rpm
Chassis Fan Speed 1498 rpm

I would like to get this running but at loss on how.
Any ideas/help will be appreciated

majorfoo

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#23 Post by rcrsn51 »

HP Pentium 4 with 2.80 ghz cpu
I have an IBM desktop box with this processor and I could never get on-demand CPU scaling to work with it.

IIRC, it would show a thermal zone temperature. Does yours?

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#24 Post by majorfoo »

rcrsn51 wrote:
HP Pentium 4 with 2.80 ghz cpu
I have an IBM desktop box with this processor and I could never get on-demand CPU scaling to work with it.

IIRC, it would show a thermal zone temperature. Does yours?
When I click on flame icon in tray, it tells me that CPU scaling not set up
As stated above, when I try to set up CPU Scaling, none of the entries work.

I have this app running on ibm thinkpad R40, 1.4 ghz cpu, 1gb mem, ATI Technologies Radeon Graphics. It runs great on this box.
Appears this app will not work on my desktop (HP Pent 4)

thanks for your reply
majorfoo

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#25 Post by rcrsn51 »

rcrsn51 wrote:IIRC, it would show a thermal zone temperature. Does yours?
Does CPUtemp show any temperature reading on your HP Pentium 4?

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#26 Post by majorfoo »

rcrsn51 wrote:
rcrsn51 wrote:IIRC, it would show a thermal zone temperature. Does yours?
Does CPUtemp show any temperature reading on your HP Pentium 4?
When I type CPUtemp in console, following is result

/root
# CPUtemp
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: No such file or directory
cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory

When I type sensors-detect at console, following is result

/root
# sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: Hewlett-Packard HP dx2000 MT (PX839AA)
# Board: Lite-On Tech. 08FCh

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):

Following is summary of scan for sensors

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `lm75':
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x49
Chip `Dallas Semiconductor DS75' (confidence: 3)
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x4a
Chip `Dallas Semiconductor DS75' (confidence: 3)
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x4b
Chip `Dallas Semiconductor DS75' (confidence: 3)
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x4c
Chip `Dallas Semiconductor DS75' (confidence: 3)
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x4d
Chip `Dallas Semiconductor DS75' (confidence: 3)
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x4e
Chip `Dallas Semiconductor DS75' (confidence: 3)
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x4f
Chip `Dallas Semiconductor DS75' (confidence: 3)

Driver `smsc47m1':
* ISA bus, address 0x900
Chip `SMSC LPC47M15x/192/997 Super IO Fan Sensors' (confidence: 9)

Driver `sbs':
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x0b
Chip `Smart Battery' (confidence: 5)

/root
#

Ideas?
majorfoo

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#27 Post by majorfoo »

majorfoo wrote:
Sensors-detect at console, provides following summary

Driver `smsc47m1':
* ISA bus, address 0x900
Chip `SMSC LPC47M15x/192/997 Super IO Fan Sensors' (confidence: 9)

Driver `sbs':
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x0b
Chip `Smart Battery' (confidence: 5)
majorfoo
I checked and driver smsc47m1 is in /lib/modules/2.6.33.2/kernel/drivers/hwmon in lucid 528.

Does this need to be added to list of drivers found in CPUtemp pet?

majorfoo

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#28 Post by rcrsn51 »

What happens if you follow the Help instructions in CPUtemp for loading this module?

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#29 Post by majorfoo »

rcrsn51 wrote:What happens if you follow the Help instructions in CPUtemp for loading this module?
On the screen where you select driver, I have tried all except one noted that should be avoided. None of the are accepted when I try to apply.

Appears this has something to do with fact that Bios date is 2/23/2005 and Cpu Scaling Tool has entry---------> Bios released prior to 2007.

As stated earlier, I set this up on IBM Thinkpad R40 and works flawlessly

majorfoo

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#30 Post by rcrsn51 »

I'm talking about the Help instructions that refer to Line 5 of CPUtemp - ie. when you click the Help button.

The CPU Frequency Scaling Tool is a separate program from CPUtemp. You can't configure one from the other.

CPUtemp is not guaranteed to find a temperature reading on all machines.

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#31 Post by majorfoo »

rcrsn51 wrote:I'm talking about the Help instructions that refer to Line 5 of CPUtemp - ie. when you click the Help button.

The CPU Frequency Scaling Tool is a separate program from CPUtemp. You can't configure one from the other.

CPUtemp is not guaranteed to find a temperature reading on all machines.
Sir, you are dealing with a dummy when it comes to this stuff.
If I enter modprobe coretemp from command line, results are

# modprobe coretemp
FATAL: Error inserting coretemp (/lib/modules/2.6.33.2/kernel/drivers/hwmon/coretemp.ko): No such device
/root

I checked /lib/modules/2.6.33.2/kernel/drivers/hwmon and coretemp.ko is already there.

Is this what you are looking for?

bios shows temperatures as listed in my first post

When I click the flamnig icon in tray i get

majorfoo
Last edited by majorfoo on Sun 28 Aug 2011, 22:20, edited 2 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#32 Post by rcrsn51 »

From the sound of things, neither CPUtemp nor CPU Frequency Scaling Tool are going to work on this machine.

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#33 Post by majorfoo »

rcrsn51 wrote:From the sound of things, neither CPUtemp nor CPU Frequency Scaling Tool are going to work on this machine.
Thanks for all your help. Appears this machine is like me- too old to cut the mustard anymore

majorfoo

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#34 Post by DaveS »

OK, here is a little strange. Using Slacko beta. Hardinfo/sensors shows no information. Installed CPUtemp which works perfectly. Checking shows my machine uses coretemp. Hardinfo/sensors shows info BUT on re-boot hardinfo/sensors is again blank. Click the systray CPUtemp icon and the temp info is displayed as expected. Re-check hardinfo, and display is again populated.
Conclusion: I need to click on the systray icon for CPUtemp to activate output in hardinfo/sensors. Why?
Spup Frugal HD and USB
Root forever!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#35 Post by rcrsn51 »

DaveS wrote:Conclusion: I need to click on the systray icon for CPUtemp to activate output in hardinfo/sensors. Why?
That's how the coretemp module gets loaded.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#36 Post by DaveS »

rcrsn51 wrote:
DaveS wrote:Conclusion: I need to click on the systray icon for CPUtemp to activate output in hardinfo/sensors. Why?
That's how the coretemp module gets loaded.
Ok. I also notice that when I close the CPUtemp information GUI with the OK button, it closes as expected, but when I close it with the window 'x' button, it closes as expected but then pops up the help dialog (using Openbox, not tried JWM).
Edit: same with JWM.
Spup Frugal HD and USB
Root forever!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#37 Post by rcrsn51 »

DaveS wrote:Ok. I also notice that when I close the CPUtemp information GUI with the OK button, it closes as expected, but when I close it with the window 'x' button, it closes as expected but then pops up the help dialog (using Openbox, not tried JWM).
Thanks. That's fixable. Open /usr/local/bin/CPUtemp in a text editor and change Line 51 to

Code: Select all

[ "$EXIT" = "OK"  -o "$EXIT" = "abort" ] && exit

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#38 Post by DaveS »

rcrsn51 wrote:
DaveS wrote:Ok. I also notice that when I close the CPUtemp information GUI with the OK button, it closes as expected, but when I close it with the window 'x' button, it closes as expected but then pops up the help dialog (using Openbox, not tried JWM).
Thanks. That's fixable. Open /usr/local/bin/CPUtemp in a text editor and change Line 51 to

Code: Select all

[ "$EXIT" = "OK"  -o "$EXIT" = "abort" ] && exit
Done... fixed :)
Spup Frugal HD and USB
Root forever!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#39 Post by rcrsn51 »

I have uploaded v1.5 with this fix applied.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#40 Post by jpeps »

Works nicely; scaling even works. Curious what this is reading, though, since this intel processor (dell laptop--bios from 1994) has no sensors, although a thermal monitor is listed the hardware description. I can't get any info using dstat --thermal script (complains there's no kernel ACPI support. Pwidgets doesn't work either (I think it looks for /proc/eee )

edit: I see...it reads /sys/class/thermal/thermal_zone0/temp.
Last edited by jpeps on Tue 22 Nov 2011, 01:59, edited 1 time in total.

Post Reply