; Installation file for dlsusb usb/serial driver
; Copyright (C) 2009 by Walter Oney
; All rights reserved

[Version]
Signature=$CHICAGO$
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%ONEYSOFT%
CatalogFile=dlsusb.cat
DriverVer=10/31/2014,4.1.0.0

;------------------------------------------------------------------------------
;  Standard INF sections
;------------------------------------------------------------------------------

[Manufacturer]
%MFGNAME%=DeviceList,ntAMD64

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir=12



[SourceDisksFiles]
dlsusb.sys=1,



[SourceDisksNames]
1=%INSTDISK%,,,

[DeviceList.ntAMD64]
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4002
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4202
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4204
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4502
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4504
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4505
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4506
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4507
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4509
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4601
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4602
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4000
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_221E&Cdc_Modem
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4004&Cdc_Modem
%DESCRIPTION%=DriverInstall1,USB\VID_05F9&PID_4005&Cdc_Modem
%DESCRIPTION%=DriverInstall2,USB\VID_05F9&PID_4001
%DESCRIPTION%=DriverInstall2,USB\VID_05F9&PID_4003
%DESCRIPTION%=DriverInstall3,USB\VID_080C&PID_0400
%DESCRIPTION%=DriverInstall4,USB\VID_03F0&PID_0339
%DESCRIPTION2%=DriverInstall4,USB\VID_03F0&PID_0E39
%DESCRIPTION3%=DriverInstall4,USB\VID_03F0&PID_1139
%DESCRIPTION4%=DriverInstall4,USB\VID_03F0&PID_1439
%DESCRIPTION5%=DriverInstall4,USB\VID_03F0&PID_1F39
%DESCRIPTION6%=DriverInstall4,USB\VID_03F0&PID_2439
%DESCRIPTION7%=DriverInstall4,USB\VID_03F0&PID_2F39
%DESCRIPTION7%=DriverInstall4,USB\VID_03F0&PID_4005&Cdc_Modem
%DESCRIPTION8%=DriverInstall4,USB\VID_03F0&PID_4739

;------------------------------------------------------------------------------
;  Install section for selected OS
;------------------------------------------------------------------------------

[DriverInstall1]
CopyFiles=DriverCopyFiles
CopyInf=dlsport.inf


[DriverInstall2]
CopyFiles=DriverCopyFiles
CopyInf=dlsport.inf


[DriverInstall3]
CopyFiles=DriverCopyFiles
CopyInf=dlsport.inf


[DriverInstall4]
CopyFiles=DriverCopyFiles
CopyInf=dlsport.inf


[DriverCopyFiles]
dlsusb.sys,,,2

[DriverInstall1.Services]
AddService=dlsusb,2,DriverService

[DriverInstall2.Services]
AddService=dlsusb,2,DriverService

[DriverInstall3.Services]
AddService=dlsusb,2,DriverService

[DriverInstall4.Services]
AddService=dlsusb,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\dlsusb.sys

[DriverInstall1.hw]
AddReg=DriverHwAddReg1,License1
AddReg=AddNoTTBuffReg


[DriverInstall2.hw]
AddReg=DriverHwAddReg2,License1
AddReg=AddNoTTBuffReg


[DriverInstall3.hw]
AddReg=DriverHwAddReg1,License2
AddReg=AddNoTTBuffReg


[DriverInstall4.hw]
AddReg=DriverHwAddReg1,License3
AddReg=AddNoTTBuffReg



[DriverHwAddReg1]
HKR,,Protocol, 0x00010001, 00,00,00,00						; change to 01,00,00,00 for notification-driven operation
HKR,,IdleTimeout, 0x00010001, 06,00,00,00					; timeout in milliseconds (note this is little endian and hexadecimal)
HKR,,CtsOption, 0x00010001, 02,00,00,00						; CTS_NONSTANDARD -- use high-order bit in report
HKR,,DsrOption, 0x00010001, 02,00,00,00						; DSR_ON
HKR,,DcdOption, 0x00010001, 02,00,00,00						; DCD_ON
HKR,,EnhancedPowerManagementEnabled,0x00010001,00,00,00,00	;Disable Enhanced Power Management Support
HKR,,SelectiveSuspendEnabled,0x00010001,,00,00,00,00		; Disable Selective Suspend 

[DriverHwAddReg2]
HKR,,Protocol, 0x00010001, 01,00,00,00						; change to 01,00,00,00 for notification-driven operation
HKR,,IdleTimeout, 0x00010001, 06,00,00,00					; timeout in milliseconds (note this is little endian and hexadecimal)
HKR,,CtsOption, 0x00010001, 02,00,00,00						; CTS_NONSTANDARD -- use high-order bit in report
HKR,,DsrOption, 0x00010001, 02,00,00,00						; DSR_ON
HKR,,DcdOption, 0x00010001, 02,00,00,00						; DCD_ON
HKR,,EnhancedPowerManagementEnabled,0x00010001,00,00,00,00	;Disable Enhanced Power Management Support
HKR,,SelectiveSuspendEnabled,0x00010001,,00,00,00,00		; Disable Selective Suspend 


[AddNoTTBuffReg]
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\042421345000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780010000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780090000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780080005,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780000005,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\110A04070000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780080004,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780000004,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780080000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808780000000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808700200000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\808700240000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\042425170002,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\042425140000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\042425170000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\971078100000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\971078200000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\971078300000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags\971078400000,NoClearTTBufferOnCancel,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94002,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94202,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94204,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94502,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94504,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94505,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94506,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94507,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94509,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94601,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94602,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94000,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94001,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F94003,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F9221E,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum05F92512,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum080C0400,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F00339,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F00E39,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F01139,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F01439,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F01F39,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F02439,0x00000001,0x01
HKLM, SYSTEM\CurrentControlSet\Control\usbflags,IgnoreHWSerNum03F02F39,0x00000001,0x01

[License1]
HKR,,LicenseKey, 0x00010001, 04,2B,32,14	; license key for 05F9/xxxx

[License2]
HKR,,LicenseKey, 0x00010001, 25,65,67,C7	; license key for 080C/xxxx

[License3]
HKR,,LicenseKey, 0x00010001, 28,0F,AA,91	; license key for 03F0/xxxx

; Tracing support (debug builds only)

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------


[Strings]
ONEYSOFT="USB-COM Driver"
MFGNAME="USB-COM Driver"
INSTDISK="USB-COM Driver"
DESCRIPTION="Barcode Scanner"
DESCRIPTION2="HP Linear Barcode Scanner"
DESCRIPTION3="HP Modular Imaging Barcode Scanner"
DESCRIPTION4="HP Presentation Barcode Scanner"
DESCRIPTION5="HP Wireless Bluetooth Barcode Scanner"
DESCRIPTION6="HP Barcode Scanner with base station"
DESCRIPTION7="HP Mobile Jacket Scanner"
DESCRIPTION8="HP QS Wireless Barcode Scanner"
