All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Kartashev <a.kartashev@yadro.com>
To: Landon <cld795@163.com>, "fercerpav@gmail.com" <fercerpav@gmail.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re:  openBMC pwm-fan control policy
Date: Mon, 29 Nov 2021 13:22:05 +0300	[thread overview]
Message-ID: <18a75e7d223e2c054e93e9a83a6c0ba474125518.camel@yadro.com> (raw)
In-Reply-To: <459566ca.670c.17d6b13a847.Coremail.cld795@163.com>

Hello,

Please read phosphor-pid-control documentation:
https://github.com/openbmc/phosphor-pid-control
https://github.com/openbmc/phosphor-pid-control/blob/master/configure.md
https://github.com/openbmc/phosphor-pid-control/blob/master/tuning.md
https://github.com/openbmc/phosphor-pid-control/tree/master/examples

Keep in mind that there are two different ways to configure phosphor-
pid-control: statically with JSON config files and dynamically with
DBUS (generally, using EntityManager JSON configuration) and same
parameters with this two ways mostly have different names.
The way you want to use is generally depend on either you use EM for
your platform or not.

On Mon, 2021-11-29 at 17:43 +0800, Landon wrote:
>  Thank you!  
> I have read it
> :  https://github.com/openbmc/entity-manager/blob/master/configurations/R1000%20Chassis.json
> But I don't understand,
> Is there an explanation for this part?
> Are there general instructions on how to control fan output by
> temperature?
> 
> and how to use phosphor-pid-control  to set this ?
>  
> Is there“ phosphor-pid-control ”the instructions for this part?
> Thank you very much !
> On 11/27/2021 05:57,Paul Fertser<fercerpav@gmail.com> wrote: 
> > On Fri, Nov 26, 2021 at 01:55:31PM +0800, Landon wrote:
> >  
> > > add: I just want to know in  OpenBMC by reading different
> > > temperature values  or
> > >  current values to  control the fan  output, so as  to cool down,
> > >  how does  this
> > >  strategy work? An example of this.
> > 
> > This is using temperature values to control the fans so as to cool
> > down, it works by configuring phosphor-pid-control appropriately, I
> > hope it's enough of an example:
> > 
> > https://github.com/openbmc/entity-
> > manager/blob/master/configurations/R1000%20Chassis.json
> > 
> > If you think phosphor-pid-control is missing some documentation
> > please
> > read its source code and send documentation patches for review.
> > 

-- 
Best regards,
Andrei Kartashev



  reply	other threads:[~2021-11-29 10:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.0.1637828525.15424.openbmc@lists.ozlabs.org>
2021-11-25  8:29 ` openBMC pwm-fan control policy Landon
2021-11-25  8:46   ` Paul Fertser
2021-11-26  5:26     ` Landon
2021-11-26  5:55       ` Landon
2021-11-26 21:57         ` Paul Fertser
2021-11-29  9:43           ` Landon
2021-11-29 10:22             ` Andrei Kartashev [this message]
2021-12-02  9:11               ` Landon
2021-12-07  1:45                 ` Landon
2021-12-07  7:37                   ` Landon
2021-12-07  8:05                     ` Andrei Kartashev
2021-12-15  2:39                       ` Landon
2021-12-15  3:21                       ` OpenBMC web sometimes jump back to the login screen problem Landon
2021-12-15  3:46                         ` OpenBMC appear SQUASHFS error problem Landon
2021-12-15  5:36                           ` Landon
2021-12-16  3:19                           ` Landon
2021-12-17  6:39                           ` Landon
2021-12-17 13:09                           ` Patrick Williams
2021-12-15 18:51                         ` OpenBMC web sometimes jump back to the login screen problem Bills, Jason M
2021-12-16  7:05                       ` Landon
2021-12-17 13:10                         ` Patrick Williams
2022-01-21  3:12                           ` OpenBMC Switching function of web Landon
2022-01-21  4:24                           ` Landon
2022-01-24  8:24                             ` Landon
2022-06-13  7:49                               ` OpenBMC state manager problem Landon
2022-06-16  7:34                                 ` CHLI30
2022-06-13  8:13                               ` Landon
2022-06-14  1:58                                 ` Landon
2022-06-15  7:42                                   ` Landon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18a75e7d223e2c054e93e9a83a6c0ba474125518.camel@yadro.com \
    --to=a.kartashev@yadro.com \
    --cc=cld795@163.com \
    --cc=fercerpav@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.