You are not logged in.
Pages: 1
Hello people,
I have installed Archlinux yesterday on a 3 years old Acer labtop, and it runs fine.
I chose Gnome 3 as display manager, didnt install any graphic driver (using defaults one).
So my computer is heating a lot, and i would like to check its temperature.
As i would have dont on my previous archlinux, i installed ACPI, and runned it. Here are some of my outputs :
$ acpi -b
Battery 0: Full, 100%
$ acpi -v
acpi 1.7
$ acpi -t
#nothing...
So i can't check temperature with ACPi, and am using a recent linux kernel, so it seems i can't use lm_sensors.
Here are the datas i know about my kernel :
$ uname -r
4.1.6-1-ARCH
$ lsmod
Module Size Used by
thermal 20480 0
fuse 90112 5
ctr 16384 1
ccm 20480 1
arc4 16384 2
ath9k 135168 0
ath9k_common 28672 1 ath9k
ath9k_hw 446464 2 ath9k_common,ath9k
ath 28672 3 ath9k_common,ath9k,ath9k_hw
intel_rapl 20480 0
iosf_mbi 16384 1 intel_rapl
mac80211 667648 1 ath9k
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
tg3 167936 0
kvm_intel 155648 0
cfg80211 483328 4 ath,ath9k_common,ath9k,mac80211
kvm 442368 1 kvm_intel
ptp 20480 1 tg3
pps_core 20480 1 ptp
libphy 32768 1 tg3
nouveau 1343488 1
snd_hda_codec_hdmi 53248 1
snd_hda_codec_realtek 77824 1
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
ttm 81920 1 nouveau
ghash_clmulni_intel 16384 0
aesni_intel 172032 2
i915 1044480 6
iTCO_wdt 16384 0
drm_kms_helper 106496 2 i915,nouveau
iTCO_vendor_support 16384 1 iTCO_wdt
acer_wmi 20480 0
snd_hda_intel 28672 6
sparse_keymap 16384 1 acer_wmi
snd_hda_controller 28672 1 snd_hda_intel
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
aes_x86_64 20480 1 aesni_intel
mxm_wmi 16384 1 nouveau
drm 286720 11 ttm,i915,drm_kms_helper,nouveau
rfkill 24576 4 cfg80211,acer_wmi
shpchp 36864 0
lrw 16384 1 aesni_intel
intel_gtt 20480 1 i915
videobuf2_core 40960 1 uvcvideo
snd_hda_codec 98304 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
mei_me 24576 0
snd_hda_core 28672 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 90112 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
mei 77824 1 mei_me
snd_timer 28672 1 snd_pcm
gf128mul 16384 1 lrw
snd 69632 20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
v4l2_common 16384 1 videobuf2_core
glue_helper 16384 1 aesni_intel
videodev 139264 3 uvcvideo,v4l2_common,videobuf2_core
ablk_helper 16384 1 aesni_intel
media 20480 2 uvcvideo,videodev
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
psmouse 122880 0
i2c_algo_bit 16384 2 i915,nouveau
pcspkr 16384 0
serio_raw 16384 0
i2c_i801 20480 0
evdev 24576 70
joydev 20480 0
lpc_ich 24576 0
i2c_core 49152 8 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,nouveau,videodev
mousedev 20480 0
soundcore 16384 1 snd
mac_hid 16384 0
ac 16384 0
battery 20480 0
video 24576 3 i915,acer_wmi,nouveau
button 16384 2 i915,nouveau
wmi 20480 3 acer_wmi,mxm_wmi,nouveau
processor 28672 0
sch_fq_codel 20480 10
ip_tables 28672 0
x_tables 28672 1 ip_tables
ext4 516096 2
crc16 16384 1 ext4
mbcache 20480 1 ext4
jbd2 90112 1 ext4
hid_generic 16384 0
usbhid 49152 0
hid 110592 2 hid_generic,usbhid
sr_mod 24576 0
cdrom 53248 1 sr_mod
sd_mod 36864 4
ahci 36864 3
libahci 28672 1 ahci
sdhci_pci 24576 0
libata 204800 2 ahci,libahci
sdhci 40960 1 sdhci_pci
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
ehci_pci 16384 0
led_class 16384 3 ath9k,sdhci,acer_wmi
ehci_hcd 73728 1 ehci_pci
scsi_mod 151552 3 libata,sd_mod,sr_mod
usbcore 200704 4 uvcvideo,ehci_hcd,ehci_pci,usbhid
mmc_core 114688 2 sdhci,sdhci_pci
usb_common 16384 1 usbcore
i8042 20480 2 acer_wmi,libps2
serio 20480 6 serio_raw,atkbd,i8042,psmouse
Thanks for your time !
Offline
What do you mean "can't use lm_sensors"?
Offline
I read here that that lm_sensor was usable until kernel <= v.2.6.31. I use kernel v.4.x, zhich nis much newer, so i guess lm_sensor is not usable.
Should i try it ? I was worried that it may break my all new system.
Offline
As the head of the wiki page points out, that page is out of date because of the kernel 2.6 references.
A lot has changed in the intervening 4+ years.
Note, there's no guarantee that sensors-detect will find all the monitoring chips.
Offline
Take a look around under the /sys file system. On this laptop:
ewaller@turing ~ [126]1401 %cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
51000
ewaller@turing ~ 1402 %cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
62000
ewaller@turing ~ 1403 %cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
52000
ewaller@turing ~ 1404 %cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
49000
ewaller@turing ~ 1405 %cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp4_input
48000
ewaller@turing ~ 1406 %ls -l /sys/class/thermal/
total 0
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device3 -> ../../devices/virtual/thermal/cooling_device3
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device4 -> ../../devices/virtual/thermal/cooling_device4
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device5 -> ../../devices/virtual/thermal/cooling_device5
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device6 -> ../../devices/virtual/thermal/cooling_device6
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device7 -> ../../devices/virtual/thermal/cooling_device7
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device8 -> ../../devices/virtual/thermal/cooling_device8
lrwxrwxrwx 1 root root 0 Sep 26 07:55 cooling_device9 -> ../../devices/virtual/thermal/cooling_device9
lrwxrwxrwx 1 root root 0 Sep 18 18:40 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 Sep 26 07:55 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
ewaller@turing ~ 1407 %cat /sys/class/thermal/thermal_zone0/temp
51000
ewaller@turing ~ 1408 %cat /sys/class/thermal/thermal_zone1/temp
48000
ewaller@turing ~ 1409 %
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Ok, here is what i have :
ja@tardis ~ $cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input [0]
60000
ja@tardis ~ $cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input [0]
60000
ja@tardis ~ $cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input [0]
59000
ja@tardis ~ $cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input [0]
60000
ja@tardis ~ $cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input [0]
59000
ja@tardis ~ $cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp4_input [0]
cat: /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp4_input: No such file or directory
ja@tardis ~ $ls -l /sys/class/thermal/ [1]
total 0
lrwxrwxrwx 1 root root 0 Sep 26 15:58 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 Sep 26 15:58 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 Sep 26 15:58 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 Sep 26 15:58 cooling_device3 -> ../../devices/virtual/thermal/cooling_device3
lrwxrwxrwx 1 root root 0 Sep 26 15:58 cooling_device4 -> ../../devices/virtual/thermal/cooling_device4
lrwxrwxrwx 1 root root 0 Sep 26 15:58 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
ja@tardis ~ $cat /sys/class/thermal/thermal_zone0/temp [0]
61000
ja@tardis ~ $cat /sys/class/thermal/thermal_zone1/temp [0]
cat: /sys/class/thermal/thermal_zone1/temp: No such file or directory
I guess my numbers being highter than yours mean my labtop is quite hot, isn't it ?
Is there a way for me to "repair" acpi ?
Offline
Your machine is not that hot. What make and model is it, and which processor do you have?
There are more than one way for the kernel to be aware of the operating temperature, and different laptops measure the temperature of different things. This laptop gets most of its thermal data from the processor itself. There is one sensor detected my acpi, but it is unclear what it is measuring. I also have available the hard drive temperature, but that comes through smartd, not acpi.
I assume you have run sensors-detect on your system. That is about the only way I know to "repair" ACPI.
But, let's back up a step. What really is at issue? The cores of your system are a bit warm, but not outrageously so. Room ambient temperature is mid-20s C, and your critical point is probably 100C. You are right in the middle.
You might want to use a tool like powertop. It provided much more insight to your system than will acpi. When you run that tool, you might also try tweaking your system with the controls on the tunables tab.
Edit: By the way, your city is one of my favorites
Last edited by ewaller (2015-09-27 15:24:17)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1