Discussion:
USB Audio device inf file
(too old to reply)
s***@gmail.com
2008-04-17 15:36:43 UTC
Permalink
Hi

I did a .inf file for a USB audio device (using usbaudio.sys). I
simply made a inf file so I am not really making a driver I think.
Anyway, I made a cat file and signed it using authenticode. On Vista,
if I set the "all drivers equal" property and install my inf, when I
connect my usb audio device, the inf I wrote is used and everything is
fine. That is OK for tests but it cannot be the final solution.

So on Vista when I do not set "all drivers equal" or on XP, even if I
install my inf first (using SetupCopyOEMInf), when I connect my usb
device, wdma_usb.inf is used instead of my inf. That is because my inf
rank is lower than the Microsoft wdma_usb.inf. By setting "all drivers
equal", since I have the exact hardware/vendor ID and an authenticode
signature, my inf is used.

So from what I understand, to have my inf file used instead of
wdma_usb.inf on Vista and XP, I need it need to be certified by
Microsoft. I downloaded the Windows Logo Driver Kit but I have Windows
XP and Vista machines so I don't think I can use it right now before I
install Windows Server 2003. Basically my questions are:
- How much does it cost to have a inf file only (no sys or other
driver files) certified by MS and how can I do it?
- Again, since I only have a inf file, do I need to use the Windows
Logo Kit?
- Last question, is there another clean way for an authenticode .inf/
cat files for a USB audio device to have a better rank than the MS
wdma_usbinf file?

Thanks
c***@gmail.com
2008-04-17 17:19:26 UTC
Permalink
Post by s***@gmail.com
- Last question, is there another clean way for an authenticode .inf/
cat files for a USB audio device to have a better rank than the MS
wdma_usbinf file?
Why can't you just change your device's descriptors such that
usbaudio.sys is loaded automatically? i.e. Class == 0x01 and so on..
s***@gmail.com
2008-04-17 17:30:51 UTC
Permalink
Post by c***@gmail.com
Post by s***@gmail.com
- Last question, is there another clean way for an authenticode .inf/
cat files for a USB audio device to have a better rank than the MS
wdma_usbinf file?
Why can't you just change your device's descriptors such that
usbaudio.sys is loaded automatically?  i.e. Class == 0x01 and so on..
Without my inf file, usbaudio.sys is loaded automatically by
wdma_usb.inf. The problem is that the Microsoft wdma_usb.inf makes it
the default sound device (which is something I do not want). I read a
lot about this and the only clean way to avoid this (no registry
modification) is to write my own inf file.
d***@gmail.com
2014-03-04 03:41:33 UTC
Permalink
Post by s***@gmail.com
Without my inf file, usbaudio.sys is loaded automatically by
wdma_usb.inf. The problem is that the Microsoft wdma_usb.inf makes it
the default sound device (which is something I do not want). I read a
lot about this and the only clean way to avoid this (no registry
modification) is to write my own inf file.
Did you ever get your inf file to work? Have been trying to do the same thing but cannot get the *magic* combination that makes it work :-(.

Getting it to work in winxp is easy but 7 is annoying me!

Thanks,

/pedro

Loading...