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

do not adjust default settings on initialization #4

Merged
merged 1 commit into from Jun 17, 2016
Merged

do not adjust default settings on initialization #4

merged 1 commit into from Jun 17, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jun 13, 2016

The following prevents the imanager_hwmon module from configuring "automatic speed control" for probed fan devices. For some uses cases, there is a desire to use existing/default fan control settings populated from a BIOS (or another driver, previously loaded driver instance, etc.).

However, this change removes a possible assumption that a newly loaded hwmon module will automatically configure detected fans into automatic mode. Systems which do not have automatic fan control by default would need to configured their fans to automatic mode after loading the driver. If this is a common/dominate use case, an alternative approach would be having a configuration option to prevent automatic fan control for some systems.

Originally, newly initialized fan devices (via `imanager_hwmon_probe`)
would be configured for "automatic speed control". This may override any
existing or default configuration states for these fans (ie. default/
custom states defined via a BIOS configuration). The following removes
the driver's force to automatic-speed-control state on initialization
and just interprets the current configuration states for existing fans.

Signed-off-by: James Knight <[email protected]>
@rvido rvido merged commit d854062 into rvido:master Jun 17, 2016
@rvido
Copy link
Owner

rvido commented Jun 17, 2016

I agree. Thanks James for submitting this patch.
Richard

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