[wdmaudiodev] Re: update driver
- From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
- To: 若水 <shlikewater@xxxxxxxxx>, "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Wed, 18 May 2016 09:49:06 +0000
I am developing my driver, I cannot get the cat file
Sure you can.
To sign a driver:
1. Download the Windows Driver
2. Make sure the driver .inf has a CatalogFile=MyCatalogFile.cat line
(specify your own value for MyCatalogFile.cat). If one is missing you can add
it to the [Version] section.
(VS.85).aspx> to the
driver .inf file and it will make a .cat file for you. This .cat file will have
an entry for every file pulled in by the .inf.
sign the .cat file.
By the way, you can use the inbox tool pnputil.exe to add your driver to the
driver store even before you plug in the device. pnputil -a your.inf
This separates the “add the driver to the driver store” and “apply the new
driver to your hardware” phases of installation nicely.
Sent: Tuesday, May 17, 2016 8:34 PM
Subject: [wdmaudiodev] Re: update driver
Hello, I checked c:\windows\inf\setupapi.dev.log file. The log file tell me
that my driver have not cat file, the system inner usb audio driver was
selected. But, I am developing my driver, I cannot get the cat file. How could
I do to install my driver and debug it? Thanks.
2016-05-18 10:57 GMT+08:00 若水
Hello, I am developing an installer for my audio driver (win7 system). All the
progress is successful, I call
config_flags |= CONFIGFLAG_REINSTALL;
bRet = SetupDiSetDeviceRegistryProperty(dev_info,&dev_info_data,
SPDRP_CONFIGFLAGS, (BYTE *)&config_flags,sizeof(config_flags));
But, after I plug in my device, the driver was NOT be updated. It still use the
old driver (old driver is system USB Audio driver).
Could you give me some instructions? Thanks.
Other related posts: