All of lore.kernel.org
 help / color / mirror / Atom feed
* Showing signed sensor value when the command "ipmitool sel elist" is executed
@ 2019-10-28  6:41 Tony Lee (李文富)
  2019-10-28 17:16 ` James Feist
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Lee (李文富) @ 2019-10-28  6:41 UTC (permalink / raw)
  To: jason.m.bills@linux.intel.com
  Cc: openbmc@lists.ozlabs.org, Buddy Huang (黃天鴻)

Hi Jason,

We know that when we execute the command "ipmitool sel elist", it will return something like the following,
"18 | 10/16/19 | 18:28:41 UTC | Temperature nvme0 | Upper Non-critical going high | Asserted | Reading 72 > Threshold 70 degrees C".

I met a problem that when the sensor value in the d-bus is negative, the current reading in "ipmitool sel elist" will be 0.
It seems that because the type of scaledValue is defined "uint32_t", there is always a none negative value even current value is a negative value obtained from the d-bus. In
https://github.com/openbmc/phosphor-sel-logger/blob/master/include/sensorutils.hpp#L159

Is this is an issue or I need to set it up somewhere?

Thanks
Best Regards,
Tony

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

end of thread, other threads:[~2019-10-30  5:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-28  6:41 Showing signed sensor value when the command "ipmitool sel elist" is executed Tony Lee (李文富)
2019-10-28 17:16 ` James Feist
2019-10-29  6:40   ` Tony Lee (李文富)
2019-10-29 16:18     ` James Feist
2019-10-29 17:11       ` James Feist
2019-10-30  5:50         ` Tony Lee (李文富)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.