<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 2021-06-23 04:11, Chanh Nguyen OS
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SN6PR01MB4973940AAE8F62B61613C2BB95089@SN6PR01MB4973.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hi <span style="color: rgb(33, 33, 33); font-family:
var(--header-font-family); font-size: var(--font-size-h3);
font-weight: var(--font-weight-h3);">B. J. Wyman,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(33, 33, 33); font-family:
var(--header-font-family); font-size: var(--font-size-h3);
font-weight: var(--font-weight-h3);"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(33, 33, 33); font-family:
var(--header-font-family); font-size: var(--font-size-h3);
font-weight: var(--font-weight-h3);">I'm using the psu-ng to
monitor the PSU. I used the
</span><span style="color: rgb(33, 33, 33); font-family:
var(--header-font-family); font-size: var(--font-size-h3);"><b><i>pmbus</i></b></span><span
style="color: rgb(33, 33, 33); font-family:
var(--header-font-family); font-size: var(--font-size-h3);"><span
style="font-weight: var(--font-weight-h3);"> (</span><a
href="https://github.com/openbmc/linux/blob/dev-5.10/Documentation/hwmon/pmbus.rst"
id="LPlnk" style="font-weight: var(--font-weight-h3);"
moz-do-not-send="true">https://github.com/openbmc/linux/blob/dev-5.10/Documentation/hwmon/pmbus.rst</a><span
style="font-weight: var(--font-weight-h3);">) driver to </span><span
style="color: rgb(36, 41, 46); font-family: -apple-system,
system-ui, "Segoe UI", Helvetica, Arial,
sans-serif, "Apple Color Emoji", "Segoe UI
Emoji"; background-color: rgb(255, 255, 255); display:
inline !important;"><span style="font-weight:
var(--font-weight-h3);">support hardware monitoring for
the PSU, don't use the </span><b><i>ibm-cffps</i></b><span
style="font-weight: var(--font-weight-h3);"> driver (</span><a
href="https://github.com/openbmc/linux/blob/dev-5.10/Documentation/hwmon/ibm-cffps.rst"
id="LPlnk396586" style="font-weight:
var(--font-weight-h3);" moz-do-not-send="true">https://github.com/openbmc/linux/blob/dev-5.10/Documentation/hwmon/ibm-cffps.rst</a><span
style="font-weight: var(--font-weight-h3);">)</span></span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I don't clear why we fix to use the <b>IBMCFFPSInterface (<a
href="https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-power/+/38138/10/phosphor-power-supply/psu_manager.cpp#16"
id="LPlnk923907" moz-do-not-send="true">https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-power/+/38138/10/phosphor-power-supply/psu_manager.cpp#16</a>)</b> ?</div>
</blockquote>
<p>Yeah, that was sort of a short-sighted updated. That probably
should have been something configurable:</p>
<p><a class="moz-txt-link-freetext" href="https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-power/+/43018/8/phosphor-power-supply/power_supply.cpp#30">https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-power/+/43018/8/phosphor-power-supply/power_supply.cpp#30</a></p>
<p><br>
</p>
<p>That is used to get the power supply information off of D-Bus,
hopefully populated by the entity-manager service.</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/openbmc/entity-manager/blob/master/schemas/IBM.json">https://github.com/openbmc/entity-manager/blob/master/schemas/IBM.json</a><br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/openbmc/entity-manager/blob/master/configurations/Nisqually.json">https://github.com/openbmc/entity-manager/blob/master/configurations/Nisqually.json</a></p>
<p><br>
</p>
<p>This should *NOT* be IBM specific, but I had some kind of
blinders on when I wrote this.<br>
</p>
<blockquote type="cite"
cite="mid:SN6PR01MB4973940AAE8F62B61613C2BB95089@SN6PR01MB4973.prod.exchangelabs.com">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Chanh Nguyen</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</blockquote>
</body>
</html>