; Copyright (c) 2009, Ericsson. All rights reserved.
[Version]
Signature="$WINDOWS NT$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%InfProvider%
DriverVer=10/13/2009,6.3.0.0
CatalogFile=e36wscard.cat

; ================= Files section =====================
[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames.x86]
1 = %DiskDesc%,,,\i386

[SourceDisksNames.amd64]
1 = %DiskDesc%,,,\amd64

[SourceDisksFiles]
e36wscard.sys = 1
WdfCoInstaller01007.dll = 1

; ================= Class section =====================

; ================= Device install section =====================
[Manufacturer]
%ManufacturerName%=SmartCardModel, NTx86, NTamd64

[SmartCardModel.NTx86]
%Ericsson.DeviceDescF3507_850%=SmartCardDevice, %Ericsson.HardwareIdF3507_850%
%Ericsson.DeviceDescF3607_850%=SmartCardDevice, %Ericsson.HardwareIdF3607_850%
%Ericsson.DeviceDescF3607_900%=SmartCardDevice, %Ericsson.HardwareIdF3607_900%
%Ericsson.DeviceDescF3307_850%=SmartCardDevice, %Ericsson.HardwareIdF3307_850%
%Ericsson.DeviceDescF3307_900%=SmartCardDevice, %Ericsson.HardwareIdF3307_900%
%Lenovo.DeviceDescF3507_850%=SmartCardDevice, %Lenovo.HardwareIdF3507_850%
%Lenovo.DeviceDescF3607_850%=SmartCardDevice, %Lenovo.HardwareIdF3607_850%
%Lenovo.DeviceDescF3607_900%=SmartCardDevice, %Lenovo.HardwareIdF3607_900%

[SmartCardModel.NTamd64]
%Ericsson.DeviceDescF3507_850%=SmartCardDevice, %Ericsson.HardwareIdF3507_850%
%Ericsson.DeviceDescF3607_850%=SmartCardDevice, %Ericsson.HardwareIdF3607_850%
%Ericsson.DeviceDescF3607_900%=SmartCardDevice, %Ericsson.HardwareIdF3607_900%
%Ericsson.DeviceDescF3307_850%=SmartCardDevice, %Ericsson.HardwareIdF3307_850%
%Ericsson.DeviceDescF3307_900%=SmartCardDevice, %Ericsson.HardwareIdF3307_900%
%Lenovo.DeviceDescF3507_850%=SmartCardDevice, %Lenovo.HardwareIdF3507_850%
%Lenovo.DeviceDescF3607_850%=SmartCardDevice, %Lenovo.HardwareIdF3607_850%
%Lenovo.DeviceDescF3607_900%=SmartCardDevice, %Lenovo.HardwareIdF3607_900%

[SmartCardDevice]
CopyFiles=@e36wscard.sys
AddReg=BlockMinidriver32
AddReg=BlockMinidriver64

[BlockMinidriver32]
HKLM, "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Mobile Broadband SIM Card","ATR",0x00000001,3B,19,94,33,03,01,31,45,41,06,02,B6
HKLM, "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Mobile Broadband SIM Card","ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Mobile Broadband SIM Card","Crypto Provider",0x00000000,"Ericsson Dummy Smart Card Crypto Provider"

[BlockMinidriver64]
HKLM, "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Mobile Broadband SIM Card","ATR",0x00000001,3B,19,94,33,03,01,31,45,41,06,02,B6
HKLM, "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Mobile Broadband SIM Card","ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Mobile Broadband SIM Card","Crypto Provider",0x00000000,"Ericsson Dummy Smart Card Crypto Provider"

; ================= Service install section =====================

[SmartCardDevice.Services]
AddService = %ServiceName%, %SPSVCINST_ASSOCSERVICE%, SmartCardDevice.AddService

[SmartCardDevice.AddService]
DisplayName    = %ServiceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\e36wscard.sys
LoadOrderGroup = Base

; ================= WDF co-Installer section =====================

[SmartCardDevice.CoInstallers]
AddReg    = SmartCardDevice.CoInstallers.AddReg
CopyFiles = SmartCardDevice.CoInstallers.CopyFiles

[DestinationDirs]
SmartCardDevice.CoInstallers.CopyFiles = 11 

[SmartCardDevice.CoInstallers.CopyFiles]
WdfCoInstaller01007.dll

[SmartCardDevice.CoInstallers.AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller"

[SmartCardDevice.Wdf]
KmdfService  = %ServiceName%, SmartCardDevice.Wdf.Install

[SmartCardDevice.Wdf.Install]
KmdfLibraryVersion = 1.7

; ================= Vendor specific string section =====================

[Strings]
InfProvider			= "Ericsson AB"
ManufacturerName	= "Ericsson AB"

HardwareId			= "ERICSSON\SMARTCARD"
Ericsson.HardwareIdF3507_850 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1902&MI_06"
Ericsson.HardwareIdF3607_850 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1904&MI_08"
Ericsson.HardwareIdF3607_900 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1906&MI_08"
Ericsson.HardwareIdF3307_850 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1909&MI_08"
Ericsson.HardwareIdF3307_900 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_190A&MI_08"
Lenovo.HardwareIdF3507_850 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1900&MI_06"
Lenovo.HardwareIdF3607_850 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1905&MI_08"
Lenovo.HardwareIdF3607_900 = "ERICSSON\SMARTCARD\Vid_0BDB&Pid_1907&MI_08"

DiskDesc			= "F3607gw Mobile Broadband USIM Port Installation Disk"
DeviceDesc			= "F3607gw Mobile Broadband USIM Port"
Ericsson.DeviceDescF3507_850 = "F3507g Mobile Broadband USIM Port"
Ericsson.DeviceDescF3607_850 = "F3607gw Mobile Broadband USIM Port"
Ericsson.DeviceDescF3607_900 = "F3607gw Mobile Broadband USIM Port"
Ericsson.DeviceDescF3307_850 = "F3307 Mobile Broadband USIM Port"
Ericsson.DeviceDescF3307_900 = "F3307 Mobile Broadband USIM Port"
Lenovo.DeviceDescF3507_850 = "F3507g Mobile Broadband USIM Port"
Lenovo.DeviceDescF3607_850 = "F3607gw Mobile Broadband USIM Port"
Lenovo.DeviceDescF3607_900 = "F3607gw Mobile Broadband USIM Port"

ServiceName			= "e36wscard"
ServiceDesc			= "F3607gw Mobile Broadband USIM Port"
SPSVCINST_ASSOCSERVICE = 0x00000002
