* [phosphor-fan-presence] ask fan fail behavior
@ 2019-05-02 10:37 Hank Liou (劉晉翰)
2019-05-02 13:45 ` Matt Spinler
0 siblings, 1 reply; 2+ messages in thread
From: Hank Liou (劉晉翰) @ 2019-05-02 10:37 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
Hi All,
Is there a mechanism in phosphor-fan-presence that will set all fans' speed except failed one as a fan fails? I have read phosphor-fan-presence for a while, but I only found set_speed_on_missing_owner, a function in control/actions.cpp. Things get worse that I don't know how to trigger it not to say to test it. Any comment is welcome.
Sincerely,
Hank Liou
[-- Attachment #2: Type: text/html, Size: 2811 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [phosphor-fan-presence] ask fan fail behavior
2019-05-02 10:37 [phosphor-fan-presence] ask fan fail behavior Hank Liou (劉晉翰)
@ 2019-05-02 13:45 ` Matt Spinler
0 siblings, 0 replies; 2+ messages in thread
From: Matt Spinler @ 2019-05-02 13:45 UTC (permalink / raw)
To: Hank Liou (劉晉翰), openbmc
On 5/2/2019 5:37 AM, Hank Liou (劉晉翰) wrote:
>
> Hi All,
>
> Is there a mechanism in phosphor-fan-presence that will set all fans'
> speed except failed one as a fan fails? I have read
> phosphor-fan-presence for a while, but I only
> found set_speed_on_missing_owner, a function in control/actions.cpp.
> Things get worse that I don't know how to trigger it not to say
> to test it. Any comment is welcome.
>
Hi,
I don't think there's a way to set a new speed on all fans 'but' the
failing one, but you can set a new speed when a fail is detected
(detected by the fan state being set to not functional) with
count_state_before_speed().
Here is some documentation on that:
https://github.com/openbmc/phosphor-fan-presence/blob/master/control/example/events.yaml#L127.
And here it is in use:
https://github.com/openbmc/meta-ibm/blob/master/meta-witherspoon/recipes-phosphor/fans/witherspoon-phosphor-fan-control-events-config-native/events.yaml#L374
> Sincerely,
>
> Hank Liou
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-02 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-02 10:37 [phosphor-fan-presence] ask fan fail behavior Hank Liou (劉晉翰)
2019-05-02 13:45 ` Matt Spinler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.