I have written an Scsi driver and installation OEM and INF files
for my Scsi adapter. Of course, it is an unsigned driver.
During installing the WinXP, I pressed the 'F6' and 'S'
when I saw "Press F6 if you need to install a third .."
and "S=Specify Additional Device" messages.
The Windows was installed successfully, except that it
would detect my Scsi adapter as two controllers
The Device Manager shows:
-SCSI and RAID controllers
--SCSI/RAID Host Controller
(device PNP ID:ROOT\ABC\000)
-Other Device
--SCSI Controller
(with a yellow exclamation point,
device PNP ID:PCI\VEN_144D&DEV_A510&SUBSYS_A510144D&REV_01... )
the Registry Key:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A BC
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A BC\Enum
I update the device driver for "Other Device"->"SCSI Controller"
and reboot. The Device Manager shows:
-SCSI and RAID controllers
--ABC SCSI Adapter
(device PNP ID:PCI\VEN_144D&DEV_A510&SUBSYS_A510144D&REV_01... )
--SCSI/RAID Host Controller
(device PNP ID:ROOT\ABC\000, with a yellow exclamation point)
Then I uninstall SCSI/RAID Host Controller, the Windows works well.
the Registry Key:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A BC
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A BC\Enum
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A BC\Parameters\PnpInterface
Cound someone help me what's wrong in my OEM or INF file?
Thanks in advance.
================================================== =======================
#TxtSetup.OEM
[Disks]
d1 = "AAA Driver",\disk1,\winxp
[Defaults]
scsi = WXP
[scsi]
WXP = "AAA (WinXP)", ABC
[Files.scsi.WXP]
driver = d1, ABC.sys, ABC
inf = d1, ABC.inf, ABC
[Config.scsi.WXP]
value = "", Tag, REG_DWORD, 1
value = "Parameters\PnpInterface", 5, REG_DWORD, 1
================================================== =======================
;ABC.inf
[Version]
Signature = "$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%ABC%
DriverVer=06/15/2005,1.3.0.0
[DestinationDirs]
DefaultDestDir = 12
[SourceDisksNames]
0=%FLOPPY_DESCRIPTION%,,,
[SourceDisksFiles]
ABC.sys=0,,,,,,,,
[Manufacturer]
%ABC%=ABC
;DeviceId:A510, VendorId:144D, SubSystemID:A510, SubSystemVendorId:144D
[ABC]
%ABC_Desc%=ABC_Inst,PCI\VEN_144D&DEV_A510&SUBSYS_A 510144D
[ABC_Inst.nt]
CopyFiles=@ABC.sys
[ABC_Inst.nt.Services]
AddService = ABC,0x00000002,ABC_Service_Instx86, ABC_EventLog_Inst
[ABC_Service_Instx86]
ServiceType = 1 ; %SERVICE_KERNEL_DRIVER%
StartType = 0 ; %SERVICE_BOOT_START%
ErrorControl = 1 ; %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\ABC.sys
LoadOrderGroup = SCSI Miniport
AddReg = pnpsafe_pci_addreg
[ABC_EventLog_Inst]
AddReg = ABC_EventLog_Inst.AddReg
[ABC_EventLog_Inst.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\S ystem32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7
[pnpsafe_pci_addreg]
HKR, "Parameters\PnpInterface", "5", 0x00010001, 0x00000001
[Strings]
ABC= "ABC"
FLOPPY_DESCRIPTION= "Windows Driver"
ABC_Desc= "ABC SCSI Adapter"