Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Enable native DSD for iBasso Macaron
@ 2026-11-24  9:00 Sophiel Zhou
  2026-11-24 12:45 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Sophiel Zhou @ 2026-11-24  9:00 UTC (permalink / raw)
  To: linux-sound; +Cc: Jaroslav Kysela, Takashi Iwai, Sophiel Zhou

The iBasso Macaron (USB ID 262a:1a0b) exposes a UAC2 RAW_DATA
playback altsetting (altset 4, bmFormats 0x80000000, 32-bit
subslot), but ALSA reports it as SPECIAL without the DSD_RAW
quirk, preventing native DSD playback.

Add the device to the quirk flags table with QUIRK_FLAG_DSD_RAW.
This makes the altsetting available as DSD_U32_BE.

Tested with quirk_flags=262a:1a0b:dsd_raw and with the quirk
enabled through the device table entry. DSD256 playback works.

Signed-off-by: Sophiel Zhou <sophiel@zzy040330.moe>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index a4eb0d0cd..36d5ed028 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2803,6 +2803,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x262a, 0x9302, /* ddHiFi TC44C */
 		   QUIRK_FLAG_DSD_RAW),
+	DEVICE_FLG(0x262a, 0x1a0b, /* iBasso Macaron */
+		   QUIRK_FLAG_DSD_RAW),
 	DEVICE_FLG(0x2772, 0x0502, /* Musical Fidelity M6s DAC */
 		   0), /* for avoiding QUIRK_FLAG_DSD_RAW with vendor match */
 	DEVICE_FLG(0x2912, 0x30c8, /* Audioengine D1 */
-- 
2.56.0


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

end of thread, other threads:[~2026-11-24 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  9:00 [PATCH] ALSA: usb-audio: Enable native DSD for iBasso Macaron Sophiel Zhou
2026-11-24 12:45 ` Takashi Iwai

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