Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * ALSA USB Audio Driver |
| 3 | * |
| 4 | * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>, |
| 5 | * Clemens Ladisch <clemens@ladisch.de> |
| 6 | * |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 21 | */ |
| 22 | |
| 23 | /* |
| 24 | * The contents of this file are part of the driver's id_table. |
| 25 | * |
| 26 | * In a perfect world, this file would be empty. |
| 27 | */ |
| 28 | |
| 29 | /* |
| 30 | * Use this for devices where other interfaces are standard compliant, |
| 31 | * to prevent the quirk being applied to those interfaces. (To work with |
| 32 | * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.) |
| 33 | */ |
| 34 | #define USB_DEVICE_VENDOR_SPEC(vend, prod) \ |
| 35 | .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \ |
| 36 | USB_DEVICE_ID_MATCH_PRODUCT | \ |
| 37 | USB_DEVICE_ID_MATCH_INT_CLASS, \ |
| 38 | .idVendor = vend, \ |
| 39 | .idProduct = prod, \ |
| 40 | .bInterfaceClass = USB_CLASS_VENDOR_SPEC |
| 41 | |
| 42 | /* |
Daniel Drake | a912145 | 2007-05-07 09:27:05 +0200 | [diff] [blame] | 43 | * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface |
| 44 | * class matches do not take effect without an explicit ID match. |
| 45 | */ |
| 46 | { |
| 47 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | |
| 48 | USB_DEVICE_ID_MATCH_INT_CLASS | |
| 49 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, |
| 50 | .idVendor = 0x046d, |
Daniel Drake | d417045 | 2007-05-10 08:52:19 +0200 | [diff] [blame] | 51 | .idProduct = 0x0850, |
| 52 | .bInterfaceClass = USB_CLASS_AUDIO, |
| 53 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL |
| 54 | }, |
| 55 | { |
| 56 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | |
| 57 | USB_DEVICE_ID_MATCH_INT_CLASS | |
| 58 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, |
| 59 | .idVendor = 0x046d, |
Daniel Drake | 500bec3 | 2007-05-10 08:52:19 +0200 | [diff] [blame] | 60 | .idProduct = 0x0850, |
| 61 | .bInterfaceClass = USB_CLASS_AUDIO, |
| 62 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL |
| 63 | }, |
| 64 | { |
| 65 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | |
| 66 | USB_DEVICE_ID_MATCH_INT_CLASS | |
| 67 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, |
| 68 | .idVendor = 0x046d, |
Daniel Drake | a912145 | 2007-05-07 09:27:05 +0200 | [diff] [blame] | 69 | .idProduct = 0x08f0, |
| 70 | .bInterfaceClass = USB_CLASS_AUDIO, |
| 71 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL |
| 72 | }, |
| 73 | { |
| 74 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | |
| 75 | USB_DEVICE_ID_MATCH_INT_CLASS | |
| 76 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, |
| 77 | .idVendor = 0x046d, |
| 78 | .idProduct = 0x08f6, |
| 79 | .bInterfaceClass = USB_CLASS_AUDIO, |
| 80 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL |
| 81 | }, |
| 82 | |
| 83 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | * Yamaha devices |
| 85 | */ |
| 86 | |
| 87 | #define YAMAHA_DEVICE(id, name) { \ |
| 88 | USB_DEVICE(0x0499, id), \ |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 89 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | .vendor_name = "Yamaha", \ |
| 91 | .product_name = name, \ |
| 92 | .ifnum = QUIRK_ANY_INTERFACE, \ |
| 93 | .type = QUIRK_MIDI_YAMAHA \ |
| 94 | } \ |
| 95 | } |
| 96 | #define YAMAHA_INTERFACE(id, intf, name) { \ |
| 97 | USB_DEVICE_VENDOR_SPEC(0x0499, id), \ |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 98 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | .vendor_name = "Yamaha", \ |
| 100 | .product_name = name, \ |
| 101 | .ifnum = intf, \ |
| 102 | .type = QUIRK_MIDI_YAMAHA \ |
| 103 | } \ |
| 104 | } |
| 105 | YAMAHA_DEVICE(0x1000, "UX256"), |
| 106 | YAMAHA_DEVICE(0x1001, "MU1000"), |
| 107 | YAMAHA_DEVICE(0x1002, "MU2000"), |
| 108 | YAMAHA_DEVICE(0x1003, "MU500"), |
| 109 | YAMAHA_INTERFACE(0x1004, 3, "UW500"), |
| 110 | YAMAHA_DEVICE(0x1005, "MOTIF6"), |
| 111 | YAMAHA_DEVICE(0x1006, "MOTIF7"), |
| 112 | YAMAHA_DEVICE(0x1007, "MOTIF8"), |
| 113 | YAMAHA_DEVICE(0x1008, "UX96"), |
| 114 | YAMAHA_DEVICE(0x1009, "UX16"), |
| 115 | YAMAHA_INTERFACE(0x100a, 3, "EOS BX"), |
| 116 | YAMAHA_DEVICE(0x100c, "UC-MX"), |
| 117 | YAMAHA_DEVICE(0x100d, "UC-KX"), |
| 118 | YAMAHA_DEVICE(0x100e, "S08"), |
| 119 | YAMAHA_DEVICE(0x100f, "CLP-150"), |
| 120 | YAMAHA_DEVICE(0x1010, "CLP-170"), |
| 121 | YAMAHA_DEVICE(0x1011, "P-250"), |
| 122 | YAMAHA_DEVICE(0x1012, "TYROS"), |
| 123 | YAMAHA_DEVICE(0x1013, "PF-500"), |
| 124 | YAMAHA_DEVICE(0x1014, "S90"), |
| 125 | YAMAHA_DEVICE(0x1015, "MOTIF-R"), |
Clemens Ladisch | 4ccb4a4 | 2006-03-15 12:24:19 +0100 | [diff] [blame] | 126 | YAMAHA_DEVICE(0x1016, "MDP-5"), |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 127 | YAMAHA_DEVICE(0x1017, "CVP-204"), |
| 128 | YAMAHA_DEVICE(0x1018, "CVP-206"), |
| 129 | YAMAHA_DEVICE(0x1019, "CVP-208"), |
| 130 | YAMAHA_DEVICE(0x101a, "CVP-210"), |
| 131 | YAMAHA_DEVICE(0x101b, "PSR-1100"), |
| 132 | YAMAHA_DEVICE(0x101c, "PSR-2100"), |
| 133 | YAMAHA_DEVICE(0x101d, "CLP-175"), |
| 134 | YAMAHA_DEVICE(0x101e, "PSR-K1"), |
Clemens Ladisch | 4ccb4a4 | 2006-03-15 12:24:19 +0100 | [diff] [blame] | 135 | YAMAHA_DEVICE(0x101f, "EZ-J24"), |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 136 | YAMAHA_DEVICE(0x1020, "EZ-250i"), |
| 137 | YAMAHA_DEVICE(0x1021, "MOTIF ES 6"), |
| 138 | YAMAHA_DEVICE(0x1022, "MOTIF ES 7"), |
| 139 | YAMAHA_DEVICE(0x1023, "MOTIF ES 8"), |
| 140 | YAMAHA_DEVICE(0x1024, "CVP-301"), |
| 141 | YAMAHA_DEVICE(0x1025, "CVP-303"), |
| 142 | YAMAHA_DEVICE(0x1026, "CVP-305"), |
| 143 | YAMAHA_DEVICE(0x1027, "CVP-307"), |
| 144 | YAMAHA_DEVICE(0x1028, "CVP-309"), |
| 145 | YAMAHA_DEVICE(0x1029, "CVP-309GP"), |
| 146 | YAMAHA_DEVICE(0x102a, "PSR-1500"), |
| 147 | YAMAHA_DEVICE(0x102b, "PSR-3000"), |
| 148 | YAMAHA_DEVICE(0x102e, "ELS-01/01C"), |
| 149 | YAMAHA_DEVICE(0x1030, "PSR-295/293"), |
| 150 | YAMAHA_DEVICE(0x1031, "DGX-205/203"), |
| 151 | YAMAHA_DEVICE(0x1032, "DGX-305"), |
| 152 | YAMAHA_DEVICE(0x1033, "DGX-505"), |
| 153 | YAMAHA_DEVICE(0x1034, NULL), |
| 154 | YAMAHA_DEVICE(0x1035, NULL), |
| 155 | YAMAHA_DEVICE(0x1036, NULL), |
| 156 | YAMAHA_DEVICE(0x1037, NULL), |
| 157 | YAMAHA_DEVICE(0x1038, NULL), |
| 158 | YAMAHA_DEVICE(0x1039, NULL), |
| 159 | YAMAHA_DEVICE(0x103a, NULL), |
| 160 | YAMAHA_DEVICE(0x103b, NULL), |
| 161 | YAMAHA_DEVICE(0x103c, NULL), |
Clemens Ladisch | 0ac2ac0 | 2005-07-01 16:19:39 +0200 | [diff] [blame] | 162 | YAMAHA_DEVICE(0x103d, NULL), |
Clemens Ladisch | f542fda | 2005-09-20 09:06:36 +0200 | [diff] [blame] | 163 | YAMAHA_DEVICE(0x103e, NULL), |
| 164 | YAMAHA_DEVICE(0x103f, NULL), |
| 165 | YAMAHA_DEVICE(0x1040, NULL), |
| 166 | YAMAHA_DEVICE(0x1041, NULL), |
Clemens Ladisch | f126539 | 2006-07-21 10:46:18 +0200 | [diff] [blame] | 167 | YAMAHA_DEVICE(0x1042, NULL), |
| 168 | YAMAHA_DEVICE(0x1043, NULL), |
| 169 | YAMAHA_DEVICE(0x1044, NULL), |
| 170 | YAMAHA_DEVICE(0x1045, NULL), |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 171 | YAMAHA_DEVICE(0x2000, "DGP-7"), |
| 172 | YAMAHA_DEVICE(0x2001, "DGP-5"), |
| 173 | YAMAHA_DEVICE(0x2002, NULL), |
| 174 | YAMAHA_DEVICE(0x5000, "CS1D"), |
| 175 | YAMAHA_DEVICE(0x5001, "DSP1D"), |
| 176 | YAMAHA_DEVICE(0x5002, "DME32"), |
| 177 | YAMAHA_DEVICE(0x5003, "DM2000"), |
| 178 | YAMAHA_DEVICE(0x5004, "02R96"), |
| 179 | YAMAHA_DEVICE(0x5005, "ACU16-C"), |
| 180 | YAMAHA_DEVICE(0x5006, "NHB32-C"), |
| 181 | YAMAHA_DEVICE(0x5007, "DM1000"), |
| 182 | YAMAHA_DEVICE(0x5008, "01V96"), |
| 183 | YAMAHA_DEVICE(0x5009, "SPX2000"), |
| 184 | YAMAHA_DEVICE(0x500a, "PM5D"), |
| 185 | YAMAHA_DEVICE(0x500b, "DME64N"), |
| 186 | YAMAHA_DEVICE(0x500c, "DME24N"), |
| 187 | YAMAHA_DEVICE(0x500d, NULL), |
| 188 | YAMAHA_DEVICE(0x500e, NULL), |
Clemens Ladisch | f126539 | 2006-07-21 10:46:18 +0200 | [diff] [blame] | 189 | YAMAHA_DEVICE(0x500f, NULL), |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 190 | YAMAHA_DEVICE(0x7000, "DTX"), |
| 191 | YAMAHA_DEVICE(0x7010, "UB99"), |
| 192 | #undef YAMAHA_DEVICE |
| 193 | #undef YAMAHA_INTERFACE |
| 194 | |
| 195 | /* |
| 196 | * Roland/RolandED/Edirol/BOSS devices |
| 197 | */ |
| 198 | { |
| 199 | USB_DEVICE(0x0582, 0x0000), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 200 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 201 | .vendor_name = "Roland", |
| 202 | .product_name = "UA-100", |
| 203 | .ifnum = QUIRK_ANY_INTERFACE, |
| 204 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 205 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 206 | { |
| 207 | .ifnum = 0, |
| 208 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, |
| 209 | .data = & (const struct audioformat) { |
| 210 | .format = SNDRV_PCM_FORMAT_S16_LE, |
| 211 | .channels = 4, |
| 212 | .iface = 0, |
| 213 | .altsetting = 1, |
| 214 | .altset_idx = 1, |
| 215 | .attributes = 0, |
| 216 | .endpoint = 0x01, |
| 217 | .ep_attr = 0x09, |
| 218 | .rates = SNDRV_PCM_RATE_CONTINUOUS, |
| 219 | .rate_min = 44100, |
| 220 | .rate_max = 44100, |
| 221 | } |
| 222 | }, |
| 223 | { |
| 224 | .ifnum = 1, |
| 225 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, |
| 226 | .data = & (const struct audioformat) { |
| 227 | .format = SNDRV_PCM_FORMAT_S16_LE, |
| 228 | .channels = 2, |
| 229 | .iface = 1, |
| 230 | .altsetting = 1, |
| 231 | .altset_idx = 1, |
| 232 | .attributes = EP_CS_ATTR_FILL_MAX, |
| 233 | .endpoint = 0x81, |
| 234 | .ep_attr = 0x05, |
| 235 | .rates = SNDRV_PCM_RATE_CONTINUOUS, |
| 236 | .rate_min = 44100, |
| 237 | .rate_max = 44100, |
| 238 | } |
| 239 | }, |
| 240 | { |
| 241 | .ifnum = 2, |
| 242 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 243 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 244 | .out_cables = 0x0007, |
| 245 | .in_cables = 0x0007 |
| 246 | } |
| 247 | }, |
| 248 | { |
| 249 | .ifnum = -1 |
| 250 | } |
| 251 | } |
| 252 | } |
| 253 | }, |
| 254 | { |
| 255 | USB_DEVICE(0x0582, 0x0002), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 256 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 257 | .vendor_name = "EDIROL", |
| 258 | .product_name = "UM-4", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 259 | .ifnum = QUIRK_ANY_INTERFACE, |
| 260 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 261 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 262 | { |
| 263 | .ifnum = 0, |
| 264 | .type = QUIRK_IGNORE_INTERFACE |
| 265 | }, |
| 266 | { |
| 267 | .ifnum = 1, |
| 268 | .type = QUIRK_IGNORE_INTERFACE |
| 269 | }, |
| 270 | { |
| 271 | .ifnum = 2, |
| 272 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 273 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 274 | .out_cables = 0x000f, |
| 275 | .in_cables = 0x000f |
| 276 | } |
| 277 | }, |
| 278 | { |
| 279 | .ifnum = -1 |
| 280 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 281 | } |
| 282 | } |
| 283 | }, |
| 284 | { |
| 285 | USB_DEVICE(0x0582, 0x0003), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 286 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 287 | .vendor_name = "Roland", |
| 288 | .product_name = "SC-8850", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 289 | .ifnum = QUIRK_ANY_INTERFACE, |
| 290 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 291 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 292 | { |
| 293 | .ifnum = 0, |
| 294 | .type = QUIRK_IGNORE_INTERFACE |
| 295 | }, |
| 296 | { |
| 297 | .ifnum = 1, |
| 298 | .type = QUIRK_IGNORE_INTERFACE |
| 299 | }, |
| 300 | { |
| 301 | .ifnum = 2, |
| 302 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 303 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 304 | .out_cables = 0x003f, |
| 305 | .in_cables = 0x003f |
| 306 | } |
| 307 | }, |
| 308 | { |
| 309 | .ifnum = -1 |
| 310 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 311 | } |
| 312 | } |
| 313 | }, |
| 314 | { |
| 315 | USB_DEVICE(0x0582, 0x0004), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 316 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 317 | .vendor_name = "Roland", |
| 318 | .product_name = "U-8", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 319 | .ifnum = QUIRK_ANY_INTERFACE, |
| 320 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 321 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 322 | { |
| 323 | .ifnum = 0, |
| 324 | .type = QUIRK_IGNORE_INTERFACE |
| 325 | }, |
| 326 | { |
| 327 | .ifnum = 1, |
| 328 | .type = QUIRK_IGNORE_INTERFACE |
| 329 | }, |
| 330 | { |
| 331 | .ifnum = 2, |
| 332 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 333 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 334 | .out_cables = 0x0005, |
| 335 | .in_cables = 0x0005 |
| 336 | } |
| 337 | }, |
| 338 | { |
| 339 | .ifnum = -1 |
| 340 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 341 | } |
| 342 | } |
| 343 | }, |
| 344 | { |
Clemens Ladisch | 119c4ff | 2006-01-19 08:25:19 +0100 | [diff] [blame] | 345 | /* Has ID 0x0099 when not in "Advanced Driver" mode. |
| 346 | * The UM-2EX has only one input, but we cannot detect this. */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 347 | USB_DEVICE(0x0582, 0x0005), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 348 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 349 | .vendor_name = "EDIROL", |
| 350 | .product_name = "UM-2", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 351 | .ifnum = QUIRK_ANY_INTERFACE, |
| 352 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 353 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 354 | { |
| 355 | .ifnum = 0, |
| 356 | .type = QUIRK_IGNORE_INTERFACE |
| 357 | }, |
| 358 | { |
| 359 | .ifnum = 1, |
| 360 | .type = QUIRK_IGNORE_INTERFACE |
| 361 | }, |
| 362 | { |
| 363 | .ifnum = 2, |
| 364 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 365 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 366 | .out_cables = 0x0003, |
| 367 | .in_cables = 0x0003 |
| 368 | } |
| 369 | }, |
| 370 | { |
| 371 | .ifnum = -1 |
| 372 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 373 | } |
| 374 | } |
| 375 | }, |
| 376 | { |
| 377 | USB_DEVICE(0x0582, 0x0007), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 378 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 379 | .vendor_name = "Roland", |
| 380 | .product_name = "SC-8820", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 381 | .ifnum = QUIRK_ANY_INTERFACE, |
| 382 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 383 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 384 | { |
| 385 | .ifnum = 0, |
| 386 | .type = QUIRK_IGNORE_INTERFACE |
| 387 | }, |
| 388 | { |
| 389 | .ifnum = 1, |
| 390 | .type = QUIRK_IGNORE_INTERFACE |
| 391 | }, |
| 392 | { |
| 393 | .ifnum = 2, |
| 394 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 395 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 396 | .out_cables = 0x0013, |
| 397 | .in_cables = 0x0013 |
| 398 | } |
| 399 | }, |
| 400 | { |
| 401 | .ifnum = -1 |
| 402 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 403 | } |
| 404 | } |
| 405 | }, |
| 406 | { |
| 407 | USB_DEVICE(0x0582, 0x0008), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 408 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 409 | .vendor_name = "Roland", |
| 410 | .product_name = "PC-300", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 411 | .ifnum = QUIRK_ANY_INTERFACE, |
| 412 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 413 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 414 | { |
| 415 | .ifnum = 0, |
| 416 | .type = QUIRK_IGNORE_INTERFACE |
| 417 | }, |
| 418 | { |
| 419 | .ifnum = 1, |
| 420 | .type = QUIRK_IGNORE_INTERFACE |
| 421 | }, |
| 422 | { |
| 423 | .ifnum = 2, |
| 424 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 425 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 426 | .out_cables = 0x0001, |
| 427 | .in_cables = 0x0001 |
| 428 | } |
| 429 | }, |
| 430 | { |
| 431 | .ifnum = -1 |
| 432 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 433 | } |
| 434 | } |
| 435 | }, |
| 436 | { |
Clemens Ladisch | 119c4ff | 2006-01-19 08:25:19 +0100 | [diff] [blame] | 437 | /* has ID 0x009d when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 438 | USB_DEVICE(0x0582, 0x0009), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 439 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 440 | .vendor_name = "EDIROL", |
| 441 | .product_name = "UM-1", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 442 | .ifnum = QUIRK_ANY_INTERFACE, |
| 443 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 444 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 445 | { |
| 446 | .ifnum = 0, |
| 447 | .type = QUIRK_IGNORE_INTERFACE |
| 448 | }, |
| 449 | { |
| 450 | .ifnum = 1, |
| 451 | .type = QUIRK_IGNORE_INTERFACE |
| 452 | }, |
| 453 | { |
| 454 | .ifnum = 2, |
| 455 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 456 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 457 | .out_cables = 0x0001, |
| 458 | .in_cables = 0x0001 |
| 459 | } |
| 460 | }, |
| 461 | { |
| 462 | .ifnum = -1 |
| 463 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 464 | } |
| 465 | } |
| 466 | }, |
| 467 | { |
| 468 | USB_DEVICE(0x0582, 0x000b), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 469 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 470 | .vendor_name = "Roland", |
| 471 | .product_name = "SK-500", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 472 | .ifnum = QUIRK_ANY_INTERFACE, |
| 473 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 474 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 475 | { |
| 476 | .ifnum = 0, |
| 477 | .type = QUIRK_IGNORE_INTERFACE |
| 478 | }, |
| 479 | { |
| 480 | .ifnum = 1, |
| 481 | .type = QUIRK_IGNORE_INTERFACE |
| 482 | }, |
| 483 | { |
| 484 | .ifnum = 2, |
| 485 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 486 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 487 | .out_cables = 0x0013, |
| 488 | .in_cables = 0x0013 |
| 489 | } |
| 490 | }, |
| 491 | { |
| 492 | .ifnum = -1 |
| 493 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 494 | } |
| 495 | } |
| 496 | }, |
| 497 | { |
| 498 | /* thanks to Emiliano Grilli <emillo@libero.it> |
| 499 | * for helping researching this data */ |
| 500 | USB_DEVICE(0x0582, 0x000c), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 501 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 502 | .vendor_name = "Roland", |
| 503 | .product_name = "SC-D70", |
| 504 | .ifnum = QUIRK_ANY_INTERFACE, |
| 505 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 506 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 507 | { |
| 508 | .ifnum = 0, |
| 509 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, |
| 510 | .data = & (const struct audioformat) { |
| 511 | .format = SNDRV_PCM_FORMAT_S24_3LE, |
| 512 | .channels = 2, |
| 513 | .iface = 0, |
| 514 | .altsetting = 1, |
| 515 | .altset_idx = 1, |
| 516 | .attributes = 0, |
| 517 | .endpoint = 0x01, |
| 518 | .ep_attr = 0x01, |
| 519 | .rates = SNDRV_PCM_RATE_CONTINUOUS, |
| 520 | .rate_min = 44100, |
| 521 | .rate_max = 44100, |
| 522 | } |
| 523 | }, |
| 524 | { |
| 525 | .ifnum = 1, |
| 526 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, |
| 527 | .data = & (const struct audioformat) { |
| 528 | .format = SNDRV_PCM_FORMAT_S24_3LE, |
| 529 | .channels = 2, |
| 530 | .iface = 1, |
| 531 | .altsetting = 1, |
| 532 | .altset_idx = 1, |
| 533 | .attributes = 0, |
| 534 | .endpoint = 0x81, |
| 535 | .ep_attr = 0x01, |
| 536 | .rates = SNDRV_PCM_RATE_CONTINUOUS, |
| 537 | .rate_min = 44100, |
| 538 | .rate_max = 44100, |
| 539 | } |
| 540 | }, |
| 541 | { |
| 542 | .ifnum = 2, |
| 543 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 544 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 545 | .out_cables = 0x0007, |
| 546 | .in_cables = 0x0007 |
| 547 | } |
| 548 | }, |
| 549 | { |
| 550 | .ifnum = -1 |
| 551 | } |
| 552 | } |
| 553 | } |
| 554 | }, |
| 555 | { /* |
| 556 | * This quirk is for the "Advanced Driver" mode of the Edirol UA-5. |
| 557 | * If the advanced mode switch at the back of the unit is off, the |
| 558 | * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks), |
| 559 | * but offers only 16-bit PCM. |
| 560 | * In advanced mode, the UA-5 will output S24_3LE samples (two |
| 561 | * channels) at the rate indicated on the front switch, including |
| 562 | * the 96kHz sample rate. |
| 563 | */ |
| 564 | USB_DEVICE(0x0582, 0x0010), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 565 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 566 | .vendor_name = "EDIROL", |
| 567 | .product_name = "UA-5", |
| 568 | .ifnum = QUIRK_ANY_INTERFACE, |
| 569 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 570 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 571 | { |
| 572 | .ifnum = 1, |
| 573 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 574 | }, |
| 575 | { |
| 576 | .ifnum = 2, |
| 577 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 578 | }, |
| 579 | { |
| 580 | .ifnum = -1 |
| 581 | } |
| 582 | } |
| 583 | } |
| 584 | }, |
| 585 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 586 | /* has ID 0x0013 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 587 | USB_DEVICE(0x0582, 0x0012), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 588 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 589 | .vendor_name = "Roland", |
| 590 | .product_name = "XV-5050", |
| 591 | .ifnum = 0, |
| 592 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 593 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 594 | .out_cables = 0x0001, |
| 595 | .in_cables = 0x0001 |
| 596 | } |
| 597 | } |
| 598 | }, |
| 599 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 600 | /* has ID 0x0015 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 601 | USB_DEVICE(0x0582, 0x0014), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 602 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 603 | .vendor_name = "EDIROL", |
| 604 | .product_name = "UM-880", |
| 605 | .ifnum = 0, |
| 606 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 607 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 608 | .out_cables = 0x01ff, |
| 609 | .in_cables = 0x01ff |
| 610 | } |
| 611 | } |
| 612 | }, |
| 613 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 614 | /* has ID 0x0017 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 615 | USB_DEVICE(0x0582, 0x0016), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 616 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 617 | .vendor_name = "EDIROL", |
| 618 | .product_name = "SD-90", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 619 | .ifnum = QUIRK_ANY_INTERFACE, |
| 620 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 621 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 622 | { |
| 623 | .ifnum = 0, |
| 624 | .type = QUIRK_IGNORE_INTERFACE |
| 625 | }, |
| 626 | { |
| 627 | .ifnum = 1, |
| 628 | .type = QUIRK_IGNORE_INTERFACE |
| 629 | }, |
| 630 | { |
| 631 | .ifnum = 2, |
| 632 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 633 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 634 | .out_cables = 0x000f, |
| 635 | .in_cables = 0x000f |
| 636 | } |
| 637 | }, |
| 638 | { |
| 639 | .ifnum = -1 |
| 640 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 641 | } |
| 642 | } |
| 643 | }, |
| 644 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 645 | /* has ID 0x001c when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 646 | USB_DEVICE(0x0582, 0x001b), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 647 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 648 | .vendor_name = "Roland", |
| 649 | .product_name = "MMP-2", |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 650 | .ifnum = QUIRK_ANY_INTERFACE, |
| 651 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 652 | .data = (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 653 | { |
| 654 | .ifnum = 0, |
| 655 | .type = QUIRK_IGNORE_INTERFACE |
| 656 | }, |
| 657 | { |
| 658 | .ifnum = 1, |
| 659 | .type = QUIRK_IGNORE_INTERFACE |
| 660 | }, |
| 661 | { |
| 662 | .ifnum = 2, |
| 663 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 664 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | d3ff42f | 2005-05-17 09:14:27 +0200 | [diff] [blame] | 665 | .out_cables = 0x0001, |
| 666 | .in_cables = 0x0001 |
| 667 | } |
| 668 | }, |
| 669 | { |
| 670 | .ifnum = -1 |
| 671 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 672 | } |
| 673 | } |
| 674 | }, |
| 675 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 676 | /* has ID 0x001e when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 677 | USB_DEVICE(0x0582, 0x001d), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 678 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 679 | .vendor_name = "Roland", |
| 680 | .product_name = "V-SYNTH", |
| 681 | .ifnum = 0, |
| 682 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 683 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 684 | .out_cables = 0x0001, |
| 685 | .in_cables = 0x0001 |
| 686 | } |
| 687 | } |
| 688 | }, |
| 689 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 690 | /* has ID 0x0024 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 691 | USB_DEVICE(0x0582, 0x0023), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 692 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 693 | .vendor_name = "EDIROL", |
| 694 | .product_name = "UM-550", |
| 695 | .ifnum = 0, |
| 696 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 697 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 698 | .out_cables = 0x003f, |
| 699 | .in_cables = 0x003f |
| 700 | } |
| 701 | } |
| 702 | }, |
| 703 | { |
| 704 | /* |
| 705 | * This quirk is for the "Advanced Driver" mode. If off, the UA-20 |
| 706 | * has ID 0x0026 and is standard compliant, but has only 16-bit PCM |
| 707 | * and no MIDI. |
| 708 | */ |
| 709 | USB_DEVICE(0x0582, 0x0025), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 710 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 711 | .vendor_name = "EDIROL", |
| 712 | .product_name = "UA-20", |
| 713 | .ifnum = QUIRK_ANY_INTERFACE, |
| 714 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 715 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 716 | { |
Clemens Ladisch | 1f14a65 | 2005-11-21 16:40:00 +0100 | [diff] [blame] | 717 | .ifnum = 0, |
| 718 | .type = QUIRK_IGNORE_INTERFACE |
| 719 | }, |
| 720 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 721 | .ifnum = 1, |
Clemens Ladisch | 1f14a65 | 2005-11-21 16:40:00 +0100 | [diff] [blame] | 722 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, |
| 723 | .data = & (const struct audioformat) { |
| 724 | .format = SNDRV_PCM_FORMAT_S24_3LE, |
| 725 | .channels = 2, |
| 726 | .iface = 1, |
| 727 | .altsetting = 1, |
| 728 | .altset_idx = 1, |
| 729 | .attributes = 0, |
| 730 | .endpoint = 0x01, |
| 731 | .ep_attr = 0x01, |
| 732 | .rates = SNDRV_PCM_RATE_CONTINUOUS, |
| 733 | .rate_min = 44100, |
| 734 | .rate_max = 44100, |
| 735 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 736 | }, |
| 737 | { |
| 738 | .ifnum = 2, |
Clemens Ladisch | 1f14a65 | 2005-11-21 16:40:00 +0100 | [diff] [blame] | 739 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, |
| 740 | .data = & (const struct audioformat) { |
| 741 | .format = SNDRV_PCM_FORMAT_S24_3LE, |
| 742 | .channels = 2, |
| 743 | .iface = 2, |
| 744 | .altsetting = 1, |
| 745 | .altset_idx = 1, |
| 746 | .attributes = 0, |
| 747 | .endpoint = 0x82, |
| 748 | .ep_attr = 0x01, |
| 749 | .rates = SNDRV_PCM_RATE_CONTINUOUS, |
| 750 | .rate_min = 44100, |
| 751 | .rate_max = 44100, |
| 752 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 753 | }, |
| 754 | { |
| 755 | .ifnum = 3, |
Clemens Ladisch | 1f14a65 | 2005-11-21 16:40:00 +0100 | [diff] [blame] | 756 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 757 | .data = & (const struct snd_usb_midi_endpoint_info) { |
| 758 | .out_cables = 0x0001, |
| 759 | .in_cables = 0x0001 |
| 760 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 761 | }, |
| 762 | { |
| 763 | .ifnum = -1 |
| 764 | } |
| 765 | } |
| 766 | } |
| 767 | }, |
| 768 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 769 | /* has ID 0x0028 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 770 | USB_DEVICE(0x0582, 0x0027), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 771 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 772 | .vendor_name = "EDIROL", |
| 773 | .product_name = "SD-20", |
| 774 | .ifnum = 0, |
| 775 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 776 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 777 | .out_cables = 0x0003, |
| 778 | .in_cables = 0x0007 |
| 779 | } |
| 780 | } |
| 781 | }, |
| 782 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 783 | /* has ID 0x002a when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 784 | USB_DEVICE(0x0582, 0x0029), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 785 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 786 | .vendor_name = "EDIROL", |
| 787 | .product_name = "SD-80", |
| 788 | .ifnum = 0, |
| 789 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 790 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 791 | .out_cables = 0x000f, |
| 792 | .in_cables = 0x000f |
| 793 | } |
| 794 | } |
| 795 | }, |
| 796 | { /* |
| 797 | * This quirk is for the "Advanced" modes of the Edirol UA-700. |
| 798 | * If the sample format switch is not in an advanced setting, the |
| 799 | * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks), |
| 800 | * but offers only 16-bit PCM and no MIDI. |
| 801 | */ |
| 802 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 803 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 804 | .vendor_name = "EDIROL", |
| 805 | .product_name = "UA-700", |
| 806 | .ifnum = QUIRK_ANY_INTERFACE, |
| 807 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 808 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 809 | { |
| 810 | .ifnum = 1, |
| 811 | .type = QUIRK_AUDIO_EDIROL_UA700_UA25 |
| 812 | }, |
| 813 | { |
| 814 | .ifnum = 2, |
| 815 | .type = QUIRK_AUDIO_EDIROL_UA700_UA25 |
| 816 | }, |
| 817 | { |
| 818 | .ifnum = 3, |
| 819 | .type = QUIRK_AUDIO_EDIROL_UA700_UA25 |
| 820 | }, |
| 821 | { |
| 822 | .ifnum = -1 |
| 823 | } |
| 824 | } |
| 825 | } |
| 826 | }, |
| 827 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 828 | /* has ID 0x002e when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 829 | USB_DEVICE(0x0582, 0x002d), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 830 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 831 | .vendor_name = "Roland", |
| 832 | .product_name = "XV-2020", |
| 833 | .ifnum = 0, |
| 834 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 835 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 836 | .out_cables = 0x0001, |
| 837 | .in_cables = 0x0001 |
| 838 | } |
| 839 | } |
| 840 | }, |
| 841 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 842 | /* has ID 0x0030 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 843 | USB_DEVICE(0x0582, 0x002f), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 844 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 845 | .vendor_name = "Roland", |
| 846 | .product_name = "VariOS", |
| 847 | .ifnum = 0, |
| 848 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 849 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 850 | .out_cables = 0x0007, |
| 851 | .in_cables = 0x0007 |
| 852 | } |
| 853 | } |
| 854 | }, |
| 855 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 856 | /* has ID 0x0034 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 857 | USB_DEVICE(0x0582, 0x0033), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 858 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 859 | .vendor_name = "EDIROL", |
| 860 | .product_name = "PCR", |
| 861 | .ifnum = 0, |
| 862 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 863 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 864 | .out_cables = 0x0003, |
| 865 | .in_cables = 0x0007 |
| 866 | } |
| 867 | } |
| 868 | }, |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 869 | /* TODO: add Roland M-1000 support */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 870 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 871 | /* |
| 872 | * Has ID 0x0038 when not in "Advanced Driver" mode; |
| 873 | * later revisions use IDs 0x0054 and 0x00a2. |
| 874 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 875 | USB_DEVICE(0x0582, 0x0037), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 876 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 877 | .vendor_name = "Roland", |
| 878 | .product_name = "Digital Piano", |
| 879 | .ifnum = 0, |
| 880 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 881 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 882 | .out_cables = 0x0001, |
| 883 | .in_cables = 0x0001 |
| 884 | } |
| 885 | } |
| 886 | }, |
| 887 | { |
Clemens Ladisch | 5af4c83 | 2005-04-06 09:47:02 +0200 | [diff] [blame] | 888 | /* |
| 889 | * This quirk is for the "Advanced Driver" mode. If off, the GS-10 |
| 890 | * has ID 0x003c and is standard compliant, but has only 16-bit PCM |
| 891 | * and no MIDI. |
| 892 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 893 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 894 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 895 | .vendor_name = "BOSS", |
| 896 | .product_name = "GS-10", |
Clemens Ladisch | 5af4c83 | 2005-04-06 09:47:02 +0200 | [diff] [blame] | 897 | .ifnum = QUIRK_ANY_INTERFACE, |
| 898 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 899 | .data = & (const struct snd_usb_audio_quirk[]) { |
Clemens Ladisch | 5af4c83 | 2005-04-06 09:47:02 +0200 | [diff] [blame] | 900 | { |
| 901 | .ifnum = 1, |
| 902 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 903 | }, |
| 904 | { |
| 905 | .ifnum = 2, |
| 906 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 907 | }, |
| 908 | { |
| 909 | .ifnum = 3, |
| 910 | .type = QUIRK_MIDI_STANDARD_INTERFACE |
| 911 | }, |
| 912 | { |
| 913 | .ifnum = -1 |
| 914 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 915 | } |
| 916 | } |
| 917 | }, |
| 918 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 919 | /* has ID 0x0041 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 920 | USB_DEVICE(0x0582, 0x0040), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 921 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 922 | .vendor_name = "Roland", |
| 923 | .product_name = "GI-20", |
| 924 | .ifnum = 0, |
| 925 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 926 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 927 | .out_cables = 0x0001, |
| 928 | .in_cables = 0x0001 |
| 929 | } |
| 930 | } |
| 931 | }, |
| 932 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 933 | /* has ID 0x0043 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 934 | USB_DEVICE(0x0582, 0x0042), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 935 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 936 | .vendor_name = "Roland", |
| 937 | .product_name = "RS-70", |
| 938 | .ifnum = 0, |
| 939 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 940 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 941 | .out_cables = 0x0001, |
| 942 | .in_cables = 0x0001 |
| 943 | } |
| 944 | } |
| 945 | }, |
| 946 | { |
| 947 | USB_DEVICE(0x0582, 0x0044), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 948 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 949 | .vendor_name = "Roland", |
| 950 | .product_name = "UA-1000", |
| 951 | .ifnum = QUIRK_ANY_INTERFACE, |
| 952 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 953 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 954 | { |
| 955 | .ifnum = 1, |
| 956 | .type = QUIRK_AUDIO_EDIROL_UA1000 |
| 957 | }, |
| 958 | { |
| 959 | .ifnum = 2, |
| 960 | .type = QUIRK_AUDIO_EDIROL_UA1000 |
| 961 | }, |
| 962 | { |
| 963 | .ifnum = 3, |
| 964 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 965 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 966 | .out_cables = 0x0003, |
| 967 | .in_cables = 0x0003 |
| 968 | } |
| 969 | }, |
| 970 | { |
| 971 | .ifnum = -1 |
| 972 | } |
| 973 | } |
| 974 | } |
| 975 | }, |
| 976 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 977 | /* has ID 0x004a when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 978 | USB_DEVICE(0x0582, 0x0048), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 979 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 980 | .vendor_name = "EDIROL", |
| 981 | .product_name = "UR-80", |
| 982 | .ifnum = 0, |
| 983 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 984 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 985 | .out_cables = 0x0003, |
| 986 | .in_cables = 0x0007 |
| 987 | } |
| 988 | } |
| 989 | }, |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 990 | /* TODO: add Edirol M-100FX support */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 991 | { |
Clemens Ladisch | f38cc31 | 2007-02-09 20:52:55 +0100 | [diff] [blame] | 992 | /* has ID 0x004e when not in "Advanced Driver" mode */ |
| 993 | USB_DEVICE(0x0582, 0x004c), |
| 994 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 995 | .vendor_name = "EDIROL", |
| 996 | .product_name = "PCR-A", |
| 997 | .ifnum = QUIRK_ANY_INTERFACE, |
| 998 | .type = QUIRK_COMPOSITE, |
| 999 | .data = (const struct snd_usb_audio_quirk[]) { |
| 1000 | { |
| 1001 | .ifnum = 1, |
| 1002 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1003 | }, |
| 1004 | { |
| 1005 | .ifnum = 2, |
| 1006 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1007 | }, |
| 1008 | { |
| 1009 | .ifnum = -1 |
| 1010 | } |
| 1011 | } |
| 1012 | } |
| 1013 | }, |
| 1014 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1015 | /* has ID 0x004f when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1016 | USB_DEVICE(0x0582, 0x004d), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1017 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1018 | .vendor_name = "EDIROL", |
| 1019 | .product_name = "PCR-A", |
| 1020 | .ifnum = 0, |
| 1021 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1022 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1023 | .out_cables = 0x0003, |
| 1024 | .in_cables = 0x0007 |
| 1025 | } |
| 1026 | } |
| 1027 | }, |
| 1028 | { |
| 1029 | /* |
| 1030 | * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX |
| 1031 | * is standard compliant, but has only 16-bit PCM. |
| 1032 | */ |
| 1033 | USB_DEVICE(0x0582, 0x0050), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1034 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1035 | .vendor_name = "EDIROL", |
| 1036 | .product_name = "UA-3FX", |
| 1037 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1038 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1039 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1040 | { |
| 1041 | .ifnum = 1, |
| 1042 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1043 | }, |
| 1044 | { |
| 1045 | .ifnum = 2, |
| 1046 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1047 | }, |
| 1048 | { |
| 1049 | .ifnum = -1 |
| 1050 | } |
| 1051 | } |
| 1052 | } |
| 1053 | }, |
| 1054 | { |
| 1055 | USB_DEVICE(0x0582, 0x0052), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1056 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1057 | .vendor_name = "EDIROL", |
| 1058 | .product_name = "UM-1SX", |
| 1059 | .ifnum = 0, |
| 1060 | .type = QUIRK_MIDI_STANDARD_INTERFACE |
| 1061 | } |
| 1062 | }, |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1063 | /* TODO: add Roland EXR support */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1064 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1065 | /* has ID 0x0067 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1066 | USB_DEVICE(0x0582, 0x0065), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1067 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1068 | .vendor_name = "EDIROL", |
| 1069 | .product_name = "PCR-1", |
| 1070 | .ifnum = 0, |
| 1071 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1072 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1073 | .out_cables = 0x0001, |
| 1074 | .in_cables = 0x0003 |
| 1075 | } |
| 1076 | } |
| 1077 | }, |
| 1078 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1079 | /* has ID 0x006b when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1080 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1081 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1082 | .vendor_name = "Roland", |
| 1083 | .product_name = "SP-606", |
| 1084 | .ifnum = 3, |
| 1085 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1086 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1087 | .out_cables = 0x0001, |
| 1088 | .in_cables = 0x0001 |
| 1089 | } |
| 1090 | } |
| 1091 | }, |
| 1092 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1093 | /* has ID 0x006e when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1094 | USB_DEVICE(0x0582, 0x006d), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1095 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1096 | .vendor_name = "Roland", |
| 1097 | .product_name = "FANTOM-X", |
| 1098 | .ifnum = 0, |
| 1099 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1100 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1101 | .out_cables = 0x0001, |
| 1102 | .in_cables = 0x0001 |
| 1103 | } |
| 1104 | } |
| 1105 | }, |
Claudio Matsuoka | 95093a2 | 2007-07-03 20:07:39 +0200 | [diff] [blame] | 1106 | { |
| 1107 | USB_DEVICE(0x582, 0x00a6), |
| 1108 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1109 | .vendor_name = "Roland", |
| 1110 | .product_name = "Juno-G", |
| 1111 | .ifnum = 0, |
| 1112 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 1113 | .data = & (const struct snd_usb_midi_endpoint_info) { |
| 1114 | .out_cables = 0x0001, |
| 1115 | .in_cables = 0x0001 |
| 1116 | } |
| 1117 | } |
| 1118 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1119 | { /* |
| 1120 | * This quirk is for the "Advanced" modes of the Edirol UA-25. |
| 1121 | * If the switch is not in an advanced setting, the UA-25 has |
| 1122 | * ID 0x0582/0x0073 and is standard compliant (no quirks), but |
| 1123 | * offers only 16-bit PCM at 44.1 kHz and no MIDI. |
| 1124 | */ |
| 1125 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1126 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1127 | .vendor_name = "EDIROL", |
| 1128 | .product_name = "UA-25", |
| 1129 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1130 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1131 | .data = (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1132 | { |
| 1133 | .ifnum = 0, |
| 1134 | .type = QUIRK_AUDIO_EDIROL_UA700_UA25 |
| 1135 | }, |
| 1136 | { |
| 1137 | .ifnum = 1, |
| 1138 | .type = QUIRK_AUDIO_EDIROL_UA700_UA25 |
| 1139 | }, |
| 1140 | { |
| 1141 | .ifnum = 2, |
| 1142 | .type = QUIRK_AUDIO_EDIROL_UA700_UA25 |
| 1143 | }, |
| 1144 | { |
| 1145 | .ifnum = -1 |
| 1146 | } |
| 1147 | } |
| 1148 | } |
| 1149 | }, |
| 1150 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1151 | /* has ID 0x0076 when not in "Advanced Driver" mode */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1152 | USB_DEVICE(0x0582, 0x0075), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1153 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1154 | .vendor_name = "BOSS", |
| 1155 | .product_name = "DR-880", |
| 1156 | .ifnum = 0, |
| 1157 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1158 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1159 | .out_cables = 0x0001, |
| 1160 | .in_cables = 0x0001 |
| 1161 | } |
| 1162 | } |
| 1163 | }, |
Clemens Ladisch | 5a2a68f | 2005-09-19 12:24:00 +0200 | [diff] [blame] | 1164 | { |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1165 | /* has ID 0x007b when not in "Advanced Driver" mode */ |
Clemens Ladisch | 5a2a68f | 2005-09-19 12:24:00 +0200 | [diff] [blame] | 1166 | USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1167 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Clemens Ladisch | 5a2a68f | 2005-09-19 12:24:00 +0200 | [diff] [blame] | 1168 | .vendor_name = "Roland", |
Clemens Ladisch | d879f0c | 2005-09-21 16:33:49 +0200 | [diff] [blame] | 1169 | /* "RD" or "RD-700SX"? */ |
Clemens Ladisch | 5a2a68f | 2005-09-19 12:24:00 +0200 | [diff] [blame] | 1170 | .ifnum = 0, |
| 1171 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1172 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | 5a2a68f | 2005-09-19 12:24:00 +0200 | [diff] [blame] | 1173 | .out_cables = 0x0003, |
| 1174 | .in_cables = 0x0003 |
| 1175 | } |
| 1176 | } |
| 1177 | }, |
Bjoern Fay | d0b0fac | 2007-02-05 12:27:21 +0100 | [diff] [blame] | 1178 | /* Roland UA-101 in High-Speed Mode only */ |
| 1179 | { |
| 1180 | USB_DEVICE(0x0582, 0x007d), |
| 1181 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1182 | .vendor_name = "Roland", |
| 1183 | .product_name = "UA-101", |
| 1184 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1185 | .type = QUIRK_COMPOSITE, |
| 1186 | .data = (const struct snd_usb_audio_quirk[]) { |
| 1187 | { |
| 1188 | .ifnum = 0, |
| 1189 | .type = QUIRK_AUDIO_EDIROL_UA101 |
| 1190 | }, |
| 1191 | { |
| 1192 | .ifnum = 1, |
| 1193 | .type = QUIRK_AUDIO_EDIROL_UA101 |
| 1194 | }, |
| 1195 | { |
| 1196 | .ifnum = 2, |
| 1197 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 1198 | .data = & (const struct snd_usb_midi_endpoint_info) { |
| 1199 | .out_cables = 0x0001, |
| 1200 | .in_cables = 0x0001 |
| 1201 | } |
| 1202 | }, |
| 1203 | { |
| 1204 | .ifnum = -1 |
| 1205 | } |
| 1206 | } |
| 1207 | } |
| 1208 | }, |
Clemens Ladisch | cdca881 | 2006-01-18 08:53:32 +0100 | [diff] [blame] | 1209 | { |
| 1210 | /* has ID 0x0081 when not in "Advanced Driver" mode */ |
| 1211 | USB_DEVICE(0x0582, 0x0080), |
| 1212 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1213 | .vendor_name = "Roland", |
| 1214 | .product_name = "G-70", |
| 1215 | .ifnum = 0, |
| 1216 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 1217 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | 0542257 | 2006-01-18 15:44:53 +0100 | [diff] [blame] | 1218 | .out_cables = 0x0001, |
| 1219 | .in_cables = 0x0001 |
Clemens Ladisch | cdca881 | 2006-01-18 08:53:32 +0100 | [diff] [blame] | 1220 | } |
| 1221 | } |
| 1222 | }, |
Clemens Ladisch | 7c79b76 | 2006-01-10 18:56:23 +0100 | [diff] [blame] | 1223 | /* TODO: add Roland V-SYNTH XT support */ |
| 1224 | /* TODO: add BOSS GT-PRO support */ |
Clemens Ladisch | 415b09e | 2006-01-16 08:03:52 +0100 | [diff] [blame] | 1225 | { |
| 1226 | /* has ID 0x008c when not in "Advanced Driver" mode */ |
| 1227 | USB_DEVICE(0x0582, 0x008b), |
| 1228 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1229 | .vendor_name = "EDIROL", |
| 1230 | .product_name = "PC-50", |
| 1231 | .ifnum = 0, |
| 1232 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 1233 | .data = & (const struct snd_usb_midi_endpoint_info) { |
| 1234 | .out_cables = 0x0001, |
| 1235 | .in_cables = 0x0001 |
| 1236 | } |
| 1237 | } |
| 1238 | }, |
Clemens Ladisch | 7c79b76 | 2006-01-10 18:56:23 +0100 | [diff] [blame] | 1239 | /* TODO: add Edirol PC-80 support */ |
| 1240 | /* TODO: add Edirol UA-1EX support */ |
| 1241 | { |
| 1242 | USB_DEVICE(0x0582, 0x009a), |
| 1243 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1244 | .vendor_name = "EDIROL", |
| 1245 | .product_name = "UM-3EX", |
| 1246 | .ifnum = 0, |
| 1247 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 1248 | .data = & (const struct snd_usb_midi_endpoint_info) { |
| 1249 | .out_cables = 0x000f, |
| 1250 | .in_cables = 0x000f |
| 1251 | } |
| 1252 | } |
| 1253 | }, |
| 1254 | /* TODO: add Edirol MD-P1 support */ |
Carlo Beccaria | 8782309 | 2007-07-03 08:04:25 +0200 | [diff] [blame] | 1255 | { |
| 1256 | /* Roland SH-201 */ |
| 1257 | USB_DEVICE(0x0582, 0x00ad), |
| 1258 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1259 | .vendor_name = "Roland", |
| 1260 | .product_name = "SH-201", |
| 1261 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1262 | .type = QUIRK_COMPOSITE, |
| 1263 | .data = (const struct snd_usb_audio_quirk[]) { |
| 1264 | { |
| 1265 | .ifnum = 0, |
| 1266 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1267 | }, |
| 1268 | { |
| 1269 | .ifnum = 1, |
| 1270 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1271 | }, |
| 1272 | { |
| 1273 | .ifnum = 2, |
| 1274 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
| 1275 | .data = & (const struct snd_usb_midi_endpoint_info) { |
| 1276 | .out_cables = 0x0001, |
| 1277 | .in_cables = 0x0001 |
| 1278 | } |
| 1279 | }, |
| 1280 | { |
| 1281 | .ifnum = -1 |
| 1282 | } |
| 1283 | } |
| 1284 | } |
| 1285 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1286 | |
Clemens Ladisch | a25f175 | 2005-10-05 13:23:19 +0200 | [diff] [blame] | 1287 | /* Guillemot devices */ |
| 1288 | { |
| 1289 | /* |
| 1290 | * This is for the "Windows Edition" where the external MIDI ports are |
| 1291 | * the only MIDI ports; the control data is reported through HID |
| 1292 | * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard |
| 1293 | * compliant USB MIDI ports for external MIDI and controls. |
| 1294 | */ |
| 1295 | USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1296 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Clemens Ladisch | a25f175 | 2005-10-05 13:23:19 +0200 | [diff] [blame] | 1297 | .vendor_name = "Hercules", |
| 1298 | .product_name = "DJ Console (WE)", |
| 1299 | .ifnum = 4, |
| 1300 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1301 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Clemens Ladisch | a25f175 | 2005-10-05 13:23:19 +0200 | [diff] [blame] | 1302 | .out_cables = 0x0001, |
| 1303 | .in_cables = 0x0001 |
| 1304 | } |
| 1305 | } |
| 1306 | }, |
| 1307 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1308 | /* Midiman/M-Audio devices */ |
| 1309 | { |
| 1310 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1311 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1312 | .vendor_name = "M-Audio", |
| 1313 | .product_name = "MidiSport 2x2", |
| 1314 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1315 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1316 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1317 | .out_cables = 0x0003, |
| 1318 | .in_cables = 0x0003 |
| 1319 | } |
| 1320 | } |
| 1321 | }, |
| 1322 | { |
| 1323 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1324 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1325 | .vendor_name = "M-Audio", |
| 1326 | .product_name = "MidiSport 1x1", |
| 1327 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1328 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1329 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1330 | .out_cables = 0x0001, |
| 1331 | .in_cables = 0x0001 |
| 1332 | } |
| 1333 | } |
| 1334 | }, |
| 1335 | { |
| 1336 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1337 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1338 | .vendor_name = "M-Audio", |
| 1339 | .product_name = "Keystation", |
| 1340 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1341 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1342 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1343 | .out_cables = 0x0001, |
| 1344 | .in_cables = 0x0001 |
| 1345 | } |
| 1346 | } |
| 1347 | }, |
| 1348 | { |
| 1349 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1350 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1351 | .vendor_name = "M-Audio", |
| 1352 | .product_name = "MidiSport 4x4", |
| 1353 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1354 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1355 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1356 | .out_cables = 0x000f, |
| 1357 | .in_cables = 0x000f |
| 1358 | } |
| 1359 | } |
| 1360 | }, |
| 1361 | { |
| 1362 | /* |
| 1363 | * For hardware revision 1.05; in the later revisions (1.10 and |
| 1364 | * 1.21), 0x1031 is the ID for the device without firmware. |
| 1365 | * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de> |
| 1366 | */ |
| 1367 | USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1368 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1369 | .vendor_name = "M-Audio", |
| 1370 | .product_name = "MidiSport 8x8", |
| 1371 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1372 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1373 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1374 | .out_cables = 0x01ff, |
| 1375 | .in_cables = 0x01ff |
| 1376 | } |
| 1377 | } |
| 1378 | }, |
| 1379 | { |
| 1380 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1381 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1382 | .vendor_name = "M-Audio", |
| 1383 | .product_name = "MidiSport 8x8", |
| 1384 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1385 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1386 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1387 | .out_cables = 0x01ff, |
| 1388 | .in_cables = 0x01ff |
| 1389 | } |
| 1390 | } |
| 1391 | }, |
| 1392 | { |
| 1393 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1394 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1395 | .vendor_name = "M-Audio", |
| 1396 | .product_name = "MidiSport 2x4", |
| 1397 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1398 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1399 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1400 | .out_cables = 0x000f, |
| 1401 | .in_cables = 0x0003 |
| 1402 | } |
| 1403 | } |
| 1404 | }, |
| 1405 | { |
| 1406 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1407 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1408 | .vendor_name = "M-Audio", |
| 1409 | .product_name = "Quattro", |
| 1410 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1411 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1412 | .data = & (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1413 | /* |
| 1414 | * Interfaces 0-2 are "Windows-compatible", 16-bit only, |
| 1415 | * and share endpoints with the other interfaces. |
| 1416 | * Ignore them. The other interfaces can do 24 bits, |
| 1417 | * but captured samples are big-endian (see usbaudio.c). |
| 1418 | */ |
| 1419 | { |
| 1420 | .ifnum = 0, |
| 1421 | .type = QUIRK_IGNORE_INTERFACE |
| 1422 | }, |
| 1423 | { |
| 1424 | .ifnum = 1, |
| 1425 | .type = QUIRK_IGNORE_INTERFACE |
| 1426 | }, |
| 1427 | { |
| 1428 | .ifnum = 2, |
| 1429 | .type = QUIRK_IGNORE_INTERFACE |
| 1430 | }, |
| 1431 | { |
| 1432 | .ifnum = 3, |
| 1433 | .type = QUIRK_IGNORE_INTERFACE |
| 1434 | }, |
| 1435 | { |
| 1436 | .ifnum = 4, |
| 1437 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1438 | }, |
| 1439 | { |
| 1440 | .ifnum = 5, |
| 1441 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1442 | }, |
| 1443 | { |
| 1444 | .ifnum = 6, |
| 1445 | .type = QUIRK_IGNORE_INTERFACE |
| 1446 | }, |
| 1447 | { |
| 1448 | .ifnum = 7, |
| 1449 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1450 | }, |
| 1451 | { |
| 1452 | .ifnum = 8, |
| 1453 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1454 | }, |
| 1455 | { |
| 1456 | .ifnum = 9, |
| 1457 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1458 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1459 | .out_cables = 0x0001, |
| 1460 | .in_cables = 0x0001 |
| 1461 | } |
| 1462 | }, |
| 1463 | { |
| 1464 | .ifnum = -1 |
| 1465 | } |
| 1466 | } |
| 1467 | } |
| 1468 | }, |
| 1469 | { |
| 1470 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1471 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1472 | .vendor_name = "M-Audio", |
| 1473 | .product_name = "AudioPhile", |
| 1474 | .ifnum = 6, |
| 1475 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1476 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1477 | .out_cables = 0x0001, |
| 1478 | .in_cables = 0x0001 |
| 1479 | } |
| 1480 | } |
| 1481 | }, |
| 1482 | { |
| 1483 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1484 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1485 | .vendor_name = "M-Audio", |
| 1486 | .product_name = "Ozone", |
| 1487 | .ifnum = 3, |
| 1488 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1489 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1490 | .out_cables = 0x0001, |
| 1491 | .in_cables = 0x0001 |
| 1492 | } |
| 1493 | } |
| 1494 | }, |
| 1495 | { |
| 1496 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1497 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1498 | .vendor_name = "M-Audio", |
| 1499 | .product_name = "OmniStudio", |
| 1500 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1501 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1502 | .data = & (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1503 | { |
| 1504 | .ifnum = 0, |
| 1505 | .type = QUIRK_IGNORE_INTERFACE |
| 1506 | }, |
| 1507 | { |
| 1508 | .ifnum = 1, |
| 1509 | .type = QUIRK_IGNORE_INTERFACE |
| 1510 | }, |
| 1511 | { |
| 1512 | .ifnum = 2, |
| 1513 | .type = QUIRK_IGNORE_INTERFACE |
| 1514 | }, |
| 1515 | { |
| 1516 | .ifnum = 3, |
| 1517 | .type = QUIRK_IGNORE_INTERFACE |
| 1518 | }, |
| 1519 | { |
| 1520 | .ifnum = 4, |
| 1521 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1522 | }, |
| 1523 | { |
| 1524 | .ifnum = 5, |
| 1525 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1526 | }, |
| 1527 | { |
| 1528 | .ifnum = 6, |
| 1529 | .type = QUIRK_IGNORE_INTERFACE |
| 1530 | }, |
| 1531 | { |
| 1532 | .ifnum = 7, |
| 1533 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1534 | }, |
| 1535 | { |
| 1536 | .ifnum = 8, |
| 1537 | .type = QUIRK_AUDIO_STANDARD_INTERFACE |
| 1538 | }, |
| 1539 | { |
| 1540 | .ifnum = 9, |
| 1541 | .type = QUIRK_MIDI_MIDIMAN, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1542 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1543 | .out_cables = 0x0001, |
| 1544 | .in_cables = 0x0001 |
| 1545 | } |
| 1546 | }, |
| 1547 | { |
| 1548 | .ifnum = -1 |
| 1549 | } |
| 1550 | } |
| 1551 | } |
| 1552 | }, |
| 1553 | |
Clemens Ladisch | 0243ef71 | 2006-03-09 07:55:55 +0100 | [diff] [blame] | 1554 | /* Casio devices */ |
| 1555 | { |
Clemens Ladisch | 9808dc9 | 2006-03-16 08:15:25 +0100 | [diff] [blame] | 1556 | USB_DEVICE(0x07cf, 0x6801), |
| 1557 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1558 | .vendor_name = "Casio", |
| 1559 | .product_name = "PL-40R", |
| 1560 | .ifnum = 0, |
| 1561 | .type = QUIRK_MIDI_YAMAHA |
| 1562 | } |
| 1563 | }, |
| 1564 | { |
Clemens Ladisch | 318d27f | 2006-03-09 08:17:08 +0100 | [diff] [blame] | 1565 | /* this ID is used by several devices without a product ID */ |
Clemens Ladisch | 0243ef71 | 2006-03-09 07:55:55 +0100 | [diff] [blame] | 1566 | USB_DEVICE(0x07cf, 0x6802), |
| 1567 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1568 | .vendor_name = "Casio", |
Clemens Ladisch | 318d27f | 2006-03-09 08:17:08 +0100 | [diff] [blame] | 1569 | .product_name = "Keyboard", |
Clemens Ladisch | 0243ef71 | 2006-03-09 07:55:55 +0100 | [diff] [blame] | 1570 | .ifnum = 0, |
| 1571 | .type = QUIRK_MIDI_YAMAHA |
| 1572 | } |
| 1573 | }, |
| 1574 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1575 | /* Mark of the Unicorn devices */ |
| 1576 | { |
| 1577 | /* thanks to Robert A. Lerche <ral 'at' msbit.com> */ |
Clemens Ladisch | bbd4615 | 2005-07-04 09:21:45 +0200 | [diff] [blame] | 1578 | .match_flags = USB_DEVICE_ID_MATCH_VENDOR | |
| 1579 | USB_DEVICE_ID_MATCH_PRODUCT | |
| 1580 | USB_DEVICE_ID_MATCH_DEV_SUBCLASS, |
| 1581 | .idVendor = 0x07fd, |
| 1582 | .idProduct = 0x0001, |
| 1583 | .bDeviceSubClass = 2, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1584 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1585 | .vendor_name = "MOTU", |
| 1586 | .product_name = "Fastlane", |
| 1587 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1588 | .type = QUIRK_COMPOSITE, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1589 | .data = & (const struct snd_usb_audio_quirk[]) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1590 | { |
| 1591 | .ifnum = 0, |
Clemens Ladisch | 6155aff | 2005-07-04 09:20:42 +0200 | [diff] [blame] | 1592 | .type = QUIRK_MIDI_RAW |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1593 | }, |
| 1594 | { |
| 1595 | .ifnum = 1, |
| 1596 | .type = QUIRK_IGNORE_INTERFACE |
| 1597 | }, |
| 1598 | { |
| 1599 | .ifnum = -1 |
| 1600 | } |
| 1601 | } |
| 1602 | } |
| 1603 | }, |
| 1604 | |
| 1605 | { |
| 1606 | /* Creative Sound Blaster MP3+ */ |
| 1607 | USB_DEVICE(0x041e, 0x3010), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1608 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1609 | .vendor_name = "Creative Labs", |
| 1610 | .product_name = "Sound Blaster MP3+", |
| 1611 | .ifnum = QUIRK_NO_INTERFACE |
| 1612 | } |
| 1613 | |
| 1614 | }, |
| 1615 | |
| 1616 | /* Emagic devices */ |
| 1617 | { |
| 1618 | USB_DEVICE(0x086a, 0x0001), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1619 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1620 | .vendor_name = "Emagic", |
| 1621 | /* .product_name = "Unitor8", */ |
| 1622 | .ifnum = 2, |
| 1623 | .type = QUIRK_MIDI_EMAGIC, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1624 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1625 | .out_cables = 0x80ff, |
| 1626 | .in_cables = 0x80ff |
| 1627 | } |
| 1628 | } |
| 1629 | }, |
| 1630 | { |
| 1631 | USB_DEVICE(0x086a, 0x0002), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1632 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1633 | .vendor_name = "Emagic", |
| 1634 | /* .product_name = "AMT8", */ |
| 1635 | .ifnum = 2, |
| 1636 | .type = QUIRK_MIDI_EMAGIC, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1637 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1638 | .out_cables = 0x80ff, |
| 1639 | .in_cables = 0x80ff |
| 1640 | } |
| 1641 | } |
| 1642 | }, |
| 1643 | { |
| 1644 | USB_DEVICE(0x086a, 0x0003), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1645 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1646 | .vendor_name = "Emagic", |
| 1647 | /* .product_name = "MT4", */ |
| 1648 | .ifnum = 2, |
| 1649 | .type = QUIRK_MIDI_EMAGIC, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1650 | .data = & (const struct snd_usb_midi_endpoint_info) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1651 | .out_cables = 0x800f, |
| 1652 | .in_cables = 0x8003 |
| 1653 | } |
| 1654 | } |
| 1655 | }, |
| 1656 | |
Clemens Ladisch | 31ab952 | 2005-09-26 08:55:01 +0200 | [diff] [blame] | 1657 | /* TerraTec devices */ |
| 1658 | { |
| 1659 | USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1660 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Clemens Ladisch | 31ab952 | 2005-09-26 08:55:01 +0200 | [diff] [blame] | 1661 | .vendor_name = "TerraTec", |
| 1662 | .product_name = "PHASE 26", |
| 1663 | .ifnum = 3, |
| 1664 | .type = QUIRK_MIDI_STANDARD_INTERFACE |
| 1665 | } |
| 1666 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1667 | { |
| 1668 | USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1669 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Clemens Ladisch | 31ab952 | 2005-09-26 08:55:01 +0200 | [diff] [blame] | 1670 | .vendor_name = "TerraTec", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1671 | .product_name = "PHASE 26", |
| 1672 | .ifnum = 3, |
| 1673 | .type = QUIRK_MIDI_STANDARD_INTERFACE |
| 1674 | } |
| 1675 | }, |
Clemens Ladisch | b2b8229 | 2006-02-08 12:38:23 +0100 | [diff] [blame] | 1676 | { |
Clemens Ladisch | bc56eff | 2006-04-13 10:16:08 +0200 | [diff] [blame] | 1677 | USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014), |
| 1678 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1679 | .vendor_name = "TerraTec", |
| 1680 | .product_name = "PHASE 26", |
| 1681 | .ifnum = 3, |
| 1682 | .type = QUIRK_MIDI_STANDARD_INTERFACE |
| 1683 | } |
| 1684 | }, |
| 1685 | { |
Clemens Ladisch | b2b8229 | 2006-02-08 12:38:23 +0100 | [diff] [blame] | 1686 | USB_DEVICE(0x0ccd, 0x0035), |
| 1687 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| 1688 | .vendor_name = "Miditech", |
| 1689 | .product_name = "Play'n Roll", |
| 1690 | .ifnum = 0, |
| 1691 | .type = QUIRK_MIDI_CME |
| 1692 | } |
| 1693 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1694 | |
| 1695 | /* Novation EMS devices */ |
| 1696 | { |
| 1697 | USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1698 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1699 | .vendor_name = "Novation", |
| 1700 | .product_name = "ReMOTE Audio/XStation", |
| 1701 | .ifnum = 4, |
| 1702 | .type = QUIRK_MIDI_NOVATION |
| 1703 | } |
| 1704 | }, |
| 1705 | { |
| 1706 | USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1707 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1708 | .vendor_name = "Novation", |
| 1709 | .product_name = "Speedio", |
| 1710 | .ifnum = 3, |
| 1711 | .type = QUIRK_MIDI_NOVATION |
| 1712 | } |
| 1713 | }, |
| 1714 | { |
| 1715 | USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1716 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1717 | .vendor_name = "Novation", |
| 1718 | .product_name = "ReMOTE25", |
| 1719 | .ifnum = 0, |
| 1720 | .type = QUIRK_MIDI_NOVATION |
| 1721 | } |
| 1722 | }, |
| 1723 | |
Clemens Ladisch | cc7a59b | 2006-02-07 17:11:06 +0100 | [diff] [blame] | 1724 | /* Miditech devices */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1725 | { |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1726 | USB_DEVICE(0x4752, 0x0011), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1727 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1728 | .vendor_name = "Miditech", |
| 1729 | .product_name = "Midistart-2", |
| 1730 | .ifnum = 0, |
Clemens Ladisch | cc7a59b | 2006-02-07 17:11:06 +0100 | [diff] [blame] | 1731 | .type = QUIRK_MIDI_CME |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1732 | } |
| 1733 | }, |
Clemens Ladisch | cc7a59b | 2006-02-07 17:11:06 +0100 | [diff] [blame] | 1734 | |
| 1735 | /* Central Music devices */ |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1736 | { |
Clemens Ladisch | cc7a59b | 2006-02-07 17:11:06 +0100 | [diff] [blame] | 1737 | /* this ID used by both Miditech MidiStudio-2 and CME UF-x */ |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1738 | USB_DEVICE(0x7104, 0x2202), |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1739 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1740 | .ifnum = 0, |
Clemens Ladisch | cc7a59b | 2006-02-07 17:11:06 +0100 | [diff] [blame] | 1741 | .type = QUIRK_MIDI_CME |
Clemens Ladisch | f38275f | 2005-07-25 16:17:29 +0200 | [diff] [blame] | 1742 | } |
| 1743 | }, |
| 1744 | |
| 1745 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1746 | /* |
| 1747 | * Some USB MIDI devices don't have an audio control interface, |
| 1748 | * so we have to grab MIDI streaming interfaces here. |
| 1749 | */ |
| 1750 | .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS | |
| 1751 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, |
| 1752 | .bInterfaceClass = USB_CLASS_AUDIO, |
| 1753 | .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING, |
Takashi Iwai | 86e07d3 | 2005-11-17 15:08:02 +0100 | [diff] [blame] | 1754 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1755 | .ifnum = QUIRK_ANY_INTERFACE, |
| 1756 | .type = QUIRK_MIDI_STANDARD_INTERFACE |
| 1757 | } |
| 1758 | }, |
| 1759 | |
| 1760 | #undef USB_DEVICE_VENDOR_SPEC |