* couple questions for DBUS
@ 2019-02-26 8:22 George Liu
2019-02-26 13:33 ` Andrew Geissler
0 siblings, 1 reply; 2+ messages in thread
From: George Liu @ 2019-02-26 8:22 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
Hi All:
Customize the Dbus interface, add a new dbus object after receiving the message via the yaml file configuration method, use busctl introspect com.xxx.xxx /com/xxx/xx/xx/xx is correct, but use mapper get-service "/com/xxx/xx/xx/xx" prompt Error finding '/com/xxx/xx/xx/xx' service: No such file or directory
Thanks!
[-- Attachment #2: Type: text/html, Size: 510 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: couple questions for DBUS
2019-02-26 8:22 couple questions for DBUS George Liu
@ 2019-02-26 13:33 ` Andrew Geissler
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Geissler @ 2019-02-26 13:33 UTC (permalink / raw)
To: George Liu; +Cc: openbmc
On Tue, Feb 26, 2019 at 2:22 AM George Liu <fyczy@126.com> wrote:
>
> Hi All:
> Customize the Dbus interface, add a new dbus object after receiving the message via the yaml file configuration method, use busctl introspect com.xxx.xxx /com/xxx/xx/xx/xx is correct, but use mapper get-service "/com/xxx/xx/xx/xx" prompt Error finding '/com/xxx/xx/xx/xx' service: No such file or directory
> Thanks!
>
A couple things to try. First ensure mapper is working as expected
with a command
like this:
mapper get-service /xyz/openbmc_project/state/host0
xyz.openbmc_project.State.Host
If you're new dbus object is not using the default object base then
it's probably
the whitelist mapper feature (mapper ignores anything not on it's list).
Take a look at /etc/default/obmc/mapper
Here's the relevant field from our witherspoon system in that file:
MAPPER_INTERFACES="xyz.openbmc_project org.openbmc
org.freedesktop.DBus.ObjectManager com.ibm org.open_power"
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-26 13:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 8:22 couple questions for DBUS George Liu
2019-02-26 13:33 ` Andrew Geissler
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.