;-------------------------------------------------------------------------------
; ENGSER.INF
;
; Sony Serial Device for development

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %SONY%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 03/06/2014,2.1.0.83
CatalogFile.NTx86   = engserx86.cat
CatalogFile.NTamd64 = engseramd64.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%SONY% = SonySerialPort, NTx86, NTamd64
  
[SourceDisksNames]
1001 = %SonySrcDisk%,,,\i386
1002 = %SonySrcDisk%,,,\amd64

[SourceDisksFiles.x86]
sonyusbser.sys = 1001

[SourceDisksFiles.amd64]
sonyusbser.sys = 1002

[SonySerialPort.NTx86]
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_5146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_5146&MI_04
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_6146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_6146&MI_04
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_7146&MI_04
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_7146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_A146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_A146&MI_04
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_A146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_B146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_B146&MI_04
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_B146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_C146&MI_04
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_C146&MI_05
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_C146&MI_06
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_D146&MI_04
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_D146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_1146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_1146&MI_05
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_1146&MI_06
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_F146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_F146&MI_05
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_F146&MI_06

[SonySerialPort.NTamd64]
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_5146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_5146&MI_04
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_6146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_6146&MI_04
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_7146&MI_04
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_7146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_A146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_A146&MI_04
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_A146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_B146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_B146&MI_04
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_B146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_C146&MI_04
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_C146&MI_05
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_C146&MI_06
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_D146&MI_04
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_D146&MI_05
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_1146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_1146&MI_05
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_1146&MI_06
%SonySerial%  = SportInstall00, USB\VID_0FCE&PID_F146&MI_03
%SonyDiag-0%  = SportInstall00, USB\VID_0FCE&PID_F146&MI_05
%SonyDiag-1%  = SportInstall00, USB\VID_0FCE&PID_F146&MI_06

[SportInstall00.NT]
CopyFiles=SonyUsbDriverFiles
AddReg = All00, AddReg

[SonyUsbDriverFiles]
sonyusbser.sys

[DestinationDirs]
DefaultDestDir = 12

[SportInstall00.NT.Services]
AddService=sonyusbser,  0x00000002, Sony_USBSerialService

[Sony_USBSerialService]
DisplayName   = %SONYUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\sonyusbser.sys

[All00]
HKR,,NTMPDriver,,sonyusbser.sys

[DevFunction1]
HKR,,QCDeviceFunction,0x00010001,1

[DevFunction2]
HKR,,QCDeviceFunction,0x00010001,2

[RegEntries]
HKR, , QCDriverSelectiveSuspendIdleTime, 0x00010001, 0x80000003
HKR, , QCDriverPowerManagementEnabled, 0x00010001, 1


[AddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69025,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69026,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69031,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69032,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69037,1,1
HKLM,SYSTEM\CurrentControlSet\Control\UsbFlags,IgnoreHWSerNum05C69038,1,1

[Strings]
SONYUSBSER = "Sony USB Device for Legacy Serial Communication for Engineering"
SonySrcDisk = "SONY USB Driver Disk"
SONY   = "Sony"
SonyDiag-0 = "Sony HS-USB Android Diag-0"
SonyDiag-1 = "Sony HS-USB Android Diag-1"
SonySerial = "Sony HS-USB Android Serial"

