Help to configure automatic fan speed and cpu frequency on ThinkPad X260

Joel Carnat joel at carnat.net
Sat Apr 24 11:38:17 PDT 2021


Hello,

I am discovering DragonflyBSD v5.8.3 on a ThinkPad X260.

I have read and configure the system according to the documentation I 
found on the website and various man pages I read. But the fan keeps 
blowing, even when the system is IDLE. And as far as I can tell, the CPU 
frequency doesn't seem to go to its minimum value ; which probably leads 
to the fan issue.

Here's what I have configured:

$ /boot/loader.conf
acpi_thinkpad_load="YES"
acpi_video_load="YES"
drm_load="YES"

$ /etc/rc.conf
powerd_enable="YES"
#powerd_flags="-u 7 -r 0.2 -T 60"

$ /etc/sysctl.conf
hw.acpi.cpu.cx_lowest=C3
machdep.mwait.CX.idle=AUTODEEP

The CPU is "Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz".

I have attached extracts from sysctl.

I already ran OpenBSD 6.x and FreeBSD 13 on that particular machine and 
when idling, then fan becomes silent. So there must be something I do 
wrong with my dfly configuration.

Any advices?

Thank you,
Joel

-------------- next part --------------
hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 1
hw.acpi.reset_video: 1
hw.acpi.cpu.cx_lowest: C3
hw.acpi.cpu.cx_lowest_use: C3
hw.acpi.cpu.px_dom0.avail: 2400 2300 2200 2000 1900 1700 1600 1400 1300 1100 1000 800 700 500 400
hw.acpi.cpu.px_dom0.power: 14236 13487 12752 11325 10635 9292 8642 7382 6772 5591 5020 3917 3384 2356 1861
hw.acpi.cpu.px_dom0.members: cpu3(*) cpu2(*) cpu1(*) cpu0(*)
hw.acpi.cpu.px_dom0.select: 2400
hw.acpi.cpu.px_global: 2400
hw.acpi.cpu.px_handle_notify: 1
hw.acpi.cpu0.cx_supported: C1/1 C2/151 C3/1034
hw.acpi.cpu0.cx_lowest: C3
hw.acpi.cpu0.cx_lowest_use: C3
hw.acpi.cpu0.cx_usage: 0.00% 0.00% 0.00% last 1000000us
hw.acpi.cpu1.cx_supported: C1/1 C2/151 C3/1034
hw.acpi.cpu1.cx_lowest: C3
hw.acpi.cpu1.cx_lowest_use: C3
hw.acpi.cpu1.cx_usage: 11.49% 64.36% 24.13% last 1563us
hw.acpi.cpu2.cx_supported: C1/1 C2/151 C3/1034
hw.acpi.cpu2.cx_lowest: C3
hw.acpi.cpu2.cx_lowest_use: C3
hw.acpi.cpu2.cx_usage: 0.00% 0.00% 0.00% last 1000000us
hw.acpi.cpu3.cx_supported: C1/1 C2/151 C3/1034
hw.acpi.cpu3.cx_lowest: C3
hw.acpi.cpu3.cx_lowest_use: C3
hw.acpi.cpu3.cx_usage: 0.00% 0.00% 0.00% last 1000000us
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 56.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 128.0C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TSP: -1
hw.acpi.battery.life: 99
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1
hw.acpi.video.lcd0.active: 0
hw.acpi.video.lcd0.brightness: 100
hw.acpi.video.lcd0.fullpower: 100
hw.acpi.video.lcd0.economy: 100
hw.acpi.video.lcd0.levels: 100 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
hw.acpi.thinkpad.initialmask: 2056
hw.acpi.thinkpad.availmask: 4294967291
hw.acpi.thinkpad.events: 0
hw.acpi.thinkpad.eventmask: 2056
hw.acpi.thinkpad.hotkey: 2
hw.acpi.thinkpad.lcd_brightness: 0
hw.acpi.thinkpad.volume: 0
hw.acpi.thinkpad.mute: 0
hw.acpi.thinkpad.thinklight: 0
hw.acpi.thinkpad.bluetooth: 1
hw.acpi.thinkpad.wlan: 1
hw.acpi.thinkpad.fan_speed: 4668
hw.acpi.thinkpad.fan_level: 0
hw.acpi.thinkpad.fan: 1
hw.acpi.thinkpad.handlerevents: 1162760014
-------------- next part --------------
hw.sensors.cpu0.temp0: 57.00 degC (node0 core0 temp), OK
hw.sensors.cpu1.temp0: 49.00 degC (node0 core1 temp), OK
hw.sensors.cpu2.temp0: 57.00 degC (node0 core0 temp), OK
hw.sensors.cpu3.temp0: 49.00 degC (node0 core1 temp), OK
hw.sensors.cpu_node0.temp0: 56.00 degC (node0 temp), OK
hw.sensors.acpi_tz0.temp0: 56.00 degC
hw.sensors.acpi_thinkpad0.temp0: 56.00 degC
hw.sensors.acpi_thinkpad0.temp1: invalid
hw.sensors.acpi_thinkpad0.temp2: invalid
hw.sensors.acpi_thinkpad0.temp3: invalid
hw.sensors.acpi_thinkpad0.temp4: invalid
hw.sensors.acpi_thinkpad0.temp5: invalid
hw.sensors.acpi_thinkpad0.temp6: invalid
hw.sensors.acpi_thinkpad0.temp7: invalid
hw.sensors.acpi_thinkpad0.fan0: 4666 RPM
hw.sensors.dev_idmax: 7


More information about the Users mailing list