mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: Gary Huband <Gary@MissionSecure.com>
To: "rauc@pengutronix.de" <rauc@pengutronix.de>
Subject: [RAUC] RAUC dbus question
Date: Mon, 15 Feb 2021 23:13:10 +0000	[thread overview]
Message-ID: <BL0PR1701MB25315E37B6FDFC414FB3692EC3889@BL0PR1701MB2531.namprd17.prod.outlook.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2639 bytes --]

I have RAUC integrated with a Yocto Morty build (Linux 4.14) running on an iMX7D (arm).  I'm trying to verify that the RAUC dbus interface is working, but I get an error when I use dbus-send:

# dbus-send --system --dest=de.pengutronix.rauc --type=method_call --print-reply /de/pengutronix/rauc de.pengutronix.rauc.GetSlotStatusError org.freedesktop.DBus.Error.UnknownMethod: No such interface 'de.pengutronix.rauc' on object at path /de/pengutronix/rauc

When I try introspection:

# dbus-send --system --dest=de.pengutronix.rauc --type=method_call --print-reply /de/pengutronix/rauc org.freedesktop.DBus.Introspectable.Introspect
method return time=1605228956.729035 sender=:1.6 -> destination=:1.8 serial=8 reply_serial=2
   string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
                      "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- GDBus 2.54.3 -->
<node>
</node>
"

The RAUC service is on the system bus:

# dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
method return time=1605229469.748648 sender=org.freedesktop.DBus -> destination=:1.13 serial=3 reply_serial=2
   array [
      string "org.freedesktop.DBus"
      string "org.freedesktop.login1"
      string "org.freedesktop.systemd1"
      string "de.pengutronix.rauc"
      string "org.freedesktop.Avahi"
      string ":1.13"
      string ":1.0"
      string ":1.1"
      string "org.freedesktop.network1"
      string ":1.2"
      string ":1.3"
      string "org.freedesktop.resolve1"
      string ":1.4"
      string ":1.6"
   ]

Any help with what I am doing wrong is appreciated.

Gary


Gary Huband
Sr. Software and Systems Engineer

Office: 434.284.8071 x720
Direct: 434.260.4995
Gary@MissionSecure.com

Follow Us!
LinkedIn<https://www.linkedin.com/company/mission-secure-inc->  |  Blog<https://www.missionsecure.com/blog?utm_source=email-signature&utm_medium=email&utm_campaign=blog-email-sig>  |  Website<https://www.missionsecure.com/?utm_source=email-signature&utm_medium=email&utm_campaign=web-email-sig>

: : : : : : : : : : : : : : : : : : : : : : : : : : :

[MSi]

This email and any files transmitted with it are confidential and proprietary and intended solely for the use of the individual or entity to whom they are addressed. Any dissemination, distribution or copying of this communication is strictly prohibited without our prior permission. If you received this in error, please contact the sender and delete the material from any computer.


[-- Attachment #1.2: Type: text/html, Size: 7140 bytes --]

[-- Attachment #2: Type: text/plain, Size: 66 bytes --]

_______________________________________________
RAUC mailing list

             reply	other threads:[~2021-02-15 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15 23:13 Gary Huband [this message]
2021-02-16  6:29 ` Enrico Jörns

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=BL0PR1701MB25315E37B6FDFC414FB3692EC3889@BL0PR1701MB2531.namprd17.prod.outlook.com \
    --to=gary@missionsecure.com \
    --cc=rauc@pengutronix.de \
    /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