From: Nick Rivers on 27 Oct 2006 07:35 > I'm assuming you're leaving out the USB\Class_xx compatible IDs that > are also generated. Yes, I didn?t mentioned them here. > If you don't want to use the inbox drivers, my advice would be to use > custom values for the Class/Subclass/Protocol descriptors. Then you > don't have to fight whatever Windows is trying to load. You mean custom values for the hardware device? That has been manufactured already.
From: Nick Rivers on 27 Oct 2006 07:41 I?ve tried that CopyINF already in the past. It does not work for me. Problem with Windows Vista is, that the Audio device part will be installed automatically as a Generic Audio USB device using the inbox drivers (USBAudio.sys & some more) of Vista. (The device manager reports error Code 10 for this device). There will be no find new hardware wizard window for the Audio device, only for the Video device part. So I assume the CopyINF directive will not work for me. Do you have any more suggestions, please? "Eliyas Yakub [MSFT]" <eliyasy(a)online.microsoft.com> wrote in message news:OzryA%23S%23GHA.3312(a)TK2MSFTNGP02.phx.gbl... > Shouldn't you be using CopyINF directive to copy the INF files? There is a > section in the DDK docs "Copying INFs" that describes how to do this. > There is also a sample (\src\setup\cocpyinf\Install > ) in the DDK that demonstrates how to use CopyINF directive. Remember, you > have to use coinstaller only on Win2K to parse the CopyINF directive in > your INF. > > > -- > -Eliyas > This posting is provided "AS IS" with no warranties, and confers no > rights. > http://www.microsoft.com/whdc/driver/tips/default.mspx >
From: Eliyas Yakub [MSFT] on 27 Oct 2006 09:52 How about: 1) Use CopyINF to copy your INF for the audio device. 2) From your coinstaller, uninstall the generic audio driver installed by the system. 3) Trigger a rescan of the bus so that the system can reinstall the device with your INF because your INF will have more appropriate device-id match than the compat-id match provided by the inbox INF. For this to work, you driver package should be a signed package otherwise inbox INF will take precedence over your INF. -Eliyas "Nick Rivers" <nrivers(a)yahoo.com> wrote in message news:OutdMzb%23GHA.4524(a)TK2MSFTNGP04.phx.gbl... > I?ve tried that CopyINF already in the past. It does not work for me. > > Problem with Windows Vista is, that the Audio device part will be > installed automatically > as a Generic Audio USB device using the inbox drivers (USBAudio.sys & some > more) of Vista. > (The device manager reports error Code 10 for this device). > There will be no find new hardware wizard window for the Audio device, > only for the Video device part. > So I assume the CopyINF directive will not work for me. > > Do you have any more suggestions, please? > > > "Eliyas Yakub [MSFT]" <eliyasy(a)online.microsoft.com> wrote in message > news:OzryA%23S%23GHA.3312(a)TK2MSFTNGP02.phx.gbl... >> Shouldn't you be using CopyINF directive to copy the INF files? There is >> a section in the DDK docs "Copying INFs" that describes how to do this. >> There is also a sample (\src\setup\cocpyinf\Install >> ) in the DDK that demonstrates how to use CopyINF directive. Remember, >> you have to use coinstaller only on Win2K to parse the CopyINF directive >> in your INF. >> >> >> -- >> -Eliyas >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> http://www.microsoft.com/whdc/driver/tips/default.mspx >> > >
From: Nick Rivers on 30 Oct 2006 10:29 Thanks Eliyas! That sounds great so far. But I am still dealing with some small problems... I don?t know exactly howto uninstall the generic audio driver (device) correctly under Windows Vista! 'SetupDiCallClassInstaller' works but then my code acts strange. I do not get my some of my DebugView outputs anymore when calling this function from within my CoInstaller dll. But the device will be removed. Is it allowed to use this function to remove the device under Vista? Cause the 'Device Installation Rules and Guidelines for Windows Vista' white paper says only that it must not be used for software first installations. And how can I invoke a rescan of the bus? Using the SetupDiCallClassInstaller to remove the device seems to trigger a rescan automatically.... Thanks, -Nick "Eliyas Yakub [MSFT]" <eliyasy(a)online.microsoft.com> wrote in message news:eViNj9c%23GHA.1224(a)TK2MSFTNGP05.phx.gbl... > How about: > > 1) Use CopyINF to copy your INF for the audio device. > 2) From your coinstaller, uninstall the generic audio driver installed by > the system. > 3) Trigger a rescan of the bus so that the system can reinstall the device > with your INF because your INF will have more appropriate device-id match > than the compat-id match provided by the inbox INF. For this to work, you > driver package should be a signed package otherwise inbox INF will take > precedence over your INF. > > -Eliyas > > "Nick Rivers" <nrivers(a)yahoo.com> wrote in message > news:OutdMzb%23GHA.4524(a)TK2MSFTNGP04.phx.gbl... >> I?ve tried that CopyINF already in the past. It does not work for me. >> >> Problem with Windows Vista is, that the Audio device part will be >> installed automatically >> as a Generic Audio USB device using the inbox drivers (USBAudio.sys & >> some more) of Vista. >> (The device manager reports error Code 10 for this device). >> There will be no find new hardware wizard window for the Audio device, >> only for the Video device part. >> So I assume the CopyINF directive will not work for me. >> >> Do you have any more suggestions, please? >> >> >> "Eliyas Yakub [MSFT]" <eliyasy(a)online.microsoft.com> wrote in message >> news:OzryA%23S%23GHA.3312(a)TK2MSFTNGP02.phx.gbl... >>> Shouldn't you be using CopyINF directive to copy the INF files? There is >>> a section in the DDK docs "Copying INFs" that describes how to do this. >>> There is also a sample (\src\setup\cocpyinf\Install >>> ) in the DDK that demonstrates how to use CopyINF directive. Remember, >>> you have to use coinstaller only on Win2K to parse the CopyINF directive >>> in your INF. >>> >>> >>> -- >>> -Eliyas >>> This posting is provided "AS IS" with no warranties, and confers no >>> rights. >>> http://www.microsoft.com/whdc/driver/tips/default.mspx >>> >> >> > >
From: Eliyas Yakub [MSFT] on 30 Oct 2006 11:19 Follow the devcon sample source code in the DDK. It describes how to remove, rescan, pretty much everything that you can do with device manager. -Eliyas "Nick Rivers" <nrivers(a)yahoo.com> wrote in message news:esO9rgD$GHA.4428(a)TK2MSFTNGP04.phx.gbl... > Thanks Eliyas! > > That sounds great so far. But I am still dealing with some small > problems... > > I don?t know exactly howto uninstall the generic audio driver (device) > correctly under Windows Vista! > 'SetupDiCallClassInstaller' works but then my code acts strange. I do not > get my some of my DebugView outputs anymore > when calling this function from within my CoInstaller dll. But the device > will be removed. > > Is it allowed to use this function to remove the device under Vista? Cause > the 'Device Installation Rules and Guidelines for Windows Vista' white > paper says only that it must not be used for software first installations. > And how can I invoke a rescan of the bus? Using the > SetupDiCallClassInstaller to remove the device seems to trigger a rescan > automatically.... > > Thanks, > -Nick > > "Eliyas Yakub [MSFT]" <eliyasy(a)online.microsoft.com> wrote in message > news:eViNj9c%23GHA.1224(a)TK2MSFTNGP05.phx.gbl... >> How about: >> >> 1) Use CopyINF to copy your INF for the audio device. >> 2) From your coinstaller, uninstall the generic audio driver installed by >> the system. >> 3) Trigger a rescan of the bus so that the system can reinstall the >> device with your INF because your INF will have more appropriate >> device-id match than the compat-id match provided by the inbox INF. For >> this to work, you driver package should be a signed package otherwise >> inbox INF will take precedence over your INF. >> >> -Eliyas >> >> "Nick Rivers" <nrivers(a)yahoo.com> wrote in message >> news:OutdMzb%23GHA.4524(a)TK2MSFTNGP04.phx.gbl... >>> I?ve tried that CopyINF already in the past. It does not work for me. >>> >>> Problem with Windows Vista is, that the Audio device part will be >>> installed automatically >>> as a Generic Audio USB device using the inbox drivers (USBAudio.sys & >>> some more) of Vista. >>> (The device manager reports error Code 10 for this device). >>> There will be no find new hardware wizard window for the Audio device, >>> only for the Video device part. >>> So I assume the CopyINF directive will not work for me. >>> >>> Do you have any more suggestions, please? >>> >>> >>> "Eliyas Yakub [MSFT]" <eliyasy(a)online.microsoft.com> wrote in message >>> news:OzryA%23S%23GHA.3312(a)TK2MSFTNGP02.phx.gbl... >>>> Shouldn't you be using CopyINF directive to copy the INF files? There >>>> is a section in the DDK docs "Copying INFs" that describes how to do >>>> this. There is also a sample (\src\setup\cocpyinf\Install >>>> ) in the DDK that demonstrates how to use CopyINF directive. Remember, >>>> you have to use coinstaller only on Win2K to parse the CopyINF >>>> directive in your INF. >>>> >>>> >>>> -- >>>> -Eliyas >>>> This posting is provided "AS IS" with no warranties, and confers no >>>> rights. >>>> http://www.microsoft.com/whdc/driver/tips/default.mspx >>>> >>> >>> >> >> > >
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Microsoft CCID driver & ScardControl Next: Signtool problems |