<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 20, 2020 at 1:32 AM Ed Tanous <<a href="mailto:ed@tanous.net">ed@tanous.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Mon, Oct 19, 2020 at 11:22 AM Thu Ba Nguyen <<a href="mailto:tbnguyen1985@gmail.com" target="_blank">tbnguyen1985@gmail.com</a>> wrote:<br>
><br>
> Hi Ed Tanous,<br>
><br>
> Thanks for your info,<br>
> But in your platform we are using phosphor-hwmon to manage sensors.<br>
> We don't use entity-manager.<br>
> As I knew we can't use both entity-manager and phosphor-hwmon for one project.<br>
<br>
Understood.  i was mostly just pointing out that there might be<br>
logic/implementation details you can pull over into phosphor-hwmon.<br></blockquote><div> </div><div> I think adding a "<span style="color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre;background-color:rgb(255,251,221)">PowerState</span>" configuration in each sensor is a good solution.</div><div> We can use this configuration to identify the concerning host sensors in phosphor-hwmon.</div><div> Those sensors will be removed from Dbus when xyz.openbmc_project.State.Host.HostState is Off.</div><div> And they will be back to Dbus when the host is On.</div></div></div></div></div>