1HAL-GET-PROPERTY(1) General Commands Manual HAL-GET-PROPERTY(1)
2
3
4
6 hal-get-property - get a property from a device object
7
9 hal-get-property [options]
10
11
13 hal-get-property retrieves a property from a device object in the HAL
14 device database. For more information about both the big picture and
15 specific HAL properties, refer to the HAL spec which can be found in
16 /usr/share/doc/hal-0.5.14/spec/hal-spec.html depending on the distribu‐
17 tion.
18
19
21 The following options are supported:
22
23 --udi The UDI (Unique Device Identifier) of the device object.
24
25 --key The name of the property.
26
27 --hex Show int32/uint64 values in hex (without a leading 0x).
28
29 --verbose
30 Verbose output.
31
32 --help Print out usage.
33
34 --version
35 Print the version.
36
37
39 If both the property and device object exists the value of the property
40 is printed on stdout and the program will exit with exit code 0. Other‐
41 wise the exit code will be non-zero.
42
43
45 Please send bug reports to either the distribution or the HAL mailing
46 list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
47 subscribe.
48
49
51 hald(8), lshal(1), hal-set-property(1), hal-find-by-property(1), hal-
52 find-by-capability(1)
53
54
56 Written by David Zeuthen <david@fubar.dk> with a lot of help from many
57 others.
58
59
60
61
62 HAL-GET-PROPERTY(1)