usbquirks.h 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202
  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. * Yamaha devices
  41. */
  42. #define YAMAHA_DEVICE(id, name) { \
  43. USB_DEVICE(0x0499, id), \
  44. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
  45. .vendor_name = "Yamaha", \
  46. .product_name = name, \
  47. .ifnum = QUIRK_ANY_INTERFACE, \
  48. .type = QUIRK_MIDI_YAMAHA \
  49. } \
  50. }
  51. #define YAMAHA_INTERFACE(id, intf, name) { \
  52. USB_DEVICE_VENDOR_SPEC(0x0499, id), \
  53. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
  54. .vendor_name = "Yamaha", \
  55. .product_name = name, \
  56. .ifnum = intf, \
  57. .type = QUIRK_MIDI_YAMAHA \
  58. } \
  59. }
  60. YAMAHA_DEVICE(0x1000, "UX256"),
  61. YAMAHA_DEVICE(0x1001, "MU1000"),
  62. YAMAHA_DEVICE(0x1002, "MU2000"),
  63. YAMAHA_DEVICE(0x1003, "MU500"),
  64. YAMAHA_INTERFACE(0x1004, 3, "UW500"),
  65. YAMAHA_DEVICE(0x1005, "MOTIF6"),
  66. YAMAHA_DEVICE(0x1006, "MOTIF7"),
  67. YAMAHA_DEVICE(0x1007, "MOTIF8"),
  68. YAMAHA_DEVICE(0x1008, "UX96"),
  69. YAMAHA_DEVICE(0x1009, "UX16"),
  70. YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
  71. YAMAHA_DEVICE(0x100c, "UC-MX"),
  72. YAMAHA_DEVICE(0x100d, "UC-KX"),
  73. YAMAHA_DEVICE(0x100e, "S08"),
  74. YAMAHA_DEVICE(0x100f, "CLP-150"),
  75. YAMAHA_DEVICE(0x1010, "CLP-170"),
  76. YAMAHA_DEVICE(0x1011, "P-250"),
  77. YAMAHA_DEVICE(0x1012, "TYROS"),
  78. YAMAHA_DEVICE(0x1013, "PF-500"),
  79. YAMAHA_DEVICE(0x1014, "S90"),
  80. YAMAHA_DEVICE(0x1015, "MOTIF-R"),
  81. YAMAHA_DEVICE(0x1017, "CVP-204"),
  82. YAMAHA_DEVICE(0x1018, "CVP-206"),
  83. YAMAHA_DEVICE(0x1019, "CVP-208"),
  84. YAMAHA_DEVICE(0x101a, "CVP-210"),
  85. YAMAHA_DEVICE(0x101b, "PSR-1100"),
  86. YAMAHA_DEVICE(0x101c, "PSR-2100"),
  87. YAMAHA_DEVICE(0x101d, "CLP-175"),
  88. YAMAHA_DEVICE(0x101e, "PSR-K1"),
  89. YAMAHA_DEVICE(0x1020, "EZ-250i"),
  90. YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
  91. YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
  92. YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
  93. YAMAHA_DEVICE(0x1024, "CVP-301"),
  94. YAMAHA_DEVICE(0x1025, "CVP-303"),
  95. YAMAHA_DEVICE(0x1026, "CVP-305"),
  96. YAMAHA_DEVICE(0x1027, "CVP-307"),
  97. YAMAHA_DEVICE(0x1028, "CVP-309"),
  98. YAMAHA_DEVICE(0x1029, "CVP-309GP"),
  99. YAMAHA_DEVICE(0x102a, "PSR-1500"),
  100. YAMAHA_DEVICE(0x102b, "PSR-3000"),
  101. YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
  102. YAMAHA_DEVICE(0x1030, "PSR-295/293"),
  103. YAMAHA_DEVICE(0x1031, "DGX-205/203"),
  104. YAMAHA_DEVICE(0x1032, "DGX-305"),
  105. YAMAHA_DEVICE(0x1033, "DGX-505"),
  106. YAMAHA_DEVICE(0x1034, NULL),
  107. YAMAHA_DEVICE(0x1035, NULL),
  108. YAMAHA_DEVICE(0x1036, NULL),
  109. YAMAHA_DEVICE(0x1037, NULL),
  110. YAMAHA_DEVICE(0x1038, NULL),
  111. YAMAHA_DEVICE(0x1039, NULL),
  112. YAMAHA_DEVICE(0x103a, NULL),
  113. YAMAHA_DEVICE(0x103b, NULL),
  114. YAMAHA_DEVICE(0x103c, NULL),
  115. YAMAHA_DEVICE(0x2000, "DGP-7"),
  116. YAMAHA_DEVICE(0x2001, "DGP-5"),
  117. YAMAHA_DEVICE(0x2002, NULL),
  118. YAMAHA_DEVICE(0x5000, "CS1D"),
  119. YAMAHA_DEVICE(0x5001, "DSP1D"),
  120. YAMAHA_DEVICE(0x5002, "DME32"),
  121. YAMAHA_DEVICE(0x5003, "DM2000"),
  122. YAMAHA_DEVICE(0x5004, "02R96"),
  123. YAMAHA_DEVICE(0x5005, "ACU16-C"),
  124. YAMAHA_DEVICE(0x5006, "NHB32-C"),
  125. YAMAHA_DEVICE(0x5007, "DM1000"),
  126. YAMAHA_DEVICE(0x5008, "01V96"),
  127. YAMAHA_DEVICE(0x5009, "SPX2000"),
  128. YAMAHA_DEVICE(0x500a, "PM5D"),
  129. YAMAHA_DEVICE(0x500b, "DME64N"),
  130. YAMAHA_DEVICE(0x500c, "DME24N"),
  131. YAMAHA_DEVICE(0x500d, NULL),
  132. YAMAHA_DEVICE(0x500e, NULL),
  133. YAMAHA_DEVICE(0x7000, "DTX"),
  134. YAMAHA_DEVICE(0x7010, "UB99"),
  135. #undef YAMAHA_DEVICE
  136. #undef YAMAHA_INTERFACE
  137. /*
  138. * Roland/RolandED/Edirol/BOSS devices
  139. */
  140. {
  141. USB_DEVICE(0x0582, 0x0000),
  142. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  143. .vendor_name = "Roland",
  144. .product_name = "UA-100",
  145. .ifnum = QUIRK_ANY_INTERFACE,
  146. .type = QUIRK_COMPOSITE,
  147. .data = (const snd_usb_audio_quirk_t[]) {
  148. {
  149. .ifnum = 0,
  150. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  151. .data = & (const struct audioformat) {
  152. .format = SNDRV_PCM_FORMAT_S16_LE,
  153. .channels = 4,
  154. .iface = 0,
  155. .altsetting = 1,
  156. .altset_idx = 1,
  157. .attributes = 0,
  158. .endpoint = 0x01,
  159. .ep_attr = 0x09,
  160. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  161. .rate_min = 44100,
  162. .rate_max = 44100,
  163. }
  164. },
  165. {
  166. .ifnum = 1,
  167. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  168. .data = & (const struct audioformat) {
  169. .format = SNDRV_PCM_FORMAT_S16_LE,
  170. .channels = 2,
  171. .iface = 1,
  172. .altsetting = 1,
  173. .altset_idx = 1,
  174. .attributes = EP_CS_ATTR_FILL_MAX,
  175. .endpoint = 0x81,
  176. .ep_attr = 0x05,
  177. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  178. .rate_min = 44100,
  179. .rate_max = 44100,
  180. }
  181. },
  182. {
  183. .ifnum = 2,
  184. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  185. .data = & (const snd_usb_midi_endpoint_info_t) {
  186. .out_cables = 0x0007,
  187. .in_cables = 0x0007
  188. }
  189. },
  190. {
  191. .ifnum = -1
  192. }
  193. }
  194. }
  195. },
  196. {
  197. USB_DEVICE(0x0582, 0x0002),
  198. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  199. .vendor_name = "EDIROL",
  200. .product_name = "UM-4",
  201. .ifnum = 2,
  202. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  203. .data = & (const snd_usb_midi_endpoint_info_t) {
  204. .out_cables = 0x000f,
  205. .in_cables = 0x000f
  206. }
  207. }
  208. },
  209. {
  210. USB_DEVICE(0x0582, 0x0003),
  211. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  212. .vendor_name = "Roland",
  213. .product_name = "SC-8850",
  214. .ifnum = 2,
  215. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  216. .data = & (const snd_usb_midi_endpoint_info_t) {
  217. .out_cables = 0x003f,
  218. .in_cables = 0x003f
  219. }
  220. }
  221. },
  222. {
  223. USB_DEVICE(0x0582, 0x0004),
  224. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  225. .vendor_name = "Roland",
  226. .product_name = "U-8",
  227. .ifnum = 2,
  228. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  229. .data = & (const snd_usb_midi_endpoint_info_t) {
  230. .out_cables = 0x0005,
  231. .in_cables = 0x0005
  232. }
  233. }
  234. },
  235. {
  236. USB_DEVICE(0x0582, 0x0005),
  237. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  238. .vendor_name = "EDIROL",
  239. .product_name = "UM-2",
  240. .ifnum = 2,
  241. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  242. .data = & (const snd_usb_midi_endpoint_info_t) {
  243. .out_cables = 0x0003,
  244. .in_cables = 0x0003
  245. }
  246. }
  247. },
  248. {
  249. USB_DEVICE(0x0582, 0x0007),
  250. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  251. .vendor_name = "Roland",
  252. .product_name = "SC-8820",
  253. .ifnum = 2,
  254. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  255. .data = & (const snd_usb_midi_endpoint_info_t) {
  256. .out_cables = 0x0013,
  257. .in_cables = 0x0013
  258. }
  259. }
  260. },
  261. {
  262. USB_DEVICE(0x0582, 0x0008),
  263. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  264. .vendor_name = "Roland",
  265. .product_name = "PC-300",
  266. .ifnum = 2,
  267. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  268. .data = & (const snd_usb_midi_endpoint_info_t) {
  269. .out_cables = 0x0001,
  270. .in_cables = 0x0001
  271. }
  272. }
  273. },
  274. {
  275. USB_DEVICE(0x0582, 0x0009),
  276. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  277. .vendor_name = "EDIROL",
  278. .product_name = "UM-1",
  279. .ifnum = 2,
  280. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  281. .data = & (const snd_usb_midi_endpoint_info_t) {
  282. .out_cables = 0x0001,
  283. .in_cables = 0x0001
  284. }
  285. }
  286. },
  287. {
  288. USB_DEVICE(0x0582, 0x000b),
  289. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  290. .vendor_name = "Roland",
  291. .product_name = "SK-500",
  292. .ifnum = 2,
  293. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  294. .data = & (const snd_usb_midi_endpoint_info_t) {
  295. .out_cables = 0x0013,
  296. .in_cables = 0x0013
  297. }
  298. }
  299. },
  300. {
  301. /* thanks to Emiliano Grilli <emillo@libero.it>
  302. * for helping researching this data */
  303. USB_DEVICE(0x0582, 0x000c),
  304. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  305. .vendor_name = "Roland",
  306. .product_name = "SC-D70",
  307. .ifnum = QUIRK_ANY_INTERFACE,
  308. .type = QUIRK_COMPOSITE,
  309. .data = (const snd_usb_audio_quirk_t[]) {
  310. {
  311. .ifnum = 0,
  312. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  313. .data = & (const struct audioformat) {
  314. .format = SNDRV_PCM_FORMAT_S24_3LE,
  315. .channels = 2,
  316. .iface = 0,
  317. .altsetting = 1,
  318. .altset_idx = 1,
  319. .attributes = 0,
  320. .endpoint = 0x01,
  321. .ep_attr = 0x01,
  322. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  323. .rate_min = 44100,
  324. .rate_max = 44100,
  325. }
  326. },
  327. {
  328. .ifnum = 1,
  329. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  330. .data = & (const struct audioformat) {
  331. .format = SNDRV_PCM_FORMAT_S24_3LE,
  332. .channels = 2,
  333. .iface = 1,
  334. .altsetting = 1,
  335. .altset_idx = 1,
  336. .attributes = 0,
  337. .endpoint = 0x81,
  338. .ep_attr = 0x01,
  339. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  340. .rate_min = 44100,
  341. .rate_max = 44100,
  342. }
  343. },
  344. {
  345. .ifnum = 2,
  346. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  347. .data = & (const snd_usb_midi_endpoint_info_t) {
  348. .out_cables = 0x0007,
  349. .in_cables = 0x0007
  350. }
  351. },
  352. {
  353. .ifnum = -1
  354. }
  355. }
  356. }
  357. },
  358. { /*
  359. * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
  360. * If the advanced mode switch at the back of the unit is off, the
  361. * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
  362. * but offers only 16-bit PCM.
  363. * In advanced mode, the UA-5 will output S24_3LE samples (two
  364. * channels) at the rate indicated on the front switch, including
  365. * the 96kHz sample rate.
  366. */
  367. USB_DEVICE(0x0582, 0x0010),
  368. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  369. .vendor_name = "EDIROL",
  370. .product_name = "UA-5",
  371. .ifnum = QUIRK_ANY_INTERFACE,
  372. .type = QUIRK_COMPOSITE,
  373. .data = (const snd_usb_audio_quirk_t[]) {
  374. {
  375. .ifnum = 1,
  376. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  377. },
  378. {
  379. .ifnum = 2,
  380. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  381. },
  382. {
  383. .ifnum = -1
  384. }
  385. }
  386. }
  387. },
  388. {
  389. USB_DEVICE(0x0582, 0x0012),
  390. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  391. .vendor_name = "Roland",
  392. .product_name = "XV-5050",
  393. .ifnum = 0,
  394. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  395. .data = & (const snd_usb_midi_endpoint_info_t) {
  396. .out_cables = 0x0001,
  397. .in_cables = 0x0001
  398. }
  399. }
  400. },
  401. {
  402. USB_DEVICE(0x0582, 0x0014),
  403. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  404. .vendor_name = "EDIROL",
  405. .product_name = "UM-880",
  406. .ifnum = 0,
  407. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  408. .data = & (const snd_usb_midi_endpoint_info_t) {
  409. .out_cables = 0x01ff,
  410. .in_cables = 0x01ff
  411. }
  412. }
  413. },
  414. {
  415. USB_DEVICE(0x0582, 0x0016),
  416. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  417. .vendor_name = "EDIROL",
  418. .product_name = "SD-90",
  419. .ifnum = 2,
  420. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  421. .data = & (const snd_usb_midi_endpoint_info_t) {
  422. .out_cables = 0x000f,
  423. .in_cables = 0x000f
  424. }
  425. }
  426. },
  427. {
  428. USB_DEVICE(0x0582, 0x001b),
  429. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  430. .vendor_name = "Roland",
  431. .product_name = "MMP-2",
  432. .ifnum = 2,
  433. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  434. .data = & (const snd_usb_midi_endpoint_info_t) {
  435. .out_cables = 0x0001,
  436. .in_cables = 0x0001
  437. }
  438. }
  439. },
  440. {
  441. USB_DEVICE(0x0582, 0x001d),
  442. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  443. .vendor_name = "Roland",
  444. .product_name = "V-SYNTH",
  445. .ifnum = 0,
  446. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  447. .data = & (const snd_usb_midi_endpoint_info_t) {
  448. .out_cables = 0x0001,
  449. .in_cables = 0x0001
  450. }
  451. }
  452. },
  453. {
  454. USB_DEVICE(0x0582, 0x0023),
  455. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  456. .vendor_name = "EDIROL",
  457. .product_name = "UM-550",
  458. .ifnum = 0,
  459. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  460. .data = & (const snd_usb_midi_endpoint_info_t) {
  461. .out_cables = 0x003f,
  462. .in_cables = 0x003f
  463. }
  464. }
  465. },
  466. {
  467. /*
  468. * This quirk is for the "Advanced Driver" mode. If off, the UA-20
  469. * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
  470. * and no MIDI.
  471. */
  472. USB_DEVICE(0x0582, 0x0025),
  473. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  474. .vendor_name = "EDIROL",
  475. .product_name = "UA-20",
  476. .ifnum = QUIRK_ANY_INTERFACE,
  477. .type = QUIRK_COMPOSITE,
  478. .data = (const snd_usb_audio_quirk_t[]) {
  479. {
  480. .ifnum = 1,
  481. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  482. },
  483. {
  484. .ifnum = 2,
  485. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  486. },
  487. {
  488. .ifnum = 3,
  489. .type = QUIRK_MIDI_STANDARD_INTERFACE
  490. },
  491. {
  492. .ifnum = -1
  493. }
  494. }
  495. }
  496. },
  497. {
  498. USB_DEVICE(0x0582, 0x0027),
  499. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  500. .vendor_name = "EDIROL",
  501. .product_name = "SD-20",
  502. .ifnum = 0,
  503. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  504. .data = & (const snd_usb_midi_endpoint_info_t) {
  505. .out_cables = 0x0003,
  506. .in_cables = 0x0007
  507. }
  508. }
  509. },
  510. {
  511. USB_DEVICE(0x0582, 0x0029),
  512. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  513. .vendor_name = "EDIROL",
  514. .product_name = "SD-80",
  515. .ifnum = 0,
  516. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  517. .data = & (const snd_usb_midi_endpoint_info_t) {
  518. .out_cables = 0x000f,
  519. .in_cables = 0x000f
  520. }
  521. }
  522. },
  523. { /*
  524. * This quirk is for the "Advanced" modes of the Edirol UA-700.
  525. * If the sample format switch is not in an advanced setting, the
  526. * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
  527. * but offers only 16-bit PCM and no MIDI.
  528. */
  529. USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
  530. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  531. .vendor_name = "EDIROL",
  532. .product_name = "UA-700",
  533. .ifnum = QUIRK_ANY_INTERFACE,
  534. .type = QUIRK_COMPOSITE,
  535. .data = (const snd_usb_audio_quirk_t[]) {
  536. {
  537. .ifnum = 1,
  538. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  539. },
  540. {
  541. .ifnum = 2,
  542. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  543. },
  544. {
  545. .ifnum = 3,
  546. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  547. },
  548. {
  549. .ifnum = -1
  550. }
  551. }
  552. }
  553. },
  554. {
  555. USB_DEVICE(0x0582, 0x002d),
  556. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  557. .vendor_name = "Roland",
  558. .product_name = "XV-2020",
  559. .ifnum = 0,
  560. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  561. .data = & (const snd_usb_midi_endpoint_info_t) {
  562. .out_cables = 0x0001,
  563. .in_cables = 0x0001
  564. }
  565. }
  566. },
  567. {
  568. USB_DEVICE(0x0582, 0x002f),
  569. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  570. .vendor_name = "Roland",
  571. .product_name = "VariOS",
  572. .ifnum = 0,
  573. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  574. .data = & (const snd_usb_midi_endpoint_info_t) {
  575. .out_cables = 0x0007,
  576. .in_cables = 0x0007
  577. }
  578. }
  579. },
  580. {
  581. USB_DEVICE(0x0582, 0x0033),
  582. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  583. .vendor_name = "EDIROL",
  584. .product_name = "PCR",
  585. .ifnum = 0,
  586. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  587. .data = & (const snd_usb_midi_endpoint_info_t) {
  588. .out_cables = 0x0003,
  589. .in_cables = 0x0007
  590. }
  591. }
  592. },
  593. {
  594. USB_DEVICE(0x0582, 0x0037),
  595. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  596. .vendor_name = "Roland",
  597. .product_name = "Digital Piano",
  598. .ifnum = 0,
  599. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  600. .data = & (const snd_usb_midi_endpoint_info_t) {
  601. .out_cables = 0x0001,
  602. .in_cables = 0x0001
  603. }
  604. }
  605. },
  606. {
  607. USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
  608. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  609. .vendor_name = "BOSS",
  610. .product_name = "GS-10",
  611. .ifnum = 3,
  612. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  613. .data = & (const snd_usb_midi_endpoint_info_t) {
  614. .out_cables = 0x0003,
  615. .in_cables = 0x0003
  616. }
  617. }
  618. },
  619. {
  620. USB_DEVICE(0x0582, 0x0040),
  621. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  622. .vendor_name = "Roland",
  623. .product_name = "GI-20",
  624. .ifnum = 0,
  625. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  626. .data = & (const snd_usb_midi_endpoint_info_t) {
  627. .out_cables = 0x0001,
  628. .in_cables = 0x0001
  629. }
  630. }
  631. },
  632. {
  633. USB_DEVICE(0x0582, 0x0042),
  634. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  635. .vendor_name = "Roland",
  636. .product_name = "RS-70",
  637. .ifnum = 0,
  638. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  639. .data = & (const snd_usb_midi_endpoint_info_t) {
  640. .out_cables = 0x0001,
  641. .in_cables = 0x0001
  642. }
  643. }
  644. },
  645. {
  646. USB_DEVICE(0x0582, 0x0044),
  647. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  648. .vendor_name = "Roland",
  649. .product_name = "UA-1000",
  650. .ifnum = QUIRK_ANY_INTERFACE,
  651. .type = QUIRK_COMPOSITE,
  652. .data = (const snd_usb_audio_quirk_t[]) {
  653. {
  654. .ifnum = 1,
  655. .type = QUIRK_AUDIO_EDIROL_UA1000
  656. },
  657. {
  658. .ifnum = 2,
  659. .type = QUIRK_AUDIO_EDIROL_UA1000
  660. },
  661. {
  662. .ifnum = 3,
  663. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  664. .data = & (const snd_usb_midi_endpoint_info_t) {
  665. .out_cables = 0x0003,
  666. .in_cables = 0x0003
  667. }
  668. },
  669. {
  670. .ifnum = -1
  671. }
  672. }
  673. }
  674. },
  675. {
  676. USB_DEVICE(0x0582, 0x0048),
  677. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  678. .vendor_name = "EDIROL",
  679. .product_name = "UR-80",
  680. .ifnum = 0,
  681. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  682. .data = & (const snd_usb_midi_endpoint_info_t) {
  683. .out_cables = 0x0003,
  684. .in_cables = 0x0007
  685. }
  686. }
  687. },
  688. {
  689. USB_DEVICE(0x0582, 0x004d),
  690. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  691. .vendor_name = "EDIROL",
  692. .product_name = "PCR-A",
  693. .ifnum = 0,
  694. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  695. .data = & (const snd_usb_midi_endpoint_info_t) {
  696. .out_cables = 0x0003,
  697. .in_cables = 0x0007
  698. }
  699. }
  700. },
  701. {
  702. /*
  703. * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
  704. * is standard compliant, but has only 16-bit PCM.
  705. */
  706. USB_DEVICE(0x0582, 0x0050),
  707. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  708. .vendor_name = "EDIROL",
  709. .product_name = "UA-3FX",
  710. .ifnum = QUIRK_ANY_INTERFACE,
  711. .type = QUIRK_COMPOSITE,
  712. .data = (const snd_usb_audio_quirk_t[]) {
  713. {
  714. .ifnum = 1,
  715. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  716. },
  717. {
  718. .ifnum = 2,
  719. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  720. },
  721. {
  722. .ifnum = -1
  723. }
  724. }
  725. }
  726. },
  727. {
  728. USB_DEVICE(0x0582, 0x0052),
  729. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  730. .vendor_name = "EDIROL",
  731. .product_name = "UM-1SX",
  732. .ifnum = 0,
  733. .type = QUIRK_MIDI_STANDARD_INTERFACE
  734. }
  735. },
  736. {
  737. USB_DEVICE(0x0582, 0x0065),
  738. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  739. .vendor_name = "EDIROL",
  740. .product_name = "PCR-1",
  741. .ifnum = 0,
  742. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  743. .data = & (const snd_usb_midi_endpoint_info_t) {
  744. .out_cables = 0x0001,
  745. .in_cables = 0x0003
  746. }
  747. }
  748. },
  749. {
  750. USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
  751. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  752. .vendor_name = "Roland",
  753. .product_name = "SP-606",
  754. .ifnum = 3,
  755. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  756. .data = & (const snd_usb_midi_endpoint_info_t) {
  757. .out_cables = 0x0001,
  758. .in_cables = 0x0001
  759. }
  760. }
  761. },
  762. {
  763. USB_DEVICE(0x0582, 0x006d),
  764. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  765. .vendor_name = "Roland",
  766. .product_name = "FANTOM-X",
  767. .ifnum = 0,
  768. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  769. .data = & (const snd_usb_midi_endpoint_info_t) {
  770. .out_cables = 0x0001,
  771. .in_cables = 0x0001
  772. }
  773. }
  774. },
  775. { /*
  776. * This quirk is for the "Advanced" modes of the Edirol UA-25.
  777. * If the switch is not in an advanced setting, the UA-25 has
  778. * ID 0x0582/0x0073 and is standard compliant (no quirks), but
  779. * offers only 16-bit PCM at 44.1 kHz and no MIDI.
  780. */
  781. USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
  782. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  783. .vendor_name = "EDIROL",
  784. .product_name = "UA-25",
  785. .ifnum = QUIRK_ANY_INTERFACE,
  786. .type = QUIRK_COMPOSITE,
  787. .data = (const snd_usb_audio_quirk_t[]) {
  788. {
  789. .ifnum = 0,
  790. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  791. },
  792. {
  793. .ifnum = 1,
  794. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  795. },
  796. {
  797. .ifnum = 2,
  798. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  799. },
  800. {
  801. .ifnum = -1
  802. }
  803. }
  804. }
  805. },
  806. {
  807. USB_DEVICE(0x0582, 0x0075),
  808. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  809. .vendor_name = "BOSS",
  810. .product_name = "DR-880",
  811. .ifnum = 0,
  812. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  813. .data = & (const snd_usb_midi_endpoint_info_t) {
  814. .out_cables = 0x0001,
  815. .in_cables = 0x0001
  816. }
  817. }
  818. },
  819. /* Midiman/M-Audio devices */
  820. {
  821. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
  822. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  823. .vendor_name = "M-Audio",
  824. .product_name = "MidiSport 2x2",
  825. .ifnum = QUIRK_ANY_INTERFACE,
  826. .type = QUIRK_MIDI_MIDIMAN,
  827. .data = & (const snd_usb_midi_endpoint_info_t) {
  828. .out_cables = 0x0003,
  829. .in_cables = 0x0003
  830. }
  831. }
  832. },
  833. {
  834. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
  835. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  836. .vendor_name = "M-Audio",
  837. .product_name = "MidiSport 1x1",
  838. .ifnum = QUIRK_ANY_INTERFACE,
  839. .type = QUIRK_MIDI_MIDIMAN,
  840. .data = & (const snd_usb_midi_endpoint_info_t) {
  841. .out_cables = 0x0001,
  842. .in_cables = 0x0001
  843. }
  844. }
  845. },
  846. {
  847. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
  848. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  849. .vendor_name = "M-Audio",
  850. .product_name = "Keystation",
  851. .ifnum = QUIRK_ANY_INTERFACE,
  852. .type = QUIRK_MIDI_MIDIMAN,
  853. .data = & (const snd_usb_midi_endpoint_info_t) {
  854. .out_cables = 0x0001,
  855. .in_cables = 0x0001
  856. }
  857. }
  858. },
  859. {
  860. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
  861. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  862. .vendor_name = "M-Audio",
  863. .product_name = "MidiSport 4x4",
  864. .ifnum = QUIRK_ANY_INTERFACE,
  865. .type = QUIRK_MIDI_MIDIMAN,
  866. .data = & (const snd_usb_midi_endpoint_info_t) {
  867. .out_cables = 0x000f,
  868. .in_cables = 0x000f
  869. }
  870. }
  871. },
  872. {
  873. /*
  874. * For hardware revision 1.05; in the later revisions (1.10 and
  875. * 1.21), 0x1031 is the ID for the device without firmware.
  876. * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
  877. */
  878. USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
  879. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  880. .vendor_name = "M-Audio",
  881. .product_name = "MidiSport 8x8",
  882. .ifnum = QUIRK_ANY_INTERFACE,
  883. .type = QUIRK_MIDI_MIDIMAN,
  884. .data = & (const snd_usb_midi_endpoint_info_t) {
  885. .out_cables = 0x01ff,
  886. .in_cables = 0x01ff
  887. }
  888. }
  889. },
  890. {
  891. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
  892. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  893. .vendor_name = "M-Audio",
  894. .product_name = "MidiSport 8x8",
  895. .ifnum = QUIRK_ANY_INTERFACE,
  896. .type = QUIRK_MIDI_MIDIMAN,
  897. .data = & (const snd_usb_midi_endpoint_info_t) {
  898. .out_cables = 0x01ff,
  899. .in_cables = 0x01ff
  900. }
  901. }
  902. },
  903. {
  904. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
  905. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  906. .vendor_name = "M-Audio",
  907. .product_name = "MidiSport 2x4",
  908. .ifnum = QUIRK_ANY_INTERFACE,
  909. .type = QUIRK_MIDI_MIDIMAN,
  910. .data = & (const snd_usb_midi_endpoint_info_t) {
  911. .out_cables = 0x000f,
  912. .in_cables = 0x0003
  913. }
  914. }
  915. },
  916. {
  917. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
  918. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  919. .vendor_name = "M-Audio",
  920. .product_name = "Quattro",
  921. .ifnum = QUIRK_ANY_INTERFACE,
  922. .type = QUIRK_COMPOSITE,
  923. .data = & (const snd_usb_audio_quirk_t[]) {
  924. /*
  925. * Interfaces 0-2 are "Windows-compatible", 16-bit only,
  926. * and share endpoints with the other interfaces.
  927. * Ignore them. The other interfaces can do 24 bits,
  928. * but captured samples are big-endian (see usbaudio.c).
  929. */
  930. {
  931. .ifnum = 0,
  932. .type = QUIRK_IGNORE_INTERFACE
  933. },
  934. {
  935. .ifnum = 1,
  936. .type = QUIRK_IGNORE_INTERFACE
  937. },
  938. {
  939. .ifnum = 2,
  940. .type = QUIRK_IGNORE_INTERFACE
  941. },
  942. {
  943. .ifnum = 3,
  944. .type = QUIRK_IGNORE_INTERFACE
  945. },
  946. {
  947. .ifnum = 4,
  948. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  949. },
  950. {
  951. .ifnum = 5,
  952. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  953. },
  954. {
  955. .ifnum = 6,
  956. .type = QUIRK_IGNORE_INTERFACE
  957. },
  958. {
  959. .ifnum = 7,
  960. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  961. },
  962. {
  963. .ifnum = 8,
  964. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  965. },
  966. {
  967. .ifnum = 9,
  968. .type = QUIRK_MIDI_MIDIMAN,
  969. .data = & (const snd_usb_midi_endpoint_info_t) {
  970. .out_cables = 0x0001,
  971. .in_cables = 0x0001
  972. }
  973. },
  974. {
  975. .ifnum = -1
  976. }
  977. }
  978. }
  979. },
  980. {
  981. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
  982. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  983. .vendor_name = "M-Audio",
  984. .product_name = "AudioPhile",
  985. .ifnum = 6,
  986. .type = QUIRK_MIDI_MIDIMAN,
  987. .data = & (const snd_usb_midi_endpoint_info_t) {
  988. .out_cables = 0x0001,
  989. .in_cables = 0x0001
  990. }
  991. }
  992. },
  993. {
  994. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
  995. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  996. .vendor_name = "M-Audio",
  997. .product_name = "Ozone",
  998. .ifnum = 3,
  999. .type = QUIRK_MIDI_MIDIMAN,
  1000. .data = & (const snd_usb_midi_endpoint_info_t) {
  1001. .out_cables = 0x0001,
  1002. .in_cables = 0x0001
  1003. }
  1004. }
  1005. },
  1006. {
  1007. USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
  1008. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1009. .vendor_name = "M-Audio",
  1010. .product_name = "OmniStudio",
  1011. .ifnum = QUIRK_ANY_INTERFACE,
  1012. .type = QUIRK_COMPOSITE,
  1013. .data = & (const snd_usb_audio_quirk_t[]) {
  1014. {
  1015. .ifnum = 0,
  1016. .type = QUIRK_IGNORE_INTERFACE
  1017. },
  1018. {
  1019. .ifnum = 1,
  1020. .type = QUIRK_IGNORE_INTERFACE
  1021. },
  1022. {
  1023. .ifnum = 2,
  1024. .type = QUIRK_IGNORE_INTERFACE
  1025. },
  1026. {
  1027. .ifnum = 3,
  1028. .type = QUIRK_IGNORE_INTERFACE
  1029. },
  1030. {
  1031. .ifnum = 4,
  1032. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1033. },
  1034. {
  1035. .ifnum = 5,
  1036. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1037. },
  1038. {
  1039. .ifnum = 6,
  1040. .type = QUIRK_IGNORE_INTERFACE
  1041. },
  1042. {
  1043. .ifnum = 7,
  1044. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1045. },
  1046. {
  1047. .ifnum = 8,
  1048. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1049. },
  1050. {
  1051. .ifnum = 9,
  1052. .type = QUIRK_MIDI_MIDIMAN,
  1053. .data = & (const snd_usb_midi_endpoint_info_t) {
  1054. .out_cables = 0x0001,
  1055. .in_cables = 0x0001
  1056. }
  1057. },
  1058. {
  1059. .ifnum = -1
  1060. }
  1061. }
  1062. }
  1063. },
  1064. /* Mark of the Unicorn devices */
  1065. {
  1066. /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
  1067. USB_DEVICE(0x07fd, 0x0001),
  1068. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1069. .vendor_name = "MOTU",
  1070. .product_name = "Fastlane",
  1071. .ifnum = QUIRK_ANY_INTERFACE,
  1072. .type = QUIRK_COMPOSITE,
  1073. .data = & (const snd_usb_audio_quirk_t[]) {
  1074. {
  1075. .ifnum = 0,
  1076. .type = QUIRK_MIDI_MOTU
  1077. },
  1078. {
  1079. .ifnum = 1,
  1080. .type = QUIRK_IGNORE_INTERFACE
  1081. },
  1082. {
  1083. .ifnum = -1
  1084. }
  1085. }
  1086. }
  1087. },
  1088. {
  1089. /* Creative Sound Blaster MP3+ */
  1090. USB_DEVICE(0x041e, 0x3010),
  1091. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1092. .vendor_name = "Creative Labs",
  1093. .product_name = "Sound Blaster MP3+",
  1094. .ifnum = QUIRK_NO_INTERFACE
  1095. }
  1096. },
  1097. /* Emagic devices */
  1098. {
  1099. USB_DEVICE(0x086a, 0x0001),
  1100. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1101. .vendor_name = "Emagic",
  1102. /* .product_name = "Unitor8", */
  1103. .ifnum = 2,
  1104. .type = QUIRK_MIDI_EMAGIC,
  1105. .data = & (const snd_usb_midi_endpoint_info_t) {
  1106. .out_cables = 0x80ff,
  1107. .in_cables = 0x80ff
  1108. }
  1109. }
  1110. },
  1111. {
  1112. USB_DEVICE(0x086a, 0x0002),
  1113. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1114. .vendor_name = "Emagic",
  1115. /* .product_name = "AMT8", */
  1116. .ifnum = 2,
  1117. .type = QUIRK_MIDI_EMAGIC,
  1118. .data = & (const snd_usb_midi_endpoint_info_t) {
  1119. .out_cables = 0x80ff,
  1120. .in_cables = 0x80ff
  1121. }
  1122. }
  1123. },
  1124. {
  1125. USB_DEVICE(0x086a, 0x0003),
  1126. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1127. .vendor_name = "Emagic",
  1128. /* .product_name = "MT4", */
  1129. .ifnum = 2,
  1130. .type = QUIRK_MIDI_EMAGIC,
  1131. .data = & (const snd_usb_midi_endpoint_info_t) {
  1132. .out_cables = 0x800f,
  1133. .in_cables = 0x8003
  1134. }
  1135. }
  1136. },
  1137. {
  1138. USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
  1139. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1140. .vendor_name = "Terratec",
  1141. .product_name = "PHASE 26",
  1142. .ifnum = 3,
  1143. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1144. }
  1145. },
  1146. /* Novation EMS devices */
  1147. {
  1148. USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
  1149. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1150. .vendor_name = "Novation",
  1151. .product_name = "ReMOTE Audio/XStation",
  1152. .ifnum = 4,
  1153. .type = QUIRK_MIDI_NOVATION
  1154. }
  1155. },
  1156. {
  1157. USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
  1158. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1159. .vendor_name = "Novation",
  1160. .product_name = "Speedio",
  1161. .ifnum = 3,
  1162. .type = QUIRK_MIDI_NOVATION
  1163. }
  1164. },
  1165. {
  1166. USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
  1167. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1168. .vendor_name = "Novation",
  1169. .product_name = "ReMOTE25",
  1170. .ifnum = 0,
  1171. .type = QUIRK_MIDI_NOVATION
  1172. }
  1173. },
  1174. {
  1175. /*
  1176. * Some USB MIDI devices don't have an audio control interface,
  1177. * so we have to grab MIDI streaming interfaces here.
  1178. */
  1179. .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
  1180. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  1181. .bInterfaceClass = USB_CLASS_AUDIO,
  1182. .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
  1183. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1184. .ifnum = QUIRK_ANY_INTERFACE,
  1185. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1186. }
  1187. },
  1188. #undef USB_DEVICE_VENDOR_SPEC