FAN : PNP0C0B

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.

“DMI type 27, 15 bytes” :

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 </code>

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

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.

HardWare the fan as 3 wires :

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 :

@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|     |     |     |     |     |

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

MORE

fan.txt · Last modified: 2015/11/01 20:15 (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