usbquirks.h 43 KB

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