ALSA: usb-audio: Add generic implicit feedback quirk for Elgato XLR Dock
PATCH v2 1/1 ALSA: usb-audio: Add generic implicit feedback quirk for Elgato XLR Dock
The Elgato XLR Dock (0fd9:00a6) returns digital silence from its microphone when the playback stream is started before the capture stream. Starting capture first works.
Enforcing the generic implicit feedback mode (quirk_flags=0fd9:00a6:0x20000) fixes it: with the flag set, capture returned valid data in both start orders, while without it every playback-first trial captured 0 nonzero samples.
Add a quirk entry for the device.
---
v2: resent with git send-email; v1 was whitespace-damaged by my mailer.
sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+)
sound/usb/quirks.c +2 -0
@@ -2681,6 +2681,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_FIXED_RATE),DEVICE_FLG (0x0fd9 ,0x0008 ,/* Hauppauge HVR-950Q */ QUIRK_FLAG_SHARE_MEDIA_DEVICE |QUIRK_FLAG_ALIGN_TRANSFER ), +DEVICE_FLG (0x0fd9 ,0x00a6 ,/* Elgato XLR Dock */ +QUIRK_FLAG_GENERIC_IMPLICIT_FB ),DEVICE_FLG (0x1038 ,0x1294 ,/* SteelSeries Arctis Pro Wireless */ QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE ), DEVICE_FLG(0x1101, 0x0003, /* Audioengine D1 */
Signature · 1 line
2.56.0
Quoted 10 lines · James Barnette
The Elgato XLR Dock (0fd9:00a6) returns digital silence from its microphone when the playback stream is started before the capture stream. Starting capture first works.
Enforcing the generic implicit feedback mode (quirk_flags=0fd9:00a6:0x20000) fixes it: with the flag set, capture returned valid data in both start orders, while without it every playback-first trial captured 0 nonzero samples.
Quoted 4 lines
Add a quirk entry for the device.
Suggested-by Takashi Iwai <[email protected]>Signed-off-by James Barnette <[email protected]>
Applied now. Thanks.
Takashi