다음을 통해 공유


USB OTG Driver Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The following information describes the registry keys necessary for universal serial bus (USB) On-The-Go (OTG) drivers.

You can affect the behavior of USB OTG drivers using the registry key HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UsbOtg. The following table shows the named values for this registry key.

Value : type Description

DynamicClientLoad : DWORD

Bit 0 indicates whether the USB function requires dynamic loading.

Bit 1 indicates whether the USB host controller driver requires dynamic loading.

This value is assumed to be zero if it is not present in the registry.

InitialRoleMaster : DWORD

This registry value indicates that the device wants to become a host if conditions allow for it.

DisableRoleSwitch : DWORD

This registry value indicates whether the device has disabled role switching.

HCDPortNumberOnOTG : DWORD

This registry value indicates which USB host controller driver port is connected to the USB OTG port.

The subkey HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UsbOtg\Hcd must exist for USB OTG to support a USB host controller. Similarly, the subkey HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UsbOtg\UsbFn must exist for USB OTG to support a USB function controller.

See Also

Other Resources

USB OTG Drivers