openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ivan Li11 <rli11@lenovo.com>
To: Matt Spinler <mspinler@linux.ibm.com>,
	"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: RE: [External] Power-on monitor for phosphor-hwmon question
Date: Mon, 2 Dec 2019 15:15:21 +0000	[thread overview]
Message-ID: <e1d67f474f6b4be2b28a583a9c848741@lenovo.com> (raw)
In-Reply-To: 24228a0e-1e29-d661-3cc1-585e9a0501a4@linux.ibm.com

> -----Original Message-----
> From: Ivan Li11
> Sent: Wednesday, November 27, 2019 10:26 PM
> To: 'Matt Spinler' <mspinler@linux.ibm.com>; openbmc@lists.ozlabs.org
> Subject: RE: [External] Power-on monitor for phosphor-hwmon question
> 
> > -----Original Message-----
> > From: Matt Spinler <mspinler@linux.ibm.com>
> > Sent: Tuesday, October 22, 2019 9:24 PM
> > To: Ivan Li11 <rli11@lenovo.com>; openbmc@lists.ozlabs.org
> > Subject: Re: [External] Power-on monitor for phosphor-hwmon question
> >
> >
> >
> > On 10/21/2019 6:02 AM, Ivan Li11 wrote:
> > >
> > > Hi Team,
> > >
> > > Does anyone have suggestion for this ?
> > >
> > Hi, you're right, it doesn't support that yet.  We've had a few
> > internal discussions about how to handle that gracefully, though our
> > platforms don't use sel-logger, but nothing solid came out of them and
> > we don't have anything scheduled yet.
> >
> > It would be easy enough to have a watch on the PGOOD property, and
> > then do you what you want, like maybe turning off the thresholds.
> >
> > I heard that the d-bus sensors repository has some sort of support for
> > this, but since we don't use it I'm not sure what all that entails. I
> > think it may also force you to replace phosphor-inventor-manager with
> entity-manager.
> >
> 
> Hi Matt,
> We can use dbus-match mechanism in phosphor-hwmon to turn on/off the
> thresholds just like what dbus-sensors repository does in the following link:
> https://github.com/openbmc/dbus-sensors/blob/432d1edf7ac86f69558273307
> a59e4b1cf86b8a6/src/Utils.cpp#L141
> 
> If it's ok for you, I'll work on it and send patch for you review.
> Please help to comment on it.
> 

Hi Matt,
Could you help to comment on this proposal.  
Thanks your great support in advance.

> > > Thanks your great support in advance.
> > >
> > > *From:*openbmc <openbmc-bounces+rli11=lenovo.com@lists.ozlabs.org>
> > *On
> > > Behalf Of *Ivan Li11
> > > *Sent:* Friday, October 18, 2019 5:59 PM
> > > *To:* openbmc@lists.ozlabs.org
> > > *Subject:* [External] Power-on monitor for phosphor-hwmon question
> > >
> > > Hi Team,
> > >
> > > We found that there's no power-on monitor mechanism in
> > phosphor-hwmon.
> > >
> > > https://github.com/openbmc/phosphor-hwmon
> > >
> > > And it will cause incorrect threshold logs to be added to journal
> > > log by 'sel-logger' when system is in power off(S5) state.
> > >
> > > Is there any plan to implement it? Or other repository we can refer to ?
> > >
> > > Thanks,
> > >
> > > Ivan
> > >

  parent reply	other threads:[~2019-12-02 15:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18  9:59 Power-on monitor for phosphor-hwmon question Ivan Li11
2019-10-21 11:02 ` [External] " Ivan Li11
2019-10-22 13:23   ` Matt Spinler
2019-10-22 15:51     ` James Feist
2019-11-06  7:25       ` Ivan Li11
2019-11-06 23:38         ` James Feist
2019-11-07  8:34           ` Ivan Li11
2019-11-20 16:28           ` Ivan Li11
2019-11-20 17:50             ` James Feist
2019-11-27 14:25     ` Ivan Li11
2019-12-02 15:15     ` Ivan Li11 [this message]
2019-12-02 15:30       ` Matt Spinler

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=e1d67f474f6b4be2b28a583a9c848741@lenovo.com \
    --to=rli11@lenovo.com \
    --cc=mspinler@linux.ibm.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 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).