1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * ALSA USB Audio Driver
5 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
6 * Clemens Ladisch <clemens@ladisch.de>
10 * The contents of this file are part of the driver's id_table.
12 * In a perfect world, this file would be empty.
16 * Use this for devices where other interfaces are standard compliant,
17 * to prevent the quirk being applied to those interfaces. (To work with
18 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
20 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
21 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
22 USB_DEVICE_ID_MATCH_PRODUCT | \
23 USB_DEVICE_ID_MATCH_INT_CLASS, \
26 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
28 /* A standard entry matching with vid/pid and the audio class/subclass */
29 #define USB_AUDIO_DEVICE(vend, prod) \
30 .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
31 USB_DEVICE_ID_MATCH_INT_CLASS | \
32 USB_DEVICE_ID_MATCH_INT_SUBCLASS, \
35 .bInterfaceClass = USB_CLASS_AUDIO, \
36 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
38 /* Quirk .driver_info, followed by the definition of the quirk entry;
39 * put like QUIRK_DRIVER_INFO { ... } in each entry of the quirk table
41 #define QUIRK_DRIVER_INFO \
42 .driver_info = (unsigned long)&(const struct snd_usb_audio_quirk)
45 * Macros for quirk data entries
48 /* Quirk data entry for ignoring the interface */
49 #define QUIRK_DATA_IGNORE(_ifno) \
50 .ifnum = (_ifno), .type = QUIRK_IGNORE_INTERFACE
51 /* Quirk data entry for a standard audio interface */
52 #define QUIRK_DATA_STANDARD_AUDIO(_ifno) \
53 .ifnum = (_ifno), .type = QUIRK_AUDIO_STANDARD_INTERFACE
54 /* Quirk data entry for a standard MIDI interface */
55 #define QUIRK_DATA_STANDARD_MIDI(_ifno) \
56 .ifnum = (_ifno), .type = QUIRK_MIDI_STANDARD_INTERFACE
57 /* Quirk data entry for a standard mixer interface */
58 #define QUIRK_DATA_STANDARD_MIXER(_ifno) \
59 .ifnum = (_ifno), .type = QUIRK_AUDIO_STANDARD_MIXER
61 /* Quirk data entry for Yamaha MIDI */
62 #define QUIRK_DATA_MIDI_YAMAHA(_ifno) \
63 .ifnum = (_ifno), .type = QUIRK_MIDI_YAMAHA
64 /* Quirk data entry for Edirol UAxx */
65 #define QUIRK_DATA_EDIROL_UAXX(_ifno) \
66 .ifnum = (_ifno), .type = QUIRK_AUDIO_EDIROL_UAXX
67 /* Quirk data entry for raw bytes interface */
68 #define QUIRK_DATA_RAW_BYTES(_ifno) \
69 .ifnum = (_ifno), .type = QUIRK_MIDI_RAW_BYTES
71 /* Quirk composite array terminator */
72 #define QUIRK_COMPOSITE_END { .ifnum = -1 }
74 /* Quirk data entry for composite quirks;
75 * followed by the quirk array that is terminated with QUIRK_COMPOSITE_END
76 * e.g. QUIRK_DATA_COMPOSITE { { quirk1 }, { quirk2 },..., QUIRK_COMPOSITE_END }
78 #define QUIRK_DATA_COMPOSITE \
79 .ifnum = QUIRK_ANY_INTERFACE, \
80 .type = QUIRK_COMPOSITE, \
81 .data = &(const struct snd_usb_audio_quirk[])
83 /* Quirk data entry for a fixed audio endpoint;
84 * followed by audioformat definition
85 * e.g. QUIRK_DATA_AUDIOFORMAT(n) { .formats = xxx, ... }
87 #define QUIRK_DATA_AUDIOFORMAT(_ifno) \
89 .type = QUIRK_AUDIO_FIXED_ENDPOINT, \
90 .data = &(const struct audioformat)
92 /* Quirk data entry for a fixed MIDI endpoint;
93 * followed by snd_usb_midi_endpoint_info definition
94 * e.g. QUIRK_DATA_MIDI_FIXED_ENDPOINT(n) { .out_cables = x, .in_cables = y }
96 #define QUIRK_DATA_MIDI_FIXED_ENDPOINT(_ifno) \
98 .type = QUIRK_MIDI_FIXED_ENDPOINT, \
99 .data = &(const struct snd_usb_midi_endpoint_info)
100 /* Quirk data entry for a MIDIMAN MIDI endpoint */
101 #define QUIRK_DATA_MIDI_MIDIMAN(_ifno) \
103 .type = QUIRK_MIDI_MIDIMAN, \
104 .data = &(const struct snd_usb_midi_endpoint_info)
105 /* Quirk data entry for a EMAGIC MIDI endpoint */
106 #define QUIRK_DATA_MIDI_EMAGIC(_ifno) \
108 .type = QUIRK_MIDI_EMAGIC, \
109 .data = &(const struct snd_usb_midi_endpoint_info)
112 * Here we go... the quirk table definition begins:
117 USB_DEVICE(0x0403, 0xb8d8),
119 /* .vendor_name = "STARR LABS", */
120 /* .product_name = "Starr Labs MIDI USB device", */
122 .type
= QUIRK_MIDI_FTDI
128 USB_DEVICE(0x041e, 0x0005),
130 QUIRK_DATA_AUDIOFORMAT(1) {
131 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
137 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
139 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
147 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f02) },
149 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f04) },
150 /* E-Mu Tracker Pre */
151 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f0a) },
153 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f19) },
154 /* Ktmicro Usb_audio device */
155 { USB_DEVICE_VENDOR_SPEC(0x31b2, 0x0011) },
158 * Creative Technology, Ltd Live! Cam Sync HD [VF0770]
159 * The device advertises 8 formats, but only a rate of 48kHz is honored by the
160 * hardware and 24 bits give chopped audio, so only report the one working
164 USB_AUDIO_DEVICE(0x041e, 0x4095),
166 QUIRK_DATA_COMPOSITE
{
167 { QUIRK_DATA_STANDARD_MIXER(2) },
169 QUIRK_DATA_AUDIOFORMAT(3) {
170 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
178 .rates
= SNDRV_PCM_RATE_48000
,
182 .rate_table
= (unsigned int[]) { 48000 },
192 * When not ignored, causes instability issues for some users, forcing them to
193 * skip the entire module.
196 USB_DEVICE(0x0424, 0xb832),
198 .vendor_name
= "Standard Microsystems Corp.",
199 .product_name
= "HP Wireless Audio",
200 QUIRK_DATA_COMPOSITE
{
202 { QUIRK_DATA_IGNORE(0) },
204 { QUIRK_DATA_IGNORE(1) },
206 { QUIRK_DATA_IGNORE(2) },
207 /* HID Device, .ifnum = 3 */
214 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
215 * class matches do not take effect without an explicit ID match.
217 { USB_AUDIO_DEVICE(0x046d, 0x0850) },
218 { USB_AUDIO_DEVICE(0x046d, 0x08ae) },
219 { USB_AUDIO_DEVICE(0x046d, 0x08c6) },
220 { USB_AUDIO_DEVICE(0x046d, 0x08f0) },
221 { USB_AUDIO_DEVICE(0x046d, 0x08f5) },
222 { USB_AUDIO_DEVICE(0x046d, 0x08f6) },
223 { USB_AUDIO_DEVICE(0x046d, 0x0990) },
229 #define YAMAHA_DEVICE(id, name) { \
230 USB_DEVICE(0x0499, id), \
231 QUIRK_DRIVER_INFO { \
232 .vendor_name = "Yamaha", \
233 .product_name = name, \
234 QUIRK_DATA_MIDI_YAMAHA(QUIRK_ANY_INTERFACE) \
237 #define YAMAHA_INTERFACE(id, intf, name) { \
238 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
239 QUIRK_DRIVER_INFO { \
240 .vendor_name = "Yamaha", \
241 .product_name = name, \
242 QUIRK_DATA_MIDI_YAMAHA(intf) \
245 YAMAHA_DEVICE(0x1000, "UX256"),
246 YAMAHA_DEVICE(0x1001, "MU1000"),
247 YAMAHA_DEVICE(0x1002, "MU2000"),
248 YAMAHA_DEVICE(0x1003, "MU500"),
249 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
250 YAMAHA_DEVICE(0x1005, "MOTIF6"),
251 YAMAHA_DEVICE(0x1006, "MOTIF7"),
252 YAMAHA_DEVICE(0x1007, "MOTIF8"),
253 YAMAHA_DEVICE(0x1008, "UX96"),
254 YAMAHA_DEVICE(0x1009, "UX16"),
255 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
256 YAMAHA_DEVICE(0x100c, "UC-MX"),
257 YAMAHA_DEVICE(0x100d, "UC-KX"),
258 YAMAHA_DEVICE(0x100e, "S08"),
259 YAMAHA_DEVICE(0x100f, "CLP-150"),
260 YAMAHA_DEVICE(0x1010, "CLP-170"),
261 YAMAHA_DEVICE(0x1011, "P-250"),
262 YAMAHA_DEVICE(0x1012, "TYROS"),
263 YAMAHA_DEVICE(0x1013, "PF-500"),
264 YAMAHA_DEVICE(0x1014, "S90"),
265 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
266 YAMAHA_DEVICE(0x1016, "MDP-5"),
267 YAMAHA_DEVICE(0x1017, "CVP-204"),
268 YAMAHA_DEVICE(0x1018, "CVP-206"),
269 YAMAHA_DEVICE(0x1019, "CVP-208"),
270 YAMAHA_DEVICE(0x101a, "CVP-210"),
271 YAMAHA_DEVICE(0x101b, "PSR-1100"),
272 YAMAHA_DEVICE(0x101c, "PSR-2100"),
273 YAMAHA_DEVICE(0x101d, "CLP-175"),
274 YAMAHA_DEVICE(0x101e, "PSR-K1"),
275 YAMAHA_DEVICE(0x101f, "EZ-J24"),
276 YAMAHA_DEVICE(0x1020, "EZ-250i"),
277 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
278 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
279 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
280 YAMAHA_DEVICE(0x1024, "CVP-301"),
281 YAMAHA_DEVICE(0x1025, "CVP-303"),
282 YAMAHA_DEVICE(0x1026, "CVP-305"),
283 YAMAHA_DEVICE(0x1027, "CVP-307"),
284 YAMAHA_DEVICE(0x1028, "CVP-309"),
285 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
286 YAMAHA_DEVICE(0x102a, "PSR-1500"),
287 YAMAHA_DEVICE(0x102b, "PSR-3000"),
288 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
289 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
290 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
291 YAMAHA_DEVICE(0x1032, "DGX-305"),
292 YAMAHA_DEVICE(0x1033, "DGX-505"),
293 YAMAHA_DEVICE(0x1034, NULL
),
294 YAMAHA_DEVICE(0x1035, NULL
),
295 YAMAHA_DEVICE(0x1036, NULL
),
296 YAMAHA_DEVICE(0x1037, NULL
),
297 YAMAHA_DEVICE(0x1038, NULL
),
298 YAMAHA_DEVICE(0x1039, NULL
),
299 YAMAHA_DEVICE(0x103a, NULL
),
300 YAMAHA_DEVICE(0x103b, NULL
),
301 YAMAHA_DEVICE(0x103c, NULL
),
302 YAMAHA_DEVICE(0x103d, NULL
),
303 YAMAHA_DEVICE(0x103e, NULL
),
304 YAMAHA_DEVICE(0x103f, NULL
),
305 YAMAHA_DEVICE(0x1040, NULL
),
306 YAMAHA_DEVICE(0x1041, NULL
),
307 YAMAHA_DEVICE(0x1042, NULL
),
308 YAMAHA_DEVICE(0x1043, NULL
),
309 YAMAHA_DEVICE(0x1044, NULL
),
310 YAMAHA_DEVICE(0x1045, NULL
),
311 YAMAHA_INTERFACE(0x104e, 0, NULL
),
312 YAMAHA_DEVICE(0x104f, NULL
),
313 YAMAHA_DEVICE(0x1050, NULL
),
314 YAMAHA_DEVICE(0x1051, NULL
),
315 YAMAHA_DEVICE(0x1052, NULL
),
316 YAMAHA_INTERFACE(0x1053, 0, NULL
),
317 YAMAHA_INTERFACE(0x1054, 0, NULL
),
318 YAMAHA_DEVICE(0x1055, NULL
),
319 YAMAHA_DEVICE(0x1056, NULL
),
320 YAMAHA_DEVICE(0x1057, NULL
),
321 YAMAHA_DEVICE(0x1058, NULL
),
322 YAMAHA_DEVICE(0x1059, NULL
),
323 YAMAHA_DEVICE(0x105a, NULL
),
324 YAMAHA_DEVICE(0x105b, NULL
),
325 YAMAHA_DEVICE(0x105c, NULL
),
326 YAMAHA_DEVICE(0x105d, NULL
),
328 USB_DEVICE(0x0499, 0x1503),
330 /* .vendor_name = "Yamaha", */
331 /* .product_name = "MOX6/MOX8", */
332 QUIRK_DATA_COMPOSITE
{
333 { QUIRK_DATA_STANDARD_AUDIO(1) },
334 { QUIRK_DATA_STANDARD_AUDIO(2) },
335 { QUIRK_DATA_MIDI_YAMAHA(3) },
341 USB_DEVICE(0x0499, 0x1507),
343 /* .vendor_name = "Yamaha", */
344 /* .product_name = "THR10", */
345 QUIRK_DATA_COMPOSITE
{
346 { QUIRK_DATA_STANDARD_AUDIO(1) },
347 { QUIRK_DATA_STANDARD_AUDIO(2) },
348 { QUIRK_DATA_MIDI_YAMAHA(3) },
354 USB_DEVICE(0x0499, 0x1509),
356 /* .vendor_name = "Yamaha", */
357 /* .product_name = "Steinberg UR22", */
358 QUIRK_DATA_COMPOSITE
{
359 { QUIRK_DATA_STANDARD_AUDIO(1) },
360 { QUIRK_DATA_STANDARD_AUDIO(2) },
361 { QUIRK_DATA_MIDI_YAMAHA(3) },
362 { QUIRK_DATA_IGNORE(4) },
368 USB_DEVICE(0x0499, 0x150a),
370 /* .vendor_name = "Yamaha", */
371 /* .product_name = "THR5A", */
372 QUIRK_DATA_COMPOSITE
{
373 { QUIRK_DATA_STANDARD_AUDIO(1) },
374 { QUIRK_DATA_STANDARD_AUDIO(2) },
375 { QUIRK_DATA_MIDI_YAMAHA(3) },
381 USB_DEVICE(0x0499, 0x150c),
383 /* .vendor_name = "Yamaha", */
384 /* .product_name = "THR10C", */
385 QUIRK_DATA_COMPOSITE
{
386 { QUIRK_DATA_STANDARD_AUDIO(1) },
387 { QUIRK_DATA_STANDARD_AUDIO(2) },
388 { QUIRK_DATA_MIDI_YAMAHA(3) },
394 USB_DEVICE(0x0499, 0x1718),
396 /* .vendor_name = "Yamaha", */
397 /* .product_name = "P-125", */
398 QUIRK_DATA_COMPOSITE
{
399 { QUIRK_DATA_STANDARD_AUDIO(1) },
400 { QUIRK_DATA_STANDARD_AUDIO(2) },
401 { QUIRK_DATA_MIDI_YAMAHA(3) },
406 YAMAHA_DEVICE(0x2000, "DGP-7"),
407 YAMAHA_DEVICE(0x2001, "DGP-5"),
408 YAMAHA_DEVICE(0x2002, NULL
),
409 YAMAHA_DEVICE(0x2003, NULL
),
410 YAMAHA_DEVICE(0x5000, "CS1D"),
411 YAMAHA_DEVICE(0x5001, "DSP1D"),
412 YAMAHA_DEVICE(0x5002, "DME32"),
413 YAMAHA_DEVICE(0x5003, "DM2000"),
414 YAMAHA_DEVICE(0x5004, "02R96"),
415 YAMAHA_DEVICE(0x5005, "ACU16-C"),
416 YAMAHA_DEVICE(0x5006, "NHB32-C"),
417 YAMAHA_DEVICE(0x5007, "DM1000"),
418 YAMAHA_DEVICE(0x5008, "01V96"),
419 YAMAHA_DEVICE(0x5009, "SPX2000"),
420 YAMAHA_DEVICE(0x500a, "PM5D"),
421 YAMAHA_DEVICE(0x500b, "DME64N"),
422 YAMAHA_DEVICE(0x500c, "DME24N"),
423 YAMAHA_DEVICE(0x500d, NULL
),
424 YAMAHA_DEVICE(0x500e, NULL
),
425 YAMAHA_DEVICE(0x500f, NULL
),
426 YAMAHA_DEVICE(0x7000, "DTX"),
427 YAMAHA_DEVICE(0x7010, "UB99"),
429 #undef YAMAHA_INTERFACE
430 /* this catches most recent vendor-specific Yamaha devices */
432 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
433 USB_DEVICE_ID_MATCH_INT_CLASS
,
435 .bInterfaceClass
= USB_CLASS_VENDOR_SPEC
,
437 .ifnum
= QUIRK_ANY_INTERFACE
,
438 .type
= QUIRK_AUTODETECT
443 * Roland/RolandED/Edirol/BOSS devices
446 USB_DEVICE(0x0582, 0x0000),
448 .vendor_name
= "Roland",
449 .product_name
= "UA-100",
450 QUIRK_DATA_COMPOSITE
{
452 QUIRK_DATA_AUDIOFORMAT(0) {
453 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
461 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
467 QUIRK_DATA_AUDIOFORMAT(1) {
468 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
473 .attributes
= UAC_EP_CS_ATTR_FILL_MAX
,
476 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
482 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
483 .out_cables
= 0x0007,
492 USB_DEVICE(0x0582, 0x0002),
494 .vendor_name
= "EDIROL",
495 .product_name
= "UM-4",
496 QUIRK_DATA_COMPOSITE
{
497 { QUIRK_DATA_IGNORE(0) },
498 { QUIRK_DATA_IGNORE(1) },
500 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
501 .out_cables
= 0x000f,
510 USB_DEVICE(0x0582, 0x0003),
512 .vendor_name
= "Roland",
513 .product_name
= "SC-8850",
514 QUIRK_DATA_COMPOSITE
{
515 { QUIRK_DATA_IGNORE(0) },
516 { QUIRK_DATA_IGNORE(1) },
518 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
519 .out_cables
= 0x003f,
528 USB_DEVICE(0x0582, 0x0004),
530 .vendor_name
= "Roland",
531 .product_name
= "U-8",
532 QUIRK_DATA_COMPOSITE
{
533 { QUIRK_DATA_IGNORE(0) },
534 { QUIRK_DATA_IGNORE(1) },
536 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
537 .out_cables
= 0x0005,
546 /* Has ID 0x0099 when not in "Advanced Driver" mode.
547 * The UM-2EX has only one input, but we cannot detect this. */
548 USB_DEVICE(0x0582, 0x0005),
550 .vendor_name
= "EDIROL",
551 .product_name
= "UM-2",
552 QUIRK_DATA_COMPOSITE
{
553 { QUIRK_DATA_IGNORE(0) },
554 { QUIRK_DATA_IGNORE(1) },
556 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
557 .out_cables
= 0x0003,
566 USB_DEVICE(0x0582, 0x0007),
568 .vendor_name
= "Roland",
569 .product_name
= "SC-8820",
570 QUIRK_DATA_COMPOSITE
{
571 { QUIRK_DATA_IGNORE(0) },
572 { QUIRK_DATA_IGNORE(1) },
574 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
575 .out_cables
= 0x0013,
584 USB_DEVICE(0x0582, 0x0008),
586 .vendor_name
= "Roland",
587 .product_name
= "PC-300",
588 QUIRK_DATA_COMPOSITE
{
589 { QUIRK_DATA_IGNORE(0) },
590 { QUIRK_DATA_IGNORE(1) },
592 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
593 .out_cables
= 0x0001,
602 /* has ID 0x009d when not in "Advanced Driver" mode */
603 USB_DEVICE(0x0582, 0x0009),
605 .vendor_name
= "EDIROL",
606 .product_name
= "UM-1",
607 QUIRK_DATA_COMPOSITE
{
608 { QUIRK_DATA_IGNORE(0) },
609 { QUIRK_DATA_IGNORE(1) },
611 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
612 .out_cables
= 0x0001,
621 USB_DEVICE(0x0582, 0x000b),
623 .vendor_name
= "Roland",
624 .product_name
= "SK-500",
625 QUIRK_DATA_COMPOSITE
{
626 { QUIRK_DATA_IGNORE(0) },
627 { QUIRK_DATA_IGNORE(1) },
629 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
630 .out_cables
= 0x0013,
639 /* thanks to Emiliano Grilli <emillo@libero.it>
640 * for helping researching this data */
641 USB_DEVICE(0x0582, 0x000c),
643 .vendor_name
= "Roland",
644 .product_name
= "SC-D70",
645 QUIRK_DATA_COMPOSITE
{
646 { QUIRK_DATA_STANDARD_AUDIO(0) },
647 { QUIRK_DATA_STANDARD_AUDIO(1) },
649 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
650 .out_cables
= 0x0007,
659 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
660 * If the advanced mode switch at the back of the unit is off, the
661 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
662 * but offers only 16-bit PCM.
663 * In advanced mode, the UA-5 will output S24_3LE samples (two
664 * channels) at the rate indicated on the front switch, including
665 * the 96kHz sample rate.
667 USB_DEVICE(0x0582, 0x0010),
669 .vendor_name
= "EDIROL",
670 .product_name
= "UA-5",
671 QUIRK_DATA_COMPOSITE
{
672 { QUIRK_DATA_STANDARD_AUDIO(1) },
673 { QUIRK_DATA_STANDARD_AUDIO(2) },
679 /* has ID 0x0013 when not in "Advanced Driver" mode */
680 USB_DEVICE(0x0582, 0x0012),
682 .vendor_name
= "Roland",
683 .product_name
= "XV-5050",
684 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
685 .out_cables
= 0x0001,
691 /* has ID 0x0015 when not in "Advanced Driver" mode */
692 USB_DEVICE(0x0582, 0x0014),
694 .vendor_name
= "EDIROL",
695 .product_name
= "UM-880",
696 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
697 .out_cables
= 0x01ff,
703 /* has ID 0x0017 when not in "Advanced Driver" mode */
704 USB_DEVICE(0x0582, 0x0016),
706 .vendor_name
= "EDIROL",
707 .product_name
= "SD-90",
708 QUIRK_DATA_COMPOSITE
{
709 { QUIRK_DATA_STANDARD_AUDIO(0) },
710 { QUIRK_DATA_STANDARD_AUDIO(1) },
712 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
713 .out_cables
= 0x000f,
722 /* has ID 0x001c when not in "Advanced Driver" mode */
723 USB_DEVICE(0x0582, 0x001b),
725 .vendor_name
= "Roland",
726 .product_name
= "MMP-2",
727 QUIRK_DATA_COMPOSITE
{
728 { QUIRK_DATA_IGNORE(0) },
729 { QUIRK_DATA_IGNORE(1) },
731 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
732 .out_cables
= 0x0001,
741 /* has ID 0x001e when not in "Advanced Driver" mode */
742 USB_DEVICE(0x0582, 0x001d),
744 .vendor_name
= "Roland",
745 .product_name
= "V-SYNTH",
746 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
747 .out_cables
= 0x0001,
753 /* has ID 0x0024 when not in "Advanced Driver" mode */
754 USB_DEVICE(0x0582, 0x0023),
756 .vendor_name
= "EDIROL",
757 .product_name
= "UM-550",
758 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
759 .out_cables
= 0x003f,
766 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
767 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
770 USB_DEVICE(0x0582, 0x0025),
772 .vendor_name
= "EDIROL",
773 .product_name
= "UA-20",
774 QUIRK_DATA_COMPOSITE
{
775 { QUIRK_DATA_IGNORE(0) },
777 QUIRK_DATA_AUDIOFORMAT(1) {
778 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
786 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
792 QUIRK_DATA_AUDIOFORMAT(2) {
793 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
801 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
807 QUIRK_DATA_MIDI_FIXED_ENDPOINT(3) {
808 .out_cables
= 0x0001,
817 /* has ID 0x0028 when not in "Advanced Driver" mode */
818 USB_DEVICE(0x0582, 0x0027),
820 .vendor_name
= "EDIROL",
821 .product_name
= "SD-20",
822 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
823 .out_cables
= 0x0003,
829 /* has ID 0x002a when not in "Advanced Driver" mode */
830 USB_DEVICE(0x0582, 0x0029),
832 .vendor_name
= "EDIROL",
833 .product_name
= "SD-80",
834 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
835 .out_cables
= 0x000f,
841 * This quirk is for the "Advanced" modes of the Edirol UA-700.
842 * If the sample format switch is not in an advanced setting, the
843 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
844 * but offers only 16-bit PCM and no MIDI.
846 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
848 .vendor_name
= "EDIROL",
849 .product_name
= "UA-700",
850 QUIRK_DATA_COMPOSITE
{
851 { QUIRK_DATA_EDIROL_UAXX(1) },
852 { QUIRK_DATA_EDIROL_UAXX(2) },
853 { QUIRK_DATA_EDIROL_UAXX(3) },
859 /* has ID 0x002e when not in "Advanced Driver" mode */
860 USB_DEVICE(0x0582, 0x002d),
862 .vendor_name
= "Roland",
863 .product_name
= "XV-2020",
864 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
865 .out_cables
= 0x0001,
871 /* has ID 0x0030 when not in "Advanced Driver" mode */
872 USB_DEVICE(0x0582, 0x002f),
874 .vendor_name
= "Roland",
875 .product_name
= "VariOS",
876 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
877 .out_cables
= 0x0007,
883 /* has ID 0x0034 when not in "Advanced Driver" mode */
884 USB_DEVICE(0x0582, 0x0033),
886 .vendor_name
= "EDIROL",
887 .product_name
= "PCR",
888 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
889 .out_cables
= 0x0003,
896 * Has ID 0x0038 when not in "Advanced Driver" mode;
897 * later revisions use IDs 0x0054 and 0x00a2.
899 USB_DEVICE(0x0582, 0x0037),
901 .vendor_name
= "Roland",
902 .product_name
= "Digital Piano",
903 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
904 .out_cables
= 0x0001,
911 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
912 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
915 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
917 .vendor_name
= "BOSS",
918 .product_name
= "GS-10",
919 QUIRK_DATA_COMPOSITE
{
920 { QUIRK_DATA_STANDARD_AUDIO(1) },
921 { QUIRK_DATA_STANDARD_AUDIO(2) },
922 { QUIRK_DATA_STANDARD_MIDI(3) },
928 /* has ID 0x0041 when not in "Advanced Driver" mode */
929 USB_DEVICE(0x0582, 0x0040),
931 .vendor_name
= "Roland",
932 .product_name
= "GI-20",
933 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
934 .out_cables
= 0x0001,
940 /* has ID 0x0043 when not in "Advanced Driver" mode */
941 USB_DEVICE(0x0582, 0x0042),
943 .vendor_name
= "Roland",
944 .product_name
= "RS-70",
945 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
946 .out_cables
= 0x0001,
952 /* has ID 0x0049 when not in "Advanced Driver" mode */
953 USB_DEVICE(0x0582, 0x0047),
955 /* .vendor_name = "EDIROL", */
956 /* .product_name = "UR-80", */
957 QUIRK_DATA_COMPOSITE
{
958 /* in the 96 kHz modes, only interface 1 is there */
959 { QUIRK_DATA_STANDARD_AUDIO(1) },
960 { QUIRK_DATA_STANDARD_AUDIO(2) },
966 /* has ID 0x004a when not in "Advanced Driver" mode */
967 USB_DEVICE(0x0582, 0x0048),
969 /* .vendor_name = "EDIROL", */
970 /* .product_name = "UR-80", */
971 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
972 .out_cables
= 0x0003,
978 /* has ID 0x004e when not in "Advanced Driver" mode */
979 USB_DEVICE(0x0582, 0x004c),
981 .vendor_name
= "EDIROL",
982 .product_name
= "PCR-A",
983 QUIRK_DATA_COMPOSITE
{
984 { QUIRK_DATA_STANDARD_AUDIO(1) },
985 { QUIRK_DATA_STANDARD_AUDIO(2) },
991 /* has ID 0x004f when not in "Advanced Driver" mode */
992 USB_DEVICE(0x0582, 0x004d),
994 .vendor_name
= "EDIROL",
995 .product_name
= "PCR-A",
996 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
997 .out_cables
= 0x0003,
1004 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1005 * is standard compliant, but has only 16-bit PCM.
1007 USB_DEVICE(0x0582, 0x0050),
1009 .vendor_name
= "EDIROL",
1010 .product_name
= "UA-3FX",
1011 QUIRK_DATA_COMPOSITE
{
1012 { QUIRK_DATA_STANDARD_AUDIO(1) },
1013 { QUIRK_DATA_STANDARD_AUDIO(2) },
1019 USB_DEVICE(0x0582, 0x0052),
1021 .vendor_name
= "EDIROL",
1022 .product_name
= "UM-1SX",
1023 QUIRK_DATA_STANDARD_MIDI(0)
1027 USB_DEVICE(0x0582, 0x0060),
1029 .vendor_name
= "Roland",
1030 .product_name
= "EXR Series",
1031 QUIRK_DATA_STANDARD_MIDI(0)
1035 /* has ID 0x0066 when not in "Advanced Driver" mode */
1036 USB_DEVICE(0x0582, 0x0064),
1038 /* .vendor_name = "EDIROL", */
1039 /* .product_name = "PCR-1", */
1040 QUIRK_DATA_COMPOSITE
{
1041 { QUIRK_DATA_STANDARD_AUDIO(1) },
1042 { QUIRK_DATA_STANDARD_AUDIO(2) },
1048 /* has ID 0x0067 when not in "Advanced Driver" mode */
1049 USB_DEVICE(0x0582, 0x0065),
1051 /* .vendor_name = "EDIROL", */
1052 /* .product_name = "PCR-1", */
1053 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1054 .out_cables
= 0x0001,
1060 /* has ID 0x006e when not in "Advanced Driver" mode */
1061 USB_DEVICE(0x0582, 0x006d),
1063 .vendor_name
= "Roland",
1064 .product_name
= "FANTOM-X",
1065 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1066 .out_cables
= 0x0001,
1072 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1073 * If the switch is not in an advanced setting, the UA-25 has
1074 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1075 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1077 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1079 .vendor_name
= "EDIROL",
1080 .product_name
= "UA-25",
1081 QUIRK_DATA_COMPOSITE
{
1082 { QUIRK_DATA_EDIROL_UAXX(0) },
1083 { QUIRK_DATA_EDIROL_UAXX(1) },
1084 { QUIRK_DATA_EDIROL_UAXX(2) },
1090 /* has ID 0x0076 when not in "Advanced Driver" mode */
1091 USB_DEVICE(0x0582, 0x0075),
1093 .vendor_name
= "BOSS",
1094 .product_name
= "DR-880",
1095 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1096 .out_cables
= 0x0001,
1102 /* has ID 0x007b when not in "Advanced Driver" mode */
1103 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1105 .vendor_name
= "Roland",
1106 /* "RD" or "RD-700SX"? */
1107 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1108 .out_cables
= 0x0003,
1114 /* has ID 0x0081 when not in "Advanced Driver" mode */
1115 USB_DEVICE(0x0582, 0x0080),
1117 .vendor_name
= "Roland",
1118 .product_name
= "G-70",
1119 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1120 .out_cables
= 0x0001,
1126 /* has ID 0x008c when not in "Advanced Driver" mode */
1127 USB_DEVICE(0x0582, 0x008b),
1129 .vendor_name
= "EDIROL",
1130 .product_name
= "PC-50",
1131 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1132 .out_cables
= 0x0001,
1139 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1140 * is standard compliant, but has only 16-bit PCM and no MIDI.
1142 USB_DEVICE(0x0582, 0x00a3),
1144 .vendor_name
= "EDIROL",
1145 .product_name
= "UA-4FX",
1146 QUIRK_DATA_COMPOSITE
{
1147 { QUIRK_DATA_EDIROL_UAXX(0) },
1148 { QUIRK_DATA_EDIROL_UAXX(1) },
1149 { QUIRK_DATA_EDIROL_UAXX(2) },
1156 USB_DEVICE(0x0582, 0x00c4),
1158 QUIRK_DATA_COMPOSITE
{
1159 { QUIRK_DATA_STANDARD_AUDIO(0) },
1160 { QUIRK_DATA_STANDARD_AUDIO(1) },
1162 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
1163 .out_cables
= 0x0001,
1172 /* Advanced modes of the Edirol UA-25EX.
1173 * For the standard mode, UA-25EX has ID 0582:00e7, which
1174 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1176 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1178 .vendor_name
= "EDIROL",
1179 .product_name
= "UA-25EX",
1180 QUIRK_DATA_COMPOSITE
{
1181 { QUIRK_DATA_EDIROL_UAXX(0) },
1182 { QUIRK_DATA_EDIROL_UAXX(1) },
1183 { QUIRK_DATA_EDIROL_UAXX(2) },
1190 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1192 QUIRK_DATA_MIDI_FIXED_ENDPOINT(0) {
1193 .out_cables
= 0x0007,
1200 USB_DEVICE(0x0582, 0x0113),
1202 QUIRK_DATA_COMPOSITE
{
1203 { QUIRK_DATA_STANDARD_AUDIO(0) },
1204 { QUIRK_DATA_STANDARD_AUDIO(1) },
1206 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
1207 .out_cables
= 0x0001,
1216 /* only 44.1 kHz works at the moment */
1217 USB_DEVICE(0x0582, 0x0120),
1219 /* .vendor_name = "Roland", */
1220 /* .product_name = "OCTO-CAPTURE", */
1221 QUIRK_DATA_COMPOSITE
{
1223 QUIRK_DATA_AUDIOFORMAT(0) {
1224 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
1231 .rates
= SNDRV_PCM_RATE_44100
,
1235 .rate_table
= (unsigned int[]) { 44100 }
1239 QUIRK_DATA_AUDIOFORMAT(1) {
1240 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
1247 .rates
= SNDRV_PCM_RATE_44100
,
1251 .rate_table
= (unsigned int[]) { 44100 }
1255 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
1256 .out_cables
= 0x0001,
1260 { QUIRK_DATA_IGNORE(3) },
1261 { QUIRK_DATA_IGNORE(4) },
1267 /* only 44.1 kHz works at the moment */
1268 USB_DEVICE(0x0582, 0x012f),
1270 /* .vendor_name = "Roland", */
1271 /* .product_name = "QUAD-CAPTURE", */
1272 QUIRK_DATA_COMPOSITE
{
1274 QUIRK_DATA_AUDIOFORMAT(0) {
1275 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
1282 .rates
= SNDRV_PCM_RATE_44100
,
1286 .rate_table
= (unsigned int[]) { 44100 }
1290 QUIRK_DATA_AUDIOFORMAT(1) {
1291 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
1298 .rates
= SNDRV_PCM_RATE_44100
,
1302 .rate_table
= (unsigned int[]) { 44100 }
1306 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
1307 .out_cables
= 0x0001,
1311 { QUIRK_DATA_IGNORE(3) },
1312 { QUIRK_DATA_IGNORE(4) },
1318 USB_DEVICE(0x0582, 0x0159),
1320 /* .vendor_name = "Roland", */
1321 /* .product_name = "UA-22", */
1322 QUIRK_DATA_COMPOSITE
{
1323 { QUIRK_DATA_STANDARD_AUDIO(0) },
1324 { QUIRK_DATA_STANDARD_AUDIO(1) },
1326 QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) {
1327 .out_cables
= 0x0001,
1336 /* UA101 and co are supported by another driver */
1338 USB_DEVICE(0x0582, 0x0044), /* UA-1000 high speed */
1340 .ifnum
= QUIRK_NODEV_INTERFACE
1344 USB_DEVICE(0x0582, 0x007d), /* UA-101 high speed */
1346 .ifnum
= QUIRK_NODEV_INTERFACE
1350 USB_DEVICE(0x0582, 0x008d), /* UA-101 full speed */
1352 .ifnum
= QUIRK_NODEV_INTERFACE
1356 /* this catches most recent vendor-specific Roland devices */
1358 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
1359 USB_DEVICE_ID_MATCH_INT_CLASS
,
1361 .bInterfaceClass
= USB_CLASS_VENDOR_SPEC
,
1363 .ifnum
= QUIRK_ANY_INTERFACE
,
1364 .type
= QUIRK_AUTODETECT
1368 /* Guillemot devices */
1371 * This is for the "Windows Edition" where the external MIDI ports are
1372 * the only MIDI ports; the control data is reported through HID
1373 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1374 * compliant USB MIDI ports for external MIDI and controls.
1376 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1378 .vendor_name
= "Hercules",
1379 .product_name
= "DJ Console (WE)",
1380 QUIRK_DATA_MIDI_FIXED_ENDPOINT(4) {
1381 .out_cables
= 0x0001,
1387 /* Midiman/M-Audio devices */
1389 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1391 .vendor_name
= "M-Audio",
1392 .product_name
= "MidiSport 2x2",
1393 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1394 .out_cables
= 0x0003,
1400 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1402 .vendor_name
= "M-Audio",
1403 .product_name
= "MidiSport 1x1",
1404 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1405 .out_cables
= 0x0001,
1411 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1413 .vendor_name
= "M-Audio",
1414 .product_name
= "Keystation",
1415 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1416 .out_cables
= 0x0001,
1422 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1424 .vendor_name
= "M-Audio",
1425 .product_name
= "MidiSport 4x4",
1426 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1427 .out_cables
= 0x000f,
1434 * For hardware revision 1.05; in the later revisions (1.10 and
1435 * 1.21), 0x1031 is the ID for the device without firmware.
1436 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1438 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1440 .vendor_name
= "M-Audio",
1441 .product_name
= "MidiSport 8x8",
1442 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1443 .out_cables
= 0x01ff,
1449 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1451 .vendor_name
= "M-Audio",
1452 .product_name
= "MidiSport 8x8",
1453 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1454 .out_cables
= 0x01ff,
1460 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1462 .vendor_name
= "M-Audio",
1463 .product_name
= "MidiSport 2x4",
1464 QUIRK_DATA_MIDI_MIDIMAN(QUIRK_ANY_INTERFACE
) {
1465 .out_cables
= 0x000f,
1471 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1473 .vendor_name
= "M-Audio",
1474 .product_name
= "Quattro",
1475 QUIRK_DATA_COMPOSITE
{
1477 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1478 * and share endpoints with the other interfaces.
1479 * Ignore them. The other interfaces can do 24 bits,
1480 * but captured samples are big-endian (see usbaudio.c).
1482 { QUIRK_DATA_IGNORE(0) },
1483 { QUIRK_DATA_IGNORE(1) },
1484 { QUIRK_DATA_IGNORE(2) },
1485 { QUIRK_DATA_IGNORE(3) },
1486 { QUIRK_DATA_STANDARD_AUDIO(4) },
1487 { QUIRK_DATA_STANDARD_AUDIO(5) },
1488 { QUIRK_DATA_IGNORE(6) },
1489 { QUIRK_DATA_STANDARD_AUDIO(7) },
1490 { QUIRK_DATA_STANDARD_AUDIO(8) },
1492 QUIRK_DATA_MIDI_MIDIMAN(9) {
1493 .out_cables
= 0x0001,
1502 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1504 .vendor_name
= "M-Audio",
1505 .product_name
= "AudioPhile",
1506 QUIRK_DATA_MIDI_MIDIMAN(6) {
1507 .out_cables
= 0x0001,
1513 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1515 .vendor_name
= "M-Audio",
1516 .product_name
= "Ozone",
1517 QUIRK_DATA_MIDI_MIDIMAN(3) {
1518 .out_cables
= 0x0001,
1524 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1526 .vendor_name
= "M-Audio",
1527 .product_name
= "OmniStudio",
1528 QUIRK_DATA_COMPOSITE
{
1529 { QUIRK_DATA_IGNORE(0) },
1530 { QUIRK_DATA_IGNORE(1) },
1531 { QUIRK_DATA_IGNORE(2) },
1532 { QUIRK_DATA_IGNORE(3) },
1533 { QUIRK_DATA_STANDARD_AUDIO(4) },
1534 { QUIRK_DATA_STANDARD_AUDIO(5) },
1535 { QUIRK_DATA_IGNORE(6) },
1536 { QUIRK_DATA_STANDARD_AUDIO(7) },
1537 { QUIRK_DATA_STANDARD_AUDIO(8) },
1539 QUIRK_DATA_MIDI_MIDIMAN(9) {
1540 .out_cables
= 0x0001,
1549 USB_DEVICE(0x0763, 0x2019),
1551 /* .vendor_name = "M-Audio", */
1552 /* .product_name = "Ozone Academic", */
1553 QUIRK_DATA_COMPOSITE
{
1554 { QUIRK_DATA_STANDARD_AUDIO(0) },
1555 { QUIRK_DATA_STANDARD_AUDIO(1) },
1556 { QUIRK_DATA_STANDARD_AUDIO(2) },
1558 QUIRK_DATA_MIDI_MIDIMAN(3) {
1559 .out_cables
= 0x0001,
1569 USB_DEVICE_VENDOR_SPEC(0x0763, 0x201a),
1572 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
1574 /* .vendor_name = "M-Audio", */
1575 /* .product_name = "Fast Track C400", */
1576 QUIRK_DATA_COMPOSITE
{
1577 { QUIRK_DATA_STANDARD_MIXER(1) },
1580 QUIRK_DATA_AUDIOFORMAT(2) {
1581 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1586 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1589 .rates
= SNDRV_PCM_RATE_44100
|
1590 SNDRV_PCM_RATE_48000
|
1591 SNDRV_PCM_RATE_88200
|
1592 SNDRV_PCM_RATE_96000
,
1596 .rate_table
= (unsigned int[]) {
1597 44100, 48000, 88200, 96000
1604 QUIRK_DATA_AUDIOFORMAT(3) {
1605 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1610 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1613 .rates
= SNDRV_PCM_RATE_44100
|
1614 SNDRV_PCM_RATE_48000
|
1615 SNDRV_PCM_RATE_88200
|
1616 SNDRV_PCM_RATE_96000
,
1620 .rate_table
= (unsigned int[]) {
1621 44100, 48000, 88200, 96000
1626 /* MIDI: Interface = 4*/
1632 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
1634 /* .vendor_name = "M-Audio", */
1635 /* .product_name = "Fast Track C600", */
1636 QUIRK_DATA_COMPOSITE
{
1637 { QUIRK_DATA_STANDARD_MIXER(1) },
1640 QUIRK_DATA_AUDIOFORMAT(2) {
1641 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1646 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1649 .rates
= SNDRV_PCM_RATE_44100
|
1650 SNDRV_PCM_RATE_48000
|
1651 SNDRV_PCM_RATE_88200
|
1652 SNDRV_PCM_RATE_96000
,
1656 .rate_table
= (unsigned int[]) {
1657 44100, 48000, 88200, 96000
1664 QUIRK_DATA_AUDIOFORMAT(3) {
1665 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1670 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1673 .rates
= SNDRV_PCM_RATE_44100
|
1674 SNDRV_PCM_RATE_48000
|
1675 SNDRV_PCM_RATE_88200
|
1676 SNDRV_PCM_RATE_96000
,
1680 .rate_table
= (unsigned int[]) {
1681 44100, 48000, 88200, 96000
1686 /* MIDI: Interface = 4 */
1692 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
1694 /* .vendor_name = "M-Audio", */
1695 /* .product_name = "Fast Track Ultra", */
1696 QUIRK_DATA_COMPOSITE
{
1697 { QUIRK_DATA_STANDARD_MIXER(0) },
1699 QUIRK_DATA_AUDIOFORMAT(1) {
1700 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1705 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1708 .rates
= SNDRV_PCM_RATE_44100
|
1709 SNDRV_PCM_RATE_48000
|
1710 SNDRV_PCM_RATE_88200
|
1711 SNDRV_PCM_RATE_96000
,
1715 .rate_table
= (unsigned int[]) {
1716 44100, 48000, 88200, 96000
1721 QUIRK_DATA_AUDIOFORMAT(2) {
1722 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1727 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1730 .rates
= SNDRV_PCM_RATE_44100
|
1731 SNDRV_PCM_RATE_48000
|
1732 SNDRV_PCM_RATE_88200
|
1733 SNDRV_PCM_RATE_96000
,
1737 .rate_table
= (unsigned int[]) {
1738 44100, 48000, 88200, 96000
1742 /* interface 3 (MIDI) is standard compliant */
1748 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
1750 /* .vendor_name = "M-Audio", */
1751 /* .product_name = "Fast Track Ultra 8R", */
1752 QUIRK_DATA_COMPOSITE
{
1753 { QUIRK_DATA_STANDARD_MIXER(0) },
1755 QUIRK_DATA_AUDIOFORMAT(1) {
1756 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1761 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1764 .rates
= SNDRV_PCM_RATE_44100
|
1765 SNDRV_PCM_RATE_48000
|
1766 SNDRV_PCM_RATE_88200
|
1767 SNDRV_PCM_RATE_96000
,
1771 .rate_table
= (unsigned int[]) {
1772 44100, 48000, 88200, 96000
1777 QUIRK_DATA_AUDIOFORMAT(2) {
1778 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1783 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1786 .rates
= SNDRV_PCM_RATE_44100
|
1787 SNDRV_PCM_RATE_48000
|
1788 SNDRV_PCM_RATE_88200
|
1789 SNDRV_PCM_RATE_96000
,
1793 .rate_table
= (unsigned int[]) {
1794 44100, 48000, 88200, 96000
1798 /* interface 3 (MIDI) is standard compliant */
1806 USB_DEVICE(0x07cf, 0x6801),
1808 .vendor_name
= "Casio",
1809 .product_name
= "PL-40R",
1810 QUIRK_DATA_MIDI_YAMAHA(0)
1814 /* this ID is used by several devices without a product ID */
1815 USB_DEVICE(0x07cf, 0x6802),
1817 .vendor_name
= "Casio",
1818 .product_name
= "Keyboard",
1819 QUIRK_DATA_MIDI_YAMAHA(0)
1823 /* Mark of the Unicorn devices */
1825 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1826 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
1827 USB_DEVICE_ID_MATCH_PRODUCT
|
1828 USB_DEVICE_ID_MATCH_DEV_SUBCLASS
,
1830 .idProduct
= 0x0001,
1831 .bDeviceSubClass
= 2,
1833 .vendor_name
= "MOTU",
1834 .product_name
= "Fastlane",
1835 QUIRK_DATA_COMPOSITE
{
1836 { QUIRK_DATA_RAW_BYTES(0) },
1837 { QUIRK_DATA_IGNORE(1) },
1843 /* Emagic devices */
1845 USB_DEVICE(0x086a, 0x0001),
1847 .vendor_name
= "Emagic",
1848 .product_name
= "Unitor8",
1849 QUIRK_DATA_MIDI_EMAGIC(2) {
1850 .out_cables
= 0x80ff,
1856 USB_DEVICE(0x086a, 0x0002),
1858 .vendor_name
= "Emagic",
1859 /* .product_name = "AMT8", */
1860 QUIRK_DATA_MIDI_EMAGIC(2) {
1861 .out_cables
= 0x80ff,
1867 USB_DEVICE(0x086a, 0x0003),
1869 .vendor_name
= "Emagic",
1870 /* .product_name = "MT4", */
1871 QUIRK_DATA_MIDI_EMAGIC(2) {
1872 .out_cables
= 0x800f,
1880 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
1882 .vendor_name
= "KORG, Inc.",
1883 /* .product_name = "PANDORA PX5D", */
1884 QUIRK_DATA_STANDARD_MIDI(3)
1889 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
1891 .vendor_name
= "KORG, Inc.",
1892 /* .product_name = "ToneLab ST", */
1893 QUIRK_DATA_STANDARD_MIDI(3)
1898 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0204),
1900 .vendor_name
= "KORG, Inc.",
1901 /* .product_name = "ToneLab EX", */
1902 QUIRK_DATA_STANDARD_MIDI(3)
1908 USB_DEVICE(0x09e8, 0x0062),
1910 .vendor_name
= "AKAI",
1911 .product_name
= "MPD16",
1913 .type
= QUIRK_MIDI_AKAI
,
1918 /* Akai MPC Element */
1919 USB_DEVICE(0x09e8, 0x0021),
1921 QUIRK_DATA_COMPOSITE
{
1922 { QUIRK_DATA_IGNORE(0) },
1923 { QUIRK_DATA_STANDARD_MIDI(1) },
1929 /* Steinberg devices */
1932 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
1934 QUIRK_DATA_COMPOSITE
{
1935 { QUIRK_DATA_STANDARD_AUDIO(0) },
1936 { QUIRK_DATA_STANDARD_AUDIO(1) },
1937 { QUIRK_DATA_STANDARD_AUDIO(2) },
1939 QUIRK_DATA_MIDI_FIXED_ENDPOINT(3) {
1940 .out_cables
= 0x0001,
1950 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
1952 QUIRK_DATA_COMPOSITE
{
1953 { QUIRK_DATA_STANDARD_AUDIO(0) },
1954 { QUIRK_DATA_STANDARD_AUDIO(1) },
1955 { QUIRK_DATA_STANDARD_AUDIO(2) },
1957 QUIRK_DATA_MIDI_FIXED_ENDPOINT(3) {
1958 .out_cables
= 0x0001,
1967 /* TerraTec devices */
1969 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
1971 .vendor_name
= "TerraTec",
1972 .product_name
= "PHASE 26",
1973 QUIRK_DATA_STANDARD_MIDI(3)
1977 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1979 .vendor_name
= "TerraTec",
1980 .product_name
= "PHASE 26",
1981 QUIRK_DATA_STANDARD_MIDI(3)
1985 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1987 .vendor_name
= "TerraTec",
1988 .product_name
= "PHASE 26",
1989 QUIRK_DATA_STANDARD_MIDI(3)
1993 USB_DEVICE(0x0ccd, 0x0035),
1995 .vendor_name
= "Miditech",
1996 .product_name
= "Play'n Roll",
1998 .type
= QUIRK_MIDI_CME
2002 /* Stanton ScratchAmp */
2003 { USB_DEVICE(0x103d, 0x0100) },
2004 { USB_DEVICE(0x103d, 0x0101) },
2006 /* Novation EMS devices */
2008 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2010 .vendor_name
= "Novation",
2011 .product_name
= "ReMOTE Audio/XStation",
2013 .type
= QUIRK_MIDI_NOVATION
2017 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2019 .vendor_name
= "Novation",
2020 .product_name
= "Speedio",
2022 .type
= QUIRK_MIDI_NOVATION
2026 USB_DEVICE(0x1235, 0x000a),
2028 /* .vendor_name = "Novation", */
2029 /* .product_name = "Nocturn", */
2030 QUIRK_DATA_RAW_BYTES(0)
2034 USB_DEVICE(0x1235, 0x000e),
2036 /* .vendor_name = "Novation", */
2037 /* .product_name = "Launchpad", */
2038 QUIRK_DATA_RAW_BYTES(0)
2042 USB_DEVICE(0x1235, 0x0010),
2044 .vendor_name
= "Focusrite",
2045 .product_name
= "Saffire 6 USB",
2046 QUIRK_DATA_COMPOSITE
{
2047 { QUIRK_DATA_STANDARD_MIXER(0) },
2049 QUIRK_DATA_AUDIOFORMAT(0) {
2050 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2055 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2057 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
2059 .maxpacksize
= 0x024c,
2060 .rates
= SNDRV_PCM_RATE_44100
|
2061 SNDRV_PCM_RATE_48000
,
2065 .rate_table
= (unsigned int[]) {
2070 .sync_altsetting
= 1,
2076 QUIRK_DATA_AUDIOFORMAT(0) {
2077 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2085 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
2087 .maxpacksize
= 0x0126,
2088 .rates
= SNDRV_PCM_RATE_44100
|
2089 SNDRV_PCM_RATE_48000
,
2093 .rate_table
= (unsigned int[]) {
2098 { QUIRK_DATA_RAW_BYTES(1) },
2104 USB_DEVICE(0x1235, 0x0018),
2106 .vendor_name
= "Novation",
2107 .product_name
= "Twitch",
2108 QUIRK_DATA_COMPOSITE
{
2110 QUIRK_DATA_AUDIOFORMAT(0) {
2111 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2116 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2118 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
2119 .rates
= SNDRV_PCM_RATE_44100
|
2120 SNDRV_PCM_RATE_48000
,
2124 .rate_table
= (unsigned int[]) {
2129 { QUIRK_DATA_RAW_BYTES(1) },
2135 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2137 .vendor_name
= "Novation",
2138 .product_name
= "ReMOTE25",
2140 .type
= QUIRK_MIDI_NOVATION
2144 /* Access Music devices */
2146 /* VirusTI Desktop */
2147 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2149 QUIRK_DATA_COMPOSITE
{
2151 QUIRK_DATA_MIDI_FIXED_ENDPOINT(3) {
2152 .out_cables
= 0x0003,
2156 { QUIRK_DATA_IGNORE(4) },
2162 /* Native Instruments MK2 series */
2164 /* Komplete Audio 6 */
2165 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
2167 .idProduct
= 0x1000,
2170 /* Traktor Audio 6 */
2171 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
2173 .idProduct
= 0x1010,
2176 /* Traktor Audio 10 */
2177 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
2179 .idProduct
= 0x1020,
2182 /* QinHeng devices */
2184 USB_DEVICE(0x1a86, 0x752d),
2186 .vendor_name
= "QinHeng",
2187 .product_name
= "CH345",
2189 .type
= QUIRK_MIDI_CH345
2193 /* KeithMcMillen Stringport */
2194 { USB_DEVICE(0x1f38, 0x0001) }, /* FIXME: should be more restrictive matching */
2196 /* Miditech devices */
2198 USB_DEVICE(0x4752, 0x0011),
2200 .vendor_name
= "Miditech",
2201 .product_name
= "Midistart-2",
2203 .type
= QUIRK_MIDI_CME
2207 /* Central Music devices */
2209 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2210 USB_DEVICE(0x7104, 0x2202),
2213 .type
= QUIRK_MIDI_CME
2217 /* Digidesign Mbox */
2219 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2220 USB_DEVICE(0x0dba, 0x1000),
2222 .vendor_name
= "Digidesign",
2223 .product_name
= "MBox",
2224 QUIRK_DATA_COMPOSITE
{
2225 { QUIRK_DATA_STANDARD_MIXER(0) },
2227 QUIRK_DATA_AUDIOFORMAT(1) {
2228 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2235 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2236 USB_ENDPOINT_SYNC_SYNC
,
2237 .maxpacksize
= 0x130,
2238 .rates
= SNDRV_PCM_RATE_48000
,
2242 .rate_table
= (unsigned int[]) {
2248 QUIRK_DATA_AUDIOFORMAT(1) {
2249 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2257 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2258 USB_ENDPOINT_SYNC_ASYNC
,
2259 .maxpacksize
= 0x130,
2260 .rates
= SNDRV_PCM_RATE_48000
,
2264 .rate_table
= (unsigned int[]) {
2274 /* DIGIDESIGN MBOX 2 */
2276 USB_DEVICE(0x0dba, 0x3000),
2278 .vendor_name
= "Digidesign",
2279 .product_name
= "Mbox 2",
2280 QUIRK_DATA_COMPOSITE
{
2281 { QUIRK_DATA_IGNORE(0) },
2282 { QUIRK_DATA_IGNORE(1) },
2284 QUIRK_DATA_AUDIOFORMAT(2) {
2285 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2292 .ep_attr
= USB_ENDPOINT_SYNC_ASYNC
,
2293 .rates
= SNDRV_PCM_RATE_48000
,
2297 .rate_table
= (unsigned int[]) {
2302 { QUIRK_DATA_IGNORE(3) },
2304 QUIRK_DATA_AUDIOFORMAT(4) {
2305 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2310 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2312 .ep_attr
= USB_ENDPOINT_SYNC_SYNC
,
2313 .rates
= SNDRV_PCM_RATE_48000
,
2317 .rate_table
= (unsigned int[]) {
2322 { QUIRK_DATA_IGNORE(5) },
2324 QUIRK_DATA_MIDI_MIDIMAN(6) {
2326 .out_cables
= 0x0001,
2328 .in_interval
= 0x01,
2336 /* DIGIDESIGN MBOX 3 */
2338 USB_DEVICE(0x0dba, 0x5000),
2340 .vendor_name
= "Digidesign",
2341 .product_name
= "Mbox 3",
2342 QUIRK_DATA_COMPOSITE
{
2343 { QUIRK_DATA_IGNORE(0) },
2344 { QUIRK_DATA_IGNORE(1) },
2346 QUIRK_DATA_AUDIOFORMAT(2) {
2347 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2354 .endpoint
= USB_RECIP_INTERFACE
| USB_DIR_OUT
,
2355 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2356 USB_ENDPOINT_SYNC_ASYNC
,
2357 .rates
= SNDRV_PCM_RATE_44100
| SNDRV_PCM_RATE_48000
|
2358 SNDRV_PCM_RATE_88200
| SNDRV_PCM_RATE_96000
,
2362 .rate_table
= (unsigned int[]) {
2363 44100, 48000, 88200, 96000
2365 .sync_ep
= USB_RECIP_INTERFACE
| USB_DIR_IN
,
2367 .sync_altsetting
= 1,
2373 QUIRK_DATA_AUDIOFORMAT(3) {
2374 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2381 .endpoint
= USB_RECIP_INTERFACE
| USB_DIR_IN
,
2382 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2383 USB_ENDPOINT_SYNC_ASYNC
,
2384 .maxpacksize
= 0x009c,
2385 .rates
= SNDRV_PCM_RATE_44100
| SNDRV_PCM_RATE_48000
|
2386 SNDRV_PCM_RATE_88200
| SNDRV_PCM_RATE_96000
,
2390 .rate_table
= (unsigned int[]) {
2391 44100, 48000, 88200, 96000
2397 QUIRK_DATA_MIDI_FIXED_ENDPOINT(4) {
2398 .out_cables
= 0x0001,
2407 /* Tascam US122 MKII - playback-only support */
2408 USB_DEVICE_VENDOR_SPEC(0x0644, 0x8021),
2410 .vendor_name
= "TASCAM",
2411 .product_name
= "US122 MKII",
2412 QUIRK_DATA_COMPOSITE
{
2413 { QUIRK_DATA_IGNORE(0) },
2415 QUIRK_DATA_AUDIOFORMAT(1) {
2416 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2421 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2423 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
2424 .rates
= SNDRV_PCM_RATE_44100
|
2425 SNDRV_PCM_RATE_48000
|
2426 SNDRV_PCM_RATE_88200
|
2427 SNDRV_PCM_RATE_96000
,
2431 .rate_table
= (unsigned int[]) {
2432 44100, 48000, 88200, 96000
2441 /* Denon DN-X1600 */
2443 USB_AUDIO_DEVICE(0x154e, 0x500e),
2445 .vendor_name
= "Denon",
2446 .product_name
= "DN-X1600",
2447 QUIRK_DATA_COMPOSITE
{
2448 { QUIRK_DATA_IGNORE(0) },
2450 QUIRK_DATA_AUDIOFORMAT(1) {
2451 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2458 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2459 USB_ENDPOINT_SYNC_ADAPTIVE
,
2460 .maxpacksize
= 0x138,
2461 .rates
= SNDRV_PCM_RATE_48000
,
2465 .rate_table
= (unsigned int[]) {
2471 QUIRK_DATA_AUDIOFORMAT(2) {
2472 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2479 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2480 USB_ENDPOINT_SYNC_ADAPTIVE
,
2481 .maxpacksize
= 0x138,
2482 .rates
= SNDRV_PCM_RATE_48000
,
2486 .rate_table
= (unsigned int[]) {
2491 { QUIRK_DATA_STANDARD_MIDI(4) },
2497 /* Microsoft XboxLive Headset/Xbox Communicator */
2499 USB_DEVICE(0x045e, 0x0283),
2500 .bInterfaceClass
= USB_CLASS_PER_INTERFACE
,
2502 .vendor_name
= "Microsoft",
2503 .product_name
= "XboxLive Headset/Xbox Communicator",
2504 QUIRK_DATA_COMPOSITE
{
2507 QUIRK_DATA_AUDIOFORMAT(0) {
2508 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
2516 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
2523 QUIRK_DATA_AUDIOFORMAT(1) {
2524 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
2532 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
2544 USB_DEVICE(0x200c, 0x100b),
2545 .bInterfaceClass
= USB_CLASS_PER_INTERFACE
,
2547 QUIRK_DATA_COMPOSITE
{
2548 { QUIRK_DATA_STANDARD_MIXER(0) },
2550 QUIRK_DATA_AUDIOFORMAT(1) {
2551 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2556 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2558 .ep_attr
= USB_ENDPOINT_SYNC_ADAPTIVE
,
2559 .rates
= SNDRV_PCM_RATE_44100
|
2560 SNDRV_PCM_RATE_48000
,
2564 .rate_table
= (unsigned int[]) {
2576 * ZOOM R16/24 in audio interface mode.
2577 * Playback requires an extra four byte LE length indicator
2578 * at the start of each isochronous packet. This quirk is
2579 * enabled in create_standard_audio_quirk().
2581 USB_DEVICE(0x1686, 0x00dd),
2583 QUIRK_DATA_COMPOSITE
{
2584 { QUIRK_DATA_STANDARD_AUDIO(1) }, /* Playback */
2585 { QUIRK_DATA_STANDARD_AUDIO(2) }, /* Capture */
2586 { QUIRK_DATA_STANDARD_MIDI(3) }, /* Midi */
2594 * Some USB MIDI devices don't have an audio control interface,
2595 * so we have to grab MIDI streaming interfaces here.
2597 .match_flags
= USB_DEVICE_ID_MATCH_INT_CLASS
|
2598 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2599 .bInterfaceClass
= USB_CLASS_AUDIO
,
2600 .bInterfaceSubClass
= USB_SUBCLASS_MIDISTREAMING
,
2602 QUIRK_DATA_STANDARD_MIDI(QUIRK_ANY_INTERFACE
)
2608 USB_DEVICE(0x13e5, 0x0001),
2610 QUIRK_DATA_STANDARD_AUDIO(QUIRK_ANY_INTERFACE
)
2614 /* disabled due to regression for other devices;
2615 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
2620 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
2621 * ID, but it looks like the product ID actually is only for Nura.
2622 * The capture interface does not work at all (even on Windows),
2623 * and only the 48 kHz sample rate works for the playback interface.
2625 USB_DEVICE(0x0a12, 0x1243),
2627 QUIRK_DATA_COMPOSITE
{
2628 { QUIRK_DATA_STANDARD_MIXER(0) },
2629 { QUIRK_DATA_IGNORE(1) }, /* Capture */
2632 QUIRK_DATA_AUDIOFORMAT(2) {
2633 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
2638 .attributes
= UAC_EP_CS_ATTR_FILL_MAX
|
2639 UAC_EP_CS_ATTR_SAMPLE_RATE
,
2641 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
2642 .rates
= SNDRV_PCM_RATE_48000
,
2646 .rate_table
= (unsigned int[]) {
2655 #endif /* disabled */
2659 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
2660 * even though it advertises more. The capture interface doesn't work
2663 USB_DEVICE(0x19b5, 0x0021),
2665 QUIRK_DATA_COMPOSITE
{
2666 { QUIRK_DATA_STANDARD_MIXER(0) },
2669 QUIRK_DATA_AUDIOFORMAT(1) {
2670 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
2675 .attributes
= UAC_EP_CS_ATTR_FILL_MAX
|
2676 UAC_EP_CS_ATTR_SAMPLE_RATE
,
2678 .ep_attr
= USB_ENDPOINT_XFER_ISOC
,
2679 .rates
= SNDRV_PCM_RATE_48000
,
2683 .rate_table
= (unsigned int[]) {
2692 /* MOTU Microbook II */
2694 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
2696 .vendor_name
= "MOTU",
2697 .product_name
= "MicroBookII",
2698 QUIRK_DATA_COMPOSITE
{
2699 { QUIRK_DATA_STANDARD_MIXER(0) },
2701 QUIRK_DATA_AUDIOFORMAT(0) {
2702 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2709 .rates
= SNDRV_PCM_RATE_96000
,
2710 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2711 USB_ENDPOINT_SYNC_ASYNC
,
2715 .maxpacksize
= 0x00d8,
2716 .rate_table
= (unsigned int[]) {
2722 QUIRK_DATA_AUDIOFORMAT(0) {
2723 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2731 .rates
= SNDRV_PCM_RATE_96000
,
2732 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2733 USB_ENDPOINT_SYNC_ASYNC
,
2737 .maxpacksize
= 0x0120,
2738 .rate_table
= (unsigned int[]) {
2749 * PIONEER DJ DDJ-SX3
2750 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
2751 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
2752 * The feedback for the output is the input.
2754 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
2756 QUIRK_DATA_COMPOSITE
{
2758 QUIRK_DATA_AUDIOFORMAT(0) {
2759 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
2765 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2766 USB_ENDPOINT_SYNC_ASYNC
,
2767 .rates
= SNDRV_PCM_RATE_44100
,
2771 .rate_table
= (unsigned int[]) { 44100 }
2775 QUIRK_DATA_AUDIOFORMAT(0) {
2776 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
2783 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2784 USB_ENDPOINT_SYNC_ASYNC
|
2785 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
2786 .rates
= SNDRV_PCM_RATE_44100
,
2790 .rate_table
= (unsigned int[]) { 44100 }
2799 * Pioneer DJ DJM-250MK2
2800 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
2801 * and 8 channels in @ 48 fixed (endpoint 0x82).
2803 * Both playback and recording is working, even simultaneously.
2805 * Playback channels could be mapped to:
2810 * Recording channels could be mapped to:
2819 * There is remaining problem with recording directly from PHONO/LINE.
2820 * If we map a channel to:
2821 * - CH1 Control Tone PHONO
2822 * - CH1 Control Tone LINE
2823 * - CH2 Control Tone PHONO
2824 * - CH2 Control Tone LINE
2826 * There is no signal even on other operating systems with official drivers.
2827 * The signal appears only when a supported application is started.
2828 * This needs to be investigated yet...
2829 * (there is quite a lot communication on the USB in both directions)
2831 * In current version this mixer could be used for playback
2832 * and for recording from vinyls (through Post CH* Fader)
2833 * but not for DVS (Digital Vinyl Systems) like in Mixxx.
2835 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
2837 QUIRK_DATA_COMPOSITE
{
2839 QUIRK_DATA_AUDIOFORMAT(0) {
2840 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2841 .channels
= 8, // outputs
2846 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2847 USB_ENDPOINT_SYNC_ASYNC
,
2848 .rates
= SNDRV_PCM_RATE_48000
,
2852 .rate_table
= (unsigned int[]) { 48000 }
2856 QUIRK_DATA_AUDIOFORMAT(0) {
2857 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2858 .channels
= 8, // inputs
2864 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2865 USB_ENDPOINT_SYNC_ASYNC
|
2866 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
2867 .rates
= SNDRV_PCM_RATE_48000
,
2871 .rate_table
= (unsigned int[]) { 48000 }
2881 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
2882 * The feedback for the output is the dummy input.
2884 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
2886 QUIRK_DATA_COMPOSITE
{
2888 QUIRK_DATA_AUDIOFORMAT(0) {
2889 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2895 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2896 USB_ENDPOINT_SYNC_ASYNC
,
2897 .rates
= SNDRV_PCM_RATE_44100
,
2901 .rate_table
= (unsigned int[]) { 44100 }
2905 QUIRK_DATA_AUDIOFORMAT(0) {
2906 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2913 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2914 USB_ENDPOINT_SYNC_ASYNC
|
2915 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
2916 .rates
= SNDRV_PCM_RATE_44100
,
2920 .rate_table
= (unsigned int[]) { 44100 }
2931 * PCM is 6 channels out & 4 channels in @ 44.1 fixed
2933 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000d),
2935 QUIRK_DATA_COMPOSITE
{
2937 QUIRK_DATA_AUDIOFORMAT(0) {
2938 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2939 .channels
= 6, //Master, Headphones & Booth
2944 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2945 USB_ENDPOINT_SYNC_ASYNC
,
2946 .rates
= SNDRV_PCM_RATE_44100
,
2950 .rate_table
= (unsigned int[]) { 44100 }
2954 QUIRK_DATA_AUDIOFORMAT(0) {
2955 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2956 .channels
= 4, //2x RCA inputs (CH1 & CH2)
2962 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2963 USB_ENDPOINT_SYNC_ASYNC
|
2964 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
2965 .rates
= SNDRV_PCM_RATE_44100
,
2969 .rate_table
= (unsigned int[]) { 44100 }
2979 * PIONEER DJ DDJ-SR2
2980 * PCM is 4 channels out, 6 channels in @ 44.1 fixed
2981 * The Feedback for the output is the input
2983 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001e),
2985 QUIRK_DATA_COMPOSITE
{
2987 QUIRK_DATA_AUDIOFORMAT(0) {
2988 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2994 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
2995 USB_ENDPOINT_SYNC_ASYNC
,
2996 .rates
= SNDRV_PCM_RATE_44100
,
3000 .rate_table
= (unsigned int[]) { 44100 }
3004 QUIRK_DATA_AUDIOFORMAT(0) {
3005 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3012 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3013 USB_ENDPOINT_SYNC_ASYNC
|
3014 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3015 .rates
= SNDRV_PCM_RATE_44100
,
3019 .rate_table
= (unsigned int[]) { 44100 }
3029 * Pioneer DJ DJM-900NXS2
3030 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3032 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3034 QUIRK_DATA_COMPOSITE
{
3036 QUIRK_DATA_AUDIOFORMAT(0) {
3037 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3043 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3044 USB_ENDPOINT_SYNC_ASYNC
,
3045 .rates
= SNDRV_PCM_RATE_44100
|
3046 SNDRV_PCM_RATE_48000
|
3047 SNDRV_PCM_RATE_96000
,
3051 .rate_table
= (unsigned int[]) {
3057 QUIRK_DATA_AUDIOFORMAT(0) {
3058 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3065 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3066 USB_ENDPOINT_SYNC_ASYNC
|
3067 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3068 .rates
= SNDRV_PCM_RATE_44100
|
3069 SNDRV_PCM_RATE_48000
|
3070 SNDRV_PCM_RATE_96000
,
3074 .rate_table
= (unsigned int[]) {
3086 * PIONEER DJ DDJ-800
3087 * PCM is 6 channels out, 6 channels in @ 44.1 fixed
3088 * The Feedback for the output is the input
3090 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0029),
3092 QUIRK_DATA_COMPOSITE
{
3094 QUIRK_DATA_AUDIOFORMAT(0) {
3095 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3101 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3102 USB_ENDPOINT_SYNC_ASYNC
,
3103 .rates
= SNDRV_PCM_RATE_44100
,
3107 .rate_table
= (unsigned int[]) { 44100 }
3111 QUIRK_DATA_AUDIOFORMAT(0) {
3112 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3119 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3120 USB_ENDPOINT_SYNC_ASYNC
|
3121 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3122 .rates
= SNDRV_PCM_RATE_44100
,
3126 .rate_table
= (unsigned int[]) { 44100 }
3136 * Pioneer DJ / AlphaTheta DJM-A9
3137 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3139 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x003c),
3141 QUIRK_DATA_COMPOSITE
{
3143 QUIRK_DATA_AUDIOFORMAT(0) {
3144 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3150 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3151 USB_ENDPOINT_SYNC_ASYNC
,
3152 .rates
= SNDRV_PCM_RATE_44100
|
3153 SNDRV_PCM_RATE_48000
|
3154 SNDRV_PCM_RATE_96000
,
3158 .rate_table
= (unsigned int[]) {
3164 QUIRK_DATA_AUDIOFORMAT(0) {
3165 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3172 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3173 USB_ENDPOINT_SYNC_ASYNC
|
3174 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3175 .rates
= SNDRV_PCM_RATE_44100
|
3176 SNDRV_PCM_RATE_48000
|
3177 SNDRV_PCM_RATE_96000
,
3181 .rate_table
= (unsigned int[]) {
3192 * MacroSilicon MS2100/MS2106 based AV capture cards
3194 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3195 * They also need QUIRK_FLAG_ALIGN_TRANSFER, which makes one wonder if
3196 * they pretend to be 96kHz mono as a workaround for stereo being broken
3199 * They also have an issue with initial stream alignment that causes the
3200 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3203 USB_AUDIO_DEVICE(0x534d, 0x0021),
3205 .vendor_name
= "MacroSilicon",
3206 .product_name
= "MS210x",
3207 QUIRK_DATA_COMPOSITE
{
3208 { QUIRK_DATA_STANDARD_MIXER(2) },
3210 QUIRK_DATA_AUDIOFORMAT(3) {
3211 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
3218 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3219 USB_ENDPOINT_SYNC_ASYNC
,
3220 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
3231 * MacroSilicon MS2109 based HDMI capture cards
3233 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3234 * They also need QUIRK_FLAG_ALIGN_TRANSFER, which makes one wonder if
3235 * they pretend to be 96kHz mono as a workaround for stereo being broken
3238 * They also have an issue with initial stream alignment that causes the
3239 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3242 USB_AUDIO_DEVICE(0x534d, 0x2109),
3244 .vendor_name
= "MacroSilicon",
3245 .product_name
= "MS2109",
3246 QUIRK_DATA_COMPOSITE
{
3247 { QUIRK_DATA_STANDARD_MIXER(2) },
3249 QUIRK_DATA_AUDIOFORMAT(3) {
3250 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
3257 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3258 USB_ENDPOINT_SYNC_ASYNC
,
3259 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
3270 * Pioneer DJ DJM-750
3271 * 8 channels playback & 8 channels capture @ 44.1/48/96kHz S24LE
3273 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x017f),
3275 QUIRK_DATA_COMPOSITE
{
3277 QUIRK_DATA_AUDIOFORMAT(0) {
3278 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3284 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3285 USB_ENDPOINT_SYNC_ASYNC
,
3286 .rates
= SNDRV_PCM_RATE_44100
|
3287 SNDRV_PCM_RATE_48000
|
3288 SNDRV_PCM_RATE_96000
,
3292 .rate_table
= (unsigned int[]) { 44100, 48000, 96000 }
3296 QUIRK_DATA_AUDIOFORMAT(0) {
3297 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3304 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3305 USB_ENDPOINT_SYNC_ASYNC
|
3306 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3307 .rates
= SNDRV_PCM_RATE_44100
|
3308 SNDRV_PCM_RATE_48000
|
3309 SNDRV_PCM_RATE_96000
,
3313 .rate_table
= (unsigned int[]) { 44100, 48000, 96000 }
3322 * Pioneer DJ DJM-750MK2
3323 * 10 channels playback & 12 channels capture @ 48kHz S24LE
3325 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001b),
3327 QUIRK_DATA_COMPOSITE
{
3329 QUIRK_DATA_AUDIOFORMAT(0) {
3330 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3336 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3337 USB_ENDPOINT_SYNC_ASYNC
,
3338 .rates
= SNDRV_PCM_RATE_48000
,
3342 .rate_table
= (unsigned int[]) {
3348 QUIRK_DATA_AUDIOFORMAT(0) {
3349 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3356 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3357 USB_ENDPOINT_SYNC_ASYNC
|
3358 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3359 .rates
= SNDRV_PCM_RATE_48000
,
3363 .rate_table
= (unsigned int[]) { 48000 }
3372 * Pioneer DJ DJM-850
3373 * 8 channels playback and 8 channels capture @ 44.1/48/96kHz S24LE
3374 * Playback on EP 0x05
3375 * Capture on EP 0x86
3377 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x0163),
3379 QUIRK_DATA_COMPOSITE
{
3381 QUIRK_DATA_AUDIOFORMAT(0) {
3382 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3388 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3389 USB_ENDPOINT_SYNC_ASYNC
|
3390 USB_ENDPOINT_USAGE_DATA
,
3391 .rates
= SNDRV_PCM_RATE_44100
|
3392 SNDRV_PCM_RATE_48000
|
3393 SNDRV_PCM_RATE_96000
,
3397 .rate_table
= (unsigned int[]) { 44100, 48000, 96000 }
3401 QUIRK_DATA_AUDIOFORMAT(0) {
3402 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3409 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3410 USB_ENDPOINT_SYNC_ASYNC
|
3411 USB_ENDPOINT_USAGE_DATA
,
3412 .rates
= SNDRV_PCM_RATE_44100
|
3413 SNDRV_PCM_RATE_48000
|
3414 SNDRV_PCM_RATE_96000
,
3418 .rate_table
= (unsigned int[]) { 44100, 48000, 96000 }
3427 * Pioneer DJ DJM-450
3428 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3429 * and 8 channels in @ 48 fixed (endpoint 0x82).
3431 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0013),
3433 QUIRK_DATA_COMPOSITE
{
3435 QUIRK_DATA_AUDIOFORMAT(0) {
3436 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3437 .channels
= 8, // outputs
3442 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3443 USB_ENDPOINT_SYNC_ASYNC
,
3444 .rates
= SNDRV_PCM_RATE_48000
,
3448 .rate_table
= (unsigned int[]) { 48000 }
3452 QUIRK_DATA_AUDIOFORMAT(0) {
3453 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
3454 .channels
= 8, // inputs
3460 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3461 USB_ENDPOINT_SYNC_ASYNC
|
3462 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3463 .rates
= SNDRV_PCM_RATE_48000
,
3467 .rate_table
= (unsigned int[]) { 48000 }
3477 * Change order of interfaces loaded
3479 USB_DEVICE(0x1395, 0x0300),
3480 .bInterfaceClass
= USB_CLASS_PER_INTERFACE
,
3482 QUIRK_DATA_COMPOSITE
{
3484 { QUIRK_DATA_STANDARD_AUDIO(3) },
3486 { QUIRK_DATA_STANDARD_AUDIO(4) },
3488 { QUIRK_DATA_STANDARD_AUDIO(1) },
3495 * Fiero SC-01 (firmware v1.0.0 @ 48 kHz)
3497 USB_DEVICE(0x2b53, 0x0023),
3499 .vendor_name
= "Fiero",
3500 .product_name
= "SC-01",
3501 QUIRK_DATA_COMPOSITE
{
3502 { QUIRK_DATA_STANDARD_AUDIO(0) },
3505 QUIRK_DATA_AUDIOFORMAT(1) {
3506 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3513 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3514 USB_ENDPOINT_SYNC_ASYNC
,
3515 .rates
= SNDRV_PCM_RATE_48000
,
3519 .rate_table
= (unsigned int[]) { 48000 },
3525 QUIRK_DATA_AUDIOFORMAT(2) {
3526 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3533 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3534 USB_ENDPOINT_SYNC_ASYNC
|
3535 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3536 .rates
= SNDRV_PCM_RATE_48000
,
3540 .rate_table
= (unsigned int[]) { 48000 },
3550 * Fiero SC-01 (firmware v1.0.0 @ 96 kHz)
3552 USB_DEVICE(0x2b53, 0x0024),
3554 .vendor_name
= "Fiero",
3555 .product_name
= "SC-01",
3556 QUIRK_DATA_COMPOSITE
{
3557 { QUIRK_DATA_STANDARD_AUDIO(0) },
3560 QUIRK_DATA_AUDIOFORMAT(1) {
3561 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3568 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3569 USB_ENDPOINT_SYNC_ASYNC
,
3570 .rates
= SNDRV_PCM_RATE_96000
,
3574 .rate_table
= (unsigned int[]) { 96000 },
3580 QUIRK_DATA_AUDIOFORMAT(2) {
3581 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3588 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3589 USB_ENDPOINT_SYNC_ASYNC
|
3590 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3591 .rates
= SNDRV_PCM_RATE_96000
,
3595 .rate_table
= (unsigned int[]) { 96000 },
3605 * Fiero SC-01 (firmware v1.1.0)
3607 USB_DEVICE(0x2b53, 0x0031),
3609 .vendor_name
= "Fiero",
3610 .product_name
= "SC-01",
3611 QUIRK_DATA_COMPOSITE
{
3612 { QUIRK_DATA_STANDARD_AUDIO(0) },
3615 QUIRK_DATA_AUDIOFORMAT(1) {
3616 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3623 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3624 USB_ENDPOINT_SYNC_ASYNC
,
3625 .rates
= SNDRV_PCM_RATE_48000
|
3626 SNDRV_PCM_RATE_96000
,
3630 .rate_table
= (unsigned int[]) { 48000, 96000 },
3636 QUIRK_DATA_AUDIOFORMAT(2) {
3637 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3644 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3645 USB_ENDPOINT_SYNC_ASYNC
|
3646 USB_ENDPOINT_USAGE_IMPLICIT_FB
,
3647 .rates
= SNDRV_PCM_RATE_48000
|
3648 SNDRV_PCM_RATE_96000
,
3652 .rate_table
= (unsigned int[]) { 48000, 96000 },
3661 /* Advanced modes of the Mythware XA001AU.
3662 * For the standard mode, Mythware XA001AU has ID ffad:a001
3664 USB_DEVICE_VENDOR_SPEC(0xffad, 0xa001),
3666 .vendor_name
= "Mythware",
3667 .product_name
= "XA001AU",
3668 QUIRK_DATA_COMPOSITE
{
3669 { QUIRK_DATA_IGNORE(0) },
3670 { QUIRK_DATA_STANDARD_AUDIO(1) },
3671 { QUIRK_DATA_STANDARD_AUDIO(2) },
3677 /* Only claim interface 0 */
3678 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
3679 USB_DEVICE_ID_MATCH_PRODUCT
|
3680 USB_DEVICE_ID_MATCH_INT_CLASS
|
3681 USB_DEVICE_ID_MATCH_INT_NUMBER
,
3683 .idProduct
= 0x3f8c,
3684 .bInterfaceClass
= USB_CLASS_VENDOR_SPEC
,
3685 .bInterfaceNumber
= 0,
3687 QUIRK_DATA_COMPOSITE
{
3689 * Three modes depending on sample rate band,
3690 * with different channel counts for in/out
3692 { QUIRK_DATA_STANDARD_MIXER(0) },
3694 QUIRK_DATA_AUDIOFORMAT(0) {
3695 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3696 .channels
= 34, // outputs
3703 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3704 USB_ENDPOINT_SYNC_ASYNC
,
3705 .rates
= SNDRV_PCM_RATE_32000
|
3706 SNDRV_PCM_RATE_44100
|
3707 SNDRV_PCM_RATE_48000
,
3711 .rate_table
= (unsigned int[]) {
3712 32000, 44100, 48000,
3716 .sync_altsetting
= 1,
3722 QUIRK_DATA_AUDIOFORMAT(0) {
3723 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3724 .channels
= 18, // outputs
3731 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3732 USB_ENDPOINT_SYNC_ASYNC
,
3733 .rates
= SNDRV_PCM_RATE_64000
|
3734 SNDRV_PCM_RATE_88200
|
3735 SNDRV_PCM_RATE_96000
,
3739 .rate_table
= (unsigned int[]) {
3740 64000, 88200, 96000,
3744 .sync_altsetting
= 1,
3750 QUIRK_DATA_AUDIOFORMAT(0) {
3751 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3752 .channels
= 10, // outputs
3759 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3760 USB_ENDPOINT_SYNC_ASYNC
,
3761 .rates
= SNDRV_PCM_RATE_KNOT
|
3762 SNDRV_PCM_RATE_176400
|
3763 SNDRV_PCM_RATE_192000
,
3767 .rate_table
= (unsigned int[]) {
3768 128000, 176400, 192000,
3772 .sync_altsetting
= 1,
3778 QUIRK_DATA_AUDIOFORMAT(0) {
3779 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3780 .channels
= 32, // inputs
3786 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3787 USB_ENDPOINT_SYNC_ASYNC
,
3788 .rates
= SNDRV_PCM_RATE_32000
|
3789 SNDRV_PCM_RATE_44100
|
3790 SNDRV_PCM_RATE_48000
,
3794 .rate_table
= (unsigned int[]) {
3795 32000, 44100, 48000,
3800 QUIRK_DATA_AUDIOFORMAT(0) {
3801 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3802 .channels
= 16, // inputs
3808 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3809 USB_ENDPOINT_SYNC_ASYNC
,
3810 .rates
= SNDRV_PCM_RATE_64000
|
3811 SNDRV_PCM_RATE_88200
|
3812 SNDRV_PCM_RATE_96000
,
3816 .rate_table
= (unsigned int[]) {
3817 64000, 88200, 96000,
3822 QUIRK_DATA_AUDIOFORMAT(0) {
3823 .formats
= SNDRV_PCM_FMTBIT_S32_LE
,
3824 .channels
= 8, // inputs
3830 .ep_attr
= USB_ENDPOINT_XFER_ISOC
|
3831 USB_ENDPOINT_SYNC_ASYNC
,
3832 .rates
= SNDRV_PCM_RATE_KNOT
|
3833 SNDRV_PCM_RATE_176400
|
3834 SNDRV_PCM_RATE_192000
,
3838 .rate_table
= (unsigned int[]) {
3839 128000, 176400, 192000,
3847 #undef USB_DEVICE_VENDOR_SPEC
3848 #undef USB_AUDIO_DEVICE