# Class CIM_USBDevice
extends CIM_LogicalDevice

The management characterisitics of a USB Device.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_ManagedSystemElement
|
+--CIM_LogicalElement
|
+--CIM_EnabledLogicalElement
|
+--CIM_AllocatedLogicalElement
|
+--CIM_LogicalDevice
|
+--CIM_USBDevice

## Direct Known Subclasses

CIM_USBHub

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | The management characterisitics of a USB Device.
UMLPackagePath | string | CIM::Device::USB
Version | string | 2.22.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
ClassCode | uint8 |
Description | string | Indicates the USB class code.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bDeviceClass
CommandTimeout | datetime |
Description | string | CommandTimeout is configurable by management applications supporting USB Redirections. When the Redirection Service redirects a USBDevice command to a remote device, and the remote device does not respond before CommandTimout times out, the Redirection Service will emulate a media eject event and re-try the command and/or try to re-establish the connection to the remote device. The timeout is expressed using the interval format of the datetime type.
CurrentConfigValue | uint8 |
Description | string | Indicates the configuration currently selected for the Device. If this value is zero, the Device is unconfigured.
ModelCorrespondence | string | CIM_USBDevice.CurrentAlternateSettings
DeviceReleaseNumber | uint16 |
Description | string | From the USB specification Device Descriptor, Device Release Number in Binary-Coded Decimal.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bcdDevice
Manufacturer | string |
Description | string | From the USB specification Device Descriptior, Manufacturer string.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iManufacturer
MaxPacketSize | uint8 |
Description | string | From the USB specification Device Descriptor, Maximum Packet size for the USB zero endpoint. Valid sizes are 8, 16, 32, 64.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bMaxPacketSize
NumberOfConfigs | uint8 |
Description | string | Number of device configurations that are defined for the Device.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bNumConfigurations
Product | string |
Description | string | From the USB specification Device Descriptor, Product String.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iProduct
ProductID | uint16 |
Description | string | From the USB specification Device Descriptor, Product ID assigned by manufacturer.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|idProduct
ProtocolCode | uint8 |
Description | string | Indicates the USB protocol code.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bDeviceProtocol
SerialNumber | string |
Description | string | From the USB specification Device Descriptor, Serial Number String.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iSerialNumber
SubclassCode | uint8 |
Description | string | Indicates the USB subclass code.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bDeviceSubClass
USBVersion | uint16 |
Description | string | Indicates the latest USB Version supported by the USB Device. The property is expressed as a Binary-Coded Decimal (BCD) where a decimal point is implied between the 2nd and 3rd digits. For example, a value of 0x201 indicates that version 2.01 is supported.
USBVersionInBCD | uint16 |
Description | string | From the USB specification Device Descriptor, where 'bcdUSB' is the USB Specification Number, in Binary-Coded Decimal format, that the device complies with.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bcdUSB
VendorID | uint16 |
Description | string | From the USB specification Device Descriptor, Vendor ID assigned by USB.org.
MappingStrings | string | Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|idVendor
CurrentAlternateSettings | uint8[] |
Description | string | An array of USB 'alternate settings' for each interface in the currently selected configuration (indicated by the CurrentConfigValue property). This array has one entry for each interface in the configuration. If the property, CurrentConfigValue, is zero (indicating the Device is not configured), the array is undefined. To understand how to parse this octet string, refer to the USB Specification.
ModelCorrespondence | string | CIM_USBDevice.CurrentConfigValue

### Inherited Properties

Name | Data Type
--- | ---
AllocationState | string
Availability | uint16
Caption | string
CommunicationStatus | uint16
CreationClassName | string
Description | string
DetailedStatus | uint16
DeviceID | string
ElementName | string
EnabledDefault | uint16
EnabledState | uint16
ErrorCleared | boolean
ErrorDescription | string
Generation | uint64
HealthState | uint16
InstallDate | datetime
InstanceID | string
LastErrorCode | uint32
LocationIndicator | uint16
MaxQuiesceTime | uint64
Name | string
OperatingStatus | uint16
OtherEnabledState | string
PowerManagementSupported | boolean
PowerOnHours | uint64
PrimaryStatus | uint16
RequestedState | uint16
Status | string
StatusInfo | uint16
SystemCreationClassName | string
SystemName | string
TimeOfLastStateChange | datetime
TotalPowerOnHours | uint64
TransitioningToState | uint16
AdditionalAvailability | uint16[]
AvailableRequestedStates | uint16[]
IdentifyingDescriptions | string[]
OperationalStatus | uint16[]
OtherIdentifyingInfo | string[]
PowerManagementCapabilities | uint16[]
StatusDescriptions | string[]

## Class Methods

### Inherited Class Methods

Name | Return Type
--- | ---
EnableDevice | uint32
OnlineDevice | uint32
QuiesceDevice | uint32
RequestStateChange | uint32
Reset | uint32
RestoreProperties | uint32
SaveProperties | uint32
SetPowerState | uint32