;-------------------------------------------------------------------
; Installation file for STMicroelectronics ADSL Modem driver
; stmadsl.inf
;
; Copyright (C) F.H.L.P. 2000-2003, (C) STMicroelectronics 2000-2004
;-------------------------------------------------------------------

[Version]
Signature   = "$CHICAGO$"
Compatible  = 1
Class       = ST-ADSL
ClassGUID   = {900A76B1-0A2F-11D4-A35D-0000B4BDB131}
Provider    = %ProviderName%
DriverVer   = 04/13/2006,1.2.0.49
CatalogFile.NT = stmwnt.cat


[ClassInstall]
AddReg = DeviceClass.AddReg

[ClassInstall32]
AddReg = DeviceClass.NT.AddReg

[DeviceClass.AddReg]
HKR,,,,%DeviceClassDesc%
HKR,,Installer,,"stmcfg16.dll"
HKR,,Icon,,"-5"

[DeviceClass.NT.AddReg]
HKR,,,,%DeviceClassDesc%
HKR,,Icon,,"-5"


[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%MfgName% = Mfg

[Mfg]
%UsbDeviceDesc% = AdslUsb_DDI, USB\VID_0586&PID_330E&REV_0300
%DumDeviceDesc% = Dummy_DDI, STM-DUMMY

[Dummy_DDI]
AddReg = Dummy_AddReg

[AdslUsb_DDI]
CopyFiles = AdslUsb_Files_Sys, Adsl_Files_Co9X, Adsl_Files_Dll, Adsl_Files_Exe
AddReg = Adsl_9X_Install_Reg, Adsl_9X_AddReg, Adsl_AddReg, AdslUsb_9X_AddReg, AdslUsb_Params, Adsl_AddReg_Pots
DriverVer   = 09/08/2004,1.2.0.13

[AdslUsb_DDI.NT]
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 15 ; PNPBus
CopyFiles = AdslUsb_Files_Sys, Adsl_Files_Dll, Adsl_Files_Exe
AddReg = Adsl_2K_Install_Reg, Adsl_AddReg, AdslUsb_NT_AddReg, Adsl_AddReg_Pots

[AdslUsb_DDI.NT.Services]
Addservice = TaurusUsb, 0x00000002, AdslUsb_AddService

[AdslUsb_DDI.NT.CoInstallers]
AddReg = AdslUsb_CoInstall_AddReg
CopyFiles = Adsl_Files_Co2K

[AdslUsb_AddService]
DisplayName   = %UsbSvcDesc%
ServiceType   = 1 ; SERVICE_KERNEL_DRIVER
StartType     = 3 ; SERVICE_DEMAND_START
ErrorControl  = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\torususb.sys
AddReg        = AdslUsb_Params

[Adsl_9X_AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,EnumPropPages,,"stmcfg16.dll,EnumAdslPropPages"
HKLM,"System\CurrentControlSet\Services\VxD\stmatm"
; TCP performance enhancement
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP","DefaultRcvWindow",,"64240"

[AdslUsb_9X_AddReg]
HKR,,NTMPDriver,,"torususb.sys"

[AdslUsb_NT_AddReg]
HKR,Ndi,Service,0,"TaurusUsb"

[AdslUsb_Params]
HKR,Parameters,"DebugLevel",0x00010001,"2"
HKR,Parameters,"MswDebugLevel",0x00010001,"2"
HKR,Parameters,"LoopbackMode",0x00010001,"0"
HKR,Parameters,"AutoActivation",0x00010001,"1"
HKR,Parameters,"BootTimer",0x00010001,"10000"
HKR,Parameters,"noisemargin",0x00010001,"12"
HKR,Parameters,"nolinedown",0x00010001,"0"
HKR,Parameters,"ObcCmdTimer",0x00010001,"1000"
HKR,Parameters,"ObcRetries",0x00010001,"2"
HKR,Parameters,"AltSettingShowtime",0x00010001,"2"
HKR,Parameters,"FrameNumber",0x00010001,"6"
HKR,Parameters,"HardTimer",0x00010001,"0"
HKR,Parameters,"AtmSchedule",0x00010001,"0"
HKR,Parameters,"RxCellsInt",0x00010001,"0"
HKR,Parameters,"RxDatagramInt",0x00010001,"0"
HKR,Parameters,"ActivationMode",0x00010001,"3"
HKR,Parameters,"DownstreamRate",0x00010001,"8128"
HKR,Parameters,"ExchangeDelay",0x00010001,"10"
HKR,Parameters,"TrainingDelay",0x00010001,"120"
HKR,Parameters,"g_TeqMode",0x00010001,"7"
HKR,Parameters,"FmPollingRate",0x00010001,"1000"
HKR,Parameters,"InitTimeout",0x00010001,"20000"
HKR,Parameters,"ActTimeout",0x00010001,"300000"
HKR,Parameters,"RetryTime",0x00010001,"2000"
HKR,Parameters,"LCD_Trig",0x00010001,"15000"
HKR,Parameters,"LOS_LOF_Trig",0x00010001,"2000"
HKR,Parameters,"useRFC033v",0x00010001,"0"
HKR,Parameters,"useRFCFixedRate",0x00010001,"1"
HKR,Parameters,"useRFC029v",0x00010001,"8000"
HKR,Parameters,"AdcClippingRatio",0x00010001,"7000"
HKR,Parameters,"_no_TS652",0x00010001,"1"
HKR,Parameters,"setINITIALDAC",0x00010001,"0"
HKR,Parameters,"useAOCChannel",0x00010001,"0"
HKR,Parameters,"eocTrace",0x00010001,"2"
HKR,Parameters,"_boostPowerGdmt_",0x00010001,"1"
HKR,Parameters,"useTrellis",0x00010001,"1"
HKR,Parameters,"useAFE",0x00010001,"20174"
HKR,Parameters,"g_RefGain",0x00010001,"20"
HKR,Parameters,"useRFC040v",0x00010001,"0"
HKR,Parameters,"highCarrierOff",0x00010001,"230"
HKR,Parameters,"decreaseHighCarrier",0x00010001,"12"
HKR,Parameters,"useRFC035v",0x00010001,"0"
HKR,Parameters,"Interoperability",0x00010001,"1"
HKR,Parameters,"Vendor_Id_code_Globspan",0x00010001,"0"
HKR,Parameters,"useRFC019v",0x00010001,"0"
HKR,Parameters,"_gi_step_",0x00010001,"1"
HKR,Parameters,"_teq_new_delay_",0x00010001,"1"
HKR,Parameters,"pvo_pembdpllpolarity",0x00010001,"1"
HKR,Parameters,"pilotRealloc",0x00010001,"1"
HKR,Parameters,"usbBulkPatch",0x00010001,"1"
HKR,Parameters,"TNumberOfCarrier",0x00010001,"80"
HKR,Parameters,"useEOCChannel",0x00010001,"1"
HKR,Parameters,"SNRT",0x00010001,"0"
HKR,Parameters,"ep3Enable",0x00010001,"0"
HKR,Parameters,"ep2Enable",0x00010001,"0"
HKR,Parameters,"useVCXO",0x00010001,"0"
HKR,Parameters,"_trellisact_",0x00010001,"1"
HKR,Parameters,"_newCToneDetection_",0x00010001,"1"
HKR,Parameters,"txPower",0x00010001,"14"
HKR,Parameters,"pollingEoc",0x00010001,"1"
HKR,Parameters,"ledScenario",0x00010001,"2"
HKR,Parameters,"LimitSpeed98ME",0x00010001,"1200"
HKR,Parameters,"SubFunction",0x00010001,"161"
HKR,Parameters,"Annexb_tones_limited",0x00010001,"0"
HKR,Parameters,"BitswapEnable",0x00010001,"0"

[Adsl_AddReg]
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","SourcePath",,"%01%"
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","Installing",0x00010001,"1"
HKLM,"software\Microsoft\Windows\CurrentVersion\Run","AdslTaskBar",,"rundll32.exe stmctrl.dll,TaskBar"

[Adsl_AddReg_Pots]
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","useISDN",0x00010001,"0"
[Adsl_AddReg_Isdn]
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","useISDN",0x00010001,"1"

[AdslUsb_CoInstall_AddReg]
HKR,,CoInstallers32,0x00010000,"stmcfg32.dll,CoUsbInstall"

[Dummy_AddReg]

[Adsl_Uninstall]
DelReg = Adsl_Uninstall_Reg
DelFiles = Adsl_DelFiles_Sys, Adsl_DelFiles_Dll, Adsl_DelFiles_Exe

[Adsl_Uninstall_Reg]
HKLM,"software\Microsoft\Windows\CurrentVersion\Uninstall\StmAdsl"
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}"
HKCU,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}"
HKLM,"software\Microsoft\Windows\CurrentVersion\Run","AdslTaskBar"
HKLM,"System\CurrentControlSet\Control\SessionManager\Known16DLLs","stmcfg16.dll"
HKLM,"System\CurrentControlSet\Services\VxD\stmatm"

[Adsl_9X_Preinstall]
AddReg = Adsl_9X_Install_Reg
CopyFiles = AdslUsb_Files_Sys, Adsl_Files_Co9X, Adsl_Files_Dll, Adsl_Files_Exe

[Adsl_2K_Preinstall]
AddReg = Adsl_2K_Install_Reg

[Adsl_9X_Install_Reg]
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","PackageVersion",,%PackageVersion%
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","PackageProvider",,%CustomerName%
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","PackageName",,%PackageName%
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","NdisWan",0x00010001,"1"
HKLM,"software\Microsoft\Windows\CurrentVersion\Uninstall\StmAdsl","DisplayName",,%UninstPackage%
HKLM,"software\Microsoft\Windows\CurrentVersion\Uninstall\StmAdsl","UninstallString",,"rundll.exe stmcfg16.dll,Uninstall"

[Adsl_2K_Install_Reg]
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","PackageVersion",,%PackageVersion%
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","PackageProvider",,%CustomerName%
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","PackageName",,%PackageName%
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","NdisWan",0x00010001,"1"
HKLM,"software\{900A76B1-0A2F-11D4-A35D-0000B4BDB131}","Messages",0x00010001,"0"
HKLM,"software\Microsoft\Windows\CurrentVersion\Uninstall\StmAdsl","DisplayName",,%UninstPackage%
HKLM,"software\Microsoft\Windows\CurrentVersion\Uninstall\StmAdsl","UninstallString",,"rundll32.exe stmcfg32.dll,Uninstall"

[AdslUsb_Files_Sys]
torususb.sys
stmatm.sys

[Adsl_Files_Dll]
stmctrl.dll
stmadsl.cpl
stmclean.exe
CSALogo.bmp
icNoMo.ico
icStop.ico
icInit.ico
icShow.ico
icShTx.ico
icShRx.ico
icShTR.ico
setup.ini

[Adsl_Files_Exe]
stmtrace.exe
;DSLTest.exe
;DSLSetup.ini

[Adsl_Files_Co9X]
stmcfg16.dll
stmc1632.dll

[Adsl_Files_Co2K]
stmcfg32.dll

[Adsl_DelFiles_Sys]
torususb.sys
stmatm.sys

[Adsl_DelFiles_Dll]
stmcfg32.dll,,,0x00000001
stmcfg16.dll,,,0x00000001
stmc1632.dll,,,0x00000001
stmctrl.dll,,,0x00000001
stmadsl.cpl,,,0x00000001
stmclean.exe,,,0x00000001
CSALogo.bmp,,,0x00000001
icNoMo.ico,,,0x00000001
icStop.ico,,,0x00000001
icInit.ico,,,0x00000001
icShow.ico,,,0x00000001
icShTx.ico,,,0x00000001
icShRx.ico,,,0x00000001
icShTR.ico,,,0x00000001
setup.ini,,,0x00000001

[Adsl_DelFiles_Exe]
stmtrace.exe,,,0x00000001
;DSLTest.exe,,,0x00000001
;DSLSetup.ini,,,0x00000001

[SourceDisksNames]
1 = %InstallDisk%,stmadsl.inf,,

[SourceDisksFiles]
torususb.sys = 1,,
stmatm.sys = 1,,
stmcfg32.dll = 1,,
stmcfg16.dll = 1,,
stmc1632.dll = 1,,
stmctrl.dll = 1,,
stmadsl.cpl = 1,,
stmtrace.exe = 1,,
stmclean.exe = 1,,
CSALogo.bmp = 1,,
icNoMo.ico = 1,,
icStop.ico = 1,,
icInit.ico = 1,,
icShow.ico = 1,,
icShTx.ico = 1,,
icShRx.ico = 1,,
icShTR.ico = 1,,
;DSLTest.exe =1,,
;DSLSetup.ini =1,,
setup.ini =1,,

[DestinationDirs]
DefaultDestDir = 11

AdslUsb_Files_Sys = 10,System32\Drivers
Adsl_Files_Dll = 11
Adsl_Files_Exe = 10
Adsl_Files_Co9X = 11
Adsl_Files_Co2K = 11

Adsl_DelFiles_Sys = 10,System32\Drivers
Adsl_DelFiles_Dll = 11
Adsl_DelFiles_Exe = 10

[Strings]
MfgName         = "ZyXEL"
ProviderName    = "ZyXEL"
InstallDisk     = "Установочный диск ADSL-модема ZyXEL P-630S EE"
UsbSvcDesc      = "Сервис ADSL-модема ZyXEL P-630S EE"
DumDeviceDesc   = "ADSL-модем ZyXEL P-630S EE"
DeviceClassDesc = "Модемы ADSL"

UsbDeviceDesc   = "ADSL-модем ZyXEL P-630S EE"

CustomerName        = "ZyXEL"
PackageName     = "ADSL-модем ZyXEL P-630S EE"
UninstPackage         = "ADSL-модем ZyXEL P-630S EE"
PackageVersion  = "USB-APW-7-2.0-0.2.0.36"
