Skip to content

Commit c22ac2e

Browse files
committed
add more USB DAC support
This patch is come from volumio and thanks for the info from volumio Change-Id: I85a07e2c22a8afdb85ffd7de00b68e15855252f3 Reviewed-on: https://tp-biosrd-v02/gerrit/82847 Reviewed-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com> Tested-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com>
1 parent 83a5c9e commit c22ac2e

1 file changed

Lines changed: 35 additions & 14 deletions

File tree

sound/usb/quirks.c

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,22 +1304,43 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
13041304

13051305
/* XMOS based USB DACs */
13061306
switch (chip->usb_id) {
1307-
case USB_ID(0x20b1, 0x3008): /* iFi Audio micro/nano iDSD */
1308-
case USB_ID(0x20b1, 0x2008): /* Matrix Audio X-Sabre */
1309-
case USB_ID(0x20b1, 0x300a): /* Matrix Audio Mini-i Pro */
1310-
case USB_ID(0x22d9, 0x0416): /* OPPO HA-1 */
1311-
case USB_ID(0x2772, 0x0230): /* Pro-Ject Pre Box S2 Digital */
1312-
if (fp->altsetting == 2)
1313-
return SNDRV_PCM_FMTBIT_DSD_U32_BE;
1307+
case USB_ID(0x20b1, 0x3008): /* iFi Audio micro/nano iDSD */
1308+
case USB_ID(0x20b1, 0x2008): /* Matrix Audio X-Sabre */
1309+
case USB_ID(0x20b1, 0x300a): /* Matrix Audio Mini-i Pro */
1310+
case USB_ID(0x20b1, 0x302a): /* Matrix Audio Quattro II */
1311+
case USB_ID(0x22d9, 0x0416): /* OPPO HA-1 */
1312+
case USB_ID(0x22d9, 0x0426): /* OPPO HA-2 */
1313+
case USB_ID(0x2772, 0x0230): /* Pro-Ject Pre Box S2 Digital */
1314+
case USB_ID(0x2522, 0x0012): /* LH Labs VI DAC Infinity */
1315+
case USB_ID(0x1511, 0x0037): /* AURALiC VEGA */
1316+
case USB_ID(0x20b1, 0x0002): /* Wyred 4 Sound DAC-2 DSD */
1317+
case USB_ID(0x2622, 0x0666): /* QUAD Artera */
1318+
case USB_ID(0x25ce, 0x001f): /* Mytek Brooklyn DAC */
1319+
case USB_ID(0x22d9, 0x0436): /* OPPO Sonica */
1320+
if (fp->altsetting == 2)
1321+
return SNDRV_PCM_FMTBIT_DSD_U32_BE;
13141322
break;
13151323

1316-
case USB_ID(0x20b1, 0x000a): /* Gustard DAC-X20U */
1317-
case USB_ID(0x20b1, 0x2009): /* DIYINHK DSD DXD 384kHz USB to I2S/DSD */
1318-
case USB_ID(0x20b1, 0x2023): /* JLsounds I2SoverUSB */
1319-
case USB_ID(0x20b1, 0x3023): /* Aune X1S 32BIT/384 DSD DAC */
1320-
case USB_ID(0x2616, 0x0106): /* PS Audio NuWave DAC */
1321-
if (fp->altsetting == 3)
1322-
return SNDRV_PCM_FMTBIT_DSD_U32_BE;
1324+
case USB_ID(0x20b1, 0x000a): /* Gustard DAC-X20U */
1325+
case USB_ID(0x20b1, 0x2009): /* DIYINHK DSD DXD 384kHz USB to I2S/DSD */
1326+
case USB_ID(0x20b1, 0x2023): /* JLsounds I2SoverUSB */
1327+
case USB_ID(0x20b1, 0x3023): /* Aune X1S 32BIT/384 DSD DAC */
1328+
case USB_ID(0x2616, 0x0106): /* PS Audio NuWave DAC */
1329+
case USB_ID(0x6b42, 0x0042): /* MSB Technology */
1330+
case USB_ID(0x20a0, 0x4143): /* WaveIO USB Audio 2.0 */
1331+
case USB_ID(0x20b1, 0x3073): /* Soekris dac1101 */
1332+
case USB_ID(0x20b1, 0x2005): /* Denafrips DAC */
1333+
case USB_ID(0x16d0, 0x0733): /* Furutech ADL Stratos */
1334+
case USB_ID(0x22e1, 0xca01): /* HDTA Serenade DSD */
1335+
case USB_ID(0x2622, 0x0041): /* Audiolab M-DAC+ */
1336+
case USB_ID(0x1db5, 0x0003): /* Bryston BDA3 */
1337+
case USB_ID(0x20b1, 0x302d): /* Unison Research Unico CD Due */
1338+
case USB_ID(0x16b0, 0x06b2): /* NuPrime DAC-10 */
1339+
case USB_ID(0x20b1, 0x3036): /* Holo Springs Level 3 R2R DAC */
1340+
case USB_ID(0x20b1, 0x300f): /* Engineered Electronics Stereo Playback Interface */
1341+
case USB_ID(0x20b1, 0x3021): /* Eastern El. MiniMax Tube DAC Supreme */
1342+
if (fp->altsetting == 3)
1343+
return SNDRV_PCM_FMTBIT_DSD_U32_BE;
13231344
break;
13241345
default:
13251346
break;

0 commit comments

Comments
 (0)