From: Ed Tanous <edtanous@google.com>
To: Mike Jones <proclivis@gmail.com>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: Query Sensor
Date: Mon, 10 Jan 2022 15:50:06 -0800 [thread overview]
Message-ID: <CAH2-KxBAxA5SBSw=8NSNKz-_V8=H9qqCLh3ap_f7FEuaa5yx4g@mail.gmail.com> (raw)
In-Reply-To: <4CA1C696-1C4A-4FC9-A7F8-9AE1B892227D@gmail.com>
On Mon, Jan 10, 2022 at 3:47 PM Mike Jones <proclivis@gmail.com> wrote:
>
> Hi,
>
> I could not find an example of a sensor query in the docs. I assume something like this:
>
> dbus-send --system --print-reply \
>
> --dest=xyz.openbmc_project.Hwmon-5a446562b1a2e55ef11da905907088a187a66b71eb7a1f29187594c05bb8fd9a.Hwmon1 \
>
> /xyz/openbmc_project/sensors/temperature/lm75temp
>
> xyz.openbmc_project.Sensor.Property.Get xyz.openbmc_project.Sensor.Value \
>
> double:
>
I don't have an example offhand, but the interface you're looking for
in the bolded area is
org.freedesktop.DBus.Properties.Get
Stack overflow for essentially the same question with an example:
https://stackoverflow.com/questions/48648952/set-get-property-using-dbus-send
>
> With the bold interface replaced with something correct.
>
> Can some one give me an example, and a url about how to query properties?
>
> Mike
>
> Sent from my iPad
next prev parent reply other threads:[~2022-01-10 23:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-10 23:47 Query Sensor Mike Jones
2022-01-10 23:50 ` Ed Tanous [this message]
2022-01-11 0:07 ` Mike
2022-01-11 17:16 Mike Jones
2022-01-11 17:22 ` Ed Tanous
2022-01-11 17:52 ` Mike Jones
2022-01-12 2:04 ` Ed Tanous
2022-01-13 21:16 ` Mike Jones
2022-01-28 18:30 ` Ed Tanous
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='CAH2-KxBAxA5SBSw=8NSNKz-_V8=H9qqCLh3ap_f7FEuaa5yx4g@mail.gmail.com' \
--to=edtanous@google.com \
--cc=openbmc@lists.ozlabs.org \
--cc=proclivis@gmail.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 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.