Why can't I send signals to dbus?
luanying at huawei.com
Tue Sep 8 23:42:52 PDT 2009
I tried "omitting --dest=org.freedesktop.Hal" and it worked!!!
Thank u Martin!
It's really helpful!!!
Martin Vidner wrote:
> 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
>> 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
> dbus mailing list
> dbus at lists.freedesktop.org
View this message in context: http://www.nabble.com/Why-can%27t-I-send-signals-to-dbus--tp25339394p25359463.html
Sent from the Free Desktop - dbus mailing list archive at Nabble.com.
More information about the dbus