Skip to content

Commit 7501f47

Browse files
geraldogtiwai
authored andcommitted
ALSA: usb-audio: Add quirk for Pioneer DDJ-800
One more Pioneer quirk, this time for DDJ-800, which is quite similar like other DJ DDJ models but with slightly different EPs or channels. Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com> Tested-by: Grégory Desor <gregory.desor@free.fr> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/ZFLLzgEcsSF5aIHG@geday Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent e7477cb commit 7501f47

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

sound/usb/quirks-table.h

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3884,6 +3884,64 @@ YAMAHA_DEVICE(0x7010, "UB99"),
38843884
}
38853885
},
38863886

3887+
{
3888+
/*
3889+
* PIONEER DJ DDJ-800
3890+
* PCM is 6 channels out, 6 channels in @ 44.1 fixed
3891+
* The Feedback for the output is the input
3892+
*/
3893+
USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0029),
3894+
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3895+
.ifnum = QUIRK_ANY_INTERFACE,
3896+
.type = QUIRK_COMPOSITE,
3897+
.data = (const struct snd_usb_audio_quirk[]) {
3898+
{
3899+
.ifnum = 0,
3900+
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
3901+
.data = &(const struct audioformat) {
3902+
.formats = SNDRV_PCM_FMTBIT_S24_3LE,
3903+
.channels = 6,
3904+
.iface = 0,
3905+
.altsetting = 1,
3906+
.altset_idx = 1,
3907+
.endpoint = 0x01,
3908+
.ep_attr = USB_ENDPOINT_XFER_ISOC|
3909+
USB_ENDPOINT_SYNC_ASYNC,
3910+
.rates = SNDRV_PCM_RATE_44100,
3911+
.rate_min = 44100,
3912+
.rate_max = 44100,
3913+
.nr_rates = 1,
3914+
.rate_table = (unsigned int[]) { 44100 }
3915+
}
3916+
},
3917+
{
3918+
.ifnum = 0,
3919+
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
3920+
.data = &(const struct audioformat) {
3921+
.formats = SNDRV_PCM_FMTBIT_S24_3LE,
3922+
.channels = 6,
3923+
.iface = 0,
3924+
.altsetting = 1,
3925+
.altset_idx = 1,
3926+
.endpoint = 0x82,
3927+
.ep_idx = 1,
3928+
.ep_attr = USB_ENDPOINT_XFER_ISOC|
3929+
USB_ENDPOINT_SYNC_ASYNC|
3930+
USB_ENDPOINT_USAGE_IMPLICIT_FB,
3931+
.rates = SNDRV_PCM_RATE_44100,
3932+
.rate_min = 44100,
3933+
.rate_max = 44100,
3934+
.nr_rates = 1,
3935+
.rate_table = (unsigned int[]) { 44100 }
3936+
}
3937+
},
3938+
{
3939+
.ifnum = -1
3940+
}
3941+
}
3942+
}
3943+
},
3944+
38873945
/*
38883946
* MacroSilicon MS2100/MS2106 based AV capture cards
38893947
*

0 commit comments

Comments
 (0)