;*****************************************************************************
;
; Name:  shymdat2.inf
;
; Function:
;	Install the SH8010C USB AT Command Port Drivers on Win2000/XP
;
; Copyright (c) 1997-2007 MCCI Corporation 
;
; MCCI is a registered trademark of MCCI Corporation
;
; NOTICE: This software is licensed, not sold.  Any modification of this
; inf file to change the reference to an operating system or to change the
; reference to a device is not permitted unless authorized in writing by
; MCCI Corporation
;
;*****************************************************************************

[Version]
signature="$WINDOWS NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
DriverVer=04/09/2008,4.40.8.1
CatalogFile=shymdm.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1=%DiskString%,"shymdm.sys",,\i386

[SourceDisksNames.amd64]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1=%DiskString%,"shymdm.sys",,\amd64


[SourceDisksFiles]
; filename = diskid[,[ subdir][, size]]
shymdm.sys = 1
shycmnt.sys = 1
shymdfl.sys = 1

;-----------------------------------------------------------------------------
; Specify target paths...
;-----------------------------------------------------------------------------

[DestinationDirs]
DefaultDestDir = 12                    ; system32\drivers

;-----------------------------------------------------------------------------
; Table of Contents
;-----------------------------------------------------------------------------
[Manufacturer]
%SHARP%=Sharp_wmc, NTamd64

;-----------------------------------------------------------------------------
; Device-by-device entries
;-----------------------------------------------------------------------------
[Sharp_wmc]
%Sharp_wmc.Modem.Desc% = Sharp_wmc.Install, USB\VID_04DD&PID_9241&MI_03&OS_NT

[Sharp_wmc.NTamd64]
%Sharp_wmc.Modem.Desc% = Sharp_wmc.Install, USB\VID_04DD&PID_9241&MI_03&OS_NT

;-----------------------------------------------------------------------------
; Installation instructions
;-----------------------------------------------------------------------------

[Sharp_wmc.Install.nt]
AddReg		= Sharp_wmc.AddReg,Sharp_wmc.NT.AddReg
CopyFiles	= CopyFiles, CopyFiles.Win2K


;-----------------------------------------------------------------------------
;  Registry
;-----------------------------------------------------------------------------

; common registry entries 
[Sharp_wmc.AddReg]
HKR,,NTMPDriver,,shymdm.sys
HKR,,OverrideDefaultPortSettings, 0x10001, 01,00,00,00
HKR,,InitialBaudRate, 0x10001, 00,C2,01,00			;115200 initial baud rate
HKR,,InitialLineControl,, "8N1"					;8-bits, No parity, 1 stop bit
HKR,,EnableSetClearFeatureIdle, 0x10001, 01,00,00,00

; only for NT...
[Sharp_wmc.NT.AddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,AllowSuspendWhileOpen, 0x10001, 01,00,00,00

;-----------------------------------------------------------------------------
;  Copy lists
;-----------------------------------------------------------------------------
[CopyFiles]

[CopyFiles.Win2K]
shymdm.sys
shycm.sys,shycmnt.sys
shycmnt.sys
shymdfl.sys



;-----------------------------------------------------------------------------
;  NT Services installation
;-----------------------------------------------------------------------------
[Sharp_wmc.Install.NT.HW]
AddReg = UpperFilterAddReg

[Sharp_wmc.Install.NT.Services]
AddService = shymdm, 0x00000002, Sharp_wmc.Install.AddService
AddService = shymdfl,, Sharp_wmc.Install.AddFilter

[UpperFilterAddReg]
HKR,,"UpperFilters",0x00010000,"shymdfl"

[Sharp_wmc.Install.AddService]
DisplayName	= %Sharp_wmc.Service.Name%
Description	= %Sharp_wmc.Service.Desc%
ServiceType	= 1			;%SERVICE_KERNEL_DRIVER%
StartType	= 3			;%SERVICE_DEMAND_START%
ErrorControl	= 1			;%SERVICE_ERROR_NORMAL%	
ServiceBinary	= %12%\shymdm.sys

[Sharp_wmc.Install.AddFilter]
DisplayName	= %Sharp_wmc.Filter.Name%
Description	= %Sharp_wmc.Filter.Desc%
ServiceType	= 1			;%SERVICE_KERNEL_DRIVER%
StartType	= 3			;%SERVICE_DEMAND_START%
ErrorControl	= 1			;%SERVICE_ERROR_NORMAL%	
ServiceBinary	= %12%\shymdfl.sys


;-----------------------------------------------------------------------------
; STRINGS
;-----------------------------------------------------------------------------
[Strings]

;<<localize the following>>

;BEGIN ENG - US English Strings

Provider = "SHARP"
SHARP = "SHARP"
DiskString = "SH8010C USB AT Command Port installation disk"

Sharp_wmc.Modem.Desc = "SH8010C USB AT Command Port"
Sharp_wmc.Service.Name = "SH8010C USB AT Command Port Drivers (WDM) Ver1.0.0"
Sharp_wmc.Service.Desc = "SH8010C USB AT Command Port Drivers (WDM) Ver1.0.0"

Sharp_wmc.Filter.Name = "SH8010C USB AT Command Port Filter Ver1.0.0"
Sharp_wmc.Filter.Desc = "SH8010C USB AT Command Port Filter Ver1.0.0"

#Sharp_wmc.Modem.Desc.2 = "SH8010C USB AT Command Port"

CustomerDataPath = "SH8010C USB Control"
DriverSet = "SH8010C USB Driver Ver1.0.0"
UninstallFile = "SHYUninstall.exe"
McciOptions = "Uninstallable"


;END ENG - US English Strings

;-----------------------------------------------------------------------------
; The following are symbolic constants which don't change per locale.
;-----------------------------------------------------------------------------


;*** end of file ***
