LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2006, 01:09 PM   #1
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Rep: Reputation: 15
acpi thermal module


why doesn't my system temprature show in /proc/acpi/thermal ?
why is /proc/acpi/thermal empty ?

i got generic kernel package 2.6.* from slackware current distribution
after i load modules ac then processor then thermal , i do
ls /proc/acpi/thermal and it is empty .
 
Old 10-20-2006, 07:26 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
The Linux kernel doesn't provide ACPI support for all motherboards.
Most that I've tried it on, with the exception of laptops, don't show
anything. Try lm_sensors in Slackware 11.0:
Code:
mingdao@silas:~$ less /server2/ftp/pub/Linux/Slackware/slackware-current/slackware/PACKAGES.TXT
PACKAGE NAME:  lm_sensors-2.10.0-i486-3.tgz
PACKAGE LOCATION:  ./slackware/ap
PACKAGE SIZE (compressed):  292 K
PACKAGE SIZE (uncompressed):  1070 K
PACKAGE DESCRIPTION:
lm_sensors: lm_sensors (hardware monitoring package)
lm_sensors:
lm_sensors: lm_sensors provides tools for monitoring the temperatures, voltages,
lm_sensors: and fans of Linux systems with hardware monitoring devices.  Included
lm_sensors: are text-based tools for sensor reporting, and a library for sensors
lm_sensors: access called libsensors.  It also contains tools for sensor hardware
lm_sensors: identification and I2C bus probing.
lm_sensors:
lm_sensors: IMPORTANT NOTE:  If you have a Thinkpad, please read the warnings in
lm_sensors: the README.thinkpad file.  lm_sensors has been known to cause damage
lm_sensors: to some Thinkpads.
It shows much more than just CPU temp. Here's a screenshot.
 
Old 10-21-2006, 03:50 AM   #3
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
it87

yes i run sensors and gkrellm .
i got it8712 chip so the module it87 is loaded
and sensors give three temperatures :
Code:
M/B Temp:    +33°C  (low  =   +15°C, high =   +40°C)   sensor = thermistor   
CPU Temp:    +29°C  (low  =   +15°C, high =   +45°C)   sensor = thermistor   
Temp3:       +27°C  (low  =   +15°C, high =   +45°C)   sensor = diode
but bios read CPU Temp 55°C not 29°C , maybe there
is specail meaning for '+' , and it is not absolute value ?

Last edited by yakoub; 10-21-2006 at 03:52 AM.
 
Old 10-21-2006, 05:57 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I don't know much about the app. Mine reports:
Code:
+5V:       +5.11 V  (min =  +0.00 V, max =  +3.71 V)       ALARM  
+12V:     +11.25 V  (min =  +2.55 V, max =  +1.03 V)       ALARM  
-12V:      +1.13 V  (min =  +2.11 V, max =  -6.36 V)       ALARM  
-5V:       +5.10 V  (min =  -5.75 V, max =  +0.83 V)       ALARM  
V5SB:      +5.54 V  (min =  +4.19 V, max =  +2.61 V)       ALARM  
VBat:      +0.00 V  (min =  +1.14 V, max =  +0.00 V)       ALARM  
fan1:     3590 RPM  (min = 21774 RPM, div = 2)              ALARM  
fan2:     3879 RPM  (min = 2812 RPM, div = 2)                     
temp1:       +28°C  (high =    +4°C, hyst =   +14°C)   sensor = thermistor   ALARM   
temp2:     +38.5°C  (high =   +80°C, hyst =   +75°C)   sensor = thermistor           
alarms:   Chassis intrusion detection                      ALARM
beep_enable:
          Sound alarm enabled

eeprom-i2c-0-52
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       1024
I assume temp1 is case, temp2 is CPU, and all values are correct.
 
Old 10-21-2006, 08:45 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Is there any other application which can show your thermal information on your desktop besides gkrellm?

Or perhaps by looking at /proc/acpi/thermal is also working?

Thanks
 
Old 10-21-2006, 08:47 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Willy,

You misread his first post ^^^ apparently.
 
Old 10-21-2006, 09:53 PM   #7
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
I know this is silly, but did you try
Code:
cat /proc/acpi/thermal_zone/THRM/temperature
If it says it doesn't exist, then you need to recompile your kernel to <include> those values, not as modules...
 
Old 10-22-2006, 09:58 AM   #8
yakoub
Member
 
Registered: Oct 2006
Posts: 99

Original Poster
Rep: Reputation: 15
really

i have compiled 2.6.18 and included acpi as modules

are you sure that by including them staticly they
would produce different functionality ? it doesn't make sense .

i will try to compile like you siad but it is most
likely that kerenel acpi simply doesn't support my GA-7n400s-l
when i had EP-8khal+ i could read /proc/acpi/thermal_zone/...
without problems , and it showed same temperature as bios
 
Old 10-22-2006, 10:40 AM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Mine didn't work either until I compiled statically. Then it worked fine.
 
Old 10-22-2006, 07:54 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
yeah, i think i have the same problem (compiling as modules) because when i looked at /proc/acpi/thermal_zone, it's empty
 
  


Reply



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
cpufreq and acpi thermal zones Nic+Tux+Duke Linux - General 3 05-04-2006 07:32 PM
Installing ACPI as module mflorenz Slackware 1 02-27-2006 03:48 AM
Broken Acpi thermal sensors Half_Elf Linux - Hardware 2 03-25-2005 10:18 PM
ACPI Thermal Zone vs lmsensors!?!? TomaCzar Linux - Hardware 2 11-15-2004 08:49 AM
ACPI thermal Issues benguin Linux - General 2 01-12-2004 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:58 PM.

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
Open Source Consulting | Domain Registration