@TaG: [[Mobile]] [[openmoko]] LenovO FaN [[TZ000]] AspM PcI DsdT AcpI DmesG LnxTHERM ThermaL TherM TemP [[TZ00]]
====== LenovO G470 FanS not Stopping : ======
* URL: http://forums.lenovo.com/t5/Lenovo-3000-and-Value-line/G470-fan-running-non-stop/m-p/565881/highlight/false#M32412
Can we hope a BIOS release that monitor fans speed and fix other ACPI glitches reported by fwts :
FAIL: pciresource thermal_trip cpufreq dmi
Lenovo G470 | Model Name : 20078 | M fg Date: 11/03/23 | BIOS: 40CN23WW(V2.09) 06/20/2011 | OS:GNU/Linux/Debian
===== TODO =====
* http://www.smsc.com/index.php?tid=156&pid=60 # G570 GpU
* http://forums.lenovo.com/t5/tag/sensor/tg-p/board-id/N_Series_Lenovo_3000
* http://forums.lenovo.com/t5/IdeaPad-Y-U-B-V-and-Z-series/Ideapad-U350-Fan-Control-Speed/td-p/174840/page/9
* http://forums.lenovo.com/t5/IdeaPad-Y-U-B-V-and-Z-series/Ideapad-U350-Fan-Control-Speed/td-p/174840/page/16
* http://forums.lenovo.com/t5/IdeaPad-Y-U-B-V-and-Z-series/Ideapad-U350-Fan-Control-Speed/m-p/309600#M29243
==== TEMPERATURE =====
FeedBack :
* http://forums.lenovo.com/t5/Lenovo-3000-and-Value-line/G470-fan-running-non-stop/m-p/567913#M32449
On LenovO G470 LapTop (specs: http://rzr.online.fr/q/lenovo )
I did install on WindowS7 to try to monitor the temp/FaN activities
* http://www.cpuid.com/medias/files/softwares/hwmonitor/hwmonitor_1.18-setup.exe
I think there is a bug on some sensor : TZ00 report 0C
Also the fans RPM are not gathered, I suspect this is a BioS restriction
Anyway the fan seems to run slower than on linux but I dont think it ever stop ...
On GnU/LinuX I noticed :
* boot silently then use emacs, nfs, scripting etc
* ~50C 15min later loudy fan start
* 41C when idle
* 52-C when building a kernel -j2 http://wiki.debian.org/OverridingDSDT
Said "my fans cuts off at 41C and comes back at 56C"
* http://forums.lenovo.com/t5/Lenovo-3000-and-Value-line/Replacing-G570-fan/m-p/583975#M32714
More :
* http://forums.lenovo.com/t5/forums/searchpage/tab/message?filter=location&location=Board:N_Series_Lenovo_3000&q=TZ00
* http://ubuntuforums.org/showthread.php?p=11364099#post11364099
If it maters I made a screenshot at :
http://rzr.online.fr/q/sensor
Same issue observed LinuX side :
grep -i therm /var/log/messages
Oct 18 19:31:42 lap kernel: [ 1.189651] thermal LNXTHERM:00: registered as thermal_zone0
Oct 18 19:31:42 lap kernel: [ 1.189690] ACPI: Thermal Zone [TZ00] (0 C)
Oct 18 19:38:31 lap kernel: [ 1.189631] thermal LNXTHERM:00: registered as thermal_zone0
Oct 18 19:38:31 lap kernel: [ 1.189670] ACPI: Thermal Zone [TZ00] (0 C)
This issue is also pictured by other g470 owner :
* http://forum.lowyat.net/topic/1912189/+90
* https://answers.launchpad.net/ubuntu/+question/6894# ToshibA
Idle CPU temperature ~= 45C seems warm enough to start the FaN :
http://forum.notebookreview.com/hardware-components-aftermarket-upgrades/53705-what-your-idle-cpu-temp.html
http://forums.lenovo.com/t5/Lenovo-3000-and-Value-line/Lenovo-3000-N100-Fan-ALWAYS-on/m-p/571363#M32501
===== SOLUTION w/ PATCHED ACPI =====
cat /proc/version
Linux version 3.8.5lenovog470+ (rzr@lap) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Thu Apr 18 19:44:15 CEST 2013
# rzr@lap:~/ # [0] # sudo grep -i therm /var/log/messages
Apr 14 16:50:17 lap kernel: [ 1.224022] thermal LNXTHERM:00: registered as thermal_zone0
Apr 14 16:50:17 lap kernel: [ 1.224098] ACPI: Thermal Zone [TZ00] (46 C)
Apr 14 16:51:39 lap kernel: ta_generic fan atl1c thermal ata_piix ehci_hcd thermal_sys libata scsi_mod usbcore usb_common [last unloaded: scsi_wait_scan]
Apr 14 17:36:56 lap kernel: r_mod cdrom crc_t10dif ata_generic fan atl1c thermal ata_piix ehci_hcd thermal_sys libata scsi_mod usbcore usb_common [last unloaded: scsi_wait_scan]
Apr 14 18:32:36 lap kernel: [ 1.207024] thermal LNXTHERM:00: registered as thermal_zone0
Apr 14 18:32:36 lap kernel: [ 1.207091] ACPI: Thermal Zone [TZ00] (52 C)
Apr 14 18:54:07 lap kernel: [ 1.224695] thermal LNXTHERM:00: registered as thermal_zone0
Apr 14 18:54:07 lap kernel: [ 1.224824] ACPI: Thermal Zone [TZ00] (48 C)
Apr 14 19:24:54 lap kernel: ta_generic ata_piix ehci_hcd thermal atl1c libata fan scsi_mod thermal_sys usbcore usb_common [last unloaded: scsi_wait_scan]
Apr 14 20:12:34 lap kernel: [ 1.234430] thermal LNXTHERM:00: registered as thermal_zone0
Apr 14 20:12:34 lap kernel: [ 1.234507] ACPI: Thermal Zone [TZ00] (60 C)
Apr 15 01:29:38 lap kernel: [ 1.220349] thermal LNXTHERM:00: registered as thermal_zone0
Apr 15 01:29:38 lap kernel: [ 1.220415] ACPI: Thermal Zone [TZ00] (42 C)
Apr 15 01:31:42 lap kernel: dif cdrom ata_generic ata_piix atl1c thermal ehci_hcd fan thermal_sys libata scsi_mod usbcore usb_common [last unloaded: scsi_wait_scan]
Apr 15 08:30:56 lap kernel: [ 1.234155] thermal LNXTHERM:00: registered as thermal_zone0
Apr 15 08:30:56 lap kernel: [ 1.234270] ACPI: Thermal Zone [TZ00] (42 C)
Apr 15 19:38:24 lap kernel: [ 1.719042] thermal LNXTHERM:00: registered as thermal_zone0
Apr 15 19:38:24 lap kernel: [ 1.719106] ACPI: Thermal Zone [TZ00] (43 C)
Apr 16 08:54:54 lap kernel: [ 1.221033] thermal LNXTHERM:00: registered as thermal_zone0
Apr 16 08:54:54 lap kernel: [ 1.221122] ACPI: Thermal Zone [TZ00] (41 C)
Apr 16 19:19:31 lap kernel: [ 1.217468] thermal LNXTHERM:00: registered as thermal_zone0
Apr 16 19:19:31 lap kernel: [ 1.217540] ACPI: Thermal Zone [TZ00] (41 C)
Apr 17 21:46:01 lap kernel: [ 1.219438] thermal LNXTHERM:00: registered as thermal_zone0
Apr 17 21:46:01 lap kernel: [ 1.219506] ACPI: Thermal Zone [TZ00] (68 C)
Apr 18 20:37:02 lap kernel: [ 1.142564] thermal LNXTHERM:00: registered as thermal_zone0
Apr 18 20:37:02 lap kernel: [ 1.142604] ACPI: Thermal Zone [TZ00] (59 C)
{{http://www.rzr.online.fr.monsite-orange.fr/image/HWMonitor.png}}
===== SENSORS =====
FeedBacK: http://forums.lenovo.com/t5/Lenovo-3000-and-Value-line/G470-fan-running-non-stop/m-p/565881#M32412
sensors-detect
# sensors-detect revision 5984 (2011-07-10 21:22:53 +0200)
# System: LENOVO 20078 (laptop)
# Board: LENOVO Base Board Product Name
Intel digital thermal sensor... Success!
(driver `coretemp')
...
Using driver `i2c-i801' for device 0000:00:1f.3: Intel Cougar Point (PCH)
Module i2c-dev loaded successfully.
...
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
...
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
...
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
root@lap:~# acpi -V
Battery 0: Unknown, 100%
Battery 0: design capacity 3792 mAh, last full capacity 3791 mAh = 99%
Adapter 0: on-line
Thermal 0: ok, 0.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 127.0 degrees C
Thermal 0: trip point 1 switches to mode hot at temperature 127.0 degrees C
Thermal 0: trip point 2 switches to mode passive at temperature 127.0 degrees C
Thermal 0: trip point 3 switches to mode active at temperature 70.0 degrees C
Thermal 0: trip point 4 switches to mode active at temperature 55.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: Fan 0 of 1
Cooling 5: Fan 0 of 1
LANG=C /usr/bin/sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +0.0 C (crit = +127.0 C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +49.0 C (high = +86.0 C, crit = +100.0 C)
Core 0: +48.0 C (high = +86.0 C, crit = +100.0 C)
Core 1: +48.0 C (high = +86.0 C, crit = +100.0 C)
sudo apt-get install lm-sensors
/usr/sbin/sensors-detect
find /sys/ -iname "cur_state"
/sys/devices/virtual/thermal/cooling_device0/cur_state
/sys/devices/virtual/thermal/cooling_device1/cur_state
/sys/devices/virtual/thermal/cooling_device2/cur_state
/sys/devices/virtual/thermal/cooling_device3/cur_state
/sys/devices/virtual/thermal/cooling_device4/cur_state
/sys/devices/virtual/thermal/cooling_device5/cur_state
/sys/devices/virtual/thermal/cooling_device6/cur_state
# find /sys/ -iname "cur_state" | xargs cat
cat /sys/devices/platform/coretemp.0/temp3_input
50000
* https://bugs.launchpad.net/ubuntu/+source/lm-sensors/+bug/134314# ToDo
* http://askubuntu.com/questions/43186/cannot-get-temperatures-in-dell-studio-1558/64965#64965
* http://news.gmane.org/gmane.linux.drivers.sensors
* http://www.lm-sensors.org/browser/lm-sensors/trunk/CHANGES
* http://packages.qa.debian.org/l/lm-sensors.html
* http://packages.qa.debian.org/l/lm-sensors-3.html
* http://OpenHardWareMonitor.org/
===== TZ00 =====
* http://ubuntuforums.org/showthread.php?p=11380553#post11380553
find /sys/devices/virtual/hwmon/
/sys/devices/virtual/hwmon/
/sys/devices/virtual/hwmon/hwmon0
/sys/devices/virtual/hwmon/hwmon0/uevent
/sys/devices/virtual/hwmon/hwmon0/subsystem
/sys/devices/virtual/hwmon/hwmon0/power
/sys/devices/virtual/hwmon/hwmon0/power/async
/sys/devices/virtual/hwmon/hwmon0/power/runtime_status
/sys/devices/virtual/hwmon/hwmon0/power/runtime_usage
/sys/devices/virtual/hwmon/hwmon0/power/runtime_active_kids
/sys/devices/virtual/hwmon/hwmon0/power/runtime_enabled
/sys/devices/virtual/hwmon/hwmon0/power/control
/sys/devices/virtual/hwmon/hwmon0/power/runtime_suspended_time
/sys/devices/virtual/hwmon/hwmon0/power/runtime_active_time
/sys/devices/virtual/hwmon/hwmon0/power/autosuspend_delay_ms
/sys/devices/virtual/hwmon/hwmon0/name
/sys/devices/virtual/hwmon/hwmon0/temp1_input
/sys/devices/virtual/hwmon/hwmon0/temp1_crit
root@lap:~# cat /sys/devices/virtual/hwmon/hwmon0/name
acpitz
root@lap:~# cat /sys/devices/virtual/hwmon/hwmon0/temp1_crit
127000
root@lap:~# cat /sys/devices/virtual/hwmon/hwmon0/temp1_input
0
===== THERMAL =====
dmesg
Nov 19 16:56:56 lap kernel: [ 0.082662] CPU0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz stepping 07
Nov 19 16:56:56 lap kernel: [ 0.187788] Performance Events: PEBS fmt1+, SandyBridge events, Intel PMU driver.
Nov 19 16:56:56 lap kernel: [ 0.187891] ... version: 3
Nov 19 16:56:56 lap kernel: [ 0.187926] ... bit width: 48
Nov 19 16:56:56 lap kernel: [ 0.187961] ... generic registers: 4
Nov 19 16:56:56 lap kernel: [ 0.187995] ... value mask: 0000ffffffffffff
Nov 19 16:56:56 lap kernel: [ 0.188032] ... max period: 000000007fffffff
Nov 19 16:56:56 lap kernel: [ 0.188069] ... fixed-purpose events: 3
Nov 19 16:56:56 lap kernel: [ 0.188103] ... event mask: 000000070000000f
Nov 19 16:56:56 lap kernel: [ 0.188270] Booting Node 0, Processors #1
Nov 19 16:56:56 lap kernel: [ 0.188310] smpboot cpu 1: start_ip = 98000
Nov 19 16:56:56 lap kernel: [ 0.275763] CPU1: Thermal monitoring handled by SMI
Nov 19 16:56:56 lap kernel: [ 0.295931] #2
Nov 19 16:56:56 lap kernel: [ 0.295952] smpboot cpu 2: start_ip = 98000
Nov 19 16:56:56 lap kernel: [ 0.383699] CPU2: Thermal monitoring handled by SMI
Nov 19 16:56:56 lap kernel: [ 0.403865] #3
Nov 19 16:56:56 lap kernel: [ 0.403886] smpboot cpu 3: start_ip = 98000
Nov 19 16:56:56 lap kernel: [ 0.491638] CPU3: Thermal monitoring handled by SMI
Nov 19 16:56:56 lap kernel: [ 0.511737] Brought up 4 CPUs
Nov 19 16:56:56 lap kernel: [ 0.512264] Total of 4 processors activated (18357.76 BogoMIPS).
acpi -V
Battery 0: Unknown, 100%
Battery 0: design capacity 3820 mAh, last full capacity 3819 mAh = 99%
Adapter 0: on-line
Thermal 0: ok, 0.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 127.0 degrees C
Thermal 0: trip point 1 switches to mode hot at temperature 127.0 degrees C
Thermal 0: trip point 2 switches to mode passive at temperature 127.0 degrees C
Thermal 0: trip point 3 switches to mode active at temperature 70.0 degrees C
Thermal 0: trip point 4 switches to mode active at temperature 55.0 degrees C
Cooling 0: LCD 0 of 10
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: Fan 0 of 1
Cooling 6: Fan 0 of 1
* http://old.nabble.com/acpi_osi-td21115083.html
@tag: AspM CpU TemP LenovO
===== ModulE : =====
FeedBack:
* http://forums.lenovo.com/t5/Linux-Discussion/Correct-fan-regulation-with-a-T420s-in-Kubuntu-11-10-Beta2/m-p/567789#M3346
* http://forum.thinkpads.com/viewtopic.php?f=46&t=88592&p=652670#p652670
IdeaPad :
root@lap:~# modinfo ideapad_laptop
filename: /lib/modules/3.1.0-999-generic/kernel/drivers/platform/x86/ideapad-laptop.ko
license: GPL
description: IdeaPad ACPI Extras
author: David Woodhouse
srcversion: 217A0D8FC0EC6AB797B2D05
alias: acpi*:VPC2004:*
depends: sparse-keymap
vermagic: 3.1.0-999-generic SMP mod_unload modversions
parm: no_bt_rfkill:No rfkill for bluetooth. (bool)
* http://kernel.ubuntu.com/git?p=ikepanhc/ideapad-laptop.git;a=summary
* http://kernel.ubuntu.com/git?p=ikepanhc/ideapad-laptop.git;a=shortlog;h=refs/heads/ideapad-laptop-v3.2
* http://lwn.net/Articles/400033/
* http://opensource.wolfsonmicro.com/cgi-bin/gitweb.cgi?p=linux-2.6-asoc.git;a=blob;f=drivers/platform/x86/ideapad-laptop.c
* http://thread.gmane.org/gmane.linux.kernel/1022668
ThinkPad :
sudo modprobe -v thinkpad_acpi force_load=1 fan_control=1 ; dmesg # experimental=1
[ 8295.325479] thinkpad_acpi: ThinkPad ACPI Extras v0.24
[ 8295.325491] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 8295.325498] thinkpad_acpi: ThinkPad BIOS 40CN23WW(V2.09), EC unknown
[ 8295.327691] thinkpad_acpi: detected a 8-level brightness capable ThinkPad
[ 8295.327812] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[ 8295.328187] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
[ 8295.333657] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input13
[ 8295.334795] evbug: Connected device: input13 (ThinkPad Extra Buttons at thinkpad_acpi/input0)
root@lap:~# cat /sys/devices/platform/thinkpad_hwmon/fan1_input
93
root@lap:~# cat /sys/devices/platform/thinkpad_hwmon/pwm1_enable
1
root@lap:~# cat /sys/devices/platform/thinkpad_hwmon/pwm1
0
root@lap:~# echo 1 | sudo tee /sys/devices/platform/thinkpad_hwmon/pwm1
1
root@lap:~# cat /sys/devices/platform/thinkpad_hwmon/pwm1
0
===== IBM =====
FaN :
FeedBack: http://forum.thinkpads.com/viewtopic.php?f=9&t=21054&p=652674#p652674
find /proc/acpi/ibm/
/proc/acpi/ibm/
/proc/acpi/ibm/fan
/proc/acpi/ibm/volume
/proc/acpi/ibm/driver
cat /proc/acpi/ibm/thermal
cat: /proc/acpi/ibm/thermal: No such file or directory
# cat /proc/acpi/ibm/fan
status: disabled
speed: 93
level: 0
commands: level ( is 0-7, auto, disengaged, full-speed)
commands: enable, disable
commands: watchdog ( is 0 (off), 1-120 (seconds))
root@lap:/home/rzr/local/tmp# echo "enable" > /proc/acpi/ibm/fan
root@lap:/home/rzr/local/tmp# echo "level 7" > /proc/acpi/ibm/fan
root@lap:/home/rzr/local/tmp# cat /proc/acpi/ibm/fan
status: enabled
speed: 93
level: 7
commands: level ( is 0-7, auto, disengaged, full-speed)
commands: enable, disable
commands: watchdog ( is 0 (off), 1-120 (seconds))
thinkfan
WARNING: Using default temperature inputs in /proc/acpi/ibm/thermal.
WARNING: You have not provided any correction values for any sensor, and your fan will only start at 55 °C. This can be dangerous for your hard drive.
Config as read from /etc/thinkfan.conf:
Fan level Low High
0 0 55
1 48 60
2 50 61
3 52 63
4 56 65
5 59 66
7 63 32767
/proc/acpi/ibm/thermal
* http://sourceforge.net/projects/ibm-acpi/
* http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git/shortlog/refs/heads/devel
* http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/
* http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git/blob_plain/refs/heads/devel:/Documentation/laptops/thinkpad-acpi.txt
* https://sourceforge.net/mailarchive/message.php?msg_id=20555247# IdeaPad
* http://mastergenius.net/wordpress/2012/07/20/control-your-thinkpad-t430-fan-speed-in-ubuntu-12-04/# TriggeR
sudo aptitude install gkrellm-ibam gkrellm-thinkbat
===== termal.ko =====
modinfo thermal
filename: /lib/modules/3.1.0-rc7-amd64/kernel/drivers/acpi/thermal.ko
license: GPL
description: ACPI Thermal Zone Driver
author: Paul Diefenbaugh
alias: acpi*:LNXTHERM:*
depends: thermal_sys
intree: Y
vermagic: 3.1.0-rc7-amd64 SMP mod_unload modversions
parm: act:Disable or override all lowest active trip points. (int)
parm: crt:Disable or lower all critical trip points. (int)
parm: tzp:Thermal zone polling frequency, in 1/10 seconds. (int)
parm: nocrt:Set to take no action upon ACPI thermal zone critical trips points. (int)
parm: off:Set to disable ACPI thermal support. (int)
parm: psv:Disable or override all passive trip points. (int)
modinfo thermal_sys
filename: /lib/modules/3.1.0-rc7-amd64/kernel/drivers/thermal/thermal_sys.ko
license: GPL
description: Generic thermal management sysfs support
author: Zhang Rui
depends:
intree: Y
vermagic: 3.1.0-rc7-amd64 SMP mod_unload modversions
===== MONITORING =====
sudo aptitude install kcollectd
* http://collectd.org/wiki/index.php/Plugin:CPUFreq
* http://collectd.org/wiki/index.php/Plugin:thermal
* http://git.verplant.org/?p=collectd.git;a=blob;f=src/thermal.c;h=0ad0d90a04377126132e35cad77e4d592a844a1d;hb=HEAD
* http://ubuntuforums.org/showthread.php?p=12085948#post12085948
cat /sys/class/thermal/thermal_zone0/temp
54000
===== QUESTION ======
What is the common junction temperature limit ? 80C < 85C < 90C < 100C < 125C < 150C ?
* http://www.researchgate.net/post/What_is_the_true_temperature_limit_of_silicon_power_semiconductor_devices