;dusbmdm.inf
;
; Installation file (.inf) for the  device.
;
; (c) Copyright 2000 D-Link
;

[Version]
;Signature="$Windows NT$"
CatalogFile = dminita.cat
Signature   = "$Chicago$"
Compatible  = 1
Class=Modem
ClassGUID={4d36e96D-e325-11ce-bfc1-08002be10318}
Provider=%Company%
DriverVer=09/26/2000

[DestinationDirs]
DefaultDestDir   = 12

;
; Driver information
;

[Manufacturer]
%Company%   = Generic 

[Generic]
%Generic1% = ModemX1, *DCOMM1
;%Generic2% = ModemX2, *DCOMM2
%Generic3% = ModemX3, *DCOMM3
%Generic4% = ModemX4, *DCOMM4
%Generic5% = ModemX5, *DCOMM5
%Generic6% = ModemX6, *DCOMM6
%Generic7% = ModemX7, *DCOMM7
%Generic8% = ModemX8, *DCOMM8
;%Generic9% = ModemX9, *DCOMM9


;
; General installation section
;

;Modem1
[ModemX1.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init1


[ModemX1.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX1.NT.HW]
AddReg=LowerFilterAddReg

;Modem2
[ModemX2.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init2


[ModemX2.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX2.NT.HW]
AddReg=LowerFilterAddReg

;Modem3
[ModemX3.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init3


[ModemX3.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX3.NT.HW]
AddReg=LowerFilterAddReg

;Modem4
[ModemX4.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init4


[ModemX4.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX4.NT.HW]
AddReg=LowerFilterAddReg

;Modem5
[ModemX5.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init5


[ModemX5.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX5.NT.HW]
AddReg=LowerFilterAddReg

;Modem6
[ModemX6.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init6


[ModemX6.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX6.NT.HW]
AddReg=LowerFilterAddReg

;Modem7
[ModemX7.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init7


[ModemX7.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX7.NT.HW]
AddReg=LowerFilterAddReg

;Modem8
[ModemX8.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init8


[ModemX8.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX8.NT.HW]
AddReg=LowerFilterAddReg

;Modem9
[ModemX9.NT]
CopyFiles= CopyFileSection
AddReg=dusbcomm.AddReg, All, GenReg, INTERNAL, GenericAddReg, Init9


[ModemX9.NT.Services]
AddService=FakeWDMmdm, 0x00000000, FakeModm_Service_Inst


[ModemX9.NT.HW]
AddReg=LowerFilterAddReg




;
;  add the driver as a lower filter driver under the device key
;  \enum\busenum\sup1620\<inst id>\lowerfilters REG_MULTIZ
;
[LowerFilterAddReg]
HKR,,"LowerFilters",0x00010000,FakeWDMmdm

;
;
;  type=kernel driver
;  start=manual, pnp will start
;
;
[FakeModm_Service_Inst]
DisplayName=%ServiceName%
ServiceType= 1
StartType  = 3
ErrorControl = 0
ServiceBinary = %12%\dusbcomm.sys
LoadOrderGroup=Extended base

[CopyFileSection]
dusbcomm.sys

;-----------------------------------------------------------------------

[dusbcomm.AddReg]
HKLM,hardware\devicemap\serialcomm,%PortName%,,%PortName%
HKLM,software\Microsoft\Windows NT\currentversion\ports,%PortName%,,"115200,n,8,1"

;[PreCopySection]
;HKR,,NoSetupUI,,1

;----------------------------------------------------------------------------------------
[Init1]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=8<cr>"
HKR,              ,     AttachedTo,   ,%PortName1%

[Init2]
HKR,	      Init,	         1,	0000000000,	"AT<cr>"
HKR,              ,     AttachedTo,   ,%PortName2%

[Init3]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=1<cr>"
HKR,              ,     AttachedTo,   ,%PortName3%

[Init4]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=2<cr>"
HKR,              ,     AttachedTo,   ,%PortName4%

[Init5]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=3<cr>"
HKR,              ,     AttachedTo,   ,%PortName5%

[Init6]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=4<cr>"
HKR,              ,     AttachedTo,   ,%PortName6%

[Init7]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=6<cr>"
HKR,              ,     AttachedTo,   ,%PortName7%

[Init8]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=9<cr>"
HKR,              ,     AttachedTo,   ,%PortName8%

[Init9]
HKR,	      Init,	         1,	0000000000,	"ATE0V1+ibp=11<cr>"
HKR,              ,     AttachedTo,   ,%PortName9%


;----------------------------------------------------------------------------------------

[All]
HKR,	          ,	FriendlyDriver,	0000000000,	Unimodem.vxd
HKR,	          ,	DevLoader,	0000000000,	    *VCOMM
HKR,	          ,	ConfigDialog,	0000000000,	modemui.dll
HKR,	          ,	PortSubClass,	0x00000001,	        02
HKR,	          ,	EnumPropPages,	0000000000,	modemui.dll,EnumPropPages


[GenReg]
HKR,	          ,	Properties,	0x00000001,	80,01,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 10,01,00,00, 00,c2,01,00, 00,c2,01,00

[INTERNAL]
HKR,	          ,	DeviceType,	0x00000001,	        02


[GenericAddReg]
HKR,	   Monitor,	         1,	0000000000,	"ATS0=0<cr>"
HKR,	   Monitor,	         2,	0000000000,	    "None"
HKR,	    Answer,	         1,	0000000000,	 "ATA<cr>"
HKR,	    Hangup,	         1,	0000000000,	 "ATH<cr>"
HKR,	          ,	     Reset,	0000000000,	 "ATZ<cr>"
HKR,	  Settings,	    Prefix,	0000000000,	      "AT"
HKR,	  Settings,	Terminator,	0000000000,	    "<cr>"
HKR,	  Settings,	DialPrefix,	0000000000,	       "D"
HKR,	  Settings,	     Pulse,	0000000000,	       "P"
HKR,	  Settings,	      Tone,	0000000000,	       "T"
HKR,	  Settings,	FlowControl_Off,	0000000000,	          
HKR,	  Settings,	FlowControl_Hard,	0000000000,	          
HKR,	  Settings,	FlowControl_Soft,	0000000000,	          
HKR,	 Responses,	      <cr>,	0x00000001,	01, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	      <lf>,	0x00000001,	01, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>OK<cr><lf>,	0x00000001,	00, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>RING<cr><lf>,	0x00000001,	08, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>NO CARRIER<cr><lf>,	0x00000001,	04, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>ERROR<cr><lf>,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>NO DIALTONE<cr><lf>,	0x00000001,	05, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>BUSY<cr><lf>,	0x00000001,	06, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>NO ANSWER<cr><lf>,	0x00000001,	07, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	<cr><lf>CONNECT<cr><lf>,	0x00000001,	02, 00, 00,00,00,00, 00,00,00,00
HKR,     Responses, <cr><lf>CONNECT 64000<cr><lf>, 1, 02, 02, 00,FA,00,00, 00,00,00,00
HKR,     Responses, <cr><lf>CONNECT 128000<cr><lf>, 1, 02,02, 00,F4,01,00, 00,00,00,00
HKR,	 Responses,	     0<cr>,	0x00000001,	00, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	     2<cr>,	0x00000001,	08, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	     3<cr>,	0x00000001,	04, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	     4<cr>,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	     6<cr>,	0x00000001,	05, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	     7<cr>,	0x00000001,	06, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	     8<cr>,	0x00000001,	07, 00, 00,00,00,00, 00,00,00,00 
HKR,	 Responses,	        OK,	0x00000001,	00, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	      RING,	0x00000001,	08, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	NO CARRIER,	0x00000001,	04, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	     ERROR,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	NO DIALTONE,	0x00000001,	05, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	NO DIAL TONE,	0x00000001,	05, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	      BUSY,	0x00000001,	06, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	 NO ANSWER,	0x00000001,	07, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	       FAX,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	      DATA,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	     VOICE,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	   RINGING,	0x00000001,	01, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	   DIALING,	0x00000001,	01, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	     RRING,	0x00000001,	01, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	   DELAYED,	0x00000001,	1d, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	BLACKLISTED,	0x00000001,	1c, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	  +FCERROR,	0x00000001,	03, 00, 00,00,00,00, 00,00,00,00
HKR,	 Responses,	   CONNECT,	0x00000001,	02, 00, 00,00,00,00, 00,00,00,00
HKR,     Responses,  CONNECT 64000,     0x00000001,     02, 02, 00,FA,00,00, 00,00,00,00
HKR,     Responses, CONNECT 128000,     0x00000001,     02, 02, 00,F4,01,00, 00,00,00,00


;
; File sections
;



;
; Source file information
;

[SourceDisksNames.x86]
1 = %DiskId1%,,,""

[SourceDisksFiles]
; Files for disk Installation Disk(Modem)
dusbcomm.sys = 1,,




[Strings]


;
; Localizable Strings
;

DiskId1 = "miniVigor Installation Disk(Modem)"
Company = "D-Link"
Generic1 = "D-Link ISDN MLPPP"
;Generic2 = "D-Link ISDN FAX"
Generic3 = "D-Link ISDN X.75"
Generic4 = "D-Link ISDN T.70"
Generic5 = "D-Link ISDN V.120"
Generic6 = "D-Link ISDN V.110"
Generic7 = "D-Link ISDN PPP"
Generic8 = "D-Link ISDN Dynamic MLPPP"
;Generic9 = "D-Link ISDN V.23"
ServiceName = "DWDMCOMM"
PortName1 = "DrayPORT1"
PortName2 = "DrayPORT2"
PortName3 = "DrayPORT3"
PortName4 = "DrayPORT4"
PortName5 = "DrayPORT5"
PortName6 = "DrayPORT6"
PortName7 = "DrayPORT7"
PortName8 = "DrayPORT8"
PortName9 = "DrayPORT9"
