openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Does it make sense to create a centralized fan control module?
@ 2021-06-11  1:14 Heyi Guo
  2021-06-11  1:23 ` Heyi Guo
  2021-06-16 16:26 ` Ed Tanous
  0 siblings, 2 replies; 7+ messages in thread
From: Heyi Guo @ 2021-06-11  1:14 UTC (permalink / raw)
  To: openbmc

Hi All,

Right now fan related data like tacho and PWM is fetched in 
dbus-sensors, and published to d-bus as sensor data, while fan control 
is made in another module like pid-control, which can fetch data and set 
value via d-bus.

In some common sense, we may think about putting all fan related work 
into one single module (which may be based on pid-control), i.e. it can 
read tacho and PWM from hardware directly, calculate the required PWM by 
some algorithm like PID, and then write to PWM hardware directly; the 
data will also be published to d-bus for other modules to consume, like 
fansensor from dbus-sensors.

Does it make sense to do that? Or is there any reason for the current 
design?

I'm new to OpenBMC and some of my understanding may be totally wrong.

Looking forward to your expert advice.

Thanks,

Heyi


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-20  8:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11  1:14 Does it make sense to create a centralized fan control module? Heyi Guo
2021-06-11  1:23 ` Heyi Guo
2021-06-16  2:02   ` Heyi Guo
2021-06-16  2:49     ` [Phishing Risk] [External] " John Wang
2021-06-16 11:03       ` Heyi Guo
2021-06-16 16:26 ` Ed Tanous
2021-06-20  8:48   ` Heyi Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).