===== FAN : PNP0C0B =====
ToDo:
* https://bugs.launchpad.net/ideapad-laptop/+bug/752144
* http://www.thinkwiki.org/wiki/How_to_control_fan_speed
* http://sourceforge.net/projects/thinkfan/support
* http://www.thinkwiki.org/wiki/How_to_control_fan_speed
* https://github.com/tetromino/lenovo-sl-laptop/blob/master/lenovo-sl-laptop.c # TACH DECF SFNV
* http://forum.thinkpads.com/viewtopic.php?p=607990
* http://subversion.assembla.com/svn/fakesmc
* https://bugs.launchpad.net/cpufreqd/+bug/370173/comments/355
LenovO-y560 :
* https://bugs.launchpad.net/linux/+bug/763477
* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763477# may affect lenovo-y560 too
==== HARDWARE ====
sudo hwinfo | grep -i fan
fan: /devices/LNXSYSTM:00/device:3c/PNP0C0B:00
fan: /devices/LNXSYSTM:00/device:3c/PNP0C0B:01
fan: /devices/LNXSYSTM:00/device:3c/PNP0C0B:00
fan: /devices/LNXSYSTM:00/device:3c/PNP0C0B:01
E: DRIVER=fan
E: DRIVER=fan
fan 12674 0 - Live 0xffffffffa00ad000
thermal_sys 18002 4 video,processor,fan,thermal, Live 0xffffffffa0020000
Driver Status: thermal,fan are active
Driver Activation Cmd: "modprobe thermal; modprobe fan"
==== AcpI ====
dmesg | grep -i fan
[ 1.486249] ACPI: Fan [FAN0] (off)
[ 1.486358] ACPI: Fan [FAN1] (off)
acpi -c
Cooling 0: LCD 7 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
==== DmI : ====
sudo dmidecode | grep -i fan
Type: Fan
sudo dmidecode
Handle 0x0010, DMI type 27, 15 bytes
Cooling Device
Type: Fan
Status: OK
OEM-specific Information: 0x00000000
Nominal Speed: 2000 rpm
Description: Cooling Device Description.
* http://permalink.gmane.org/gmane.linux.drivers.platform.x86.devel/2448
* http://superuser.com/questions/278826/fan-control-in-linux
* http://forums.debian.net/viewtopic.php?f=7&t=54979&p=401572#p401572
"DMI type 27, 15 bytes" :
* http://iws.cs.uni-magdeburg.de/~elkner/tmp/hpZ400-lnx.dmi
* http://www.thomas-krenn.com/de/wikiDE/index.php?title=Hardwareinfos_mit_dmidecode_auslesen&oldid=12244
* https://answers.launchpad.net/ubuntu/+question/160637# Acer spire 5750 4GB RAM, i3-2310M intel proc
==== sensors ====
sudo pwmconfig
Found the following devices:
hwmon0 is acpitz
hwmon1/device is coretemp
hwmon2 is i8k
hwmon3/device is thinkpad
Found the following PWM controls:
hwmon3/device/pwm1
/usr/sbin/pwmconfig: line 199: echo: write error: Operation not permitted
hwmon3/device/pwm1 stuck to 0
Manual control mode not supported, skipping hwmon3/device/pwm1.
There are no usable PWM outputs.
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
===== DRIVER / SYS ======
sudo find /proc /dev /sys/ -iname "*fan*"
/sys/bus/acpi/drivers/fan
/sys/module/thermal_sys/holders/fan
/sys/module/fan
find /sys/module/fan/
/sys/module/fan/
/sys/module/fan/holders
/sys/module/fan/initstate
/sys/module/fan/uevent
/sys/module/fan/refcnt
/sys/module/fan/sections
/sys/module/fan/sections/.note.gnu.build-id
/sys/module/fan/sections/.text
/sys/module/fan/sections/.init.text
/sys/module/fan/sections/.exit.text
/sys/module/fan/sections/.rodata.str1.1
/sys/module/fan/sections/.rodata
/sys/module/fan/sections/.data
/sys/module/fan/sections/.gnu.linkonce.this_module
/sys/module/fan/sections/.symtab
/sys/module/fan/sections/.strtab
/sys/module/fan/notes
/sys/module/fan/notes/.note.gnu.build-id
http://forums.archlinux.fr/topic4162.html
* http://forums.debian.net/viewtopic.php?f=7&t=54979# DsdT
* http://forum.ubuntu-fr.org/viewtopic.php?pid=6493861#p6493861
* http://forum.ubuntu-fr.org/viewtopic.php?id=201079&p=2
* http://wiki.debian.org/InstallingDebianOn/HP/Envy 14 Beats Edition 2020ep
* http://forum.ubuntu-fr.org/viewtopic.php?pid=6525341#p6525341
* http://sourceforge.net/projects/tp4xfancontrol/
* http://www.thinkwiki.org/wiki/Talk:ACPI_fan_control_script
* http://forums.lenovo.com/t5/Lenovo-3000-and-Value-line/Replacing-G570-fan/m-p/406891
* http://www.almico.com/sfdownload.php
* http://www.almico.com/speedfan444.exe
* http://forum.thinkpads.com/viewtopic.php?t=17715
* http://forums.lenovo.com/t5/T61-and-prior-T-series-ThinkPad/SpeedFan-cannot-find-fan-on-T43/m-p/571541#M60061
* https://bbs.archlinux.org/viewtopic.php?id=110817
* LENOVO 17045UG https://bugs.launchpad.net/ubuntu/+source/linux/+bug/350178
On LinuX :
* on boot the fan is running in silent mode
* 55C : now it switch to medium speed and it not silent
* 44C : the system is back to cold temp but the fan is still at the same speed
rzr@lap:~$ find /sys/ -iname "*fan*"
/sys/bus/acpi/drivers/fan
/sys/kernel/debug/tracing/events/syscalls/sys_enter_fanotify_init
/sys/kernel/debug/tracing/events/syscalls/sys_exit_fanotify_init
/sys/kernel/slab/fanotify_response_event
ls /sys/bus/acpi/drivers/fan/
bind PNP0C0B:00 PNP0C0B:01 uevent unbind
file /sys/bus/acpi/drivers/fan/PNP0C0B:00
/sys/bus/acpi/drivers/fan/PNP0C0B:00: symbolic link to `../../../../devices/LNXSYSTM:00/device:3c/PNP0C0B:00'
file /sys/bus/acpi/drivers/fan/PNP0C0B:01
/sys/bus/acpi/drivers/fan/PNP0C0B:01: symbolic link to `../../../../devices/LNXSYSTM:00/device:3c/PNP0C0B:01'
fwts/results.log:12032 fan ADVICE: Did not detect any change in the CPU related thermal cooling device
fwts/results.log:12033 fan states. It could be that the devices are returning static information back to
fwts/results.log:12034 fan the driver and/or the fan speed is automatically being controlled by firmware
fwts/results.log:12035 fan using System Management Mode in which case the kernel interfaces being
fwts/results.log:12036 fan examined may not work anyway.
* http://unix.stackexchange.com/questions/10971/information-about-a-laptop-fan
HardWare the fan as 3 wires :
* http://itbbs.pconline.com.cn/notebook/13942334.html
===== DSDT =====
grep -iHn fan /etc/local/acpi/DSDT.dsl
/etc/local/acpi/DSDT.dsl:2787: FAN1, 1,
/etc/local/acpi/DSDT.dsl:2788: FAN2, 1,
/etc/local/acpi/DSDT.dsl:2789: FANT, 1,
/etc/local/acpi/DSDT.dsl:2793: FANU, 4,
/etc/local/acpi/DSDT.dsl:3643: Store (FANG (0x8108), BT1)
/etc/local/acpi/DSDT.dsl:3644: Store (FANG (0x810B), BT2)
/etc/local/acpi/DSDT.dsl:3645: Store (FANG (0x810E), BT3)
/etc/local/acpi/DSDT.dsl:3646: Store (FANG (0x8111), BT4)
/etc/local/acpi/DSDT.dsl:3647: Store (FANG (0x8114), BT5)
/etc/local/acpi/DSDT.dsl:3648: Store (FANG (0x8117), BT6)
/etc/local/acpi/DSDT.dsl:3649: Store (FANG (0x811A), BT7)
/etc/local/acpi/DSDT.dsl:3796: Method (FANG, 1, NotSerialized)
/etc/local/acpi/DSDT.dsl:3805: Method (FANW, 2, NotSerialized)
/etc/local/acpi/DSDT.dsl:5001: Device (FAN0)
/etc/local/acpi/DSDT.dsl:5034: Device (FAN1)
/etc/local/acpi/DSDT.dsl:5096: FAN1
/etc/local/acpi/DSDT.dsl:5100: FAN0
Device (FAN0) { Name (_HID, EisaId ("PNP0C0B")) //...
Device (FAN1) { Name (_HID, EisaId ("PNP0C0B")) //...
// (...)
Scope (_TZ)
{
Name (ETMD, One)
Name (THLD, 0x78)
Name (YBT4, 0x37)
Name (YBT3, 0x40)
Name (YBT2, 0x49)
Name (YBT1, 0x50)
Name (YBT0, 0x5B)
PowerResource (FN00, 0x00, 0x0000)
{
Method (_STA, 0, Serialized)
{
Return (VFN0)
}
Method (_ON, 0, Serialized)
{
Store (One, VFN0)
}
Method (_OFF, 0, Serialized)
{
P8XH (0x04, 0x0D, Zero)
P8XH (0x04, 0x0D, One)
Store (Zero, VFN0)
P8XH (0x04, 0x1D, Zero)
P8XH (0x04, 0x1D, One)
}
}
Device (FAN0)
{
Name (_HID, EisaId ("PNP0C0B"))
Name (_UID, Zero)
Name (_PR0, Package (0x01)
{
FN00
})
}
PowerResource (FN01, 0x00, 0x0000)
{
// (...)
modinfo fan
filename: /lib/modules/3.1.0-rc7-amd64/kernel/drivers/acpi/fan.ko
license: GPL
description: ACPI Fan Driver
author: Paul Diefenbaugh
alias: acpi*:PNP0C0B:*
depends: thermal_sys
intree: Y
vermagic: 3.1.0-rc7-amd64 SMP mod_unload modversions
DsdT :
* http://notebookequus.blogspot.com/2008/09/patching-dsdt-table.html
* http://wiki-static.aydogan.net/HP_Compaq_nx6110# PNP0C0B
* http://forum.notebookreview.com/dell-inspiron-dell-studio/458719-fan-noise-studio-1558-a-6.html
@tag: [[fan]] [[heat]] [[cool]] [[noise]]
===== fwts =====
sudo fwts 2>&1 | tee fwts.txt | grep -i fan
Check _FIF (Fan Information). 1 skipped
Check _FSL (Fan Set Level). 1 skipped
Check _FST (Fan Status). 1 skipped
Test: Simple Fan Tests.
Check fan status. 7 passed
Load system, check CPU fan status.
grep -i fan results.log
00013 fwts fan fadt cstates checksum apicinstance acpitables syntaxcheck wakealarm.
01149 method Test 24 of 92: Check _FIF (Fan Information).
01152 method Test 25 of 92: Check _FSL (Fan Set Level).
01155 method Test 26 of 92: Check _FST (Fan Status).
01856 fan Simple Fan Tests.
01857 fan -----------------------------------------------------------------------------
01858 fan Test 1 of 2: Check fan status.
01859 fan Test how many fans there are in the system. Check for the current status of
01860 fan the fan(s).
01861 fan PASSED: Test 1, Fan cooling_device0 of type Fan has max cooling state 1 and
01862 fan current cooling state 0.
01863 fan PASSED: Test 1, Fan cooling_device1 of type Fan has max cooling state 1 and
01864 fan current cooling state 0.
01865 fan PASSED: Test 1, Fan cooling_device2 of type Processor has max cooling state 10
01866 fan and current cooling state 0.
01867 fan PASSED: Test 1, Fan cooling_device3 of type Processor has max cooling state 10
01868 fan and current cooling state 0.
01869 fan PASSED: Test 1, Fan cooling_device4 of type Processor has max cooling state 10
01870 fan and current cooling state 0.
01871 fan PASSED: Test 1, Fan cooling_device5 of type Processor has max cooling state 10
01872 fan and current cooling state 0.
01873 fan PASSED: Test 1, Fan cooling_device6 of type LCD has max cooling state 10 and
01874 fan current cooling state 0.
01875 fan
01876 fan Test 2 of 2: Load system, check CPU fan status.
01877 fan Test how many fans there are in the system. Check for the current status of
01878 fan the fan(s).
01879 fan Loading CPUs for 20 seconds to try and get fan speeds to change.
01880 fan Fan cooling_device2 current state did not change from value 0 while CPUs were
01881 fan busy.
01882 fan Fan cooling_device3 current state did not change from value 0 while CPUs were
01883 fan busy.
01884 fan Fan cooling_device4 current state did not change from value 0 while CPUs were
01885 fan busy.
01886 fan Fan cooling_device5 current state did not change from value 0 while CPUs were
01887 fan busy.
01888 fan
01889 fan ADVICE: Did not detect any change in the CPU related thermal cooling device
01890 fan states. It could be that the devices are returning static information back to
01891 fan the driver and/or the fan speed is automatically being controlled by firmware
01892 fan using System Management Mode in which case the kernel interfaces being
01893 fan examined may not work anyway.
01894 fan
01895 fan
01896 fan =============================================================================
01897 fan 7 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
01898 fan =============================================================================
02147 summary fan | 7| | | | | |
00013 fwts fan fadt cstates checksum apicinstance acpitables syntaxcheck wakealarm.
01149 method Test 24 of 92: Check _FIF (Fan Information).
01152 method Test 25 of 92: Check _FSL (Fan Set Level).
01155 method Test 26 of 92: Check _FST (Fan Status).
01864 fan Simple Fan Tests.
01865 fan -----------------------------------------------------------------------------
01866 fan Test 1 of 2: Check fan status.
01867 fan Test how many fans there are in the system. Check for the current status of
01868 fan the fan(s).
01869 fan PASSED: Test 1, Fan cooling_device0 of type Fan has max cooling state 1 and
01870 fan current cooling state 0.
01871 fan PASSED: Test 1, Fan cooling_device1 of type Fan has max cooling state 1 and
01872 fan current cooling state 0.
01873 fan PASSED: Test 1, Fan cooling_device2 of type Processor has max cooling state 10
01874 fan and current cooling state 0.
01875 fan PASSED: Test 1, Fan cooling_device3 of type Processor has max cooling state 10
01876 fan and current cooling state 0.
01877 fan PASSED: Test 1, Fan cooling_device4 of type Processor has max cooling state 10
01878 fan and current cooling state 0.
01879 fan PASSED: Test 1, Fan cooling_device5 of type Processor has max cooling state 10
01880 fan and current cooling state 0.
01881 fan PASSED: Test 1, Fan cooling_device6 of type LCD has max cooling state 10 and
01882 fan current cooling state 0.
01883 fan
01884 fan Test 2 of 2: Load system, check CPU fan status.
01885 fan Test how many fans there are in the system. Check for the current status of
01886 fan the fan(s).
01887 fan Loading CPUs for 20 seconds to try and get fan speeds to change.
00013 fwts fan fadt cstates checksum apicinstance acpitables syntaxcheck wakealarm.
01149 method Test 24 of 92: Check _FIF (Fan Information).
01152 method Test 25 of 92: Check _FSL (Fan Set Level).
01155 method Test 26 of 92: Check _FST (Fan Status).
01856 fan Simple Fan Tests.
01857 fan -----------------------------------------------------------------------------
01858 fan Test 1 of 2: Check fan status.
01859 fan Test how many fans there are in the system. Check for the current status of
01860 fan the fan(s).
01861 fan PASSED: Test 1, Fan cooling_device0 of type Fan has max cooling state 1 and
01862 fan current cooling state 0.
01863 fan PASSED: Test 1, Fan cooling_device1 of type Fan has max cooling state 1 and
01864 fan current cooling state 0.
01865 fan PASSED: Test 1, Fan cooling_device2 of type Processor has max cooling state 10
01866 fan and current cooling state 0.
01867 fan PASSED: Test 1, Fan cooling_device3 of type Processor has max cooling state 10
01868 fan and current cooling state 0.
01869 fan PASSED: Test 1, Fan cooling_device4 of type Processor has max cooling state 10
01870 fan and current cooling state 0.
01871 fan PASSED: Test 1, Fan cooling_device5 of type Processor has max cooling state 10
01872 fan and current cooling state 0.
01873 fan PASSED: Test 1, Fan cooling_device6 of type LCD has max cooling state 10 and
01874 fan current cooling state 0.
01875 fan
01876 fan Test 2 of 2: Load system, check CPU fan status.
01877 fan Test how many fans there are in the system. Check for the current status of
01878 fan the fan(s).
01879 fan Loading CPUs for 20 seconds to try and get fan speeds to change.
01880 fan Fan cooling_device2 current state did not change from value 0 while CPUs were
01881 fan busy.
01882 fan Fan cooling_device3 current state did not change from value 0 while CPUs were
01883 fan busy.
01884 fan Fan cooling_device4 current state did not change from value 0 while CPUs were
01885 fan busy.
01886 fan Fan cooling_device5 current state did not change from value 0 while CPUs were
01887 fan busy.
01888 fan
01889 fan ADVICE: Did not detect any change in the CPU related thermal cooling device
01890 fan states. It could be that the devices are returning static information back to
01891 fan the driver and/or the fan speed is automatically being controlled by firmware
01892 fan using System Management Mode in which case the kernel interfaces being
01893 fan examined may not work anyway.
01894 fan
01895 fan
01896 fan =============================================================================
01897 fan 7 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
01898 fan =============================================================================
02147 summary fan | 7| | | | | |
* http://pastebin.com/XuaExZL8
==== SENSORS ====
sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +34.0°C (crit = +90.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +34.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +34.0°C (high = +105.0°C, crit = +105.0°C)
@TaG: SensoR
===== MISC =====
* http://en.wikipedia.org/wiki/GuruPlug#cite_note-fan_direct_dc_wiring-4 FaN BoX
* On AmiloA cy26 fan starts at 70C and cutoff at 55C ? idle is near 54C [[ThrM]]
===== LINKS =====
* https://ounapuu.ee/posts/2022/09/26/minimum-viable-fan-control-script/
==== MORE ====
@tag: DsdT LenovO
{{http://boingboing.net/wp-content/uploads/2011/11/Not-a-GIF.jpg}}
@TaG: LenovO SensoR FanLess NoisE AcpI RpM DmesG DsdT