mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add generic implicit feedback quirk for Elgato Wave:3
@ 2026-11-24 21:20 Dennis Rijsdijk via B4 Relay
  2026-11-25  6:53 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Dennis Rijsdijk via B4 Relay @ 2026-11-24 21:20 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai; +Cc: linux-sound, linux-kernel, Dennis Rijsdijk

From: Dennis Rijsdijk <hello@dennis.gg>

The Elgato Wave:3 (0fd9:0070) records digital silence from its
microphone when capture is started while playback to its headphone
jack is already running. Starting capture first works. With PipeWire
this makes the microphone go silent when an application starts
recording while audio is playing.

The Elgato XLR Dock had the same problem and was fixed by enforcing the
generic implicit feedback mode. The same flag fixes the Wave:3: with it,
capture returns audio in both start orders. One case remains at 96 kHz,
which the device advertises but Elgato's specifications do not list
(only 48 kHz): when playback starts first right after the device ran at
48 kHz, capture is still occasionally silent (2 of 10 tries, against
every try without the flag). At a steady rate, and at 48 kHz in all
cases tried, it did not happen.

Add a quirk entry for the device.

The patch and this description were prepared with an AI coding
assistant (Claude Code, Claude Opus 5.5); I reproduced the problem and
tested the fix on the device.

Link: https://lore.kernel.org/all/CAOUQ8cqoTYm-0xeh1jk6bPo7Qd81+rFBz+my-ByMudzZ_6E0wQ@mail.gmail.com/
Signed-off-by: Dennis Rijsdijk <hello@dennis.gg>
---
Tested on v7.4-rc4 with the stock driver and
quirk_flags=0fd9:0070:generic_implicit_fb (same effect as this entry),
Wave:3 firmware bcdDevice 1.24. Silence below means all-zero samples.

- aplay/arecord on hw: directly, playback started first:
  - 48 kHz: silent every time without the flag; with it, 0 silent in 60+
    starts, also right after the device ran at 96 kHz.
  - 96 kHz: silent without the flag; with it, 0 silent in 30 starts at a
    steady rate, but 2 of 10 silent when a 48 kHz stream ran just before
    (and 4 of 23 in runs where WirePlumber reopened the device at 48 kHz
    in between).
  - Capture-first, and stopping/restarting playback during capture, had
    audio throughout at both rates.
- PipeWire 1.6.10: capture started while music played had audio in 6/6
  tries at 48 kHz and 8/8 with the clock forced to 96 kHz (it was silent
  every time before), and after a WirePlumber restart.
- No audible glitches on the headphones during listening sessions.

Unrelated to this patch, also without the flag: at 96 kHz the first
~12 ms of a capture that starts the endpoint are full-scale noise; this
does not happen at 48 kHz.
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index bcc93e50b..bd00db820 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2684,6 +2684,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, 0x0070, /* Elgato Wave:3 */
+		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
 	DEVICE_FLG(0x0fd9, 0x00a6, /* Elgato XLR Dock */
 		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
 	DEVICE_FLG(0x1038, 0x1294, /* SteelSeries Arctis Pro Wireless */

---
base-commit: c3c132d63840093a3ca4bd09e7434614c1bd07e3
change-id: 20261124-b4-implicit-fb-fd9ad08bf5de

Best regards,
--  
Dennis Rijsdijk <hello@dennis.gg>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add generic implicit feedback quirk for Elgato Wave:3
  2026-11-24 21:20 [PATCH] ALSA: usb-audio: Add generic implicit feedback quirk for Elgato Wave:3 Dennis Rijsdijk via B4 Relay
@ 2026-11-25  6:53 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-11-25  6:53 UTC (permalink / raw)
  To: hello; +Cc: Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel

On Tue, 24 Nov 2026 22:20:43 +0100,
Dennis Rijsdijk via B4 Relay wrote:
> 
> From: Dennis Rijsdijk <hello@dennis.gg>
> 
> The Elgato Wave:3 (0fd9:0070) records digital silence from its
> microphone when capture is started while playback to its headphone
> jack is already running. Starting capture first works. With PipeWire
> this makes the microphone go silent when an application starts
> recording while audio is playing.
> 
> The Elgato XLR Dock had the same problem and was fixed by enforcing the
> generic implicit feedback mode. The same flag fixes the Wave:3: with it,
> capture returns audio in both start orders. One case remains at 96 kHz,
> which the device advertises but Elgato's specifications do not list
> (only 48 kHz): when playback starts first right after the device ran at
> 48 kHz, capture is still occasionally silent (2 of 10 tries, against
> every try without the flag). At a steady rate, and at 48 kHz in all
> cases tried, it did not happen.
> 
> Add a quirk entry for the device.
> 
> The patch and this description were prepared with an AI coding
> assistant (Claude Code, Claude Opus 5.5); I reproduced the problem and
> tested the fix on the device.
> 
> Link: https://lore.kernel.org/all/CAOUQ8cqoTYm-0xeh1jk6bPo7Qd81+rFBz+my-ByMudzZ_6E0wQ@mail.gmail.com/
> Signed-off-by: Dennis Rijsdijk <hello@dennis.gg>

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-25  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 21:20 [PATCH] ALSA: usb-audio: Add generic implicit feedback quirk for Elgato Wave:3 Dennis Rijsdijk via B4 Relay
2026-11-25  6:53 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®