* [PATCH] ALSA: usb-audio: Add native DSD quirks for PureAudio DAC series
@ 2025-11-14 5:20 Lushih Hsieh
2025-11-14 13:19 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Lushih Hsieh @ 2025-11-14 5:20 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: Takashi Iwai, linux-sound
The PureAudio APA DAC and Lotus DAC5 series are USB Audio
2.0 Class devices that support native Direct Stream Digital (DSD)
playback via specific vendor protocols.
Without these quirks, the devices may only function in standard
PCM mode, or fail to correctly report their DSD format capabilities
to the ALSA framework, preventing native DSD playback under Linux.
This commit adds new quirk entries for the mentioned DAC models
based on their respective Vendor/Product IDs (VID:PID), for example:
0x16d0:0x0ab1 (APA DAC), 0x16d0:0xeca1 (DAC5 series), etc.
The quirk ensures correct DSD format handling by setting the required
SNDRV_PCM_FMTBIT_DSD_U32_BE format bit and defining the DSD-specific
Audio Class 2.0 (AC2.0) endpoint configurations. This allows the ALSA
DSD API to correctly address the device for high-bitrate DSD streams,
bypassing the need for DoP (DSD over PCM).
Test on APA DAC and Lotus DAC5 SE under Arch Linux.
Tested-by: Lushih Hsieh <bruce@mail.kh.edu.tw>
Signed-off-by: Lushih Hsieh <bruce@mail.kh.edu.tw>
---
sound/usb/quirks.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 71638e6dfb20..999122b76351 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2022,6 +2022,8 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
case USB_ID(0x16d0, 0x09d8): /* NuPrime IDA-8 */
case USB_ID(0x16d0, 0x09db): /* NuPrime Audio DAC-9 */
case USB_ID(0x16d0, 0x09dd): /* Encore mDSD */
+ case USB_ID(0x16d0, 0x0ab1): /* PureAudio APA DAC */
+ case USB_ID(0x16d0, 0xeca1): /* PureAudio Lotus DAC5, DAC5 SE, DAC5 Pro */
case USB_ID(0x1db5, 0x0003): /* Bryston BDA3 */
case USB_ID(0x20a0, 0x4143): /* WaveIO USB Audio 2.0 */
case USB_ID(0x22e1, 0xca01): /* HDTA Serenade DSD */
@@ -2297,6 +2299,10 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
QUIRK_FLAG_IGNORE_CLOCK_SOURCE),
DEVICE_FLG(0x1686, 0x00dd, /* Zoom R16/24 */
QUIRK_FLAG_TX_LENGTH | QUIRK_FLAG_CTL_MSG_DELAY_1M),
+ DEVICE_FLG(0x16d0, 0x0ab1, /* PureAudio APA DAC */
+ QUIRK_FLAG_DSD_RAW),
+ DEVICE_FLG(0x16d0, 0xeca1, /* PureAudio Lotus DAC5, DAC5 SE and DAC5 Pro */
+ QUIRK_FLAG_DSD_RAW),
DEVICE_FLG(0x17aa, 0x1046, /* Lenovo ThinkStation P620 Rear Line-in, Line-out and Microphone */
QUIRK_FLAG_DISABLE_AUTOSUSPEND),
DEVICE_FLG(0x17aa, 0x104d, /* Lenovo ThinkStation P620 Internal Speaker + Front Headset */
--
2.51.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: usb-audio: Add native DSD quirks for PureAudio DAC series
2025-11-14 5:20 [PATCH] ALSA: usb-audio: Add native DSD quirks for PureAudio DAC series Lushih Hsieh
@ 2025-11-14 13:19 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-11-14 13:19 UTC (permalink / raw)
To: Lushih Hsieh; +Cc: Jaroslav Kysela, Takashi Iwai, linux-sound
On Fri, 14 Nov 2025 06:20:53 +0100,
Lushih Hsieh wrote:
>
> The PureAudio APA DAC and Lotus DAC5 series are USB Audio
> 2.0 Class devices that support native Direct Stream Digital (DSD)
> playback via specific vendor protocols.
>
> Without these quirks, the devices may only function in standard
> PCM mode, or fail to correctly report their DSD format capabilities
> to the ALSA framework, preventing native DSD playback under Linux.
>
> This commit adds new quirk entries for the mentioned DAC models
> based on their respective Vendor/Product IDs (VID:PID), for example:
> 0x16d0:0x0ab1 (APA DAC), 0x16d0:0xeca1 (DAC5 series), etc.
>
> The quirk ensures correct DSD format handling by setting the required
> SNDRV_PCM_FMTBIT_DSD_U32_BE format bit and defining the DSD-specific
> Audio Class 2.0 (AC2.0) endpoint configurations. This allows the ALSA
> DSD API to correctly address the device for high-bitrate DSD streams,
> bypassing the need for DoP (DSD over PCM).
>
> Test on APA DAC and Lotus DAC5 SE under Arch Linux.
>
> Tested-by: Lushih Hsieh <bruce@mail.kh.edu.tw>
>
> Signed-off-by: Lushih Hsieh <bruce@mail.kh.edu.tw>
Thanks, applied now.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-14 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14 5:20 [PATCH] ALSA: usb-audio: Add native DSD quirks for PureAudio DAC series Lushih Hsieh
2025-11-14 13:19 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox