Modify nvfancontrol Fan Profile (BSP-side)
Purpose
Edit the per-board nvfancontrol configuration so the device boots
with the desired fan curve / control mode / governor / default
profile. BSP-side only — all writes land in the overlay tracker,
the upstream bsp_image copy is read-only.
This skill handles BSP-side edits to the per-board nvfancontrol configuration file: adding profiles, removing profiles, editing the temp → PWM / RPM curves, changing the boot default profile / control mode / governor, and listing defined profiles. Applies on Jetson / Tegra platforms (T234 Orin, T264 Thor).
File format (canonical, per the BSP file header)
POLLING_INTERVAL <seconds>
<FAN <index>>
TMARGIN <ENABLED|DISABLED>
FAN_GOVERNOR <type> {
STEP_SIZE <int>
}
FAN_CONTROL <close_loop|open_loop> {
RPM_TOLERANCE <rpm>
}
FAN_PROFILE <name> {
# TEMP HYST PWM RPM
<T0> <H0> <P0> <R0>
...
}
FAN_PROFILE <name> { ... } # one or more profiles
THERMAL_GROUP <id> {
GROUP_MAX_TEMP <C>
# zone-name <coeffs csv> <max-temp>
<zone> <coeffs> <max-temp>
...
}
FAN_DEFAULT_CONTROL <close_loop|open_loop>
FAN_DEFAULT_PROFILE <name>
FAN_DEFAULT_GOVERNOR <type>
KICKSTART_PWM <0..255>
Rules:
- Profile curve tuples are 4-column:
TEMP HYST PWM RPM. Sort points by ascendingTEMP; the daemon interpolates between them. PWMis0..255(8-bit duty cycle);RPMis the close-loop target speed. A trailing0 0row at the high end pins the fan off aboveGROUP_MAX_TEMP.HYSTis hysteresis (°C) at that point — the controller waitsHYSTdegrees of cooling before stepping the curve down.FAN_DEFAULT_PROFILEmust reference an existingFAN_PROFILEblock in the same<FAN N>. nvfancontrol fails to start if the default names a missing profile.FAN_DEFAULT_CONTROL=close_loop(drives toward target RPM, requires tach) oropen_loop(writes PWM directly).FAN_DEFAULT_GOVERNOR=cont(continuous interpolation) and other family-specific values; copy verbatim from existing per-board files when introducing one.THERMAL_GROUPmaps thermal zones to the controller's input. Coefficients are a 20-element CSV — copy verbatim from existing entries; values vary by chip family and zone.<FAN N>is one block per fan index (typical:<FAN 1>). Block boundaries<...>and{...}are strict; preserve indentation matching neighboring lines.- Curves are characterised, not invented. Add or edit curves from real thermal-acoustic data for the platform; do not interpolate from neighbouring profiles or copy across chip families.
Prerequisites
Resolve the active profile per