[wdmaudiodev] Re: KSATTRIBUTE in PortCls use MiniportWaveCyclic

  • From: Frank Yerrace <Frank.Yerrace@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 27 Aug 2013 07:50:16 +0000

Have you already made an HCK submission?

Matthew van Eerde understands the HCK process much better than I do and might 
have a better suggestion, but I suspect the proper process here is for you to 
just make an HCK submission with the failure (perhaps with a driver that does 
not implement the attributes to avoid the crash) and request an errata for that 
particular test case and go from there. This will reach the right folks on our 
audio team through proper channels and the right people will work with you.

Sent from Windows Mail on my Surface Pro

From: Tsai Tzung-Dar<mailto:tdtsai1973@xxxxxxxxxxxx>
Sent: ?Tuesday?, ?August? ?27?, ?2013 ?12?:?36? ?AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>

Hi Frank:
Yes, this bug blocking our HCK test. Also could MS release QFE let us to help 
ms to test it?

BR,
Tzung-Dar Tsai

________________________________
???? Frank Yerrace <Frank.Yerrace@xxxxxxxxxxxxx>
???? "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
????? 2013/8/27 (??) 3:07 PM
??? [wdmaudiodev] Re: KSATTRIBUTE in PortCls use MiniportWaveCyclic

Is this blocking an HCK submission? If not, can you wait for the Windows 8.1 
RTM build?

Sent from Windows Mail

From: Tsai Tzung-Dar
Sent: ?Monday?, ?August? ?26?, ?2013 ?6?:?27? ?PM
To: wdmaudiodev@xxxxxxxxxxxxx

Hi Frank:
Could you tell us which build of Windows 8.1 will correct this problem? I had 
try Windows 8.1 Build 9477 but still have BSOD problem.

BR,
Tzung-Dar Tsai

________________________________
???? Frank Yerrace <Frank.Yerrace@xxxxxxxxxxxxx>
???? "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
????? 2013/8/26 (??) 11:10 PM
??? [wdmaudiodev] Re: KSATTRIBUTE in PortCls use MiniportWaveCyclic

Yes, thanks DJ for discovering this. This has been corrected for Windows 8.1.

Sent from Windows Mail on my Surface Pro

From: Daniel Sisolak<mailto:dsisolak@xxxxxxxxxxxx>
Sent: ?Monday?, ?August? ?26?, ?2013 ?7?:?48? ?AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>

Hello Tzung-Dar,

This is definitely a bug in portcls. I debugged this a couple of weeks ago 
myself. I found that that this is related to the fact that portcls adds a 
DSOUND datarange to the list of dataranges exposed by the miniport. In doing, 
so it copies the attribute flag, but not the attribute itself (at least that is 
my theory based on the debugger output). Therefore when KS sees the flag and 
tries to do a match on the attribute, the attribute pointer is garbage and an 
AV crash ensues (as you have seen).

I have already reported this to MS. They have agreed that it is an issue they 
need to address.

Cheers,
DJ

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tsai Tzung-Dar
Sent: Monday, August 26, 2013 4:37 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] KSATTRIBUTE in PortCls use MiniportWaveCyclic

Hi all:
Does any one know how to add KSATTRIBUTE support by use WaveCyclic. I fill 
Flags field with KSDATARANGE_ATTRIBUTES. And append KSATTRIBUTE after 
KSDATARANGE_AUDIO. The driver can load correctly. But when start to capture 
audio, I got BSOD and dead in KS.sys. When modify my code to use WaveRT, 
capture audio can run correctly with out BSOD.
Does this is bug in portcls or WaveCyclic can not support KSATTRIBUTE?

BR,
Tzung-Dar Tsai




Other related posts: