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
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu