From baec5a1d27e34b1d58cb527ac842023144fa97c9 Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Mon, 14 Feb 2022 11:14:46 -0500 Subject: [PATCH] fix rpi fan udev rule --- roles/k3s/files/50-rpi-fan.rules | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/roles/k3s/files/50-rpi-fan.rules b/roles/k3s/files/50-rpi-fan.rules index ebb5749..7c48a77 100644 --- a/roles/k3s/files/50-rpi-fan.rules +++ b/roles/k3s/files/50-rpi-fan.rules @@ -2,17 +2,17 @@ SUBSYSTEM=="thermal" KERNEL=="thermal_zone0" # If the temp hits 75c, turn on the fan. Turn it off again when it goes back down to 70. -ATTR{trip_point_3_temp}="75000" -ATTR{trip_point_3_hyst}="5000" -# +ATTR{trip_point_3_temp}=="75000" +ATTR{trip_point_3_hyst}=="5000" + # If the temp hits 78c, higher RPM. -ATTR{trip_point_2_temp}="78000" -ATTR{trip_point_2_hyst}="2000" -# +ATTR{trip_point_2_temp}=="78000" +ATTR{trip_point_2_hyst}=="2000" + # If the temp hits 80c, higher RPM. -ATTR{trip_point_1_temp}="80000" -ATTR{trip_point_1_hyst}="2000" -# +ATTR{trip_point_1_temp}=="80000" +ATTR{trip_point_1_hyst}=="2000" + # If the temp hits 81c, highest RPM. -ATTR{trip_point_0_temp}="81000" -ATTR{trip_point_0_hyst}="5000" \ No newline at end of file +ATTR{trip_point_0_temp}=="81000" +ATTR{trip_point_0_hyst}=="5000" \ No newline at end of file