hal callouts script and dbus-send errors
Peggy Russell
prusselltechgroup at gmail.com
Fri Apr 4 14:38:07 PDT 2008
When I issue these commands as root from a bash script on a terminal session
they are completed successfully:
dbus-send --system --print-reply --dest=org.freedesktop.Hal --type=method_call
/org/freedesktop/Hal/devices/storage_model_DVDRW_SHW_160P6S
org.freedesktop.Hal.Device.SetPropertyString string:'block.device.pktcdvd'
string:'/dev/pktcdvd/pktcdvd0'
dbus-send --system --print-reply --dest=org.freedesktop.Hal --type=method_call
/org/freedesktop/Hal/devices/storage_model_DVDRW_SHW_160P6S
org.freedesktop.Hal.Device.SetPropertyString string:'block.device.pktcdvd'
string:'/dev/pktcdvd/pktcdvd0'
When these same commands are issued from a 'callouts' bash script:
<deviceinfo version="0.2">
<device>
<match key="storage.cdrom.dvdrw" bool="true">
<match key="block.is_volume" bool="false">
<append key="info.callouts.add" type="strlist">udf</append>
</match>
</match>
</device>
</deviceinfo>
I receive these errors:
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal
was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal
was not provided by any .service files
More information about the hal
mailing list