mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gianluca Boiano <morf3089@gmail.com>
To: Takashi Iwai <tiwai@suse.com>
Cc: Jaroslav Kysela <perex@perex.cz>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ALSA: usb-audio: Enable native DSD for Fosi Audio DS2
Date: Mon, 23 Nov 2026 02:14:01 +0100	[thread overview]
Message-ID: <20261123011401.1545242-1-morf3089@gmail.com> (raw)

The Fosi Audio DS2 (USB ID 262a:0001, Savitech controller with a
Cirrus Logic CS43131 DAC) 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, as
already done for the ddHiFi TC44C (262a:9302) using the same vendor's
controller. With the quirk enabled, altset 4 is exposed as DSD_U32_BE
and stereo DSD64, DSD128 and DSD256 streams (88200, 176400 and 352800
frames/s) play through it.

Tested using snd-usb-audio quirk_flags=262a:0001:DSD_RAW on
Linux 7.3.5.

Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index a4eb0d0cd..7b359a568 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2801,6 +2801,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_SET_IFACE_FIRST),
 	DEVICE_FLG(0x25aa, 0x600b, /* TAE1159 */
 		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
+	DEVICE_FLG(0x262a, 0x0001, /* Fosi Audio DS2 */
+		   QUIRK_FLAG_DSD_RAW),
 	DEVICE_FLG(0x262a, 0x9302, /* ddHiFi TC44C */
 		   QUIRK_FLAG_DSD_RAW),
 	DEVICE_FLG(0x2772, 0x0502, /* Musical Fidelity M6s DAC */
-- 
2.56.1


                 reply	other threads:[~2026-11-23  1:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261123011401.1545242-1-morf3089@gmail.com \
    --to=morf3089@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 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®