Page MenuHomeFreeBSD

D35981.diff
No OneTemporary

D35981.diff

Index: libexec/rc/rc.conf
===================================================================
--- libexec/rc/rc.conf
+++ libexec/rc/rc.conf
@@ -707,8 +707,16 @@
devfs_load_rulesets="YES" # Enable to always load the default rulesets
performance_cx_lowest="NONE" # Online CPU idle state
performance_cpu_freq="NONE" # Online CPU frequency
+performance_tz0_active="NONE" # Online forced active cooling zone
+performance_tz0_PSV="NONE" # Online passive cooling threshold
+performance_tz0_CR3="NONE" # Online critical standby (S3) threshold
+performance_tz0_HOT="NONE" # Online critical suspend (S4) threshold
economy_cx_lowest="Cmax" # Offline CPU idle state
economy_cpu_freq="NONE" # Offline CPU frequency
+economy_tz0_active="NONE" # Offline forced active cooling zone
+economy_tz0_PSV="NONE" # Offline passive cooling threshold
+economy_tz0_CR3="NONE" # Offline critical standby (S3) threshold
+economy_tz0_HOT="NONE" # Offline critical suspend (S4) threshold
virecover_enable="YES" # Perform housekeeping for the vi(1) editor
ugidfw_enable="NO" # Load mac_bsdextended(4) rules on boot
bsdextended_script="/etc/rc.bsdextended" # Default mac_bsdextended(4)
Index: libexec/rc/rc.d/power_profile
===================================================================
--- libexec/rc/rc.d/power_profile
+++ libexec/rc/rc.d/power_profile
@@ -80,6 +80,22 @@
esac
# Set the various sysctls based on the profile's values.
+node="hw.acpi.thermal.tz0._PSV"
+eval value=\$${profile}_tz0_PSV
+sysctl_set
+
+node="hw.acpi.thermal.tz0._CR3"
+eval value=\$${profile}_tz0_CR3
+sysctl_set
+
+node="hw.acpi.thermal.tz0._HOT"
+eval value=\$${profile}_tz0_HOT
+sysctl_set
+
+node="hw.acpi.thermal.tz0.active"
+eval value=\$${profile}_tz0_active
+sysctl_set
+
node="hw.acpi.cpu.cx_lowest"
highest_value="C1"
lowest_value="Cmax"

File Metadata

Mime Type
text/plain
Expires
Mon, May 18, 3:40 PM (18 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33254516
Default Alt Text
D35981.diff (1 KB)

Event Timeline