1 karl 1.1 // ===================================================================
2 // Title: User Devices 2.7
3 // Filename: Device27_User.mof
4 // Version: 2.7.0
5 // Release: Preliminary
6 // Date: 07/17/02
7 // ===================================================================
8 // Copyright 2002 Distributed Management Task Force, Inc. (DMTF).
9 // All rights reserved.
10 // DMTF is a not-for-profit association of industry members dedicated
11 // to promoting enterprise and systems management and interoperability.
12 // DMTF specifications and documents may be reproduced for uses
13 // consistent with this purpose by members and non-members,
14 // provided that correct attribution is given.
15 // As DMTF specifications may be revised from time to time,
16 // the particular version and release date should always be noted.
17 //
18 // Implementation of certain elements of this standard or proposed
19 // standard may be subject to third party patent rights, including
20 // provisional patent rights (herein "patent rights"). DMTF makes
21 // no representations to users of the standard as to the existence
22 karl 1.1 // of such rights, and is not responsible to recognize, disclose, or
23 // identify any or all such third party patent right, owners or
24 // claimants, nor for any incomplete or inaccurate identification or
25 // disclosure of such rights, owners or claimants. DMTF shall have no
26 // liability to any party, in any manner or circumstance, under any
27 // legal theory whatsoever, for failure to recognize, disclose, or
28 // identify any such third party patent rights, or for such party's
29 // reliance on the standard or incorporation thereof in its product,
30 // protocols or testing procedures. DMTF shall have no liability to
31 // any party implementing such standard, whether such implementation
32 // is foreseeable or not, nor to any patent owner or claimant, and shall
33 // have no liability or responsibility for costs or losses incurred if
34 // a standard is withdrawn or modified after publication, and shall be
35 // indemnified and held harmless by any party implementing the
36 // standard from any and all claims of infringement by a patent owner
37 // for such implementations.
38 //
39 // For information about patents held by third-parties which have
40 // notified the DMTF that, in their opinion, such patent may relate to
41 // or impact implementations of DMTF standards, visit
42 // http://www.dmtf.org/about/policies/disclosures.php.
43 karl 1.1 // ===================================================================
44 // Description: The Device Model extends the management concepts that
45 // are related to LogicalDevices. This file models
46 // user devices (monitors, keyboards, pointing devices,
47 // etc.).
48 //
49 // The object classes below are listed in an order that
50 // avoids forward references. Required objects, defined
51 // by other working groups, are omitted.
52 // ==================================================================
53 // Change Log for v2.7
54 // CR622 - Fix the DMI mapping string to include the attribute number
55 // for PointingDevice.PointingType & .NumberOfButtons and
56 // Keyboard.Layout
57 // ==================================================================
58
59 #pragma locale ("en_US")
60
61
62 // ===================================================================
63 // UserDevice
64 karl 1.1 // ===================================================================
65 [Abstract, Version ("2.6.0"), Description (
66 "UserDevices are LogicalDevices that allow a ComputerSystem's "
67 "users to input, view or hear data. It is a superclass from "
68 "which other classes, such as Keyboard or DesktopMonitor, "
69 "descend.") ]
70 class CIM_UserDevice : CIM_LogicalDevice {
71
72 [Description (
73 "An indication of whether the Device is locked, preventing "
74 "user input or output.") ]
75 boolean IsLocked;
76 };
77
78
79 // ===================================================================
80 // PointingDevice
81 // ===================================================================
82 [Version ("2.7.0"), Description (
83 "PointingDevice represents those Devices used to 'point' to "
84 "regions of a Display.") ]
85 karl 1.1 class CIM_PointingDevice : CIM_UserDevice {
86
87 [Description ("The type of the pointing device."),
88 ValueMap {"1", "2", "3", "4", "5", "6", "7", "8", "9"},
89 Values {"Other", "Unknown", "Mouse", "Track Ball",
90 "Track Point", "Glide Point", "Touch Pad", "Touch Screen",
91 "Mouse - Optical Sensor"},
92 MappingStrings {"MIF.DMTF|Pointing Device|003.1"} ]
93 uint16 PointingType;
94
95 [Description (
96 "Number of buttons. If the PointingDevice has no buttons, "
97 "enter 0."),
98 MappingStrings {"MIF.DMTF|Pointing Device|003.4"} ]
99 uint8 NumberOfButtons;
100
101 [Description (
102 "Integer indicating whether the PointingDevice is configured "
103 "for right (value=2) or left handed operation (value=3). "
104 "Also, the values, \"Unknown\" (0) and \"Not Applicable\" (1), "
105 "can be defined."),
106 karl 1.1 ValueMap {"0", "1", "2", "3"},
107 Values {"Unknown", "Not Applicable", "Right Handed Operation",
108 "Left Handed Operation"} ]
109 uint16 Handedness;
110
111 [Description (
112 "Tracking resolution of the PointingDevice in Counts per "
113 "Inch."),
114 Units ("Counts per Inch") ]
115 uint32 Resolution;
116 };
117
118
119 // ===================================================================
120 // Keyboard
121 // ===================================================================
122 [Version ("2.7.0"), Description (
123 "Capabilities and management of the Keyboard LogicalDevice.") ]
124 class CIM_Keyboard : CIM_UserDevice {
125
126 [Description (
127 karl 1.1 "Number of function keys on the Keyboard.") ]
128 uint16 NumberOfFunctionKeys;
129
130 [Description (
131 "A free-form string indicating the format and layout of the "
132 "Keyboard."),
133 MappingStrings {"MIF.DMTF|Keyboard|004.1"} ]
134 string Layout;
135
136 [Description (
137 "An integer indicating whether a hardware-level password is "
138 "enabled at the keyboard (value=4), preventing local input. "
139 "Other values are: \"Disabled\" (3), \"Not Implemented\" (5), "
140 "\"Other\" (1) and \"Unknown\" (2)."),
141 ValueMap {"1", "2", "3", "4", "5"},
142 Values {"Other", "Unknown", "Disabled", "Enabled",
143 "Not Implemented"},
144 MappingStrings {"MIF.DMTF|System Hardware Security|001.2"} ]
145 uint16 Password;
146 };
147
148 karl 1.1
149 // ===================================================================
150 // Display
151 // ===================================================================
152 [Abstract, Version ("2.6.0"), Description (
153 "Display is a superclass for grouping the miscellaneous display "
154 "devices that exist.") ]
155 class CIM_Display : CIM_UserDevice {
156 };
157
158
159 // ===================================================================
160 // DesktopMonitor
161 // ===================================================================
162 [Version ("2.6.0"), Description (
163 "Capabilities and management of the DesktopMonitor (CRT) "
164 "LogicalDevice.") ]
165 class CIM_DesktopMonitor : CIM_Display {
166
167 [Description (
168 "The type of DesktopMonitor or CRT. For example, "
169 karl 1.1 "multiscan color or monochrome monitors (values 2 or 3, "
170 "respectively) can be indicated in this property."),
171 ValueMap {"0", "1", "2", "3", "4", "5"},
172 Values {"Unknown", "Other", "Multiscan Color",
173 "Multiscan Monochrome", "Fixed Frequency Color",
174 "Fixed Frequency Monochrome"} ]
175 uint16 DisplayType;
176
177 [Description (
178 "Monitor's bandwidth in MHertz. If unknown, enter 0."),
179 Units ("MegaHertz") ]
180 uint32 Bandwidth;
181
182 [Description (
183 "The logical height of the Display in screen coordinates.") ]
184 uint32 ScreenHeight;
185
186 [Description (
187 "The logical width of the Display in screen coordinates.") ]
188 uint32 ScreenWidth;
189 };
190 karl 1.1
191
192 // ===================================================================
193 // FlatPanel
194 // ===================================================================
195 [Version ("2.6.0"), Description (
196 "Capabilities and management of the FlatPanel LogicalDevice.") ]
197 class CIM_FlatPanel : CIM_Display {
198
199 [Description ("FlatPanel's horizontal resolution in Pixels."),
200 Units ("Pixels") ]
201 uint32 HorizontalResolution;
202
203 [Description ("FlatPanel's vertical resolution in Pixels."),
204 Units ("Pixels") ]
205 uint32 VerticalResolution;
206
207 [Description (
208 "A FlatPanel's scan mode indicating either single "
209 "(value=2) or dual scan (3)."),
210 ValueMap {"0", "1", "2", "3"},
211 karl 1.1 Values {"Unknown", "Other", "Single Scan", "Dual Scan"} ]
212 uint16 ScanMode;
213
214 [Description (
215 "An integer enumeration describing the type of flat panel "
216 "display."),
217 ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8"},
218 Values {"Unknown", "Other", "Passive Matrix LCD",
219 "Active Matrix LCD", "Cholesteric LCD",
220 "Field Emission Display",
221 "Electro Luminescent Display", "Gas Plasma", "LED"} ]
222 uint16 DisplayType;
223
224 [Description (
225 "A description of the display illumination type. For example, "
226 "backlit (value=2) or reflective (4) can be specified."),
227 ValueMap {"0", "1", "2", "3", "4"},
228 Values {"Unknown", "Other", "Backlit", "Edgelit",
229 "Reflective"} ]
230 uint16 LightSource;
231
232 karl 1.1 [Description (
233 "Boolean indicating whether the FlatPanel supports color "
234 "display.") ]
235 boolean SupportsColor;
236 };
237
238
239 // ===================================================================
240 // Scanner
241 // ===================================================================
242 [Version ("2.6.0"), Description (
243 "Capabilities and management of the Scanner LogicalDevice.") ]
244 class CIM_Scanner : CIM_LogicalDevice {
245 };
246
247
248 // ===================================================================
249 // Door
250 // ===================================================================
251 [Version ("2.6.0"), Description (
252 "A Door is the abstraction of hardware providing access to "
253 karl 1.1 "the internal componentry of a System. When a Door is 'opened', "
254 "typically all accessible, moving components are stopped or "
255 "suspended to prevent physical harm.") ]
256 class CIM_Door : CIM_LogicalDevice {
257
258 [Description (
259 "Boolean indicating the 'open' (TRUE) or 'closed' (FALSE) "
260 "status of the Door.") ]
261 boolean Open;
262
263 [Description (
264 "Boolean indicating that the Door is 'locked' (TRUE) or "
265 "'unlocked' (FALSE). When the Door is locked, access to the "
266 "componentry is prevented, without the use of a physical "
267 "key or the issuance of a software unlock command.") ]
268 boolean Locked;
269
270 [Description (
271 "When a Door is 'Open', all accessible, moving componentry "
272 "and Device operation are typically stopped. The Timeout "
273 "property provides a mechanism to event on a Door left open "
274 karl 1.1 "for a period of time (in seconds) exceeding the property's "
275 "value."),
276 Units ("Seconds") ]
277 uint32 Timeout;
278
279 [Description (
280 "Date and time that the Door was last opened.") ]
281 datetime LastOpened;
282
283 [Description (
284 "The Capabilities of the Door. For example, information on "
285 "whether the Door is \"Host System Lockable\" (value=2) and/or "
286 "whether a key is available (value=3) are specified in this "
287 "property. The value 4, \"All Drives Dismounted Before "
288 "Access\", pertains to a Door on a StorageLibrary or set of "
289 "drive bays. If specified for the Door, it means that it can "
290 "not be opened unless all Media are first unloaded from the "
291 "accessible MediaAccessDevices."),
292 ValueMap {"0", "1", "2", "3", "4"},
293 Values {"Unknown", "Other", "Host System Lockable",
294 "Physical Key", "All Drives Dismounted Before Access"} ]
295 karl 1.1 uint16 Capabilities[];
296 };
297
298
299 // ===================================================================
300 // DoorAccessToPhysicalElement
301 // ===================================================================
302 [Association, Version ("2.6.0"), Description (
303 "Doors provide access to PhysicalElements for hot swap, repair "
304 "and similar activities. The entities accessed through a Door "
305 "are indicated in this relationship.") ]
306 class CIM_DoorAccessToPhysicalElement : CIM_Dependency {
307
308 [Override ("Antecedent"),
309 Description ("The Door that provides access.") ]
310 CIM_Door REF Antecedent;
311
312 [Override ("Dependent"),
313 Description ("The PhysicalElement that is accessed.") ]
314 CIM_PhysicalElement REF Dependent;
315 };
316 karl 1.1
317
318 // ===================================================================
319 // DoorAccessToDevice
320 // ===================================================================
321 [Association, Version ("2.6.0"), Description (
322 "Doors provide access to PhysicalElements for hot swap, repair "
323 "and similar activities. In turn, PhysicalElements 'Realize' "
324 "LogicalDevices. Since it may not be possible to define all the "
325 "PhysicalElements that exist, and optimizing the retrieval of "
326 "Devices 'behind' the Door may be desirable, the DoorAccessTo"
327 "Device association provides a shortcut mechanism for defining "
328 "the LogicalDevices ('hardware') accessed through a Door.") ]
329 class CIM_DoorAccessToDevice : CIM_Dependency {
330
331 [Override ("Antecedent"),
332 Description ("The Door that provides access.") ]
333 CIM_Door REF Antecedent;
334
335 [Override ("Dependent"),
336 Description ("The LogicalDevice that is accessed.") ]
337 karl 1.1 CIM_LogicalDevice REF Dependent;
338 };
339
340 // ===================================================================
341 // MonitorResolution
342 // ===================================================================
343 [Version ("2.6.0"), Description (
344 "MonitorResolution describes the relationship between "
345 "horizontal and vertical resolutions, refresh rate and scan "
346 "mode for a DesktopMonitor. The actual resolutions, etc. that "
347 "are in use, are the values specified in the VideoController "
348 "object.") ]
349 class CIM_MonitorResolution : CIM_Setting {
350
351 [Override ("SettingID"), Key, MaxLen (256), Description (
352 "The inherited SettingID serves as part of the key for a "
353 "MonitorResolution instance.") ]
354 string SettingID;
355
356 [Description (
357 "Monitor's horizontal resolution in Pixels."),
358 karl 1.1 Units ("Pixels"),
359 ModelCorrespondence {
360 "CIM_VideoController.CurrentHorizontalResolution"},
361 MappingStrings {"MIF.DMTF|Monitor Resolutions|002.2"} ]
362 uint32 HorizontalResolution;
363
364 [Description (
365 "Monitor's vertical resolution in Pixels."),
366 Units ("Pixels"),
367 ModelCorrespondence {
368 "CIM_VideoController.CurrentVerticalResolution"},
369 MappingStrings {"MIF.DMTF|Monitor Resolutions|002.3"} ]
370 uint32 VerticalResolution;
371
372 [Description (
373 "Monitor's refresh rate in Hertz. If a range of rates is "
374 "supported, use the MinRefreshRate and MaxRefreshRate "
375 "properties, and set RefreshRate (this property) to 0."),
376 Units ("Hertz"),
377 ModelCorrespondence {
378 "CIM_VideoController.CurrentRefreshRate"},
379 karl 1.1 MappingStrings {"MIF.DMTF|Monitor Resolutions|002.4"} ]
380 uint32 RefreshRate;
381
382 [Description (
383 "Monitor's minimum refresh rate in Hertz, when a range of "
384 "rates is supported at the specified resolutions."),
385 Units ("Hertz"),
386 ModelCorrespondence {
387 "CIM_VideoController.MinRefreshRate"},
388 MappingStrings {"MIF.DMTF|Monitor Resolutions|002.6"} ]
389 uint32 MinRefreshRate;
390
391 [Description (
392 "Monitor's maximum refresh rate in Hertz, when a range of "
393 "rates is supported at the specified resolutions."),
394 Units ("Hertz"),
395 ModelCorrespondence {
396 "CIM_VideoController.MaxRefreshRate"},
397 MappingStrings {"MIF.DMTF|Monitor Resolutions|002.7"} ]
398 uint32 MaxRefreshRate;
399
400 karl 1.1 [Description (
401 "Integer indicating whether the monitor operates in "
402 "interlaced (value=5) or non-interlaced (4) mode."),
403 ValueMap {"1", "2", "3", "4", "5"},
404 Values {"Other", "Unknown", "Not Supported",
405 "Non-Interlaced Operation", "Interlaced Operation"},
406 ModelCorrespondence {
407 "CIM_VideoController.CurrentScanMode"},
408 MappingStrings {"MIF.DMTF|Monitor Resolutions|002.5"} ]
409 uint16 ScanMode;
410 };
411
412
413 // ===================================================================
414 // MonitorSetting
415 // ===================================================================
416 [Association, Version ("2.6.0"), Description (
417 "MonitorSetting associates the MonitorResolution Setting object "
418 "with the DesktopMonitor to which it applies.") ]
419 class CIM_MonitorSetting : CIM_ElementSetting {
420
421 karl 1.1 [Override ("Element"), Description (
422 "The DesktopMonitor.") ]
423 CIM_DesktopMonitor REF Element;
424
425 [Override ("Setting"), Description (
426 "The MonitorResolution associated with the DesktopMonitor.") ]
427 CIM_MonitorResolution REF Setting;
428 };
429
430
431 // ===================================================================
432 // end of file
433 // ===================================================================
|