[wdmaudiodev] Re: Need help in KS Topology Test - WinBlue, Wave test- Certification

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 3 Sep 2015 23:02:29 +0000

NT$ARCH$ is replaced by Visual Studio to NTamd64 (or whatever) based on the
project settings.

It is not valid to attempt to actually install an .inf that contains a literal
NT$ARCH$.

From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx]
Sent: Thursday, September 3, 2015 3:50 PM
To: wdmaudiodev
Subject: [wdmaudiodev] Re: Need help in KS Topology Test - WinBlue, Wave test-
Certification

I am getting pretty confused here. NT$ARCH$ means that $ARCH$ is substituted by
either x86 or x64 depending on what the architecture is. So, having it as
NT$ARCH$ shouldn't matter, right? Do i need to add decorated model section in
inf for building it in debug | x64? There is a [DeviceInstall32] section in
inf. It is giving me an error in inf2cat generation.

Warm regards,
Parinitha Kashyap

On Thu, Sep 3, 2015 at 3:37 PM, Matthew van Eerde
<Matthew.van.Eerde@xxxxxxxxxxxxx<mailto:Matthew.van.Eerde@xxxxxxxxxxxxx>> wrote:
That would do it. The .inf is being added to the store, and Pnp is adding the
fake virtual device, but the .inf doesn’t match that device because the
architecture is wrong.

https://github.com/Microsoft/Windows-driver-samples/blob/master/audio/sysvad/tabletaudiosample.inf

[Manufacturer]
%MfgName%=SYSVAD,NT$ARCH$
[SYSVAD.NT$ARCH$]
%SYSVAD_SA.DeviceDesc%=SYSVAD_SA, Root\sysvad_TabletAudioSample

From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>]
On Behalf Of Parinitha Kashyap
Sent: Thursday, September 3, 2015 3:29 PM
To: wdmaudiodev
Subject: [wdmaudiodev] Re: Need help in KS Topology Test - WinBlue, Wave test-
Certification

On Thu, Sep 3, 2015 at 3:04 PM, Tim Roberts
<timr@xxxxxxxxx<mailto:timr@xxxxxxxxx>> wrote:
Parinitha Kashyap wrote:

Yes, I have everything in the same directory as the inf file.

What, exactly, do you have in the directory with the INF and the CAT?
I have 1) KeywordDetectorContosoAdapter.dll
2) PhoneAudioSample.sys
3) PropPageExt.dll
4) SwapAPO.dll
5) sysvad.cat<http://sysvad.cat>
6) tabletaudiosample.inf
7) TabletAudioSample.sys
8) WdfCoInstaller01011.dll


When I try to install using pnputil.exe,

What pnputil command line did you use?
pnputil.exe -a tabletaudiosample.inf

I find an 'unknown device' in the 'Other devices' category in device
manager with the error code 28 (The drivers for this device are not
installed. (Code 28). There are no compatible drivers for this
device.) The setupapi.dev.log shows [SetupCopyOEMInf -
C:\SysvadDriver\tabletaudiosample.inf] returning with exit code 0
(SUCCESS).
When I try to install using devcon, I find an 'unknown device' in the
'Sound,...' category in device manager with the error 'No drivers are
installed for this device.' The setupapi.dev.log shows [Device Install
(UpdateDriverForPlugAndPlayDevices) - ROOT\sysvad_tabletaudiosample]
returning with FAILURE(0x00000103) - No drivers were found that are
better matching drivers for device instance ROOT\MEDIA\0001.

Probably it is looking for tabletaudiosample.sys elsewhere?

No, the problems here all seem to be related to the device ID. That is
they magic key that Windows uses to find INF files. What is the
Hardware ID for the unknown devices, both in the "Other devices"
category and in the "Sound" category? (You can find that in Device
Manager.) Does it match the device IDs in your INF file? Perhaps you
should post your INF file so we can check it.

The hardware ID for the unknown devices is ROOT\sysvad_TabletAudioSample. The
inf file is the same as one downloaded from sample (tabletaudiosample.inf). I
have not changed anything.

I think I know the issue. My target computer is 64 bit. But I had built the
driver in debug/win32 mode. I changed the config for all projects to debug|x64
and tried building it. It was successful. However, there was an error in
inf2cat. 'tabletaudiosample.inf' does not have NTAMD64 decorated model sections.
--
Tim Roberts, timr@xxxxxxxxx<mailto:timr@xxxxxxxxx>
Providenza & Boekelheide, Inc.

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx<mailto:wdmaudiodev-request@xxxxxxxxxxxxx>?subject=subscribe
Unsubscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx<mailto:wdmaudiodev-request@xxxxxxxxxxxxx>?subject=unsubscribe
Moderator:
mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx<mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx>

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/


Other related posts: