ALSA: usb-audio: Enable native DSD for Fosi Audio DS2
PATCH 1/1 ALSA: usb-audio: Enable native DSD for Fosi Audio DS2
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.
--- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+)
sound/usb/quirks.c +2 -0
@@ -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 */
Signature · 1 line
2.56.1
Quoted 12 lines · Gianluca Boiano
The Fosi Audio DS2 (USB ID 262a:0001, Savitech controller with a Cirrus Logic CS43131 DAC) exposes a UAC2
RAW_DATAplayback altsetting (altset 4, bmFormats0x80000000, 32-bit subslot), but ALSA reports it as SPECIAL without theDSD_RAWquirk, 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 asDSD_U32_BEand stereo DSD64, DSD128 and DSD256 streams (88200, 176400 and 352800 frames/s) play through it.
Quoted 4 lines
Tested using snd-usb-audio quirk_flags=262a:0001:DSD_RAW on Linux 7.3.5.
Signed-off-by Gianluca Boiano <[email protected]>
Applied now. Thanks.
Takashi