Skip to content

Conversation

@crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Aug 3, 2024

Tired of fans going brr on boot or when you...start a YouTube video or something?

TODO

  • Write a real summary and rationale for these changes
  • Handle min duty
    • Replace functionality of SMOOTH_FANS_MIN
  • Evaluate if duty change is responsive enough to handle sudden heavy loads like compilation or gaming
    • Still provides enough heat dissipation?
  • Check fans work on suspend entry/exit
    • Handling for S0ix?
  • Move fan tables to per-board fan.c files
  • Track level in table instead of calculating on every interval?
    • Know whether it's moving up/down
    • Separate column for up/down temps?
  • Manual mode for system firmware/OS control of fans

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Mitigate some fan noise by using a moving average instead of
instantaneous points for thermal logic.

Current logic is set to update every 250ms, so use 4 points to average
over 1s.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Replace calculating the duty on every update with tracking the level in
the fan tables to use. A second temperature column is added to the table
to allow different curves for heating up and cooling down.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant