Can't install driver on XPe SP1

G

Georges Berenger

I have an XPe image that worked fine with with the Edirol UM-1 MIDI interface: I was able to easily build a component with its drivers. We now have to support a new version of the same HW (RoHS compliance fun anyone?), but I can't get to build a new component that works with the new driver, required for the new HW.

In facts, I can't even manually install the driver from XPe, though I was able to install drivers for most devices I tried to support with a manual driver install. So I am suspecting that the problem is not so much the component creation, but the image itself, that may be missing some critical component for that new driver. Or maybe the install chokes on the new driver for some other reason?

Here is what I find in setupapi.log when I try to install the driver manually:

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 1
Platform ID = 2 (NT)
Service Pack = 1.0
Suite = 0x0040
Product Type = 1
Architecture = x86
[2006/03/21 17:07:36 1476.309]
#-198 Command line processed: "C:\Documents and Settings\Default User\Desktop\UM-1_WinXP2k_v2000\Setup.exe"
#E367 An unsigned or incorrectly signed file "C:\Program Files\RdDrv001\RDID0009\Rdif1009.inf" for will be installed (Policy=Warn, user said ok). Error 0xe000022f: The third-party INF does not contain digital signature information.
[2006/03/21 17:08:59 640.3 Driver Install]
#-019 Searching for hardware ID(s): usb\vid_0582&pid_0009&rev_0100,usb\vid_0582&pid_0009
#-018 Searching for compatible ID(s): usb\class_ff&subclass_ff&prot_00,usb\class_ff&subclass_ff,usb\class_ff
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I022 Found "USB\VID_0582&PID_0009" in C:\WINDOWS\inf\oem0.inf; Device: "EDIROL UM-1"; Driver: "EDIROL UM-1"; Provider: "Roland"; Mfg: "Roland"; Section name: "RDID0009Install".
#I023 Actual install section: [RDID0009Install]. Rank: 0x00000001. Effective driver date: 06/01/2005.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [RDID0009Install] in "c:\windows\inf\oem0.inf".
#I320 Class GUID of device remains: {4D36E96C-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#I124 Doing copy-only install of "USB\VID_0582&PID_0009\5&3774E5BA&0&2".
#-011 Installing section [RDID0009Install] from "c:\windows\inf\oem0.inf".
#-167 SPFILENOTIFY_NEEDMEDIA: Tag = "", Description= "EDIROL UM-1 Driver Installation disk", SourcePath = "c:\windows", SourceFile = "Rd3t1009.DAT", Flags = 0x00000000.
#E169 SPFILENOTIFY_NEEDMEDIA: returned FILEOP_ABORT. Error 1223: The operation was canceled by the user.
#W187 Install failed, attempting to restore original files.
#E122 Device install failed. Error 1223: The operation was canceled by the user.
#E157 Default installer failed. Error 1223: The operation was canceled by the user.

Of course, I did not "cancel" the install. In facts, all the process was silent.

To give more info to work on, here are the two inf files, the "old" one, that works fine with the old USB MIDI interface, and the new inf file, that doesn't work. I put the inf files in this email, in the hope that someone can guess what component maybe required by the new inf file, that wasn't required before...

thanks for any suggestion!
-georges



Old inf file:

; Installation inf for UM-1
;
; Copyright (c) 2003 Roland Corporation
;

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ROLAND%
DriverVer=05/09/2003,1.06.00.0000
;CatalogFile=RDCT0009.CAT

[SourceDisksNames]
1="EDIROL UM-1 USB Driver Installation Disk",,,

[SourceDisksFiles]
rd1t1009.dat = 1
rdwm1009.sys = 1
rddv1009.dll = 1
rdif1009.inf = 1
rddp1009.dat = 1
rdcp1009.cpl = 1

[Manufacturer]
%MfgName%=Roland

[Roland]
%RDID0009DeviceDesc%=RDID0009Dev, USB\VID_0582&PID_0009 ; UM-1

[DestinationDirs]
DefaultDestDir=10
RDID0009FilesUser = 11
RDID0009FilesExt = 10,System32\Drivers

[RDID0009Dev.NT]
CopyFiles=RDID0009FilesExt,RDID0009FilesUser
AddReg=RDID0009AddReg
reboot

[RDID0009Dev.NT.Services]
Addservice = RD1009, 0x00000002, RDID0009AddService
DelService = RDWM1009

[RDID0009AddService]
DisplayName = %RDID0009SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\rdwm1009.sys

[RDID0009AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,rdwm1009.sys

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers,MIGRATED,0,0
HKR,Drivers\midi,,0,

HKR,Drivers\midi\rddv1009.dll, Driver,,rddv1009.dll
HKR,Drivers\midi\rddv1009.dll, Description,,%RDID0009SvcDesc%

[RDID0009FilesExt]
rdwm1009.sys

[RDID0009FilesUser]
rd1t1009.dat
rddv1009.dll
rddP1009.dat
rdcp1009.cpl

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

[Strings]
ROLAND="Roland"
MfgName="Roland"
RDID0009DeviceDesc="EDIROL UM-1 USB Driver"
RDID0009SvcDesc="EDIROL UM-1 USB Driver"



New inf file:
; Installation inf for the UM-1
;
; Copyright (c) 2005 Roland Corporation
;
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
CatalogFile=RDID1009.CAT
DriverVer=06/01/2005,2.00.00.0000


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

[DestinationDirs]
RDID0009.Files.User = 11
RDID0009.Files.Inst = 11
RDID0009.Files.Ext = 10,system32\drivers ; %SystemRoot%\system32\drivers
DefaultDestDir = 10,system32\drivers ; %SystemRoot%\system32\drivers

[SourceDisksNames]
1=%RDID0009DiskName%,,

[SourceDiskSFiles]
RD3T1009.DAT=1
RdWM1009.sys=1
RDDP1009.DAT=1
RDCP1009.CPL=1
RDCI1009.dll=1

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

[Manufacturer]
%MfgName%=Roland

;[ControlFlags]
;ExcludeFromSelect=*

[Roland]
%RDID0009DeviceDesc%=RDID0009Install, USB\VID_0582&PID_0009 ; UM-1

;===============================================================;

[RDID0009Install]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
;;AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=RDID0009.Files.User,RDID0009.Files.Ext
AddReg=RDID0009AddReg

[RDID0009Install.CoInstallers]
AddReg=RDID0009CoInstallers.AddReg
CopyFiles=RDID0009.Files.Inst

[RDID0009CoInstallers.AddReg]
HKR,,CoInstallers32,%REG_MSZ%,"RdCi1009.dll,ProcCoInst"

[RDID0009AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,rdwm1009.sys
HKR,,NTMPDriver,,"rdwm1009.sys"

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Description,,%RDID0009DeviceDesc%

[RDID0009Install.Services]
AddService = RDID1009, 0x00000002, RDID0009_Service_Inst
DelService = RD1009

[RDID0009_Service_Inst]
DisplayName = %RDID0009DeviceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\Drivers\rdwm1009.sys

;;;
;;
[RDID0009.Files.Ext]
Rdwm1009.sys

[RDID0009.Files.User]
Rd3t1009.DAT
RDCP1009.CPL
RDDP1009.DAT

[RDID0009.Files.Inst]
RdCi1009.dll

[RDID0009Install.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo11%, WDM.Interface.Mo11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo21%, WDM.Interface.Mo21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo31%, WDM.Interface.Mo31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo41%, WDM.Interface.Mo41


AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi11%, WDM.Interface.Mi11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi21%, WDM.Interface.Mi21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi31%, WDM.Interface.Mi31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi41%, WDM.Interface.Mi41

[WDM.Interface.Mo11]
AddReg=WDM.Interface.Mo11.AddReg
[WDM.Interface.Mo11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo11.szPname%

[WDM.Interface.Mo21]
AddReg=WDM.Interface.Mo21.AddReg
[WDM.Interface.Mo21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo21.szPname%

[WDM.Interface.Mo31]
AddReg=WDM.Interface.Mo31.AddReg
[WDM.Interface.Mo31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo31.szPname%

[WDM.Interface.Mo41]
AddReg=WDM.Interface.Mo41.AddReg
[WDM.Interface.Mo41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo41.szPname%


[WDM.Interface.Mi11]
AddReg=WDM.Interface.Mi11.AddReg
[WDM.Interface.Mi11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi11.szPname%

[WDM.Interface.Mi21]
AddReg=WDM.Interface.Mi21.AddReg
[WDM.Interface.Mi21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi21.szPname%

[WDM.Interface.Mi31]
AddReg=WDM.Interface.Mi31.AddReg
[WDM.Interface.Mi31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi31.szPname%

[WDM.Interface.Mi41]
AddReg=WDM.Interface.Mi41.AddReg
[WDM.Interface.Mi41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi41.szPname%

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

[Strings]
MfgName="Roland"

RDID0009DiskName="EDIROL UM-1 Driver Installation disk"
RDID0009DeviceDesc="EDIROL UM-1"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Mo11="MidiOut1-1"
WDM.Mo11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mo21="MidiOut2-1"
WDM.Mo21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mo31="MidiOut3-1"
WDM.Mo31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mo41="MidiOut4-1"
WDM.Mo41.szPname="4:EDIROL UM-1 MIDI"

KSNAME_Mi11="MidiIn1-1"
WDM.Mi11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mi21="MidiIn2-1"
WDM.Mi21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mi31="MidiIn3-1"
WDM.Mi31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mi41="MidiIn4-1"
WDM.Mi41.szPname="4:EDIROL UM-1 MIDI"

REG_MSZ = 0x00010000
 
G

Georges Berenger

Thanks Sean.
I tried your sld file, but it doesn't work either. It is pretty much the same as what I had created myself referencing the ks.inf & wdmaudio.inf files.
I ran TAP from WinPE. I guess I could indeed compare the components with that of what XP Pro returns.

I'll try that next.
thanks,
-georges

For what it is worth, attached is an SLD with a component. The newer INF
required KS.INF and wdmaudio.inf to import correctly. There are allot more
resources in the new INF file.

When you ran TAP on the hardware, did you have Windows XP Pro SP2 installed?
Did you try installing the audio before running TAP? Running TAP with all
the drivers installed on XP Pro, captures all the multimedia information
needed for audio drivers.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.


Georges Berenger said:
I have an XPe image that worked fine with with the Edirol UM-1 MIDI
interface: I was able to easily build a component with its drivers. We now
have to support a new version of the same HW (RoHS compliance fun anyone?),
but I can't get to build a new component that works with the new driver,
required for the new HW.

In facts, I can't even manually install the driver from XPe, though I was
able to install drivers for most devices I tried to support with a manual
driver install. So I am suspecting that the problem is not so much the
component creation, but the image itself, that may be missing some
critical component for that new driver. Or maybe the install chokes on the
new driver for some other reason?

Here is what I find in setupapi.log when I try to install the driver
manually:

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 1
Platform ID = 2 (NT)
Service Pack = 1.0
Suite = 0x0040
Product Type = 1
Architecture = x86
[2006/03/21 17:07:36 1476.309]
#-198 Command line processed: "C:\Documents and Settings\Default
User\Desktop\UM-1_WinXP2k_v2000\Setup.exe"
#E367 An unsigned or incorrectly signed file "C:\Program
Files\RdDrv001\RDID0009\Rdif1009.inf" for will be installed (Policy=Warn,
user said ok). Error 0xe000022f: The third-party INF does not contain
digital signature information.
[2006/03/21 17:08:59 640.3 Driver Install]
#-019 Searching for hardware ID(s):
usb\vid_0582&pid_0009&rev_0100,usb\vid_0582&pid_0009
#-018 Searching for compatible ID(s):
usb\class_ff&subclass_ff&prot_00,usb\class_ff&subclass_ff,usb\class_ff
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I022 Found "USB\VID_0582&PID_0009" in C:\WINDOWS\inf\oem0.inf; Device:
"EDIROL UM-1"; Driver: "EDIROL UM-1"; Provider: "Roland"; Mfg: "Roland";
Section name: "RDID0009Install".
#I023 Actual install section: [RDID0009Install]. Rank: 0x00000001.
Effective driver date: 06/01/2005.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [RDID0009Install] in
"c:\windows\inf\oem0.inf".
#I320 Class GUID of device remains:
{4D36E96C-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#I124 Doing copy-only install of "USB\VID_0582&PID_0009\5&3774E5BA&0&2".
#-011 Installing section [RDID0009Install] from "c:\windows\inf\oem0.inf".
#-167 SPFILENOTIFY_NEEDMEDIA: Tag = "", Description= "EDIROL UM-1 Driver
Installation disk", SourcePath = "c:\windows", SourceFile =
"Rd3t1009.DAT", Flags = 0x00000000.
#E169 SPFILENOTIFY_NEEDMEDIA: returned FILEOP_ABORT. Error 1223: The
operation was canceled by the user.
#W187 Install failed, attempting to restore original files.
#E122 Device install failed. Error 1223: The operation was canceled by the
user.
#E157 Default installer failed. Error 1223: The operation was canceled by
the user.

Of course, I did not "cancel" the install. In facts, all the process was
silent.

To give more info to work on, here are the two inf files, the "old" one,
that works fine with the old USB MIDI interface, and the new inf file,
that doesn't work. I put the inf files in this email, in the hope that
someone can guess what component maybe required by the new inf file, that
wasn't required before...

thanks for any suggestion!
-georges



Old inf file:

; Installation inf for UM-1
;
; Copyright (c) 2003 Roland Corporation
;

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ROLAND%
DriverVer=05/09/2003,1.06.00.0000
;CatalogFile=RDCT0009.CAT

[SourceDisksNames]
1="EDIROL UM-1 USB Driver Installation Disk",,,

[SourceDisksFiles]
rd1t1009.dat = 1
rdwm1009.sys = 1
rddv1009.dll = 1
rdif1009.inf = 1
rddp1009.dat = 1
rdcp1009.cpl = 1

[Manufacturer]
%MfgName%=Roland

[Roland]
%RDID0009DeviceDesc%=RDID0009Dev, USB\VID_0582&PID_0009 ; UM-1

[DestinationDirs]
DefaultDestDir=10
RDID0009FilesUser = 11
RDID0009FilesExt = 10,System32\Drivers

[RDID0009Dev.NT]
CopyFiles=RDID0009FilesExt,RDID0009FilesUser
AddReg=RDID0009AddReg
reboot

[RDID0009Dev.NT.Services]
Addservice = RD1009, 0x00000002, RDID0009AddService
DelService = RDWM1009

[RDID0009AddService]
DisplayName = %RDID0009SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\rdwm1009.sys

[RDID0009AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,rdwm1009.sys

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers,MIGRATED,0,0
HKR,Drivers\midi,,0,

HKR,Drivers\midi\rddv1009.dll, Driver,,rddv1009.dll
HKR,Drivers\midi\rddv1009.dll, Description,,%RDID0009SvcDesc%

[RDID0009FilesExt]
rdwm1009.sys

[RDID0009FilesUser]
rd1t1009.dat
rddv1009.dll
rddP1009.dat
rdcp1009.cpl

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

[Strings]
ROLAND="Roland"
MfgName="Roland"
RDID0009DeviceDesc="EDIROL UM-1 USB Driver"
RDID0009SvcDesc="EDIROL UM-1 USB Driver"



New inf file:
; Installation inf for the UM-1
;
; Copyright (c) 2005 Roland Corporation
;
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
CatalogFile=RDID1009.CAT
DriverVer=06/01/2005,2.00.00.0000


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

[DestinationDirs]
RDID0009.Files.User = 11
RDID0009.Files.Inst = 11
RDID0009.Files.Ext = 10,system32\drivers ; %SystemRoot%\system32\drivers
DefaultDestDir = 10,system32\drivers ; %SystemRoot%\system32\drivers

[SourceDisksNames]
1=%RDID0009DiskName%,,

[SourceDiskSFiles]
RD3T1009.DAT=1
RdWM1009.sys=1
RDDP1009.DAT=1
RDCP1009.CPL=1
RDCI1009.dll=1

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

[Manufacturer]
%MfgName%=Roland

;[ControlFlags]
;ExcludeFromSelect=*

[Roland]
%RDID0009DeviceDesc%=RDID0009Install, USB\VID_0582&PID_0009 ; UM-1

;===============================================================;

[RDID0009Install]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
;;AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=RDID0009.Files.User,RDID0009.Files.Ext
AddReg=RDID0009AddReg

[RDID0009Install.CoInstallers]
AddReg=RDID0009CoInstallers.AddReg
CopyFiles=RDID0009.Files.Inst

[RDID0009CoInstallers.AddReg]
HKR,,CoInstallers32,%REG_MSZ%,"RdCi1009.dll,ProcCoInst"

[RDID0009AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,rdwm1009.sys
HKR,,NTMPDriver,,"rdwm1009.sys"

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Description,,%RDID0009DeviceDesc%

[RDID0009Install.Services]
AddService = RDID1009, 0x00000002, RDID0009_Service_Inst
DelService = RD1009

[RDID0009_Service_Inst]
DisplayName = %RDID0009DeviceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\Drivers\rdwm1009.sys

;;;
;;
[RDID0009.Files.Ext]
Rdwm1009.sys

[RDID0009.Files.User]
Rd3t1009.DAT
RDCP1009.CPL
RDDP1009.DAT

[RDID0009.Files.Inst]
RdCi1009.dll

[RDID0009Install.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo11%, WDM.Interface.Mo11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo21%, WDM.Interface.Mo21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo31%, WDM.Interface.Mo31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo41%, WDM.Interface.Mo41


AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi11%, WDM.Interface.Mi11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi21%, WDM.Interface.Mi21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi31%, WDM.Interface.Mi31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi41%, WDM.Interface.Mi41

[WDM.Interface.Mo11]
AddReg=WDM.Interface.Mo11.AddReg
[WDM.Interface.Mo11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo11.szPname%

[WDM.Interface.Mo21]
AddReg=WDM.Interface.Mo21.AddReg
[WDM.Interface.Mo21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo21.szPname%

[WDM.Interface.Mo31]
AddReg=WDM.Interface.Mo31.AddReg
[WDM.Interface.Mo31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo31.szPname%

[WDM.Interface.Mo41]
AddReg=WDM.Interface.Mo41.AddReg
[WDM.Interface.Mo41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo41.szPname%


[WDM.Interface.Mi11]
AddReg=WDM.Interface.Mi11.AddReg
[WDM.Interface.Mi11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi11.szPname%

[WDM.Interface.Mi21]
AddReg=WDM.Interface.Mi21.AddReg
[WDM.Interface.Mi21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi21.szPname%

[WDM.Interface.Mi31]
AddReg=WDM.Interface.Mi31.AddReg
[WDM.Interface.Mi31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi31.szPname%

[WDM.Interface.Mi41]
AddReg=WDM.Interface.Mi41.AddReg
[WDM.Interface.Mi41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi41.szPname%

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

[Strings]
MfgName="Roland"

RDID0009DiskName="EDIROL UM-1 Driver Installation disk"
RDID0009DeviceDesc="EDIROL UM-1"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Mo11="MidiOut1-1"
WDM.Mo11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mo21="MidiOut2-1"
WDM.Mo21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mo31="MidiOut3-1"
WDM.Mo31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mo41="MidiOut4-1"
WDM.Mo41.szPname="4:EDIROL UM-1 MIDI"

KSNAME_Mi11="MidiIn1-1"
WDM.Mi11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mi21="MidiIn2-1"
WDM.Mi21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mi31="MidiIn3-1"
WDM.Mi31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mi41="MidiIn4-1"
WDM.Mi41.szPname="4:EDIROL UM-1 MIDI"

REG_MSZ = 0x00010000
 
S

Sean Liming \(eMVP\)

Well it was worth a blind try.

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.


Georges Berenger said:
Thanks Sean.
I tried your sld file, but it doesn't work either. It is pretty much the
same as what I had created myself referencing the ks.inf & wdmaudio.inf
files.
I ran TAP from WinPE. I guess I could indeed compare the components with
that of what XP Pro returns.

I'll try that next.
thanks,
-georges

For what it is worth, attached is an SLD with a component. The newer INF
required KS.INF and wdmaudio.inf to import correctly. There are allot
more
resources in the new INF file.

When you ran TAP on the hardware, did you have Windows XP Pro SP2
installed?
Did you try installing the audio before running TAP? Running TAP with all
the drivers installed on XP Pro, captures all the multimedia information
needed for audio drivers.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.


Georges Berenger said:
I have an XPe image that worked fine with with the Edirol UM-1 MIDI
interface: I was able to easily build a component with its drivers. We
now
have to support a new version of the same HW (RoHS compliance fun
anyone?),
but I can't get to build a new component that works with the new driver,
required for the new HW.

In facts, I can't even manually install the driver from XPe, though I
was
able to install drivers for most devices I tried to support with a
manual
driver install. So I am suspecting that the problem is not so much the
component creation, but the image itself, that may be missing some
critical component for that new driver. Or maybe the install chokes on
the
new driver for some other reason?

Here is what I find in setupapi.log when I try to install the driver
manually:

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 1
Platform ID = 2 (NT)
Service Pack = 1.0
Suite = 0x0040
Product Type = 1
Architecture = x86
[2006/03/21 17:07:36 1476.309]
#-198 Command line processed: "C:\Documents and Settings\Default
User\Desktop\UM-1_WinXP2k_v2000\Setup.exe"
#E367 An unsigned or incorrectly signed file "C:\Program
Files\RdDrv001\RDID0009\Rdif1009.inf" for will be installed
(Policy=Warn,
user said ok). Error 0xe000022f: The third-party INF does not contain
digital signature information.
[2006/03/21 17:08:59 640.3 Driver Install]
#-019 Searching for hardware ID(s):
usb\vid_0582&pid_0009&rev_0100,usb\vid_0582&pid_0009
#-018 Searching for compatible ID(s):
usb\class_ff&subclass_ff&prot_00,usb\class_ff&subclass_ff,usb\class_ff
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I022 Found "USB\VID_0582&PID_0009" in C:\WINDOWS\inf\oem0.inf; Device:
"EDIROL UM-1"; Driver: "EDIROL UM-1"; Provider: "Roland"; Mfg: "Roland";
Section name: "RDID0009Install".
#I023 Actual install section: [RDID0009Install]. Rank: 0x00000001.
Effective driver date: 06/01/2005.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [RDID0009Install] in
"c:\windows\inf\oem0.inf".
#I320 Class GUID of device remains:
{4D36E96C-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#I124 Doing copy-only install of "USB\VID_0582&PID_0009\5&3774E5BA&0&2".
#-011 Installing section [RDID0009Install] from
"c:\windows\inf\oem0.inf".
#-167 SPFILENOTIFY_NEEDMEDIA: Tag = "", Description= "EDIROL UM-1 Driver
Installation disk", SourcePath = "c:\windows", SourceFile =
"Rd3t1009.DAT", Flags = 0x00000000.
#E169 SPFILENOTIFY_NEEDMEDIA: returned FILEOP_ABORT. Error 1223: The
operation was canceled by the user.
#W187 Install failed, attempting to restore original files.
#E122 Device install failed. Error 1223: The operation was canceled by
the
user.
#E157 Default installer failed. Error 1223: The operation was canceled
by
the user.

Of course, I did not "cancel" the install. In facts, all the process was
silent.

To give more info to work on, here are the two inf files, the "old" one,
that works fine with the old USB MIDI interface, and the new inf file,
that doesn't work. I put the inf files in this email, in the hope that
someone can guess what component maybe required by the new inf file,
that
wasn't required before...

thanks for any suggestion!
-georges



Old inf file:

; Installation inf for UM-1
;
; Copyright (c) 2003 Roland Corporation
;

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ROLAND%
DriverVer=05/09/2003,1.06.00.0000
;CatalogFile=RDCT0009.CAT

[SourceDisksNames]
1="EDIROL UM-1 USB Driver Installation Disk",,,

[SourceDisksFiles]
rd1t1009.dat = 1
rdwm1009.sys = 1
rddv1009.dll = 1
rdif1009.inf = 1
rddp1009.dat = 1
rdcp1009.cpl = 1

[Manufacturer]
%MfgName%=Roland

[Roland]
%RDID0009DeviceDesc%=RDID0009Dev, USB\VID_0582&PID_0009 ; UM-1

[DestinationDirs]
DefaultDestDir=10
RDID0009FilesUser = 11
RDID0009FilesExt = 10,System32\Drivers

[RDID0009Dev.NT]
CopyFiles=RDID0009FilesExt,RDID0009FilesUser
AddReg=RDID0009AddReg
reboot

[RDID0009Dev.NT.Services]
Addservice = RD1009, 0x00000002, RDID0009AddService
DelService = RDWM1009

[RDID0009AddService]
DisplayName = %RDID0009SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\rdwm1009.sys

[RDID0009AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,rdwm1009.sys

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers,MIGRATED,0,0
HKR,Drivers\midi,,0,

HKR,Drivers\midi\rddv1009.dll, Driver,,rddv1009.dll
HKR,Drivers\midi\rddv1009.dll, Description,,%RDID0009SvcDesc%

[RDID0009FilesExt]
rdwm1009.sys

[RDID0009FilesUser]
rd1t1009.dat
rddv1009.dll
rddP1009.dat
rdcp1009.cpl

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

[Strings]
ROLAND="Roland"
MfgName="Roland"
RDID0009DeviceDesc="EDIROL UM-1 USB Driver"
RDID0009SvcDesc="EDIROL UM-1 USB Driver"



New inf file:
; Installation inf for the UM-1
;
; Copyright (c) 2005 Roland Corporation
;
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
CatalogFile=RDID1009.CAT
DriverVer=06/01/2005,2.00.00.0000


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

[DestinationDirs]
RDID0009.Files.User = 11
RDID0009.Files.Inst = 11
RDID0009.Files.Ext = 10,system32\drivers ; %SystemRoot%\system32\drivers
DefaultDestDir = 10,system32\drivers ; %SystemRoot%\system32\drivers

[SourceDisksNames]
1=%RDID0009DiskName%,,

[SourceDiskSFiles]
RD3T1009.DAT=1
RdWM1009.sys=1
RDDP1009.DAT=1
RDCP1009.CPL=1
RDCI1009.dll=1

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

[Manufacturer]
%MfgName%=Roland

;[ControlFlags]
;ExcludeFromSelect=*

[Roland]
%RDID0009DeviceDesc%=RDID0009Install, USB\VID_0582&PID_0009 ; UM-1

;===============================================================;

[RDID0009Install]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
;;AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=RDID0009.Files.User,RDID0009.Files.Ext
AddReg=RDID0009AddReg

[RDID0009Install.CoInstallers]
AddReg=RDID0009CoInstallers.AddReg
CopyFiles=RDID0009.Files.Inst

[RDID0009CoInstallers.AddReg]
HKR,,CoInstallers32,%REG_MSZ%,"RdCi1009.dll,ProcCoInst"

[RDID0009AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,rdwm1009.sys
HKR,,NTMPDriver,,"rdwm1009.sys"

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Description,,%RDID0009DeviceDesc%

[RDID0009Install.Services]
AddService = RDID1009, 0x00000002, RDID0009_Service_Inst
DelService = RD1009

[RDID0009_Service_Inst]
DisplayName = %RDID0009DeviceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\Drivers\rdwm1009.sys

;;;
;;
[RDID0009.Files.Ext]
Rdwm1009.sys

[RDID0009.Files.User]
Rd3t1009.DAT
RDCP1009.CPL
RDDP1009.DAT

[RDID0009.Files.Inst]
RdCi1009.dll

[RDID0009Install.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo11%, WDM.Interface.Mo11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo21%, WDM.Interface.Mo21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo21%, WDM.Interface.Mo21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo31%, WDM.Interface.Mo31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo31%, WDM.Interface.Mo31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mo41%, WDM.Interface.Mo41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mo41%, WDM.Interface.Mo41


AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi11%, WDM.Interface.Mi11

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi21%, WDM.Interface.Mi21
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi21%, WDM.Interface.Mi21

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi31%, WDM.Interface.Mi31
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi31%, WDM.Interface.Mi31

AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Mi41%, WDM.Interface.Mi41
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Mi41%, WDM.Interface.Mi41

[WDM.Interface.Mo11]
AddReg=WDM.Interface.Mo11.AddReg
[WDM.Interface.Mo11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo11.szPname%

[WDM.Interface.Mo21]
AddReg=WDM.Interface.Mo21.AddReg
[WDM.Interface.Mo21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo21.szPname%

[WDM.Interface.Mo31]
AddReg=WDM.Interface.Mo31.AddReg
[WDM.Interface.Mo31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo31.szPname%

[WDM.Interface.Mo41]
AddReg=WDM.Interface.Mo41.AddReg
[WDM.Interface.Mo41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo41.szPname%


[WDM.Interface.Mi11]
AddReg=WDM.Interface.Mi11.AddReg
[WDM.Interface.Mi11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi11.szPname%

[WDM.Interface.Mi21]
AddReg=WDM.Interface.Mi21.AddReg
[WDM.Interface.Mi21.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi21.szPname%

[WDM.Interface.Mi31]
AddReg=WDM.Interface.Mi31.AddReg
[WDM.Interface.Mi31.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi31.szPname%

[WDM.Interface.Mi41]
AddReg=WDM.Interface.Mi41.AddReg
[WDM.Interface.Mi41.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi41.szPname%

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

[Strings]
MfgName="Roland"

RDID0009DiskName="EDIROL UM-1 Driver Installation disk"
RDID0009DeviceDesc="EDIROL UM-1"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Mo11="MidiOut1-1"
WDM.Mo11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mo21="MidiOut2-1"
WDM.Mo21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mo31="MidiOut3-1"
WDM.Mo31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mo41="MidiOut4-1"
WDM.Mo41.szPname="4:EDIROL UM-1 MIDI"

KSNAME_Mi11="MidiIn1-1"
WDM.Mi11.szPname="1:EDIROL UM-1 MIDI"

KSNAME_Mi21="MidiIn2-1"
WDM.Mi21.szPname="2:EDIROL UM-1 MIDI"

KSNAME_Mi31="MidiIn3-1"
WDM.Mi31.szPname="3:EDIROL UM-1 MIDI"

KSNAME_Mi41="MidiIn4-1"
WDM.Mi41.szPname="4:EDIROL UM-1 MIDI"

REG_MSZ = 0x00010000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top