All of lore.kernel.org
 help / color / mirror / Atom feed
* The entityID and entityInstance always be 0.1.
@ 2021-02-26  2:39 Scron Chang (張仲延)
  2022-08-18 11:38 ` Paul Fertser
  0 siblings, 1 reply; 2+ messages in thread
From: Scron Chang (張仲延) @ 2021-02-26  2:39 UTC (permalink / raw)
  To: openbmc@lists.ozlabs.org

Hi all,

In my case, the BMC uses intel-ipmi-oem, entity-manager, and dbus-sensors to manage the motherboard's sensors.
I intend to retrieve entityID and entityInstance via IPMI command, e.g., ipmitool sensor get <sensor name>.
However, intel-ipmi-oem always tries to find the sensor's "entityID" and "entityInstance" from its entity-manager entry. 
(please refer to
https://github.com/openbmc/intel-ipmi-oem/blob/09701efa93f2e9b25b19c4560db60c1878ef8a9c/include/sdrutils.hpp#L438 and
https://github.com/openbmc/intel-ipmi-oem/blob/09701efa93f2e9b25b19c4560db60c1878ef8a9c/include/sdrutils.hpp#L470) 

It seems like the entity-manager should create these two attributes consumed by intel-ipmi-oem, but schema doesn't include them.
Besides, entity-manager doesn't create "entityID" and "entityInstance" by itself.
I'm curious how initially entity-manager or intel-ipmi-oem plans to implement this feature.

Any suggestion will be very appreciated.

Scron Chang
E-Mail  Scron.Chang@quantatw.com
Ext.    11936


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

end of thread, other threads:[~2022-08-18 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26  2:39 The entityID and entityInstance always be 0.1 Scron Chang (張仲延)
2022-08-18 11:38 ` Paul Fertser

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.