diff options
| author | Riley <riley.redeker@gmail.com> | 2026-11-04 11:39:38 +1100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-11-05 08:54:46 +0100 |
| commit | e7c66b3e249e2a1d2462703a6d3820a9af3eefc0 (patch) | |
| tree | bd8371f4b82e2d8a707cfbbaf2999d886bf0ccd3 /scripts/stackusage | |
| parent | 9017bc3d13da0ea4e63be618c87143a7b69185e6 (diff) | |
ALSA: usb-audio: Add quirk for Yamaha ZG02
The Yamaha ZG02 game streaming mixer (0499:1516) exposes UAC2 audio
streaming interfaces with a vendor-specific interface class. Only its
MIDI interfaces get bound today: the Yamaha catch-all QUIRK_AUTODETECT
entry rejects the PCM interfaces because create_auto_pcm_quirk()
expects a UAC1-sized FORMAT_TYPE descriptor (bLength >= 8), while the
ZG02 has the 6-byte UAC2 one. As a result no PCM device is created.
The interface layout matches the Steinberg UR22 (0499:1509):
0: UAC2 AudioControl (vendor class), clock source ID 1
1: playback, 10ch S32_LE 48kHz, async isochronous OUT
2: capture, 4ch, isochronous IN used as implicit feedback
3: Yamaha MIDI
4: vendor bulk interface
Add the same composite quirk and QUIRK_FLAG_GENERIC_IMPLICIT_FB for
it. The generic UAC2 implicit feedback detection does not apply here
because it requires USB_CLASS_AUDIO.
Tested on a 7.3 kernel with this patch applied (no quirk_alias): the
card registers as USB0499:1516, implicit feedback is set up from EP
0x81, and playback (voice chat and game buses) and capture (microphone)
work. The full channel mapping (playback 1-2 voice chat bus, 3-10 game
bus; capture 1-2 streaming mix, 3-4 microphone) was verified with
quirk_alias=04991516:04991509, which applies the same quirk and flag
entries.
Assisted-by: Claude Opus 5.5
Signed-off-by: Riley <riley.redeker@gmail.com>
Link: https://patch.msgid.link/20261104-yamaha-zg02-v1-1-3fd61b8c564f@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
