Additional info: hal callouts script and dbus-send errors

Lawrence R. Steeger lsteeger at gmail.com
Tue Apr 8 19:48:19 PDT 2008


2008/4/5, Peggy Russell <prusselltechgroup at gmail.com>:
> As I mentioned in the previous message "dbus-send --system" commands works 
>  from a terminal session, but the commands get an error executed from a Bash 
>  script invoked from a hal callout. 

The HAL 0.5.10 Specification at 
http://people.freedesktop.org/~david/hal-spec/hal-spec.html#device-properties-info-callouts
says:

"...callouts can (and should) communicate with the HAL daemon using a peer to 
peer D-Bus connection specified by the HALD_DIRECT_ADDR environment 
variable. ..."

To enable this in a Bash script requires a modified dbus-send command with 
support for using this environment variable's content.

I've submitted a patch to dbus that enables this support.

See: https://bugs.freedesktop.org/show_bug.cgi?id=15412

--
Lawrence R. Steeger



More information about the hal mailing list