Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ACPI to set fan speeds #309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

curiousercreative
Copy link
Contributor

@curiousercreative curiousercreative commented Oct 17, 2022

  • Relays ACPI writes to ACPI fan variables
  • Fan speeds will be a smoothed maximum of what EC would set and what ACPI has requested.
  • Needs testing, ACPI requested speeds that differ when multiple fans present may override the EC fan syncing, which should be okay. If userspace wants control, allow them to control the fan speeds independently.

Futher discussion/consideration should be had on:

  • Should EC set fan speed floors or not spin fans at all? I currently have EC set floors.
  • Should EC be responsible for smoothing fan speeds when ACPI values are used? I currently have EC smoothing always, but this yields poor pwmconfig detection. A PR exists for not smoothing ACPI values here
  • Depending on the above, we should revisit the existing fan curves and perhaps make them far more conservative and push any fan speed "performance" concerns to userspace.

Relates to:

@curiousercreative
Copy link
Contributor Author

rebased and tested on my galp5

Smooth ACPI fan pwm values same as EC fan curve points
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.

None yet

1 participant