usbquirks.h 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220
  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. /*
  608. * This quirk is for the "Advanced Driver" mode. If off, the GS-10
  609. * has ID 0x003c and is standard compliant, but has only 16-bit PCM
  610. * and no MIDI.
  611. */
  612. USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
  613. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  614. .vendor_name = "BOSS",
  615. .product_name = "GS-10",
  616. .ifnum = QUIRK_ANY_INTERFACE,
  617. .type = QUIRK_COMPOSITE,
  618. .data = & (const snd_usb_audio_quirk_t[]) {
  619. {
  620. .ifnum = 1,
  621. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  622. },
  623. {
  624. .ifnum = 2,
  625. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  626. },
  627. {
  628. .ifnum = 3,
  629. .type = QUIRK_MIDI_STANDARD_INTERFACE
  630. },
  631. {
  632. .ifnum = -1
  633. }
  634. }
  635. }
  636. },
  637. {
  638. USB_DEVICE(0x0582, 0x0040),
  639. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  640. .vendor_name = "Roland",
  641. .product_name = "GI-20",
  642. .ifnum = 0,
  643. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  644. .data = & (const snd_usb_midi_endpoint_info_t) {
  645. .out_cables = 0x0001,
  646. .in_cables = 0x0001
  647. }
  648. }
  649. },
  650. {
  651. USB_DEVICE(0x0582, 0x0042),
  652. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  653. .vendor_name = "Roland",
  654. .product_name = "RS-70",
  655. .ifnum = 0,
  656. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  657. .data = & (const snd_usb_midi_endpoint_info_t) {
  658. .out_cables = 0x0001,
  659. .in_cables = 0x0001
  660. }
  661. }
  662. },
  663. {
  664. USB_DEVICE(0x0582, 0x0044),
  665. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  666. .vendor_name = "Roland",
  667. .product_name = "UA-1000",
  668. .ifnum = QUIRK_ANY_INTERFACE,
  669. .type = QUIRK_COMPOSITE,
  670. .data = (const snd_usb_audio_quirk_t[]) {
  671. {
  672. .ifnum = 1,
  673. .type = QUIRK_AUDIO_EDIROL_UA1000
  674. },
  675. {
  676. .ifnum = 2,
  677. .type = QUIRK_AUDIO_EDIROL_UA1000
  678. },
  679. {
  680. .ifnum = 3,
  681. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  682. .data = & (const snd_usb_midi_endpoint_info_t) {
  683. .out_cables = 0x0003,
  684. .in_cables = 0x0003
  685. }
  686. },
  687. {
  688. .ifnum = -1
  689. }
  690. }
  691. }
  692. },
  693. {
  694. USB_DEVICE(0x0582, 0x0048),
  695. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  696. .vendor_name = "EDIROL",
  697. .product_name = "UR-80",
  698. .ifnum = 0,
  699. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  700. .data = & (const snd_usb_midi_endpoint_info_t) {
  701. .out_cables = 0x0003,
  702. .in_cables = 0x0007
  703. }
  704. }
  705. },
  706. {
  707. USB_DEVICE(0x0582, 0x004d),
  708. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  709. .vendor_name = "EDIROL",
  710. .product_name = "PCR-A",
  711. .ifnum = 0,
  712. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  713. .data = & (const snd_usb_midi_endpoint_info_t) {
  714. .out_cables = 0x0003,
  715. .in_cables = 0x0007
  716. }
  717. }
  718. },
  719. {
  720. /*
  721. * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
  722. * is standard compliant, but has only 16-bit PCM.
  723. */
  724. USB_DEVICE(0x0582, 0x0050),
  725. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  726. .vendor_name = "EDIROL",
  727. .product_name = "UA-3FX",
  728. .ifnum = QUIRK_ANY_INTERFACE,
  729. .type = QUIRK_COMPOSITE,
  730. .data = (const snd_usb_audio_quirk_t[]) {
  731. {
  732. .ifnum = 1,
  733. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  734. },
  735. {
  736. .ifnum = 2,
  737. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  738. },
  739. {
  740. .ifnum = -1
  741. }
  742. }
  743. }
  744. },
  745. {
  746. USB_DEVICE(0x0582, 0x0052),
  747. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  748. .vendor_name = "EDIROL",
  749. .product_name = "UM-1SX",
  750. .ifnum = 0,
  751. .type = QUIRK_MIDI_STANDARD_INTERFACE
  752. }
  753. },
  754. {
  755. USB_DEVICE(0x0582, 0x0065),
  756. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  757. .vendor_name = "EDIROL",
  758. .product_name = "PCR-1",
  759. .ifnum = 0,
  760. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  761. .data = & (const snd_usb_midi_endpoint_info_t) {
  762. .out_cables = 0x0001,
  763. .in_cables = 0x0003
  764. }
  765. }
  766. },
  767. {
  768. USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
  769. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  770. .vendor_name = "Roland",
  771. .product_name = "SP-606",
  772. .ifnum = 3,
  773. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  774. .data = & (const snd_usb_midi_endpoint_info_t) {
  775. .out_cables = 0x0001,
  776. .in_cables = 0x0001
  777. }
  778. }
  779. },
  780. {
  781. USB_DEVICE(0x0582, 0x006d),
  782. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  783. .vendor_name = "Roland",
  784. .product_name = "FANTOM-X",
  785. .ifnum = 0,
  786. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  787. .data = & (const snd_usb_midi_endpoint_info_t) {
  788. .out_cables = 0x0001,
  789. .in_cables = 0x0001
  790. }
  791. }
  792. },
  793. { /*
  794. * This quirk is for the "Advanced" modes of the Edirol UA-25.
  795. * If the switch is not in an advanced setting, the UA-25 has
  796. * ID 0x0582/0x0073 and is standard compliant (no quirks), but
  797. * offers only 16-bit PCM at 44.1 kHz and no MIDI.
  798. */
  799. USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
  800. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  801. .vendor_name = "EDIROL",
  802. .product_name = "UA-25",
  803. .ifnum = QUIRK_ANY_INTERFACE,
  804. .type = QUIRK_COMPOSITE,
  805. .data = (const snd_usb_audio_quirk_t[]) {
  806. {
  807. .ifnum = 0,
  808. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  809. },
  810. {
  811. .ifnum = 1,
  812. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  813. },
  814. {
  815. .ifnum = 2,
  816. .type = QUIRK_AUDIO_EDIROL_UA700_UA25
  817. },
  818. {
  819. .ifnum = -1
  820. }
  821. }
  822. }
  823. },
  824. {
  825. USB_DEVICE(0x0582, 0x0075),
  826. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  827. .vendor_name = "BOSS",
  828. .product_name = "DR-880",
  829. .ifnum = 0,
  830. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  831. .data = & (const snd_usb_midi_endpoint_info_t) {
  832. .out_cables = 0x0001,
  833. .in_cables = 0x0001
  834. }
  835. }
  836. },
  837. /* Midiman/M-Audio devices */
  838. {
  839. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
  840. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  841. .vendor_name = "M-Audio",
  842. .product_name = "MidiSport 2x2",
  843. .ifnum = QUIRK_ANY_INTERFACE,
  844. .type = QUIRK_MIDI_MIDIMAN,
  845. .data = & (const snd_usb_midi_endpoint_info_t) {
  846. .out_cables = 0x0003,
  847. .in_cables = 0x0003
  848. }
  849. }
  850. },
  851. {
  852. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
  853. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  854. .vendor_name = "M-Audio",
  855. .product_name = "MidiSport 1x1",
  856. .ifnum = QUIRK_ANY_INTERFACE,
  857. .type = QUIRK_MIDI_MIDIMAN,
  858. .data = & (const snd_usb_midi_endpoint_info_t) {
  859. .out_cables = 0x0001,
  860. .in_cables = 0x0001
  861. }
  862. }
  863. },
  864. {
  865. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
  866. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  867. .vendor_name = "M-Audio",
  868. .product_name = "Keystation",
  869. .ifnum = QUIRK_ANY_INTERFACE,
  870. .type = QUIRK_MIDI_MIDIMAN,
  871. .data = & (const snd_usb_midi_endpoint_info_t) {
  872. .out_cables = 0x0001,
  873. .in_cables = 0x0001
  874. }
  875. }
  876. },
  877. {
  878. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
  879. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  880. .vendor_name = "M-Audio",
  881. .product_name = "MidiSport 4x4",
  882. .ifnum = QUIRK_ANY_INTERFACE,
  883. .type = QUIRK_MIDI_MIDIMAN,
  884. .data = & (const snd_usb_midi_endpoint_info_t) {
  885. .out_cables = 0x000f,
  886. .in_cables = 0x000f
  887. }
  888. }
  889. },
  890. {
  891. /*
  892. * For hardware revision 1.05; in the later revisions (1.10 and
  893. * 1.21), 0x1031 is the ID for the device without firmware.
  894. * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
  895. */
  896. USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
  897. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  898. .vendor_name = "M-Audio",
  899. .product_name = "MidiSport 8x8",
  900. .ifnum = QUIRK_ANY_INTERFACE,
  901. .type = QUIRK_MIDI_MIDIMAN,
  902. .data = & (const snd_usb_midi_endpoint_info_t) {
  903. .out_cables = 0x01ff,
  904. .in_cables = 0x01ff
  905. }
  906. }
  907. },
  908. {
  909. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
  910. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  911. .vendor_name = "M-Audio",
  912. .product_name = "MidiSport 8x8",
  913. .ifnum = QUIRK_ANY_INTERFACE,
  914. .type = QUIRK_MIDI_MIDIMAN,
  915. .data = & (const snd_usb_midi_endpoint_info_t) {
  916. .out_cables = 0x01ff,
  917. .in_cables = 0x01ff
  918. }
  919. }
  920. },
  921. {
  922. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
  923. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  924. .vendor_name = "M-Audio",
  925. .product_name = "MidiSport 2x4",
  926. .ifnum = QUIRK_ANY_INTERFACE,
  927. .type = QUIRK_MIDI_MIDIMAN,
  928. .data = & (const snd_usb_midi_endpoint_info_t) {
  929. .out_cables = 0x000f,
  930. .in_cables = 0x0003
  931. }
  932. }
  933. },
  934. {
  935. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
  936. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  937. .vendor_name = "M-Audio",
  938. .product_name = "Quattro",
  939. .ifnum = QUIRK_ANY_INTERFACE,
  940. .type = QUIRK_COMPOSITE,
  941. .data = & (const snd_usb_audio_quirk_t[]) {
  942. /*
  943. * Interfaces 0-2 are "Windows-compatible", 16-bit only,
  944. * and share endpoints with the other interfaces.
  945. * Ignore them. The other interfaces can do 24 bits,
  946. * but captured samples are big-endian (see usbaudio.c).
  947. */
  948. {
  949. .ifnum = 0,
  950. .type = QUIRK_IGNORE_INTERFACE
  951. },
  952. {
  953. .ifnum = 1,
  954. .type = QUIRK_IGNORE_INTERFACE
  955. },
  956. {
  957. .ifnum = 2,
  958. .type = QUIRK_IGNORE_INTERFACE
  959. },
  960. {
  961. .ifnum = 3,
  962. .type = QUIRK_IGNORE_INTERFACE
  963. },
  964. {
  965. .ifnum = 4,
  966. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  967. },
  968. {
  969. .ifnum = 5,
  970. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  971. },
  972. {
  973. .ifnum = 6,
  974. .type = QUIRK_IGNORE_INTERFACE
  975. },
  976. {
  977. .ifnum = 7,
  978. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  979. },
  980. {
  981. .ifnum = 8,
  982. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  983. },
  984. {
  985. .ifnum = 9,
  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. .ifnum = -1
  994. }
  995. }
  996. }
  997. },
  998. {
  999. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
  1000. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1001. .vendor_name = "M-Audio",
  1002. .product_name = "AudioPhile",
  1003. .ifnum = 6,
  1004. .type = QUIRK_MIDI_MIDIMAN,
  1005. .data = & (const snd_usb_midi_endpoint_info_t) {
  1006. .out_cables = 0x0001,
  1007. .in_cables = 0x0001
  1008. }
  1009. }
  1010. },
  1011. {
  1012. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
  1013. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1014. .vendor_name = "M-Audio",
  1015. .product_name = "Ozone",
  1016. .ifnum = 3,
  1017. .type = QUIRK_MIDI_MIDIMAN,
  1018. .data = & (const snd_usb_midi_endpoint_info_t) {
  1019. .out_cables = 0x0001,
  1020. .in_cables = 0x0001
  1021. }
  1022. }
  1023. },
  1024. {
  1025. USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
  1026. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1027. .vendor_name = "M-Audio",
  1028. .product_name = "OmniStudio",
  1029. .ifnum = QUIRK_ANY_INTERFACE,
  1030. .type = QUIRK_COMPOSITE,
  1031. .data = & (const snd_usb_audio_quirk_t[]) {
  1032. {
  1033. .ifnum = 0,
  1034. .type = QUIRK_IGNORE_INTERFACE
  1035. },
  1036. {
  1037. .ifnum = 1,
  1038. .type = QUIRK_IGNORE_INTERFACE
  1039. },
  1040. {
  1041. .ifnum = 2,
  1042. .type = QUIRK_IGNORE_INTERFACE
  1043. },
  1044. {
  1045. .ifnum = 3,
  1046. .type = QUIRK_IGNORE_INTERFACE
  1047. },
  1048. {
  1049. .ifnum = 4,
  1050. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1051. },
  1052. {
  1053. .ifnum = 5,
  1054. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1055. },
  1056. {
  1057. .ifnum = 6,
  1058. .type = QUIRK_IGNORE_INTERFACE
  1059. },
  1060. {
  1061. .ifnum = 7,
  1062. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1063. },
  1064. {
  1065. .ifnum = 8,
  1066. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1067. },
  1068. {
  1069. .ifnum = 9,
  1070. .type = QUIRK_MIDI_MIDIMAN,
  1071. .data = & (const snd_usb_midi_endpoint_info_t) {
  1072. .out_cables = 0x0001,
  1073. .in_cables = 0x0001
  1074. }
  1075. },
  1076. {
  1077. .ifnum = -1
  1078. }
  1079. }
  1080. }
  1081. },
  1082. /* Mark of the Unicorn devices */
  1083. {
  1084. /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
  1085. USB_DEVICE(0x07fd, 0x0001),
  1086. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1087. .vendor_name = "MOTU",
  1088. .product_name = "Fastlane",
  1089. .ifnum = QUIRK_ANY_INTERFACE,
  1090. .type = QUIRK_COMPOSITE,
  1091. .data = & (const snd_usb_audio_quirk_t[]) {
  1092. {
  1093. .ifnum = 0,
  1094. .type = QUIRK_MIDI_MOTU
  1095. },
  1096. {
  1097. .ifnum = 1,
  1098. .type = QUIRK_IGNORE_INTERFACE
  1099. },
  1100. {
  1101. .ifnum = -1
  1102. }
  1103. }
  1104. }
  1105. },
  1106. {
  1107. /* Creative Sound Blaster MP3+ */
  1108. USB_DEVICE(0x041e, 0x3010),
  1109. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1110. .vendor_name = "Creative Labs",
  1111. .product_name = "Sound Blaster MP3+",
  1112. .ifnum = QUIRK_NO_INTERFACE
  1113. }
  1114. },
  1115. /* Emagic devices */
  1116. {
  1117. USB_DEVICE(0x086a, 0x0001),
  1118. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1119. .vendor_name = "Emagic",
  1120. /* .product_name = "Unitor8", */
  1121. .ifnum = 2,
  1122. .type = QUIRK_MIDI_EMAGIC,
  1123. .data = & (const snd_usb_midi_endpoint_info_t) {
  1124. .out_cables = 0x80ff,
  1125. .in_cables = 0x80ff
  1126. }
  1127. }
  1128. },
  1129. {
  1130. USB_DEVICE(0x086a, 0x0002),
  1131. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1132. .vendor_name = "Emagic",
  1133. /* .product_name = "AMT8", */
  1134. .ifnum = 2,
  1135. .type = QUIRK_MIDI_EMAGIC,
  1136. .data = & (const snd_usb_midi_endpoint_info_t) {
  1137. .out_cables = 0x80ff,
  1138. .in_cables = 0x80ff
  1139. }
  1140. }
  1141. },
  1142. {
  1143. USB_DEVICE(0x086a, 0x0003),
  1144. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1145. .vendor_name = "Emagic",
  1146. /* .product_name = "MT4", */
  1147. .ifnum = 2,
  1148. .type = QUIRK_MIDI_EMAGIC,
  1149. .data = & (const snd_usb_midi_endpoint_info_t) {
  1150. .out_cables = 0x800f,
  1151. .in_cables = 0x8003
  1152. }
  1153. }
  1154. },
  1155. {
  1156. USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
  1157. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1158. .vendor_name = "Terratec",
  1159. .product_name = "PHASE 26",
  1160. .ifnum = 3,
  1161. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1162. }
  1163. },
  1164. /* Novation EMS devices */
  1165. {
  1166. USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
  1167. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1168. .vendor_name = "Novation",
  1169. .product_name = "ReMOTE Audio/XStation",
  1170. .ifnum = 4,
  1171. .type = QUIRK_MIDI_NOVATION
  1172. }
  1173. },
  1174. {
  1175. USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
  1176. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1177. .vendor_name = "Novation",
  1178. .product_name = "Speedio",
  1179. .ifnum = 3,
  1180. .type = QUIRK_MIDI_NOVATION
  1181. }
  1182. },
  1183. {
  1184. USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
  1185. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1186. .vendor_name = "Novation",
  1187. .product_name = "ReMOTE25",
  1188. .ifnum = 0,
  1189. .type = QUIRK_MIDI_NOVATION
  1190. }
  1191. },
  1192. {
  1193. /*
  1194. * Some USB MIDI devices don't have an audio control interface,
  1195. * so we have to grab MIDI streaming interfaces here.
  1196. */
  1197. .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
  1198. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  1199. .bInterfaceClass = USB_CLASS_AUDIO,
  1200. .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
  1201. .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
  1202. .ifnum = QUIRK_ANY_INTERFACE,
  1203. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1204. }
  1205. },
  1206. #undef USB_DEVICE_VENDOR_SPEC