[wdmaudiodev] Need Help:WDM Audio Miniport Driver

  • From: "Chinmay Mahata" <chinmay.mahata@xxxxxxxxx>
  • To: wdmaudiodev <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 4 Jul 2007 20:21:30 +0530

Hi all,
  I need to develop a WDM miniport driver for an Audio PCI card in WinXP
SP2. However, I am NOT FAMILIAR at all with WDM audio at anyway.

I wrote a driver (.sys file) and an inf file (.inf) but NO catalog file
(.cat). Also set the "Driver Signing Option" to "Ignore" using the "System
Properties :: Hardware" and "Local Security Policy::Device" wizards for
unsigned drivers as well as we set the env variable
"_DFX_INSTALL_UNSIGNED_DRIVER" as 1.  And I tried to install it using the
DPInst installer (DPIst.exe).

But I am getting a problem like, failing to find a matching device. Even
though we have used the hardware IDs found from Windows 'Device Manager'
utility for our device. We did some testing with other good and working PCI
cards. It seems to me that the problem is for not having the catalog file.
DPInst does not allow us to successfully install the driver without a
catalog file. I may be wrong. Please forgive me if my understanding is not
correct. Below is the log message I am getting:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

C:\Documents and Settings\Admin\Desktop\Installer>DPInst -c
INFO:   Option set: dumping log info to console.
INFO:   Current working directory: 'C:\Documents and
Settings\Admin\Desktop\Installer'
INFO:   Running on path 'C:\Documents and Settings\Admin\Desktop\Installer'
INFO:   User UI Language is 0x409.
INFO:   Found driver package: 'C:\Documents and
Settings\Admin\Desktop\Installer\vqtanalog.inf'.
INFO:   Preinstalling 'c:\documents and
settings\admin\desktop\installer\vqtanalog.inf' ...
INFO:   ENTER:  DriverPackagePreinstallW
INFO:   vqtanalog.inf: Skipping DFX signature verification because
environment variable set and system in DEBUG mode.
INFO:   Copied 'vqtanalog.inf' to driver store...
INFO:   Commiting queue...
INFO:   Copied file: 'c:\documents and
settings\admin\desktop\installer\vqtanalog.sys' ->
'C:\WINDOWS\system32\DRVSTORE\vqtanalog_F121837FC747952D90D6B5E1E10051B4350C59B4\vqtanalog.sys'.
SUCCESS:c:\documents and settings\admin\desktop\installer\vqtanalog.inf is
preinstalled.
INFO:   RETURN: DriverPackagePreinstallW  (0x0)
INFO:   ENTER:  DriverPackageGetPathW
SUCCESS:Found driver store entry.
INFO:   RETURN: DriverPackageGetPathW  (0x0)
INFO:   ENTER:  DriverPackageInstallW
INFO:   vqtanalog.inf: Skipping DFX signature verification because
environment variable set and system in DEBUG mode.
INFO:   Installing INF file
"C:\WINDOWS\system32\DRVSTORE\vqtanalog_F121837FC747952D90D6B5E1E10051B4350C59B4\vqtanalog.inf"
of Type 6.
INFO:   Looking for Model Section [Agilent]...
INFO:   No matching devices found in
INF"C:\WINDOWS\system32\DRVSTORE\vqtanalog_F121837FC747952D90D6B5E1E10051B4350C59B4\vqtanalog.inf"
on the Machine.
INFO:   No drivers installed. No devices found that match driver(s)
contained in
'C:\WINDOWS\system32\DRVSTORE\vqtanalog_F121837FC747952D90D6B5E1E10051B4350C59B4\vqtanalog.inf'.
SUCCESS:Installation completed with code 0xE000020B.
INFO:   RETURN: DriverPackageInstallW  (0xE000020B)
INFO:   No matching device was found for 'c:\documents and
settings\admin\desktop\installer\vqtanalog.inf'. Driver will be installed
when plugged in.
INFO:   Created entry in Add or Remove Programs for
'C:\WINDOWS\system32\DRVSTORE\vqtanalog_F121837FC747952D90D6B5E1E10051B4350C59B4\vqtanalog.inf'.
INFO:   Returning with code 0x100

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

My queries are :

1. Is it the case that we must need the catalog file (.cat) to install the
driver using DPInst?
2. If yes, how can we write/generate a catalog file for our driver?
3. Is there any (free) tool available in the net for generating the catalog
file?
4. Is there any installer we can use to install our driver without catalog
file which can show us (info/error) msgs like DPInst?
5. Do we need to write something in the INF file, if we don't have catalog
file?

I am attaching my INF file with this mail. Please find the attachment for
the inf file.

I would be very happy if someone sends me some information regarding my
queries. I really hope someone here can give me substantial help.

Thanks in advance.

Best regards,
--Chinmay Mahata

Other related posts:

  • » [wdmaudiodev] Need Help:WDM Audio Miniport Driver