From: Xinyu Wei <xinyuwei1024@gmail.com>
To: Jaroslav Kysela <perex@perex.cz>,
linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
Takashi Iwai <tiwai@suse.com>
Cc: Xinyu Wei <xinyuwei1024@gmail.com>
Subject: [PATCH 1/2] ALSA: usb-audio: name the interfaces of the Steinberg UR22C
Date: Sun, 8 Nov 2026 21:03:02 +0800 [thread overview]
Message-ID: <20261108130303.387288-2-xinyuwei1024@gmail.com> (raw)
In-Reply-To: <20261108130303.387288-1-xinyuwei1024@gmail.com>
Configuration 2 of the Steinberg UR22C (0499:172f) exposes 6 playback
and 8 capture channels over standard UAC2 descriptors with
bInterfaceClass set to 0xFF.
Because the interfaces are vendor-class, they fall into the Yamaha
catch-all entry and QUIRK_AUTODETECT fails to set them up:
create_auto_pcm_quirk() rejects 6-byte UAC2 format descriptors, and
interface 0 (audiocontrol, 1 altsetting, 0 endpoints) is rejected by
both auto-PCM and auto-MIDI paths, leaving interfaces 0-2 unbound with
no PCM registered.
Add a USB_DEVICE_VENDOR_SPEC composite entry before the Yamaha catch-all:
- interface 0: QUIRK_DATA_STANDARD_MIXER
- interfaces 1, 2: QUIRK_DATA_STANDARD_AUDIO (6-ch playback, 8-ch capture)
- interfaces 3, 4: QUIRK_DATA_MIDI_YAMAHA (DIN MIDI and DSP mixer
control; both carry Yamaha-style CS_INTERFACE jack descriptors with
no CS_ENDPOINT descriptor)
Configuration 1 uses bInterfaceClass 0x01 and is unaffected. The
existing IMPLICIT_FB_FIXED_DEV(0x0499, 0x172f, 0x81, 2) entry in
implicit.c applies to both configurations unchanged.
Signed-off-by: Xinyu Wei <xinyuwei1024@gmail.com>
---
sound/usb/quirks-table.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index e85eeb536..cc2c1317a 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -455,6 +455,20 @@ YAMAHA_DEVICE(0x7000, "DTX"),
YAMAHA_DEVICE(0x7010, "UB99"),
#undef YAMAHA_DEVICE
#undef YAMAHA_INTERFACE
+/* Steinberg UR22C (configuration 2) */
+{
+ USB_DEVICE_VENDOR_SPEC(0x0499, 0x172f),
+ QUIRK_DRIVER_INFO {
+ QUIRK_DATA_COMPOSITE {
+ { QUIRK_DATA_STANDARD_MIXER(0) },
+ { QUIRK_DATA_STANDARD_AUDIO(1) },
+ { QUIRK_DATA_STANDARD_AUDIO(2) },
+ { QUIRK_DATA_MIDI_YAMAHA(3) },
+ { QUIRK_DATA_MIDI_YAMAHA(4) },
+ QUIRK_COMPOSITE_END
+ }
+ }
+},
/* this catches most recent vendor-specific Yamaha devices */
{
.match_flags = USB_DEVICE_ID_MATCH_VENDOR |
--
2.56.0
next prev parent reply other threads:[~2026-11-08 13:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 13:03 [PATCH 0/2] ALSA: usb-audio: second configuration of the Steinberg UR22C Xinyu Wei
2026-11-08 13:03 ` Xinyu Wei [this message]
2026-11-08 13:03 ` [PATCH 2/2] ALSA: usb-audio: fix the format bits " Xinyu Wei
2026-11-09 14:08 ` [PATCH 0/2] ALSA: usb-audio: second configuration " Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261108130303.387288-2-xinyuwei1024@gmail.com \
--to=xinyuwei1024@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.