HAL-SET-PROPERTYSection: User Commands (1)
Index Return to Main Contents
NAMEhal-set-property - set a property on a device object
hal-set-property sets a property on 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/hal-0.5.14/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.
- Set value property of the property to a 32-bit signed integer. The value passed is assumed to be decimal unless it's prefixed with 0x or x for hexadecimal values.
- Set value property of the property to a 64-bit unsigned integer. The value passed is assumed to be decimal unless it's prefixed with 0x or x for hexadecimal values.
- Set value property of the property to a string.
- Set value property of the property to a floating point number.
- Set value property of the property to boolean, e.g. true or false.
- Prepend an item to a string list.
- Append an item to a string list.
- Remove an item from a string list.
- Remove a property.
- Print out usage.
Print the version.
If setting the property succeeds, this program will exit with exit code 0. On errors a non-zero the program will exit with a non-zero exit code. Note that setting properties on the HAL device database usually requires super user privileges.
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 protected]> with a lot of help from many others.
This document was created by man2html, using the manual pages.
Time: 05:29:04 GMT, December 24, 2015