1hal-get-property(1M)    System Administration Commands    hal-get-property(1M)
2
3
4

NAME

6       hal-get-property, hal-set-property - get and set HAL device properties
7

SYNOPSIS

9       hal-get-property --udi udi --key key [--help] [--verbose]
10        [--version]
11
12
13       hal-set-property  --udi udi --key key {--int value |  --uint64 value
14        |  --string value |  --bool value |  --strlist-pre value
15        |  --strlist-post value |  --strlist-rem value |  --double value
16        |  --remove value} [--help] [--version]
17
18

DESCRIPTION

20       The  Hardware  Abstraction  Layer  (HAL) provides a view of the various
21       hardware attached to a system. This  view  is  updated  dynamically  as
22       hardware configuration changes by means of hotplug or other mechanisms.
23       HAL represents a piece of hardware as a device object. A device  object
24       is  identified  by  a  unique  identifer and carries a set of key/value
25       pairs, referred to as device properties. Some  properties  are  derived
26       from the actual hardware, some are merged from device information files
27       (.fdi files), and some are related to the actual device configuration.
28
29
30       The hal-get-property and hal-set-property commands allow you to get and
31       set properties of hardware that conforms to HAL specifications.
32

OPTIONS

34       The following options are supported:
35
36       --udi udi
37
38           Unique device ID.
39
40
41       --key key
42
43           Key of the property to set.
44
45
46       --int
47
48           Set  value to an integer. Accepts decimal or hexadecimal value pre‐
49           fixed with 0x or x.
50
51
52       --uint64
53
54           Set value to an integer. Accepts decimal or hexadecimal value  pre‐
55           fixed with 0x or x.
56
57
58       --string value
59
60           Set value to a string.
61
62
63       --double value
64
65           Set value to a floating point number.
66
67
68       --boolean value
69
70           Set value to a boolean, that is, true or false
71
72
73       --strlist-pre value
74
75           Prepend a string to a list.
76
77
78       --strlist-post value
79
80           Append a string to a list.
81
82
83       --strlist-rem value
84
85           Remove a string from a list.
86
87
88       --remove value
89
90           Indicates that the property should be removed.
91
92
93       --version
94
95           Display version and exit.
96
97
98       --help
99
100           Display list of options and exit
101
102

ATTRIBUTES

104       See attributes(5) for descriptions of the following attributes:
105
106
107
108
109       ┌─────────────────────────────┬─────────────────────────────┐
110       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
111       ├─────────────────────────────┼─────────────────────────────┤
112       │Availability                 │SUNWhalr                     │
113       ├─────────────────────────────┼─────────────────────────────┤
114       │Interface Stability          │Volatile                     │
115       └─────────────────────────────┴─────────────────────────────┘
116

SEE ALSO

118       hald(1M), attributes(5), hal(5)
119
120
121
122SunOS 5.11                        18 Aug 2006             hal-get-property(1M)
Impressum