On Sun, Sep 24, 2017 at 07:11:47PM -0300, Henrique de Moraes Holschuh wrote:
> The cooling devices are likely at:
> /sys/devices/virtual/thermal
One per CPU core, all having identical values:
type = Processor
cur_state = 0
max_state = 3
runtime_enabled = disabled
runtime_status = unsupported
runtime_usage = 0
=> but should a working Kaveri provide a fifth, GPU-specific, cooling device?
That also make me think that overheat/hang happens consistently using
ffmpeg (and often using video/visioconf)
thinkpad_acpi parameters of interest are:
/sys/module/thinkpad_acpi/parameters/fan_control = N
/sys/bus/platform/drivers/thinkpad_hwmon/fan_watchdog = 0
/sys/devices/platform/thinkpad_hwmon/fan1_input = 0
"fan" module is not loaded during boot (!)
Manually loading creates nothing more than:
> /sys/module/fan/drivers/platform:acpi-fan
[and nothing specific inside dmesg]
Maybe related to this line in dmesg?
> [drm] Internal thermal controller without fan control
(detailed information inside attachment)
# lsmod |egrep -i 'cool|acpi|thinkpad|fan'
thinkpad_acpi 86016 1
nvram 16384 1 thinkpad_acpi
snd 77824 15 snd_pcm_oss,snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_mixer_oss,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
rfkill 24576 4 bluetooth,thinkpad_acpi,cfg80211
acpi_cpufreq 20480 0
video 40960 1 thinkpad_acpi
#### ==> "fan" module is not loaded (automatically)
# find /sys -regextype posix-egrep -regex '.*(cool|fan|temp)[^/]*'
/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_max
/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_crit
/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_crit_hyst
/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
/sys/devices/pci0000:00/0000:00:01.0/hwmon/hwmon0/temp1_crit
/sys/devices/pci0000:00/0000:00:01.0/hwmon/hwmon0/temp1_crit_hyst
/sys/devices/pci0000:00/0000:00:01.0/hwmon/hwmon0/temp1_input
/sys/devices/platform/thinkpad_hwmon/fan1_input
/sys/devices/LNXSYSTM:00/LNXCPU:03/thermal_cooling
/sys/devices/LNXSYSTM:00/LNXCPU:01/thermal_cooling
/sys/devices/LNXSYSTM:00/LNXCPU:02/thermal_cooling
/sys/devices/LNXSYSTM:00/LNXCPU:00/thermal_cooling
/sys/devices/virtual/thermal/cooling_device3
/sys/devices/virtual/thermal/cooling_device1
/sys/devices/virtual/thermal/cooling_device2
/sys/devices/virtual/thermal/cooling_device0
/sys/class/thermal/cooling_device3
/sys/class/thermal/cooling_device1
/sys/class/thermal/cooling_device2
/sys/class/thermal/cooling_device0
/sys/bus/platform/drivers/thinkpad_hwmon/fan_watchdog
/sys/bus/pci/drivers/k10temp
/sys/module/thinkpad_acpi/parameters/fan_control
/sys/module/k10temp
/sys/module/k10temp/drivers/pci:k10temp
/sys/module/rcutree/parameters/rcu_fanout_exact
/sys/module/rcutree/parameters/rcu_fanout_leaf
# tree /sys/devices/virtual/thermal
/sys/devices/virtual/thermal
├── cooling_device0
│ ├── cur_state
│ ├── device -> ../../../LNXSYSTM:00/LNXCPU:00
│ ├── max_state
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── subsystem -> ../../../../class/thermal
│ ├── type
│ └── uevent
├── cooling_device1
│ ├── cur_state
│ ├── device -> ../../../LNXSYSTM:00/LNXCPU:01
│ ├── max_state
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── subsystem -> ../../../../class/thermal
│ ├── type
│ └── uevent
├── cooling_device2
│ ├── cur_state
│ ├── device -> ../../../LNXSYSTM:00/LNXCPU:02
│ ├── max_state
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── subsystem -> ../../../../class/thermal
│ ├── type
│ └── uevent
└── cooling_device3
├── cur_state
├── device -> ../../../LNXSYSTM:00/LNXCPU:03
├── max_state
├── power
│ ├── async
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_kids
│ ├── runtime_active_time
│ ├── runtime_enabled
│ ├── runtime_status
│ ├── runtime_suspended_time
│ └── runtime_usage
├── subsystem -> ../../../../class/thermal
├── type
└── uevent
# cat /sys/module/thinkpad_acpi/parameters/fan_control
N
# cat /sys/bus/platform/drivers/thinkpad_hwmon/fan_watchdog
0
# cat /sys/devices/platform/thinkpad_hwmon/fan1_input
0
# head /sys/devices/virtual/thermal/**
##### cooling_device0
==> /sys/devices/virtual/thermal/cooling_device0/cur_state <==
0
==> /sys/devices/virtual/thermal/cooling_device0/device <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device0/device': est un dossier
==> /sys/devices/virtual/thermal/cooling_device0/max_state <==
3
==> /sys/devices/virtual/thermal/cooling_device0/power <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device0/power': est un dossier
==> /sys/devices/virtual/thermal/cooling_device0/power/async <==
disabled
==> /sys/devices/virtual/thermal/cooling_device0/power/autosuspend_delay_ms <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device0/power/autosuspend_delay_ms': Erreur d'entrée/sortie
==> /sys/devices/virtual/thermal/cooling_device0/power/control <==
auto
==> /sys/devices/virtual/thermal/cooling_device0/power/runtime_active_kids <==
0
==> /sys/devices/virtual/thermal/cooling_device0/power/runtime_active_time <==
0
==> /sys/devices/virtual/thermal/cooling_device0/power/runtime_enabled <==
disabled
==> /sys/devices/virtual/thermal/cooling_device0/power/runtime_status <==
unsupported
==> /sys/devices/virtual/thermal/cooling_device0/power/runtime_suspended_time <==
0
==> /sys/devices/virtual/thermal/cooling_device0/power/runtime_usage <==
0
==> /sys/devices/virtual/thermal/cooling_device0/subsystem <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device0/subsystem': est un dossier
==> /sys/devices/virtual/thermal/cooling_device0/type <==
Processor
==> /sys/devices/virtual/thermal/cooling_device0/uevent <==
### cooling_device1
==> /sys/devices/virtual/thermal/cooling_device1/cur_state <==
0
==> /sys/devices/virtual/thermal/cooling_device1/device <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device1/device': est un dossier
==> /sys/devices/virtual/thermal/cooling_device1/max_state <==
3
==> /sys/devices/virtual/thermal/cooling_device1/power <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device1/power': est un dossier
==> /sys/devices/virtual/thermal/cooling_device1/power/async <==
disabled
==> /sys/devices/virtual/thermal/cooling_device1/power/autosuspend_delay_ms <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device1/power/autosuspend_delay_ms': Erreur d'entrée/sortie
==> /sys/devices/virtual/thermal/cooling_device1/power/control <==
auto
==> /sys/devices/virtual/thermal/cooling_device1/power/runtime_active_kids <==
0
==> /sys/devices/virtual/thermal/cooling_device1/power/runtime_active_time <==
0
==> /sys/devices/virtual/thermal/cooling_device1/power/runtime_enabled <==
disabled
==> /sys/devices/virtual/thermal/cooling_device1/power/runtime_status <==
unsupported
==> /sys/devices/virtual/thermal/cooling_device1/power/runtime_suspended_time <==
0
==> /sys/devices/virtual/thermal/cooling_device1/power/runtime_usage <==
0
==> /sys/devices/virtual/thermal/cooling_device1/subsystem <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device1/subsystem': est un dossier
==> /sys/devices/virtual/thermal/cooling_device1/type <==
Processor
==> /sys/devices/virtual/thermal/cooling_device1/uevent <==
### cooling_device2
==> /sys/devices/virtual/thermal/cooling_device2/cur_state <==
0
==> /sys/devices/virtual/thermal/cooling_device2/device <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device2/device': est un dossier
==> /sys/devices/virtual/thermal/cooling_device2/max_state <==
3
==> /sys/devices/virtual/thermal/cooling_device2/power <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device2/power': est un dossier
==> /sys/devices/virtual/thermal/cooling_device2/power/async <==
disabled
==> /sys/devices/virtual/thermal/cooling_device2/power/autosuspend_delay_ms <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device2/power/autosuspend_delay_ms': Erreur d'entrée/sortie
==> /sys/devices/virtual/thermal/cooling_device2/power/control <==
auto
==> /sys/devices/virtual/thermal/cooling_device2/power/runtime_active_kids <==
0
==> /sys/devices/virtual/thermal/cooling_device2/power/runtime_active_time <==
0
==> /sys/devices/virtual/thermal/cooling_device2/power/runtime_enabled <==
disabled
==> /sys/devices/virtual/thermal/cooling_device2/power/runtime_status <==
unsupported
==> /sys/devices/virtual/thermal/cooling_device2/power/runtime_suspended_time <==
0
==> /sys/devices/virtual/thermal/cooling_device2/power/runtime_usage <==
0
==> /sys/devices/virtual/thermal/cooling_device2/subsystem <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device2/subsystem': est un dossier
==> /sys/devices/virtual/thermal/cooling_device2/type <==
Processor
==> /sys/devices/virtual/thermal/cooling_device2/uevent <==
### cooling_device3
==> /sys/devices/virtual/thermal/cooling_device3/cur_state <==
0
==> /sys/devices/virtual/thermal/cooling_device3/device <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device3/device': est un dossier
==> /sys/devices/virtual/thermal/cooling_device3/max_state <==
3
==> /sys/devices/virtual/thermal/cooling_device3/power <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device3/power': est un dossier
==> /sys/devices/virtual/thermal/cooling_device3/power/async <==
disabled
==> /sys/devices/virtual/thermal/cooling_device3/power/autosuspend_delay_ms <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device3/power/autosuspend_delay_ms': Erreur d'entrée/sortie
==> /sys/devices/virtual/thermal/cooling_device3/power/control <==
auto
==> /sys/devices/virtual/thermal/cooling_device3/power/runtime_active_kids <==
0
==> /sys/devices/virtual/thermal/cooling_device3/power/runtime_active_time <==
0
==> /sys/devices/virtual/thermal/cooling_device3/power/runtime_enabled <==
disabled
==> /sys/devices/virtual/thermal/cooling_device3/power/runtime_status <==
unsupported
==> /sys/devices/virtual/thermal/cooling_device3/power/runtime_suspended_time <==
0
==> /sys/devices/virtual/thermal/cooling_device3/power/runtime_usage <==
0
==> /sys/devices/virtual/thermal/cooling_device3/subsystem <==
head: erreur de lecture '/sys/devices/virtual/thermal/cooling_device3/subsystem': est un dossier
==> /sys/devices/virtual/thermal/cooling_device3/type <==
Processor
==> /sys/devices/virtual/thermal/cooling_device3/uevent <==
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel