HAL-GET-PROPERTY(1)HAL-GET-PROPERTY(1)NAMEhal-get-property - get a property from a device object
SYNOPSIShal-get-property [options]
DESCRIPTIONhal-get-property retrieves a property from a device object in the HAL
device database. For more information about both the big picture and
specific HAL properties, refer to the HAL spec which can be found in
/usr/share/doc/packages/hal/spec/hal-spec.html depending on the distri‐
bution.
OPTIONS
The following options are supported:
--udi The UDI (Unique Device Identifier) of the device object.
--key The name of the property.
--hex Show int32/uint64 values in hex (without a leading 0x).
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If both the property and device object exists the value of the property
is printed on stdout and the program will exit with exit code 0. Other‐
wise the exit code will be non-zero.
BUGS
Please send bug reports to either the distribution or the HAL mailing
list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSOhald(8), lshal(1), hal-set-property(1), hal-find-by-property(1), hal-
find-by-capability(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many
others.
HAL-GET-PROPERTY(1)