mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add native DSD support for Cambridge Audio streamers
@ 2026-10-02 12:52 Matus Gajdos
  2026-10-03  9:11 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Matus Gajdos @ 2026-10-02 12:52 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai; +Cc: linux-sound, linux-kernel, Matus Gajdos

The Cambridge Audio streamer advertises the UAC2 RAW_DATA format on
altsetting 2 of its playback interface, but without the DSD_RAW quirk
flag the driver exposes it only as a SPECIAL format that cannot be
used.

Add QUIRK_FLAG_DSD_RAW for the device (USB ID 22e8:ca10), so the
altsetting is exposed as DSD_U32_BE, enabling native DSD64/128/256
playback.

Tested with: gst-launch-1.0 filesrc location=file.dsf ! \
                            avdemux_dsf ! dsdconvert ! \
                            alsasink device=hw:2,0

Signed-off-by: Matus Gajdos <matuszpd@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 38d78b8345f17..6176acc04c6e9 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2730,6 +2730,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_DSD_RAW),
 	DEVICE_FLG(0x21b4, 0x0232, /* Ayre QX-5 Twenty */
 		   QUIRK_FLAG_DSD_RAW),
+	DEVICE_FLG(0x22e8, 0xca10, /* Cambridge Audio streamers */
+		   QUIRK_FLAG_DSD_RAW),
 	DEVICE_FLG(0x2522, 0x0007, /* LH Labs Geek Out HD Audio 1V5 */
 		   QUIRK_FLAG_SET_IFACE_FIRST),
 	DEVICE_FLG(0x25aa, 0x600b, /* TAE1159 */
-- 
2.43.0


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

* Re: [PATCH] ALSA: usb-audio: Add native DSD support for Cambridge Audio streamers
  2026-10-02 12:52 [PATCH] ALSA: usb-audio: Add native DSD support for Cambridge Audio streamers Matus Gajdos
@ 2026-10-03  9:11 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-10-03  9:11 UTC (permalink / raw)
  To: Matus Gajdos; +Cc: Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel

On Fri, 02 Oct 2026 14:52:37 +0200,
Matus Gajdos wrote:
> 
> The Cambridge Audio streamer advertises the UAC2 RAW_DATA format on
> altsetting 2 of its playback interface, but without the DSD_RAW quirk
> flag the driver exposes it only as a SPECIAL format that cannot be
> used.
> 
> Add QUIRK_FLAG_DSD_RAW for the device (USB ID 22e8:ca10), so the
> altsetting is exposed as DSD_U32_BE, enabling native DSD64/128/256
> playback.
> 
> Tested with: gst-launch-1.0 filesrc location=file.dsf ! \
>                             avdemux_dsf ! dsdconvert ! \
>                             alsasink device=hw:2,0
> 
> Signed-off-by: Matus Gajdos <matuszpd@gmail.com>

Applied now.  Thanks.


Takashi

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

end of thread, other threads:[~2026-10-03  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 12:52 [PATCH] ALSA: usb-audio: Add native DSD support for Cambridge Audio streamers Matus Gajdos
2026-10-03  9:11 ` Takashi Iwai

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®