Why can't I send signals to dbus?

Martin Vidner mvidner at suse.cz
Tue Sep 8 08:36:43 PDT 2009

On Mon, Sep 07, 2009 at 08:14:40PM -0700, Luna Luan wrote:
> #dbus-send --system --type=signal --dest=org.freedesktop.Hal
> /org/freedesktop/Hal/Manager org.freedesktop.Hal.Manager.DeviceAdded
> then check the txt file,i find that each time a send a DeviceAdded signal,i
> only got two "NameOwnerChanged" signals, why can't i find the
> "DeviceAdded"(or other my customized signals) signal i sent??

Signals are broadcast, but you are sending it to a single recipient
(TO Hal, which is wrong, it should come FROM Hal). Then it is not
really a signal and the monitor does not see it.
Try omitting --dest=org.freedesktop.Hal
Martin Vidner, YaST developer

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu

More information about the dbus mailing list