Compartir a través de


USB Host Client Driver Registry Settings (Windows CE 5.0)

Send Feedback

USB Host Mass Storage Client Driver Registry Settings

You should create the following registry entries to properly load the universal serial bus (USB) storage driver on your hardware platform.

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
    "DLL"="USBMSC.DLL"
    "Prefix"="DSK"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
    "DLL"="USBMSC.DLL"
    "Prefix"="DSK"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
    "DLL"="USBDISK6.DLL"
    "Prefix"="DSK"
    "FSD"="UDFS.DLL"
    "Folder"="USB Disk"
    "IOCTL"=dword:4
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
    "DLL"="USBDISK6.DLL"
    "Prefix"="DSK"
    "FSD"="FATFS.DLL"
    "Folder"="USB Disk"
    "IOCTL"=dword:4

You can also change the timeout behavior on the loading of the driver by changing or adding the following registry values. The driver uses the default values if these entries are not present.

Note   You must remove and re-insert the device for the driver to get reloaded so it can read the new setting during initialization time.

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
    ResetTimeout:4000 ; msec
    CommandBlockTimeout:4000
    CommandStatusTimeout:4000
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
    MediaPollInterval:1250 ; msec
    ReadSectorTimeout:2000
    WriteSectorTimeout:2000
    ScsiCommandTimeout:5000
    UnitAttnRepeat:10

USB Host Printer Client Driver Registry Settings

You should create the following registry entries to properly load the USB printer driver on your hardware platform.

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\7\Printer_Class]
    "DLL"="USBPRN.DLL"
    "Prefix"="LPT"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Printer_Class]
    "DLL"="USBPRN.DLL"
    "Prefix"="LPT" 

You can also change the timeout behavior on the loading of the driver by changing and adding the following registry values. The driver uses the default values if these entries are not present. You must remove and re-insert the device for the driver to get reloaded so it can read the new setting during initialization.

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Printer_Class]
    PortStatusTimeout:DWORD:2000 ; time in msec
    DeviceIdTimeout:2000
    SoftResetTimeout:2000
    ReadTimeoutMultiplier:10
    ReadTimeoutConstant:100
    WriteTimeoutMultiplier:50
    WriteTimeoutConstant:1000

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.