hal-set-property from a callout broken
Phillip Susi
psusi at cfl.rr.com
Sun Jan 15 14:03:58 PST 2006
Darn, I thought that might have been the answer, but alas, $UDI contains
the exact same string and I get the exact same error calling
hal-set-property:
error: libhal_ctx_init: (null): (null)
David Zeuthen wrote:
>On Sun, 2006-01-15 at 12:40 -0500, Phillip Susi wrote:
>
>
>>echo hal-set-property --udi $HAL_PROP_INFO_UDI --key block.device.pktcdvdnum --int $DEVNUM
>>
>>
>
>You want to use $UDI instead of $HAL_PROP_INFO_UDI because of the fact
>that the device is not yet in the store even though we already named it.
>
>So $UDI should be of the form /org/freedesktop/Hal/devices/temp/blah or
>something. Btw, this is very deliberate as we want callouts to be able
>to modify the device object before we announce it on the bus.
>
>HTH,
>David
>
>
>
More information about the hal
mailing list