Skip to content

Commit 6411397

Browse files
bundabrggregkh
authored andcommitted
ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
commit 3c414eb upstream. As per discussion at: szszoke/sennheiser-gsp670-pulseaudio-profile#13 The GSP670 has 2 playback and 1 recording device that by default are detected in an incompatible order for alsa. This may have been done to make it compatible for the console by the manufacturer and only affects the latest firmware which uses its own ID. This quirk will resolve this by reordering the channels. Signed-off-by: Brendan Grieve <brendan@grieve.com.au> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20211015025335.196592-1-brendan@grieve.com.au Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b721500 commit 6411397

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

‎sound/usb/quirks-table.h‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3698,6 +3698,38 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
36983698
}
36993699
}
37003700
},
3701+
{
3702+
/*
3703+
* Sennheiser GSP670
3704+
* Change order of interfaces loaded
3705+
*/
3706+
USB_DEVICE(0x1395, 0x0300),
3707+
.bInterfaceClass = USB_CLASS_PER_INTERFACE,
3708+
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3709+
.ifnum = QUIRK_ANY_INTERFACE,
3710+
.type = QUIRK_COMPOSITE,
3711+
.data = &(const struct snd_usb_audio_quirk[]) {
3712+
// Communication
3713+
{
3714+
.ifnum = 3,
3715+
.type = QUIRK_AUDIO_STANDARD_INTERFACE
3716+
},
3717+
// Recording
3718+
{
3719+
.ifnum = 4,
3720+
.type = QUIRK_AUDIO_STANDARD_INTERFACE
3721+
},
3722+
// Main
3723+
{
3724+
.ifnum = 1,
3725+
.type = QUIRK_AUDIO_STANDARD_INTERFACE
3726+
},
3727+
{
3728+
.ifnum = -1
3729+
}
3730+
}
3731+
}
3732+
},
37013733

37023734
#undef USB_DEVICE_VENDOR_SPEC
37033735
#undef USB_AUDIO_DEVICE

0 commit comments

Comments
 (0)