openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "周 远清" <zhouyuanqing8@outlook.com>
To: openbmc <openbmc@lists.ozlabs.org>
Cc: "uperic@163.com" <uperic@163.com>
Subject: all discrete sensor shows na
Date: Sat, 31 Oct 2020 02:31:49 +0000	[thread overview]
Message-ID: <MEAPR01MB3335EABEA5565F42170CB4F2FE120@MEAPR01MB3335.ausprd01.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

Hi,

   I added some discrete sensors to openbmc, but I used the ipmitool command to query and found that all discrete sensors displayed na. Please help and guide, thank you. Examples are as follows.

F:\ipmitool v1.8.18>ipmitool.exe -I lanplus -C 17 -H 172.16.90.172 -U root -P 0penBmc sensor list
PowerDrop        | na         | discrete   | na    | na        | na        | na        | na        | na        | na

F:\ipmitool v1.8.18>ipmitool.exe -I lanplus -C 17 -H 172.16.90.172 -U root -P 0penBmc sensor get PowerDrop
Locating sensor record...
Sensor ID              : PowerDrop  (0x28)
 Entity ID             : 7.1
 Sensor Type (Discrete): Power Supply
 Unable to read sensor: Device Not Present

I have checked the dbus interface corresponding to PowerDrop, and it can be set and inquired through the busctl command;

Thankyou!

harley.

[-- Attachment #2: Type: text/html, Size: 3413 bytes --]

             reply	other threads:[~2020-10-31  2:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31  2:31 周 远清 [this message]
2020-11-02 14:25 ` 回复: all discrete sensor shows na 周 远清

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=MEAPR01MB3335EABEA5565F42170CB4F2FE120@MEAPR01MB3335.ausprd01.prod.outlook.com \
    --to=zhouyuanqing8@outlook.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=uperic@163.com \
    /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).