Great, best luck Aaron. Thanks!<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 30, 2019, 1:47 PM Aaron Williams <<a href="mailto:awilliams@marvell.com">awilliams@marvell.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Emily,<br>
<br>
Thank you, I will look into it. I don't think losing the sensors when we cut <br>
power to the host CPU will be much of an issue. I was just notified of a <br>
change to our CPLD that will allow the BMC to keep the sensors powered. At the <br>
moment, cutting power shuts of the power from the ATX power supply but now I <br>
will have more fine-grained power control. Now I just have to figure out how <br>
to update the Lattice CPLD from the BMC... I found some code in the Facebook <br>
OpenBMC which hopefully I can port over.<br>
<br>
-Aaron<br>
<br>
On Wednesday, January 30, 2019 1:42:40 PM PST Emily Shaffer wrote:<br>
> Aaron, we use this daemon for local (to BMC) thermal control:<br>
> <a href="https://github.com/openbmc/phosphor-pid-control" rel="noreferrer" target="_blank">https://github.com/openbmc/phosphor-pid-control</a><br>
> Maybe you'll find it helpful.<br>
> <br>
> Although I'm not sure how to help you with losing sensors when the host<br>
> powers down but the BMC is expected to continue to cool the tray. Sounds<br>
> like an issue with the board design, unless I'm not understanding what<br>
> you're saying.<br>
> <br>
> On Wed, Jan 30, 2019 at 1:28 PM Aaron Williams <<a href="mailto:awilliams@marvell.com" target="_blank">awilliams@marvell.com</a>><br>
> <br>
> wrote:<br>
> > Hi Emily,<br>
> > <br>
> > That's what I need the temperature for. We have two controllers, one that<br>
> > monitors the core temperature (a TI TMP421) and one that controls the fans<br>
> > (ADT7462). In order to maintain the thermal envelope the TMP421 needs to<br>
> > be<br>
> > monitored to adjust the fan speed through the ADT7462.<br>
> > <br>
> > Further complicating things is the fact that these sensors disappear when<br>
> > the<br>
> > host is powered down.<br>
> > <br>
> > -Aaron<br>
> > <br>
> > On Wednesday, January 30, 2019 9:49:32 AM PST Emily Shaffer wrote:<br>
> > > External Email<br>
> > > <br>
> > > ----------------------------------------------------------------------<br>
> > > Hi Aaron,<br>
> > > <br>
> > > Note that you only really need to worry about sending the temperature<br>
> > > via<br>
> > > IPMI if you want to send it somewhere besides the BMC. If you plan to<br>
> > > do<br>
> > > internal thermal control (BMC reads temperature, BMC adjusts fans<br>
> > > accordingly) you probably don't need IPMI config and can get away with<br>
> > > setting it up as far as DBus in the sensor architecture doc Lei sent.<br>
> > > <br>
> > > Emily<br>
> > > <br>
> > > On Thu, Jan 24, 2019 at 1:27 AM Lei YU <<a href="mailto:mine260309@gmail.com" target="_blank">mine260309@gmail.com</a>> wrote:<br>
> > > > On Thu, Jan 24, 2019 at 5:13 PM Aaron Williams <<a href="mailto:awilliams@marvell.com" target="_blank">awilliams@marvell.com</a>><br>
> > > > <br>
> > > > wrote:<br>
> > > > > I see how to set up the hwmon portion defining the devices based on<br>
> > <br>
> > the<br>
> > <br>
> > > > device<br>
> > > > <br>
> > > > > tree, but I am unsure how to go about configuring the YAML and other<br>
> > > > <br>
> > > > files for<br>
> > > > <br>
> > > > > this.<br>
> > > > <br>
> > > > For sensors' config, please refer to<br>
> > > > <a href="https://github.com/openbmc/docs/blob/master/sensor-architecture.md" rel="noreferrer" target="_blank">https://github.com/openbmc/docs/blob/master/sensor-architecture.md</a><br>
> > <br>
> > > > And it looks you are looking for fan controls, then you could refer <br>
to:<br>
> > <a href="https://github.com/mine260309/openbmc-intro/blob/master/Porting_Guide.md#f" rel="noreferrer" target="_blank">https://github.com/mine260309/openbmc-intro/blob/master/Porting_Guide.md#f</a><br>
> > <br>
> > > > ans<br>
> > > > <br>
> > > > (I really need to submit my porting guide to openbmc/docs)<br>
<br>
<br>
<br>
<br>
</blockquote></div>