Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace the fan control system... again...
This runs a calibration step on bootup to store the fancurve of all connected fans, then simply keep the PWM at a fixed requested level so it won't do random rpm-measurement based spinups.
It changes the behavior of
desired_fan_speed[fan]
to be PWM levels above stall speed. So 0=off, 1=quiet, 2=loud. On stall the fan will be run at high speed for a second and then return to the requested speed setting.The
fan_error[fan]
array keeps track of disconnected fans on startup.