File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 -h Show this HELP message.
7777 -l int TIME (in seconds) to LOOP thermal reads. Lower means higher resolution but uses ever more resources. Default: 10
7878 -m str Name of the DEVICE to MONITOR the temperature in the thermal sysfs interface. Default: soc
79- -p int The fan PERIOD (in nanoseconds). Default (30kHz ): 30000000 .
79+ -p int The fan PERIOD (in nanoseconds). Default (25kHz ): 25000000 .
8080 -s int The MAX SIZE of the TEMPERATURE ARRAY. Interval between data points is set by -l. Default (store last 1min data): 6.
8181 -t int Lowest TEMPERATURE threshold (in Celsius). Lower temps set the fan speed to min. Default: 25
8282 -T int Highest TEMPERATURE threshold (in Celsius). Higher temps set the fan speed to max. Default: 75
8585 Defaults have been tested and optimized for the following hardware:
8686 - NanoPi-M4 v2
8787 - M4 SATA hat
88- - Fan 12V (.08A)
88+ - Fan 12V (.08A and .2A )
8989 And software:
9090 - Kernel: Linux 4.4.231-rk3399
9191 - OS: Armbian Buster (20.08.9) stable
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ fan_run_thermal () {
203203
204204fan_startup () {
205205 if [[ -z $PERIOD ]]; then
206- PERIOD=30000000
206+ PERIOD=25000000
207207 fi
208208 while [[ -d " $CHANNEL_FOLDER " ]]; do
209209 if [[ $( cat $CHANNEL_FOLDER ' enable' ) -eq 0 ]]; then
@@ -365,7 +365,7 @@ usage() {
365365 echo ' -h Show this HELP message.'
366366 echo ' -l int TIME (in seconds) to LOOP thermal reads. Lower means higher resolution but uses ever more resources. Default: 10'
367367 echo ' -m str Name of the DEVICE to MONITOR the temperature in the thermal sysfs interface. Default: soc'
368- echo ' -p int The fan PERIOD (in nanoseconds). Default (30kHz ): 30000000 .'
368+ echo ' -p int The fan PERIOD (in nanoseconds). Default (25kHz ): 25000000 .'
369369 echo ' -s int The MAX SIZE of the TEMPERATURE ARRAY. Interval between data points is set by -l. Default (store last 1min data): 6.'
370370 echo ' -t int Lowest TEMPERATURE threshold (in Celsius). Lower temps set the fan speed to min. Default: 25'
371371 echo ' -T int Highest TEMPERATURE threshold (in Celsius). Higher temps set the fan speed to max. Default: 75'
@@ -374,7 +374,7 @@ usage() {
374374 echo ' Defaults have been tested and optimized for the following hardware:'
375375 echo ' - NanoPi-M4 v2'
376376 echo ' - M4 SATA hat'
377- echo ' - Fan 12V (.08A)'
377+ echo ' - Fan 12V (.08A and .2A )'
378378 echo ' And software:'
379379 echo ' - Kernel: Linux 4.4.231-rk3399'
380380 echo ' - OS: Armbian Buster (20.08.9) stable'
You can’t perform that action at this time.
0 commit comments