[wdmaudiodev] Re: Is there a way to force clearing device property cache on device uninstallation?

  • From: "Vincent Burel \(VB-Audio\)" <vincent.burel@xxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 19 Jan 2019 08:45:13 +0100

Yes! there is problem in the WIN10 installation procedure (since the
beginning),
We also reported bugs here about devcon.exe (in September 2018) and we have
also suggested to Matthew and other Microsoft guys that there are problems
in WIN10 installation/update procedure.

We also suggested to Girish Pattabiraman (SYSVAD programmer) that the HLK
certification process does not produce the same number of errors on a driver
firstly installed and its further update, in a comment in our "DRIVER
CERTIFICATION" article: 
https://www.facebook.com/notes/vb-audio-software/does-microsoft-care-about-a
udio/2061956880540508/

And finally, there are different signs possibly unveiling a problem in
HARDWARE ID management in Win10 system or in its installation process (like
if they did not do a complete string comparison).

Regards
Vincent Burel

-----Message d'origine-----
De : wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Eugene Muzychenko
Envoyé : vendredi 18 janvier 2019 22:38
À : wdmaudiodev@xxxxxxxxxxxxx
Objet : [wdmaudiodev] Is there a way to force clearing device property cache
on device uninstallation?

As you may know, Win10 does not clear its audio device property store for
audio devices being uninstalled, using the store as a cache for further
re-installations of the same device.

Unfortunately, such behavior produces undesired effects with virtual audio
drivers that generate pin friendly names dynamically.

For example, the device is installed with "ROOT\MEDIA\0000"
instance ID and the driver returns the appropriate pin names.
Audio Subsystem stores these names in the Property Store.

Then the device is uninstalled. Property Store is not cleared, even after a
restart.

Then a different driver build, with different pin names, is installed.
Since "ROOT\MEDIA\0000" instance ID is free, the new devices gets this ID.
If filter reference names are the same (usually "wave" and "topology"), full
interface names are the same too. In such case, Audio Subsystem uses
friendly names stored in the Property Store instead of querying the driver.

The problem is observed in 17134.RS4, maybe in newer builds too.

Is there a way to force either clearing Property Store entries on device
uninstallation, or filling them on installation?

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

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

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

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

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

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

Other related posts: