]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: usb-audio: Add DSD support for iBasso DC04U
authorQihang Guo <v-conet@outlook.com>
Mon, 9 Feb 2026 10:04:18 +0000 (18:04 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Feb 2026 15:07:58 +0000 (16:07 +0100)
Vendor ID 0x0661 is assigned to Hamamatsu Photonics K.K.,
but is used by iBasso for iBasso DC04U (0x0661:0x0883),
which supports native DSD playback.

This patch adds QUIRK_FLAG_DSD_RAW for iBasso DC04U, enabling
native DSD playback (DSD_U32_BE). The change has been verified
on Arch Linux using mpd and pw-cat.

Signed-off-by: Qihang Guo <v-conet@outlook.com>
Link: https://patch.msgid.link/TYYPR01MB14098529E0BD900921BE6F42CF465A@TYYPR01MB14098.jpnprd01.prod.outlook.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c

index e3f737f1838695b1271a3f62a5a8bb417f398de9..86c329632e39683600c264e2799376132197338f 100644 (file)
@@ -2237,6 +2237,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
        DEVICE_FLG(0x0644, 0x806c, /* Esoteric XD */
                   QUIRK_FLAG_ITF_USB_DSD_DAC | QUIRK_FLAG_CTL_MSG_DELAY |
                   QUIRK_FLAG_IFACE_DELAY | QUIRK_FLAG_FORCE_IFACE_RESET),
+       DEVICE_FLG(0x0661, 0x0883, /* iBasso DC04 Ultra */
+                  QUIRK_FLAG_DSD_RAW),
        DEVICE_FLG(0x06f8, 0xb000, /* Hercules DJ Console (Windows Edition) */
                   QUIRK_FLAG_IGNORE_CTL_ERROR),
        DEVICE_FLG(0x06f8, 0xd002, /* Hercules DJ Console (Macintosh Edition) */