;; sonyrcs956.inf  for Windows XP/Vista(32)
;; Sony FeliCa Port/PaSoRi RCS956 USB  Copyright 2008 Sony Corporation

;--------- Version Section ---------------------------------------------------
[Version]
Signature="$Windows NT$"
Provider=%ProviderName%
CatalogFile=sonyrcs956.cat
DriverVer=11/10/2008,1.1.0.0

Class=FeliCa
ClassGuid={020AE931-1226-468b-B70B-907F51F3774B}

;--------- DestinationDirs Section -------------------------------------------
[DestinationDirs]
DefaultDestDir=12 
sonyrcs956_Files_Driver=10,System32\Drivers
FeliCa_Class_Files=11

;--------- Class section -------------------------------------------

[ClassInstall32]
Addreg=Class_AddReg
CopyFiles=FeliCa_Class_Files

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,100
HKR,,Installer32,,"felicaport_cls.dll,ClassInsatller"

[FeliCa_Class_Files]
felicaport_cls.dll

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
[SourceDisksNames]
1=%InstallDiskName%,,,

[SourceDisksFiles]
sonyrcs956c.sys=1,,
sonyrcs956f.sys=1,,
sonyfelicaportm.sys=1,,
felicaport_cls.dll=1,,

;--------- Manufacturer and Models Sections ----------------------------------
[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=sonyrcs956_DDI,USB\VID_054C&PID_02E1

[ControlFlags]
ExcludeFromSelect=USB\VID_054C&PID_02E1

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows NT -----------------
[sonyrcs956_DDI.NT]
CopyFiles=sonyrcs956_Files_Driver
AddReg=sonyrcs956c_NT_AddReg
AddReg=sonyrcs956f_NT_AddReg

[sonyrcs956_DDI.NT.HW]
AddReg=sonyrcs956_NT_HW_AddReg

[sonyrcs956_DDI.NT.Services]
Addservice=sonyrcs956c,0x00000002,sonyrcs956c_AddService
Addservice=sonyrcs956f,,sonyrcs956f_AddService
Addservice=sonyfelicaportm,,sonyfelicaportm_AddService

[sonyrcs956c_AddService]
DisplayName    = %SvcC_Desc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\sonyrcs956c.sys

[sonyrcs956f_AddService]
DisplayName    = %SvcF_Desc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\sonyrcs956f.sys

[sonyfelicaportm_AddService]
DisplayName    = %SvcM_Desc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\sonyfelicaportm.sys

[sonyrcs956c_NT_AddReg]
HKLM, %ServiceRoot%"\sonyrcs956c\Parameters","SelectiveSuspendEnable",0x00010001,0x00000001
HKLM, %ServiceRoot%"\sonyrcs956c\Parameters","SelectiveSuspendIdleTime",0x00010001,60000
HKLM, %ServiceRoot%"\sonyrcs956c\Parameters","021",0x00000001,01,31,01,32,01,33,02,11,02,12

[sonyrcs956f_NT_AddReg]
HKLM, %ServiceRoot%"\sonyrcs956f\Parameters","T0131",0x00010001,0x00000000
HKLM, %ServiceRoot%"\sonyrcs956f\Parameters","T0132",0x00010001,0x00000000
HKLM, %ServiceRoot%"\sonyrcs956f\Parameters","T0133",0x00010001,0x00000000
HKLM, %ServiceRoot%"\sonyrcs956f\Parameters","T0211",0x00010001,0x00000001
HKLM, %ServiceRoot%"\sonyrcs956f\Parameters","T0212",0x00010001,0x00000000
HKLM, %ServiceRoot%"\sonyrcs956f\Parameters","T02115",0x00000001,01,00,00,00,01,06,00,0c,ff,1c,f5

[sonyrcs956_NT_HW_AddReg]
HKR,,"UpperFilters",0x00010000,"sonyrcs956f"
HKR,,"UpperFilters",0x00010008,"sonyfelicaportm"

; --------- Files (common) -------------
[sonyrcs956_Files_Driver]
sonyrcs956c.sys
sonyrcs956f.sys
sonyfelicaportm.sys

;--------- Strings Section ---------------------------------------------------
[Strings]
ProviderName="Sony Corporation"
MfgName="Sony Corporation"
DeviceDesc="FeliCa Port/PaSoRi RCS956 USB"
SvcC_Desc="FeliCa Port/PaSoRi(sonyrcs956c)"
SvcF_Desc="FeliCa Port/PaSoRi(sonyrcs956f)"
SvcM_Desc="FeliCa Port/PaSoRi Manager"
InstallDiskName="FeliCa Port/PaSoRi RCS956 USB DeviceDriver Disk"
ServiceRoot="System\CurrentControlSet\Services"
DeviceClassName="FeliCa Port"

