There is no way to explicitly tell Windows to not make your device be the preferred device. In other words, your INF can say "Please TRY to make my device preferred" (by setting SetupPreferredAudioDevices=3D1 via the INF registry directive) but there is no way to say "Please do NOT make my device preferred". Frank Yerrace Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Mike Dey [mailto:mdey@xxxxxxxxx]=20 Sent: Thursday, March 06, 2003 10:30 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: USB default audio Hi Frank, Do you mean there's no way in inf to avoid making it the preferred audio? Thanks! Mike ----- Original Message ----- From: "Frank Yerrace" <frankye@xxxxxxxxxxxxx> To: <wdmaudiodev@xxxxxxxxxxxxx> Sent: Wednesday, March 05, 2003 10:27 PM Subject: [wdmaudiodev] Re: USB default audio > > This registry directive is indeed supported on Windows XP. Setting it=20 > to 1 essentially asks Windows to try to make the new device the=20 > preferred audio device. However, setting it to 0 (as you are below)=20 > has no effect; it does NOT tell Windows to avoid making it the=20 > preferred device. It is the same as not having this directive at all. > > Frank Yerrace > Microsoft Corporation > This posting is provided "AS IS" with no warranties, and confers no=20 > rights. > > -----Original Message----- > From: John Brinkman [mailto:john@xxxxxxxxx]=3D20 > Sent: Wednesday, March 05, 2003 8:47 PM > To: wdmaudiodev@xxxxxxxxxxxxx > Subject: [wdmaudiodev] Re: USB default audio > > > > My device uses the USB to interface with the computer but It does not=20 > support the USB audio class standard and therefore does not use=20 > usbaudio.sys. > > The driver is a stream class miniport that exposes 2 channels of input > and 2 channels of output. > > -John > > ----- Original Message ----- > From: "Mike Dey" <mdey@xxxxxxxxx> > To: <wdmaudiodev@xxxxxxxxxxxxx> > Sent: Wednesday, March 05, 2003 5:37 PM > Subject: [wdmaudiodev] Re: USB default audio > > > > > > Hi John, > > > > I had "HKR,,SetupPreferredAudioDevices,3,00,00,00,00" in my inf=20 > > too=3D20 but it doesn't work on XP professional (not sure about = SP1).=20 > > Is your=3D20 device a USB audio? > > > > Mike > > ----- Original Message ----- > > From: "John Brinkman" <john@xxxxxxxxx> > > To: <wdmaudiodev@xxxxxxxxxxxxx> > > Sent: Wednesday, March 05, 2003 5:09 PM > > Subject: [wdmaudiodev] Re: USB default audio > > > > > > > > > > Hi Mike, > > > > > > I just tested my install on a "fresh" XP SP1 machine. > > > The computer's default audio device was an SB Live value. After=20 > > > I=3D20 installed my device the SB was still the preferred audio=20 > > > device > > and > > > therefore > > > I will assume that SetupPreferredAudioDevices functioned as=3D20=20 > > > documented. > > > > > > I use this directive syntax in my inf file:=3D20=20 > > > HKR,,SetupPreferredAudioDevices,3,00,00,00,00 > > > > > > I have this directive in both the 9x section and the .NT section=20 > > > of=3D20 my > inf > > > file. > > > > > > Best Regards, > > > John > > > > > > > > > ----- Original Message ----- > > > From: "Mike Dey" <mdey@xxxxxxxxx> > > > To: <wdmaudiodev@xxxxxxxxxxxxx> > > > Sent: Wednesday, March 05, 2003 4:35 PM > > > Subject: [wdmaudiodev] Re: USB default audio > > > > > > > > > > > > > > Hi John, > > > > > > > > I think that registry key only works for 98, not XP. Thanks=3D20 = > > > > anyway! > > > > > > > > Mike > > > > ----- Original Message ----- > > > > From: "John Brinkman" <john@xxxxxxxxx> > > > > To: <wdmaudiodev@xxxxxxxxxxxxx> > > > > Sent: Wednesday, March 05, 2003 4:10 PM > > > > Subject: [wdmaudiodev] Re: USB default audio > > > > > > > > > > > > > > > > > > Hi Mike, > > > > > > > > > > I use this registry key: SetupPreferredAudioDevices > > > > > > > > > > > > > > > > > > > > = http://msdn.microsoft.com/library/default.asp?url=3D3D/library/en-us/str > eam=3D > / > hh/s > > > > > tream/aud-prop_9zn7.asp > > > > > > > > > > -John > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Mike Dey" <mdey@xxxxxxxxx> > > > > > To: <wdmaudiodev@xxxxxxxxxxxxx> > > > > > Sent: Wednesday, March 05, 2003 3:05 PM > > > > > Subject: [wdmaudiodev] USB default audio > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > We have a USB handset device which uses the default USB=20 > > > > > > audio > > driver. > > > In > > > > > XP each time our handset is installed, it will become the=3D20 = > > > > > default > > audio > > > > > device. Since it's not really a sound card, we don't want it=20 > > > > > to > become > > > the > > > > > default audio after installation. Does anyone know how to=3D20 = > > > > > overwrite > > this > > > > > behavior in INF file during device installation? Thanks = in=3D20=20 > > > > > advance! > > > > > > > > > > > > Mike > > > > > > > > > > > > > > > > > > > > > > > > ****************** > > > > > > > > > > > > WDMAUDIODEV addresses: > > > > > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > > > > > > Subscribe: > > > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dsubscribe > > > > > > Unsubscribe: > > > > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dunsubscribe > > > > > > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > > > > > > > > > > > URL to WDMAUDIODEV page: > > > > > > http://www.wdmaudiodev.de/ > > > > > > > > > > > > > > > > > > > > > > ****************** > > > > > > > > > > WDMAUDIODEV addresses: > > > > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > > > > > Subscribe: > > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dsubscribe > > > > > Unsubscribe: > > > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dunsubscribe > > > > > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > > > > > > > > > URL to WDMAUDIODEV page: > > > > > http://www.wdmaudiodev.de/ > > > > > > > > > > > > > ****************** > > > > > > > > WDMAUDIODEV addresses: > > > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > > > > Subscribe: > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dsubscribe > > > > Unsubscribe: > > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dunsubscribe > > > > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > > > > > > > URL to WDMAUDIODEV page: > > > > http://www.wdmaudiodev.de/ > > > > > > > > > > > > > > ****************** > > > > > > WDMAUDIODEV addresses: > > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > > > Subscribe: > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dsubscribe > > > Unsubscribe: > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dunsubscribe > > > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > > > > > URL to WDMAUDIODEV page: > > > http://www.wdmaudiodev.de/ > > > > > > > ****************** > > > > WDMAUDIODEV addresses: > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > > Subscribe: > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dsubscribe > > Unsubscribe: > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dunsubscribe > > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > > > URL to WDMAUDIODEV page: > > http://www.wdmaudiodev.de/ > > > > > > ****************** > > WDMAUDIODEV addresses: > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > Subscribe: =3D > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dsubscribe > Unsubscribe:=20 > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3D3Dunsubscribe > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > URL to WDMAUDIODEV page: > http://www.wdmaudiodev.de/ > > ****************** > > WDMAUDIODEV addresses: > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3Dsubscribe > Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3Dunsubscribe > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > URL to WDMAUDIODEV page: > http://www.wdmaudiodev.de/ > ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: = mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3Dsubscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3Dunsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.de/ ****************** 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.de/