A Simple example of how to create a DBUS service.
chengwei.yang at intel.com
Tue Oct 22 23:09:34 PDT 2013
On Tue, Oct 22, 2013 at 07:23:36PM +0200, Kevin Krammer wrote:
> On Tuesday, 2013-10-22, 21:41:49, sathishkumar sivagurunathan wrote:
> > The service files is listed below.. The file is named as
> > org.pulseaudio.genivi.RoutingSender.service.
> > # DBus service activation config
> > [D-BUS Service]
> > Name=org.pulseaudio.genivi.RoutingSender
> > Exec=/usr/bin/genivi/ComMain.out
> > Then using the dbus send command, I invoke the dbus
> > dbus-send --dest='org.pulseaudio.genivi' \
> > /org/pulseaudio/genivi/RoutingSender \
> > org.pulseaudio.genivi.RoutingSender \
> > int32:47
> > But I am not able to receive the desired result..
> Probably just an error in the mail but check that your actual command has the
> correct value for --dest
> The one here in is missing the last part
Yes, your Name in the .service file is
org.pulseaudio.genivi.RoutingSender while the value of "--dest=" is
BTW, use dbus-send with '--print-reply' is a good idea.
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
> dbus mailing list
> dbus at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: Digital signature
More information about the dbus