HAL-GET-PROPERTYSection: User Commands (1)
Index Return to Main Contents
NAMEhal-get-property - get a property from a device object
hal-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/doc/hal-0.5.10/spec/hal-spec.html depending on the distribution.
OPTIONSThe following options are supported:
- The UDI (Unique Device Identifier) of the device object.
- The name of the property.
- Show int32/uint64 values in hex (without a leading 0x).
- Verbose output.
- Print out usage.
Print the version.
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. Otherwise the exit code will be non-zero.
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.
AUTHORWritten by David Zeuthen <email@example.com> with a lot of help from many others.