Subject: | No Signals From HAL |
The signal handler seems to be broken in the current release, at least
in regards to the HAL daemon on Debian Etch. I've been trying to get
simple device detection to work for a couple of days now and have
introspected and dumped until I can't think of anything else to try.
I've written what should be a simple prototype script to use the
Net::DBus module to get signals emitted from the HAL. What I can't
figure out is how the example signal emitter/receiver applications work,
but nearly the exact same code with the HAL does not. One symptom of
this bug that seems important is that the introspector / dumper lists no
signals when viewing the HAL interface, but does correctly list all of
its available methods.
I've spent about 4 hours tracing code paths, but I just don't know
enough about the dbus library to be much help. I've attached an example
script that should work for simple device detection, but since the
Manager does not appear to be aware of any signals to watch, nothing
ever happens when devices are inserted or removed.
I'm running Debian Etch, 2.6.18 kernel, dbus-0.94-1, hal-0.5.8.1-4
and libnet-dbus-perl-0.33.4-1. Any help would be greatly
appreciated. Thanks!
Tony