; ; IR-200S.INF ; ; Installation script for IRMINI sample infrared driver. ; ; ; ; This installation script tells Windows how to install the IRMINI sample ; driver. To use it, you would place irmini.inf on a diskette/directory ; with the driver, ir-200s.sys. Since ir-200s.sys is NDIS-compliant, you ; install it as a network driver as follows: ; 1. RighG click on Network Neighborhood and select Properties. ; 2. Select Add -> Adapter -> Have Disk ; 3. Enter the path to the diskette/directory containing irmini.inf ; and ir-200s.sys. ; 4. Follow the on-screen instructions. ; ; ; To create an installation script for your own NDIS-compliant miniport ; driver, it may be easiest to just edit this sample using a text editor. ; There is also a utility, infedit.exe, for creating and editting .inf ; install scripts. Be aware, however, that if you edit this sample ; using infedit, you will lose all these helpful comments :-). ; ; ; A .inf install script describes how to install software for some number of ; devices of a single class. ; ; Basically, the .inf format classifies devices in a three-level hierarchy. ; There a (1) various classes of devices, (2) various manufacturers who make ; each type of device, and (3) various specific devices of that type that the ; manufacturers make. The .inf install script drives the standard Windows ; installation wizard which presents the user with a list of ; manufacturers which make devices of a given class and then a list of ; specific devices. ; ; ; See the Windows 95 Resource Kit for more information on .inf installation ; scripts. ; [Version] LayoutFile=layout.inf Signature="$CHICAGO$" Class=Net Provider=%Titan% [DestinationDirs] ; ; Specify destination directories for groups of files. ; '11' indicates the Windows System directory. ; DefaultDestDir=11 IRMINI_CopyFiles=11 [Manufacturer] ; ; Specify a name and devices section for each supported manufacturer that ; makes products of this class. ; %StdSerialIRDevice%=MS_Devices [MS_Devices] ; ; This section describes the devices of this class made by a particular ; manufacturer. ; The first descriptor, delimited by '%', is a symbolic string whose actual ; value is given in the [Strings] section below. ; %StandardExpl%=IRMINI_Install,IRMINI [IRMINI_Install] ; ; This section describes how to install a particular device. ; It names other sections which detail the registry changes ; that need to be made and the files that need to be copied. ; DeviceID=IRMINI CopyFiles=IRMINI_CopyFiles AddReg=IRMINI_AddReg, IRMINI_NonPnP_AddReg MaxInstance=1 [IRMINI_CopyFiles] ; ; This section lists the source and destination names of files that need ; to be copied to the user's drive. The destination directory is given ; in the [DestinationDirs] section above. ; ir-200s.sys [IRMINI_AddReg] ; ; This section describes additions to the Windows registry. ; See the Windows 95 Resource kit and be sure of what you're ; doing before making changes. You can use the regedit.exe tool that ; comes with Windows 95/NT to browse the registry. ; HKR,,DevLoader,,*ndis HKR,,EnumPropPages,,"netdi.dll,EnumPropPages" HKR,NDIS,MajorNdisVersion,1,04 HKR,NDIS,MinorNdisVersion,1,00 HKR,Ndi\Interfaces,DefUpper,0,%UpperInterface% HKR,Ndi\Interfaces,UpperRange,0,%UpperInterface% HKR,Ndi,CardType,0,FORCEENUM HKR,Ndi,NetType,,1 ; ; This entry is required by the NDI loader, IR_NDI.DLL, ; to identify this driver as an infrared miniport driver ; which must be bound to (only) the Fast Infrared Protocol. ; ; DO NOT LOCALIZE ; HKR,Ndi,AdapterType,,"IrDA Infrared Miniport" ; ; NDI Registry entries ; ; IR_NDI.DLL is the NDI Installer for the IR3.0 NDIS drivers. ; These registry entries direct netdi.dll (the Network Properties handler) ; to call ir_ndi.dll with NDI events for these drivers. This will allow ; ir_ndi.dll to decide how our drivers are bound. ; HKR,Ndi,MaxInstance,,0 ;prevent multiple bindings HKR,Ndi,NdiInstaller,,"ir_ndi.dll,IRMINI_NdiProc" HKR,Ndi,HelpText,0,%IRMINI_HELP% HKR,,DeviceVxDs,0,ir-200s.sys [IRMINI_NonPnP_AddReg] HKR,,DriverDesc,0,%StandardExpl% HKR,Ndi,DeviceID,,IRMINI HKR,,AdapterName,0,IRMINI HKR,NDIS,LogDriverName,0,IRMINI HKR,Ndi\Install,,0,IRMINI_Install ; ; The following are user-settable options ; (which appear under the 'Advanced' tab in Network Properties) ; for non-PnP COM ports. They let the user select hardware resources ; and dongle-type. ; ; ; These entries allow the user to select the COM port that the IRMINI ; driver uses from network properties dialog box AFTER INSTALLATION ; (under the 'Advanced' options). ; The user's selection is recorded in the registry and then read out ; by the irmini.sys driver at boot time. ; HKR,Ndi\params\Port,ParamDesc,,%SerialPort% HKR,Ndi\params\Port,flag,1,20,00,00,00 HKR,Ndi\params\Port,default,,1 HKR,Ndi\params\Port,type,,enum HKR,Ndi\params\Port\enum,"1",,"COM1" HKR,Ndi\params\Port\enum,"2",,"COM2" HKR,Ndi\params\Port\enum,"3",,"COM3" HKR,Ndi\params\Port\enum,"4",,"COM4" HKR,Ndi\params\Port\enum,"5",,"COM5" HKR,Ndi\params\Port\enum,"6",,"COM6" HKR,Ndi\params\Port\enum,"7",,"COM7" HKR,Ndi\params\Port\enum,"8",,"COM8" HKR,Ndi\params\Port\enum,"9",,"COM9" ; ; Instead of specifying a serial port ; (which implies an IRQ and I/O base address combination), ; you can comment out the "Serial Port" option above ; and include the two options below, allowing the user to ; select the IRQ and I/O base address explicitly and individually. ; Add other options if you wish. ; ;HKR,Ndi\params\INTERRUPT,ParamDesc,,%IRQ% ;HKR,Ndi\params\INTERRUPT,flag,1,20,00,00,00 ;HKR,Ndi\params\INTERRUPT,default,,3 ;HKR,Ndi\params\INTERRUPT,type,,enum ;HKR,Ndi\params\INTERRUPT\enum,"1",,"1" ;HKR,Ndi\params\INTERRUPT\enum,"2",,"2" ;HKR,Ndi\params\INTERRUPT\enum,"3",,"3" ;HKR,Ndi\params\INTERRUPT\enum,"4",,"4" ;HKR,Ndi\params\INTERRUPT\enum,"5",,"5" ;HKR,Ndi\params\INTERRUPT\enum,"6",,"6" ;HKR,Ndi\params\INTERRUPT\enum,"7",,"7" ;HKR,Ndi\params\INTERRUPT\enum,"8",,"8" ;HKR,Ndi\params\INTERRUPT\enum,"9",,"9" ;HKR,Ndi\params\INTERRUPT\enum,"10",,"10" ;HKR,Ndi\params\INTERRUPT\enum,"11",,"11" ;HKR,Ndi\params\INTERRUPT\enum,"12",,"12" ;HKR,Ndi\params\IOADDRESS,ParamDesc,,%IOBase% ;HKR,Ndi\params\IOADDRESS,flag,1,20,00,00,00 ;HKR,Ndi\params\IOADDRESS,default,,3 ;HKR,Ndi\params\IOADDRESS,type,,enum ;HKR,Ndi\params\IOADDRESS\enum,"3f8",,"0x3f8" ;HKR,Ndi\params\IOADDRESS\enum,"3e8",,"0x3e8" ;HKR,Ndi\params\IOADDRESS\enum,"2f8",,"0x2f8" ;HKR,Ndi\params\IOADDRESS\enum,"2e8",,"0x2e8" ; ; These entries allow the user to set up the IRMINI driver for a specific ; type of infrared transceiver. Some UART infrared chips have minor ; idiosyncracies which make them not quite standard, so the driver has ; to know about it. ; ; Note that this enumeration must match the irmini.sys source code. ; HKR,Ndi\params\InfraredTransceiverType,ParamDesc,,%InfraredTransceiver% HKR,Ndi\params\InfraredTransceiverType,flag,1,20,00,00,00 HKR,Ndi\params\InfraredTransceiverType,default,,0 HKR,Ndi\params\InfraredTransceiverType,type,,enum HKR,Ndi\params\InfraredTransceiverType\enum,"0",,"VScom IrDA serial adapter" [Strings] ; ; This section defines symbolic string constants for use in the rest ; of the .inf script. You should create and use symbols for all ; translatable strings in order to make localization easier. ; Also, spaces within strings elsewhere in the script confuse infedit.exe; ; so use symbolic constants for any multi-word strings. ; IRMINI_HELP = "An IrDA serial infrared device is a built-in COM port or external transceiver which transmits infrared pulses. This NDIS miniport driver installs as a network adapter and binds to the Fast IR protocol." UpperInterface = "ndis3,ndis4" V_CLASSNAME = "Network adapters" Titan = "Titan Electronic" StdSerialIRDevice = "(Infrared COM port or dongle)" SerialPort = "Serial Port" IRQ = "IRQ" IOBase = "I/O Base" InfraredTransceiver = "Infrared Transceiver" GenericInfraredPort = "Generic Infrared Port" ; ; Note: this string must EXACTLY match the IDS_IRMINI_DEVDESC ; resource string in INFRARED.DLL ; StandardExpl = "VScom IrDA serial adapter" ;IrPnPCOMPort = "Infrared PnP Serial Port" ;IrPnPCOMPort_old = "Infrared PnP Serial Port (*PNP0510)"