I’ve got a custom PCMCIA 16-bit Type-I card that looks mostly like a flash
memory card and, for the life of me, I can’t manage to get my resources
assigned to the card by the PnP manager. The driver loads fine, but there
are no resources listed when I get my IRP_MN_START_DEVICE irp. System is
Windows XP.
I figure I’ve got to be missing something obvious but I just don’t see it.
My INF is shown below - it runs through the CHKINF tool without error. It
is based on the memcard.inf used in XP, with my resources added in the
.LogConfigOverride section.
Any suggestions, anyone?
Thanks!
Judy L
; mydev.inf
[Version]
Signature=“$WINDOWS NT$”
Class=MTD
ClassGuid={4D36E970-E325-11CE-BFC1-08002BE10318}
Provider=%Manuf%
DriverVer=09/08/2003,1.0.0000.0
[DestinationDirs]
DefaultDestDir=12
[Manufacturer]
%Manuf%=Manuf
[Manuf]
%ManufMemoryCard.DeviceDesc%=memorycard_Install,PCMCIA\MTD-0000
;
; install section
;
[memorycard_Install.NT]
CopyFiles=@mydev.sys
AddReg=SramReg
[memorycard_Install.NT.LogConfigOverride]
LogConfig = memorycard_Config
[memorycard_Install.NT.Services]
AddService=mydev, 2, memorycard_service_Install
[memorycard_Config]
ConfigPriority = NORMAL
IOConfig = 10@0309-0389%fffffff0(3ff)
PcCardConfig = 0(BC)
[memorycard_service_Install]
DisplayName = %memorycard_ServiceDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\mydev.sys
[SramReg]
HKR,Mtd,“SRAM”
[Strings]
MemcardClassName = “PCMCIA and Flash memory devices”
memorycard_ServiceDesc = “Manuf PCMCIA MyDev Card Driver”
Manuf = “Manufacturer”
ManufMemoryCard.DeviceDesc = “Manuf PCMCIA MyDev Card”