LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2005, 04:01 PM   #1
tisam
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian unstable,2.6.10
Posts: 15

Rep: Reputation: 0
The temperature of the processor (acpi)


Hi!

I got to know that just by cat /proc/acpi/thermal_zone/THRM/temperature I can check my processor's temp. But when I issue this command I get :
cat /proc/acpi/thermal_zone/THRM/temperature
cat: /proc/acpi/thermal_zone/THRM/temperature: No such file or directory
Which is right, while I don't have anything in /proc/acpi/thermal_zone/, not a single file! I'm using 2.6.11 and I've compiled in my kenrel the following section :

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set

So I guess, it should be ok, shouldn't it ? Maybe I've to initialize the thermal_zone somehow?

I'll be grateful for any tips!
 
Old 03-06-2005, 05:44 PM   #2
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
I just got this working for the first time myself, so I'm no expert, but here are the steps I made to get it working.

First install packages for lm_sensors, currently I'm using version 2.8.7-2.

Second, run the program sensors-detect. It generates configuration files and places a file called /etc/rc.d/init.d/lm_sensors. Depending on your distribution, you need to make this script run at runlevels 3-5.

Lastly, after you start the service lm_sensors, run the program called sensors, it prints out the temps and voltages.

Hope this is useful.
 
Old 03-15-2005, 08:14 AM   #3
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
my folders are empty too how to deal with that ? do I need acpi=on or what?
although sensors works but not well about CPU it shows about 30C lower than it should
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cat /proc/acpi/thermal_zone/THRM/temperature qwijibow Linux - General 4 01-12-2005 05:48 AM
Installing Linux on a dual processor machine (only one processor detected) rocordial Linux - Hardware 1 11-27-2004 03:16 AM
Processor temperature liguorir Linux - Software 1 05-06-2004 02:19 PM
4 processor listings in cpuinfo on dual processor system. atticboy1 Linux - Hardware 2 02-08-2004 07:35 PM
xinetd 100% utilization on one processor on a two processor system red hat 9 garnold Linux - General 0 02-02-2004 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration