Skip to content

Set a fixed fan PWM as transitional mode at service startup and terminate #34

@potinlai

Description

@potinlai

In current implementation, phosphor-pid-control needs to build sensors and zones from configuration first, then start calculating the PWM outout value. Any error during build sensors will causes phosphor-pid-control delay 10 seconds and then rebuild sensors again. In this case, phosphor-pid-control will never calculate and update PWM output value. (This issue also mentioned in #33)

I would to propose a new feature to apply a fixed fan PWM as transitional mode at below two time points.

  1. At service startup, before loading configuration.
    This can ensure fan start working immediately to avoid any problem of wrong configuration or bad sensor.

  2. At service terminate.
    From the point of view of keeping the system safe, It is much safer to set a fixed PWM value when service stop then keeping last calculated value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions