Re: A way to enable the HoneyComb's ACPI thermally controlled two speed fan control via JUST /etc/rc.conf

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 28 Jan 2024 11:19:15 UTC
This is an alternate hack that only needs one file to
execute. (I've used /etc/rc.conf here for illustration.)

I instead added to /etc/rc.conf :

#
# Enable the HoneyComb 2-speed fan control that is based
# on temerature.
sysctl hw.acpi.thermal.tz0.passive_cooling=0 > /dev/null
while [ "`sysctl -n hw.acpi.thermal.tz0.active`" != "0" ] ; do sysctl hw.acpi.thermal.tz0.active=0 > /dev/null; done
while [ "`sysctl -n hw.acpi.thermal.tz0.active`" != "1" ] ; do sysctl hw.acpi.thermal.tz0.active=1 > /dev/null; done


===
Mark Millard
marklmi at yahoo.com