@TaG: Mobile openmoko LenovO FaN TZ000 AspM PcI DsdT AcpI DmesG LnxTHERM ThermaL TherM TemP TZ00

LenovO G470 FanS not Stopping :

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

TEMPERATURE

FeedBack :

On LenovO G470 LapTop (specs: http://rzr.online.fr/q/lenovo )

I did install on WindowS7 to try to monitor the temp/FaN activities

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 :

Said “my fans cuts off at 41C and comes back at 56C”

More :

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 :

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)

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

TZ00

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

@tag: AspM CpU TemP LenovO

ModulE :

FeedBack:

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 <dwmw2@infradead.org>
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)

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 <level> (<level> is 0-7, auto, disengaged, full-speed)
commands:       enable, disable
commands:       watchdog <timeout> (<timeout> 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 <level> (<level> is 0-7, auto, disengaged, full-speed)
commands:       enable, disable
commands:       watchdog <timeout> (<timeout> 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
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

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

thermal.txt · Last modified: 2022/04/16 12:24 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki