quirks-table.h 68 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852
  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. /* FTDI devices */
  40. {
  41. USB_DEVICE(0x0403, 0xb8d8),
  42. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  43. /* .vendor_name = "STARR LABS", */
  44. /* .product_name = "Starr Labs MIDI USB device", */
  45. .ifnum = 0,
  46. .type = QUIRK_MIDI_FTDI
  47. }
  48. },
  49. /* Creative/Toshiba Multimedia Center SB-0500 */
  50. {
  51. USB_DEVICE(0x041e, 0x3048),
  52. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  53. .vendor_name = "Toshiba",
  54. .product_name = "SB-0500",
  55. .ifnum = QUIRK_NO_INTERFACE
  56. }
  57. },
  58. /* Creative/E-Mu devices */
  59. {
  60. USB_DEVICE(0x041e, 0x3010),
  61. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  62. .vendor_name = "Creative Labs",
  63. .product_name = "Sound Blaster MP3+",
  64. .ifnum = QUIRK_NO_INTERFACE
  65. }
  66. },
  67. {
  68. /* E-Mu 0202 USB */
  69. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  70. .idVendor = 0x041e,
  71. .idProduct = 0x3f02,
  72. .bInterfaceClass = USB_CLASS_AUDIO,
  73. },
  74. {
  75. /* E-Mu 0404 USB */
  76. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  77. .idVendor = 0x041e,
  78. .idProduct = 0x3f04,
  79. .bInterfaceClass = USB_CLASS_AUDIO,
  80. },
  81. {
  82. /* E-Mu Tracker Pre */
  83. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  84. .idVendor = 0x041e,
  85. .idProduct = 0x3f0a,
  86. .bInterfaceClass = USB_CLASS_AUDIO,
  87. },
  88. {
  89. /* E-Mu 0204 USB */
  90. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  91. .idVendor = 0x041e,
  92. .idProduct = 0x3f19,
  93. .bInterfaceClass = USB_CLASS_AUDIO,
  94. },
  95. /*
  96. * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
  97. * class matches do not take effect without an explicit ID match.
  98. */
  99. {
  100. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  101. USB_DEVICE_ID_MATCH_INT_CLASS |
  102. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  103. .idVendor = 0x046d,
  104. .idProduct = 0x0850,
  105. .bInterfaceClass = USB_CLASS_AUDIO,
  106. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
  107. },
  108. {
  109. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  110. USB_DEVICE_ID_MATCH_INT_CLASS |
  111. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  112. .idVendor = 0x046d,
  113. .idProduct = 0x08ae,
  114. .bInterfaceClass = USB_CLASS_AUDIO,
  115. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
  116. },
  117. {
  118. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  119. USB_DEVICE_ID_MATCH_INT_CLASS |
  120. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  121. .idVendor = 0x046d,
  122. .idProduct = 0x08c6,
  123. .bInterfaceClass = USB_CLASS_AUDIO,
  124. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
  125. },
  126. {
  127. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  128. USB_DEVICE_ID_MATCH_INT_CLASS |
  129. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  130. .idVendor = 0x046d,
  131. .idProduct = 0x08f0,
  132. .bInterfaceClass = USB_CLASS_AUDIO,
  133. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
  134. },
  135. {
  136. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  137. USB_DEVICE_ID_MATCH_INT_CLASS |
  138. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  139. .idVendor = 0x046d,
  140. .idProduct = 0x08f5,
  141. .bInterfaceClass = USB_CLASS_AUDIO,
  142. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
  143. },
  144. {
  145. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  146. USB_DEVICE_ID_MATCH_INT_CLASS |
  147. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  148. .idVendor = 0x046d,
  149. .idProduct = 0x08f6,
  150. .bInterfaceClass = USB_CLASS_AUDIO,
  151. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
  152. },
  153. {
  154. USB_DEVICE(0x046d, 0x0990),
  155. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  156. .vendor_name = "Logitech, Inc.",
  157. .product_name = "QuickCam Pro 9000",
  158. .ifnum = QUIRK_NO_INTERFACE
  159. }
  160. },
  161. /*
  162. * Yamaha devices
  163. */
  164. #define YAMAHA_DEVICE(id, name) { \
  165. USB_DEVICE(0x0499, id), \
  166. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
  167. .vendor_name = "Yamaha", \
  168. .product_name = name, \
  169. .ifnum = QUIRK_ANY_INTERFACE, \
  170. .type = QUIRK_MIDI_YAMAHA \
  171. } \
  172. }
  173. #define YAMAHA_INTERFACE(id, intf, name) { \
  174. USB_DEVICE_VENDOR_SPEC(0x0499, id), \
  175. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
  176. .vendor_name = "Yamaha", \
  177. .product_name = name, \
  178. .ifnum = intf, \
  179. .type = QUIRK_MIDI_YAMAHA \
  180. } \
  181. }
  182. YAMAHA_DEVICE(0x1000, "UX256"),
  183. YAMAHA_DEVICE(0x1001, "MU1000"),
  184. YAMAHA_DEVICE(0x1002, "MU2000"),
  185. YAMAHA_DEVICE(0x1003, "MU500"),
  186. YAMAHA_INTERFACE(0x1004, 3, "UW500"),
  187. YAMAHA_DEVICE(0x1005, "MOTIF6"),
  188. YAMAHA_DEVICE(0x1006, "MOTIF7"),
  189. YAMAHA_DEVICE(0x1007, "MOTIF8"),
  190. YAMAHA_DEVICE(0x1008, "UX96"),
  191. YAMAHA_DEVICE(0x1009, "UX16"),
  192. YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
  193. YAMAHA_DEVICE(0x100c, "UC-MX"),
  194. YAMAHA_DEVICE(0x100d, "UC-KX"),
  195. YAMAHA_DEVICE(0x100e, "S08"),
  196. YAMAHA_DEVICE(0x100f, "CLP-150"),
  197. YAMAHA_DEVICE(0x1010, "CLP-170"),
  198. YAMAHA_DEVICE(0x1011, "P-250"),
  199. YAMAHA_DEVICE(0x1012, "TYROS"),
  200. YAMAHA_DEVICE(0x1013, "PF-500"),
  201. YAMAHA_DEVICE(0x1014, "S90"),
  202. YAMAHA_DEVICE(0x1015, "MOTIF-R"),
  203. YAMAHA_DEVICE(0x1016, "MDP-5"),
  204. YAMAHA_DEVICE(0x1017, "CVP-204"),
  205. YAMAHA_DEVICE(0x1018, "CVP-206"),
  206. YAMAHA_DEVICE(0x1019, "CVP-208"),
  207. YAMAHA_DEVICE(0x101a, "CVP-210"),
  208. YAMAHA_DEVICE(0x101b, "PSR-1100"),
  209. YAMAHA_DEVICE(0x101c, "PSR-2100"),
  210. YAMAHA_DEVICE(0x101d, "CLP-175"),
  211. YAMAHA_DEVICE(0x101e, "PSR-K1"),
  212. YAMAHA_DEVICE(0x101f, "EZ-J24"),
  213. YAMAHA_DEVICE(0x1020, "EZ-250i"),
  214. YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
  215. YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
  216. YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
  217. YAMAHA_DEVICE(0x1024, "CVP-301"),
  218. YAMAHA_DEVICE(0x1025, "CVP-303"),
  219. YAMAHA_DEVICE(0x1026, "CVP-305"),
  220. YAMAHA_DEVICE(0x1027, "CVP-307"),
  221. YAMAHA_DEVICE(0x1028, "CVP-309"),
  222. YAMAHA_DEVICE(0x1029, "CVP-309GP"),
  223. YAMAHA_DEVICE(0x102a, "PSR-1500"),
  224. YAMAHA_DEVICE(0x102b, "PSR-3000"),
  225. YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
  226. YAMAHA_DEVICE(0x1030, "PSR-295/293"),
  227. YAMAHA_DEVICE(0x1031, "DGX-205/203"),
  228. YAMAHA_DEVICE(0x1032, "DGX-305"),
  229. YAMAHA_DEVICE(0x1033, "DGX-505"),
  230. YAMAHA_DEVICE(0x1034, NULL),
  231. YAMAHA_DEVICE(0x1035, NULL),
  232. YAMAHA_DEVICE(0x1036, NULL),
  233. YAMAHA_DEVICE(0x1037, NULL),
  234. YAMAHA_DEVICE(0x1038, NULL),
  235. YAMAHA_DEVICE(0x1039, NULL),
  236. YAMAHA_DEVICE(0x103a, NULL),
  237. YAMAHA_DEVICE(0x103b, NULL),
  238. YAMAHA_DEVICE(0x103c, NULL),
  239. YAMAHA_DEVICE(0x103d, NULL),
  240. YAMAHA_DEVICE(0x103e, NULL),
  241. YAMAHA_DEVICE(0x103f, NULL),
  242. YAMAHA_DEVICE(0x1040, NULL),
  243. YAMAHA_DEVICE(0x1041, NULL),
  244. YAMAHA_DEVICE(0x1042, NULL),
  245. YAMAHA_DEVICE(0x1043, NULL),
  246. YAMAHA_DEVICE(0x1044, NULL),
  247. YAMAHA_DEVICE(0x1045, NULL),
  248. YAMAHA_INTERFACE(0x104e, 0, NULL),
  249. YAMAHA_DEVICE(0x104f, NULL),
  250. YAMAHA_DEVICE(0x1050, NULL),
  251. YAMAHA_DEVICE(0x1051, NULL),
  252. YAMAHA_DEVICE(0x1052, NULL),
  253. YAMAHA_INTERFACE(0x1053, 0, NULL),
  254. YAMAHA_INTERFACE(0x1054, 0, NULL),
  255. YAMAHA_DEVICE(0x1055, NULL),
  256. YAMAHA_DEVICE(0x1056, NULL),
  257. YAMAHA_DEVICE(0x1057, NULL),
  258. YAMAHA_DEVICE(0x1058, NULL),
  259. YAMAHA_DEVICE(0x1059, NULL),
  260. YAMAHA_DEVICE(0x105a, NULL),
  261. YAMAHA_DEVICE(0x105b, NULL),
  262. YAMAHA_DEVICE(0x105c, NULL),
  263. YAMAHA_DEVICE(0x105d, NULL),
  264. {
  265. USB_DEVICE(0x0499, 0x1503),
  266. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  267. /* .vendor_name = "Yamaha", */
  268. /* .product_name = "MOX6/MOX8", */
  269. .ifnum = QUIRK_ANY_INTERFACE,
  270. .type = QUIRK_COMPOSITE,
  271. .data = (const struct snd_usb_audio_quirk[]) {
  272. {
  273. .ifnum = 1,
  274. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  275. },
  276. {
  277. .ifnum = 2,
  278. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  279. },
  280. {
  281. .ifnum = 3,
  282. .type = QUIRK_MIDI_YAMAHA
  283. },
  284. {
  285. .ifnum = -1
  286. }
  287. }
  288. }
  289. },
  290. YAMAHA_DEVICE(0x2000, "DGP-7"),
  291. YAMAHA_DEVICE(0x2001, "DGP-5"),
  292. YAMAHA_DEVICE(0x2002, NULL),
  293. YAMAHA_DEVICE(0x2003, NULL),
  294. YAMAHA_DEVICE(0x5000, "CS1D"),
  295. YAMAHA_DEVICE(0x5001, "DSP1D"),
  296. YAMAHA_DEVICE(0x5002, "DME32"),
  297. YAMAHA_DEVICE(0x5003, "DM2000"),
  298. YAMAHA_DEVICE(0x5004, "02R96"),
  299. YAMAHA_DEVICE(0x5005, "ACU16-C"),
  300. YAMAHA_DEVICE(0x5006, "NHB32-C"),
  301. YAMAHA_DEVICE(0x5007, "DM1000"),
  302. YAMAHA_DEVICE(0x5008, "01V96"),
  303. YAMAHA_DEVICE(0x5009, "SPX2000"),
  304. YAMAHA_DEVICE(0x500a, "PM5D"),
  305. YAMAHA_DEVICE(0x500b, "DME64N"),
  306. YAMAHA_DEVICE(0x500c, "DME24N"),
  307. YAMAHA_DEVICE(0x500d, NULL),
  308. YAMAHA_DEVICE(0x500e, NULL),
  309. YAMAHA_DEVICE(0x500f, NULL),
  310. YAMAHA_DEVICE(0x7000, "DTX"),
  311. YAMAHA_DEVICE(0x7010, "UB99"),
  312. #undef YAMAHA_DEVICE
  313. #undef YAMAHA_INTERFACE
  314. /*
  315. * Roland/RolandED/Edirol/BOSS devices
  316. */
  317. {
  318. USB_DEVICE(0x0582, 0x0000),
  319. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  320. .vendor_name = "Roland",
  321. .product_name = "UA-100",
  322. .ifnum = QUIRK_ANY_INTERFACE,
  323. .type = QUIRK_COMPOSITE,
  324. .data = (const struct snd_usb_audio_quirk[]) {
  325. {
  326. .ifnum = 0,
  327. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  328. .data = & (const struct audioformat) {
  329. .formats = SNDRV_PCM_FMTBIT_S16_LE,
  330. .channels = 4,
  331. .iface = 0,
  332. .altsetting = 1,
  333. .altset_idx = 1,
  334. .attributes = 0,
  335. .endpoint = 0x01,
  336. .ep_attr = 0x09,
  337. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  338. .rate_min = 44100,
  339. .rate_max = 44100,
  340. }
  341. },
  342. {
  343. .ifnum = 1,
  344. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  345. .data = & (const struct audioformat) {
  346. .formats = SNDRV_PCM_FMTBIT_S16_LE,
  347. .channels = 2,
  348. .iface = 1,
  349. .altsetting = 1,
  350. .altset_idx = 1,
  351. .attributes = UAC_EP_CS_ATTR_FILL_MAX,
  352. .endpoint = 0x81,
  353. .ep_attr = 0x05,
  354. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  355. .rate_min = 44100,
  356. .rate_max = 44100,
  357. }
  358. },
  359. {
  360. .ifnum = 2,
  361. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  362. .data = & (const struct snd_usb_midi_endpoint_info) {
  363. .out_cables = 0x0007,
  364. .in_cables = 0x0007
  365. }
  366. },
  367. {
  368. .ifnum = -1
  369. }
  370. }
  371. }
  372. },
  373. {
  374. USB_DEVICE(0x0582, 0x0002),
  375. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  376. .vendor_name = "EDIROL",
  377. .product_name = "UM-4",
  378. .ifnum = QUIRK_ANY_INTERFACE,
  379. .type = QUIRK_COMPOSITE,
  380. .data = (const struct snd_usb_audio_quirk[]) {
  381. {
  382. .ifnum = 0,
  383. .type = QUIRK_IGNORE_INTERFACE
  384. },
  385. {
  386. .ifnum = 1,
  387. .type = QUIRK_IGNORE_INTERFACE
  388. },
  389. {
  390. .ifnum = 2,
  391. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  392. .data = & (const struct snd_usb_midi_endpoint_info) {
  393. .out_cables = 0x000f,
  394. .in_cables = 0x000f
  395. }
  396. },
  397. {
  398. .ifnum = -1
  399. }
  400. }
  401. }
  402. },
  403. {
  404. USB_DEVICE(0x0582, 0x0003),
  405. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  406. .vendor_name = "Roland",
  407. .product_name = "SC-8850",
  408. .ifnum = QUIRK_ANY_INTERFACE,
  409. .type = QUIRK_COMPOSITE,
  410. .data = (const struct snd_usb_audio_quirk[]) {
  411. {
  412. .ifnum = 0,
  413. .type = QUIRK_IGNORE_INTERFACE
  414. },
  415. {
  416. .ifnum = 1,
  417. .type = QUIRK_IGNORE_INTERFACE
  418. },
  419. {
  420. .ifnum = 2,
  421. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  422. .data = & (const struct snd_usb_midi_endpoint_info) {
  423. .out_cables = 0x003f,
  424. .in_cables = 0x003f
  425. }
  426. },
  427. {
  428. .ifnum = -1
  429. }
  430. }
  431. }
  432. },
  433. {
  434. USB_DEVICE(0x0582, 0x0004),
  435. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  436. .vendor_name = "Roland",
  437. .product_name = "U-8",
  438. .ifnum = QUIRK_ANY_INTERFACE,
  439. .type = QUIRK_COMPOSITE,
  440. .data = (const struct snd_usb_audio_quirk[]) {
  441. {
  442. .ifnum = 0,
  443. .type = QUIRK_IGNORE_INTERFACE
  444. },
  445. {
  446. .ifnum = 1,
  447. .type = QUIRK_IGNORE_INTERFACE
  448. },
  449. {
  450. .ifnum = 2,
  451. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  452. .data = & (const struct snd_usb_midi_endpoint_info) {
  453. .out_cables = 0x0005,
  454. .in_cables = 0x0005
  455. }
  456. },
  457. {
  458. .ifnum = -1
  459. }
  460. }
  461. }
  462. },
  463. {
  464. /* Has ID 0x0099 when not in "Advanced Driver" mode.
  465. * The UM-2EX has only one input, but we cannot detect this. */
  466. USB_DEVICE(0x0582, 0x0005),
  467. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  468. .vendor_name = "EDIROL",
  469. .product_name = "UM-2",
  470. .ifnum = QUIRK_ANY_INTERFACE,
  471. .type = QUIRK_COMPOSITE,
  472. .data = (const struct snd_usb_audio_quirk[]) {
  473. {
  474. .ifnum = 0,
  475. .type = QUIRK_IGNORE_INTERFACE
  476. },
  477. {
  478. .ifnum = 1,
  479. .type = QUIRK_IGNORE_INTERFACE
  480. },
  481. {
  482. .ifnum = 2,
  483. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  484. .data = & (const struct snd_usb_midi_endpoint_info) {
  485. .out_cables = 0x0003,
  486. .in_cables = 0x0003
  487. }
  488. },
  489. {
  490. .ifnum = -1
  491. }
  492. }
  493. }
  494. },
  495. {
  496. USB_DEVICE(0x0582, 0x0007),
  497. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  498. .vendor_name = "Roland",
  499. .product_name = "SC-8820",
  500. .ifnum = QUIRK_ANY_INTERFACE,
  501. .type = QUIRK_COMPOSITE,
  502. .data = (const struct snd_usb_audio_quirk[]) {
  503. {
  504. .ifnum = 0,
  505. .type = QUIRK_IGNORE_INTERFACE
  506. },
  507. {
  508. .ifnum = 1,
  509. .type = QUIRK_IGNORE_INTERFACE
  510. },
  511. {
  512. .ifnum = 2,
  513. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  514. .data = & (const struct snd_usb_midi_endpoint_info) {
  515. .out_cables = 0x0013,
  516. .in_cables = 0x0013
  517. }
  518. },
  519. {
  520. .ifnum = -1
  521. }
  522. }
  523. }
  524. },
  525. {
  526. USB_DEVICE(0x0582, 0x0008),
  527. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  528. .vendor_name = "Roland",
  529. .product_name = "PC-300",
  530. .ifnum = QUIRK_ANY_INTERFACE,
  531. .type = QUIRK_COMPOSITE,
  532. .data = (const struct snd_usb_audio_quirk[]) {
  533. {
  534. .ifnum = 0,
  535. .type = QUIRK_IGNORE_INTERFACE
  536. },
  537. {
  538. .ifnum = 1,
  539. .type = QUIRK_IGNORE_INTERFACE
  540. },
  541. {
  542. .ifnum = 2,
  543. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  544. .data = & (const struct snd_usb_midi_endpoint_info) {
  545. .out_cables = 0x0001,
  546. .in_cables = 0x0001
  547. }
  548. },
  549. {
  550. .ifnum = -1
  551. }
  552. }
  553. }
  554. },
  555. {
  556. /* has ID 0x009d when not in "Advanced Driver" mode */
  557. USB_DEVICE(0x0582, 0x0009),
  558. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  559. .vendor_name = "EDIROL",
  560. .product_name = "UM-1",
  561. .ifnum = QUIRK_ANY_INTERFACE,
  562. .type = QUIRK_COMPOSITE,
  563. .data = (const struct snd_usb_audio_quirk[]) {
  564. {
  565. .ifnum = 0,
  566. .type = QUIRK_IGNORE_INTERFACE
  567. },
  568. {
  569. .ifnum = 1,
  570. .type = QUIRK_IGNORE_INTERFACE
  571. },
  572. {
  573. .ifnum = 2,
  574. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  575. .data = & (const struct snd_usb_midi_endpoint_info) {
  576. .out_cables = 0x0001,
  577. .in_cables = 0x0001
  578. }
  579. },
  580. {
  581. .ifnum = -1
  582. }
  583. }
  584. }
  585. },
  586. {
  587. USB_DEVICE(0x0582, 0x000b),
  588. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  589. .vendor_name = "Roland",
  590. .product_name = "SK-500",
  591. .ifnum = QUIRK_ANY_INTERFACE,
  592. .type = QUIRK_COMPOSITE,
  593. .data = (const struct snd_usb_audio_quirk[]) {
  594. {
  595. .ifnum = 0,
  596. .type = QUIRK_IGNORE_INTERFACE
  597. },
  598. {
  599. .ifnum = 1,
  600. .type = QUIRK_IGNORE_INTERFACE
  601. },
  602. {
  603. .ifnum = 2,
  604. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  605. .data = & (const struct snd_usb_midi_endpoint_info) {
  606. .out_cables = 0x0013,
  607. .in_cables = 0x0013
  608. }
  609. },
  610. {
  611. .ifnum = -1
  612. }
  613. }
  614. }
  615. },
  616. {
  617. /* thanks to Emiliano Grilli <emillo@libero.it>
  618. * for helping researching this data */
  619. USB_DEVICE(0x0582, 0x000c),
  620. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  621. .vendor_name = "Roland",
  622. .product_name = "SC-D70",
  623. .ifnum = QUIRK_ANY_INTERFACE,
  624. .type = QUIRK_COMPOSITE,
  625. .data = (const struct snd_usb_audio_quirk[]) {
  626. {
  627. .ifnum = 0,
  628. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  629. .data = & (const struct audioformat) {
  630. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  631. .channels = 2,
  632. .iface = 0,
  633. .altsetting = 1,
  634. .altset_idx = 1,
  635. .attributes = 0,
  636. .endpoint = 0x01,
  637. .ep_attr = 0x01,
  638. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  639. .rate_min = 44100,
  640. .rate_max = 44100,
  641. }
  642. },
  643. {
  644. .ifnum = 1,
  645. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  646. .data = & (const struct audioformat) {
  647. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  648. .channels = 2,
  649. .iface = 1,
  650. .altsetting = 1,
  651. .altset_idx = 1,
  652. .attributes = 0,
  653. .endpoint = 0x81,
  654. .ep_attr = 0x01,
  655. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  656. .rate_min = 44100,
  657. .rate_max = 44100,
  658. }
  659. },
  660. {
  661. .ifnum = 2,
  662. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  663. .data = & (const struct snd_usb_midi_endpoint_info) {
  664. .out_cables = 0x0007,
  665. .in_cables = 0x0007
  666. }
  667. },
  668. {
  669. .ifnum = -1
  670. }
  671. }
  672. }
  673. },
  674. { /*
  675. * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
  676. * If the advanced mode switch at the back of the unit is off, the
  677. * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
  678. * but offers only 16-bit PCM.
  679. * In advanced mode, the UA-5 will output S24_3LE samples (two
  680. * channels) at the rate indicated on the front switch, including
  681. * the 96kHz sample rate.
  682. */
  683. USB_DEVICE(0x0582, 0x0010),
  684. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  685. .vendor_name = "EDIROL",
  686. .product_name = "UA-5",
  687. .ifnum = QUIRK_ANY_INTERFACE,
  688. .type = QUIRK_COMPOSITE,
  689. .data = (const struct snd_usb_audio_quirk[]) {
  690. {
  691. .ifnum = 1,
  692. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  693. },
  694. {
  695. .ifnum = 2,
  696. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  697. },
  698. {
  699. .ifnum = -1
  700. }
  701. }
  702. }
  703. },
  704. {
  705. /* has ID 0x0013 when not in "Advanced Driver" mode */
  706. USB_DEVICE(0x0582, 0x0012),
  707. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  708. .vendor_name = "Roland",
  709. .product_name = "XV-5050",
  710. .ifnum = 0,
  711. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  712. .data = & (const struct snd_usb_midi_endpoint_info) {
  713. .out_cables = 0x0001,
  714. .in_cables = 0x0001
  715. }
  716. }
  717. },
  718. {
  719. /* has ID 0x0015 when not in "Advanced Driver" mode */
  720. USB_DEVICE(0x0582, 0x0014),
  721. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  722. .vendor_name = "EDIROL",
  723. .product_name = "UM-880",
  724. .ifnum = 0,
  725. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  726. .data = & (const struct snd_usb_midi_endpoint_info) {
  727. .out_cables = 0x01ff,
  728. .in_cables = 0x01ff
  729. }
  730. }
  731. },
  732. {
  733. /* has ID 0x0017 when not in "Advanced Driver" mode */
  734. USB_DEVICE(0x0582, 0x0016),
  735. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  736. .vendor_name = "EDIROL",
  737. .product_name = "SD-90",
  738. .ifnum = QUIRK_ANY_INTERFACE,
  739. .type = QUIRK_COMPOSITE,
  740. .data = (const struct snd_usb_audio_quirk[]) {
  741. {
  742. .ifnum = 0,
  743. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  744. },
  745. {
  746. .ifnum = 1,
  747. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  748. },
  749. {
  750. .ifnum = 2,
  751. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  752. .data = & (const struct snd_usb_midi_endpoint_info) {
  753. .out_cables = 0x000f,
  754. .in_cables = 0x000f
  755. }
  756. },
  757. {
  758. .ifnum = -1
  759. }
  760. }
  761. }
  762. },
  763. {
  764. /* has ID 0x001c when not in "Advanced Driver" mode */
  765. USB_DEVICE(0x0582, 0x001b),
  766. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  767. .vendor_name = "Roland",
  768. .product_name = "MMP-2",
  769. .ifnum = QUIRK_ANY_INTERFACE,
  770. .type = QUIRK_COMPOSITE,
  771. .data = (const struct snd_usb_audio_quirk[]) {
  772. {
  773. .ifnum = 0,
  774. .type = QUIRK_IGNORE_INTERFACE
  775. },
  776. {
  777. .ifnum = 1,
  778. .type = QUIRK_IGNORE_INTERFACE
  779. },
  780. {
  781. .ifnum = 2,
  782. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  783. .data = & (const struct snd_usb_midi_endpoint_info) {
  784. .out_cables = 0x0001,
  785. .in_cables = 0x0001
  786. }
  787. },
  788. {
  789. .ifnum = -1
  790. }
  791. }
  792. }
  793. },
  794. {
  795. /* has ID 0x001e when not in "Advanced Driver" mode */
  796. USB_DEVICE(0x0582, 0x001d),
  797. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  798. .vendor_name = "Roland",
  799. .product_name = "V-SYNTH",
  800. .ifnum = 0,
  801. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  802. .data = & (const struct snd_usb_midi_endpoint_info) {
  803. .out_cables = 0x0001,
  804. .in_cables = 0x0001
  805. }
  806. }
  807. },
  808. {
  809. /* has ID 0x0024 when not in "Advanced Driver" mode */
  810. USB_DEVICE(0x0582, 0x0023),
  811. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  812. .vendor_name = "EDIROL",
  813. .product_name = "UM-550",
  814. .ifnum = 0,
  815. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  816. .data = & (const struct snd_usb_midi_endpoint_info) {
  817. .out_cables = 0x003f,
  818. .in_cables = 0x003f
  819. }
  820. }
  821. },
  822. {
  823. /*
  824. * This quirk is for the "Advanced Driver" mode. If off, the UA-20
  825. * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
  826. * and no MIDI.
  827. */
  828. USB_DEVICE(0x0582, 0x0025),
  829. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  830. .vendor_name = "EDIROL",
  831. .product_name = "UA-20",
  832. .ifnum = QUIRK_ANY_INTERFACE,
  833. .type = QUIRK_COMPOSITE,
  834. .data = (const struct snd_usb_audio_quirk[]) {
  835. {
  836. .ifnum = 0,
  837. .type = QUIRK_IGNORE_INTERFACE
  838. },
  839. {
  840. .ifnum = 1,
  841. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  842. .data = & (const struct audioformat) {
  843. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  844. .channels = 2,
  845. .iface = 1,
  846. .altsetting = 1,
  847. .altset_idx = 1,
  848. .attributes = 0,
  849. .endpoint = 0x01,
  850. .ep_attr = 0x01,
  851. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  852. .rate_min = 44100,
  853. .rate_max = 44100,
  854. }
  855. },
  856. {
  857. .ifnum = 2,
  858. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  859. .data = & (const struct audioformat) {
  860. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  861. .channels = 2,
  862. .iface = 2,
  863. .altsetting = 1,
  864. .altset_idx = 1,
  865. .attributes = 0,
  866. .endpoint = 0x82,
  867. .ep_attr = 0x01,
  868. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  869. .rate_min = 44100,
  870. .rate_max = 44100,
  871. }
  872. },
  873. {
  874. .ifnum = 3,
  875. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  876. .data = & (const struct snd_usb_midi_endpoint_info) {
  877. .out_cables = 0x0001,
  878. .in_cables = 0x0001
  879. }
  880. },
  881. {
  882. .ifnum = -1
  883. }
  884. }
  885. }
  886. },
  887. {
  888. /* has ID 0x0028 when not in "Advanced Driver" mode */
  889. USB_DEVICE(0x0582, 0x0027),
  890. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  891. .vendor_name = "EDIROL",
  892. .product_name = "SD-20",
  893. .ifnum = 0,
  894. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  895. .data = & (const struct snd_usb_midi_endpoint_info) {
  896. .out_cables = 0x0003,
  897. .in_cables = 0x0007
  898. }
  899. }
  900. },
  901. {
  902. /* has ID 0x002a when not in "Advanced Driver" mode */
  903. USB_DEVICE(0x0582, 0x0029),
  904. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  905. .vendor_name = "EDIROL",
  906. .product_name = "SD-80",
  907. .ifnum = 0,
  908. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  909. .data = & (const struct snd_usb_midi_endpoint_info) {
  910. .out_cables = 0x000f,
  911. .in_cables = 0x000f
  912. }
  913. }
  914. },
  915. { /*
  916. * This quirk is for the "Advanced" modes of the Edirol UA-700.
  917. * If the sample format switch is not in an advanced setting, the
  918. * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
  919. * but offers only 16-bit PCM and no MIDI.
  920. */
  921. USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
  922. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  923. .vendor_name = "EDIROL",
  924. .product_name = "UA-700",
  925. .ifnum = QUIRK_ANY_INTERFACE,
  926. .type = QUIRK_COMPOSITE,
  927. .data = (const struct snd_usb_audio_quirk[]) {
  928. {
  929. .ifnum = 1,
  930. .type = QUIRK_AUDIO_EDIROL_UAXX
  931. },
  932. {
  933. .ifnum = 2,
  934. .type = QUIRK_AUDIO_EDIROL_UAXX
  935. },
  936. {
  937. .ifnum = 3,
  938. .type = QUIRK_AUDIO_EDIROL_UAXX
  939. },
  940. {
  941. .ifnum = -1
  942. }
  943. }
  944. }
  945. },
  946. {
  947. /* has ID 0x002e when not in "Advanced Driver" mode */
  948. USB_DEVICE(0x0582, 0x002d),
  949. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  950. .vendor_name = "Roland",
  951. .product_name = "XV-2020",
  952. .ifnum = 0,
  953. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  954. .data = & (const struct snd_usb_midi_endpoint_info) {
  955. .out_cables = 0x0001,
  956. .in_cables = 0x0001
  957. }
  958. }
  959. },
  960. {
  961. /* has ID 0x0030 when not in "Advanced Driver" mode */
  962. USB_DEVICE(0x0582, 0x002f),
  963. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  964. .vendor_name = "Roland",
  965. .product_name = "VariOS",
  966. .ifnum = 0,
  967. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  968. .data = & (const struct snd_usb_midi_endpoint_info) {
  969. .out_cables = 0x0007,
  970. .in_cables = 0x0007
  971. }
  972. }
  973. },
  974. {
  975. /* has ID 0x0034 when not in "Advanced Driver" mode */
  976. USB_DEVICE(0x0582, 0x0033),
  977. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  978. .vendor_name = "EDIROL",
  979. .product_name = "PCR",
  980. .ifnum = 0,
  981. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  982. .data = & (const struct snd_usb_midi_endpoint_info) {
  983. .out_cables = 0x0003,
  984. .in_cables = 0x0007
  985. }
  986. }
  987. },
  988. /* TODO: add Roland M-1000 support */
  989. {
  990. /*
  991. * Has ID 0x0038 when not in "Advanced Driver" mode;
  992. * later revisions use IDs 0x0054 and 0x00a2.
  993. */
  994. USB_DEVICE(0x0582, 0x0037),
  995. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  996. .vendor_name = "Roland",
  997. .product_name = "Digital Piano",
  998. .ifnum = 0,
  999. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1000. .data = & (const struct snd_usb_midi_endpoint_info) {
  1001. .out_cables = 0x0001,
  1002. .in_cables = 0x0001
  1003. }
  1004. }
  1005. },
  1006. {
  1007. /*
  1008. * This quirk is for the "Advanced Driver" mode. If off, the GS-10
  1009. * has ID 0x003c and is standard compliant, but has only 16-bit PCM
  1010. * and no MIDI.
  1011. */
  1012. USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
  1013. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1014. .vendor_name = "BOSS",
  1015. .product_name = "GS-10",
  1016. .ifnum = QUIRK_ANY_INTERFACE,
  1017. .type = QUIRK_COMPOSITE,
  1018. .data = & (const struct snd_usb_audio_quirk[]) {
  1019. {
  1020. .ifnum = 1,
  1021. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1022. },
  1023. {
  1024. .ifnum = 2,
  1025. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1026. },
  1027. {
  1028. .ifnum = 3,
  1029. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1030. },
  1031. {
  1032. .ifnum = -1
  1033. }
  1034. }
  1035. }
  1036. },
  1037. {
  1038. /* has ID 0x0041 when not in "Advanced Driver" mode */
  1039. USB_DEVICE(0x0582, 0x0040),
  1040. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1041. .vendor_name = "Roland",
  1042. .product_name = "GI-20",
  1043. .ifnum = 0,
  1044. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1045. .data = & (const struct snd_usb_midi_endpoint_info) {
  1046. .out_cables = 0x0001,
  1047. .in_cables = 0x0001
  1048. }
  1049. }
  1050. },
  1051. {
  1052. /* has ID 0x0043 when not in "Advanced Driver" mode */
  1053. USB_DEVICE(0x0582, 0x0042),
  1054. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1055. .vendor_name = "Roland",
  1056. .product_name = "RS-70",
  1057. .ifnum = 0,
  1058. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1059. .data = & (const struct snd_usb_midi_endpoint_info) {
  1060. .out_cables = 0x0001,
  1061. .in_cables = 0x0001
  1062. }
  1063. }
  1064. },
  1065. {
  1066. /* has ID 0x0049 when not in "Advanced Driver" mode */
  1067. USB_DEVICE(0x0582, 0x0047),
  1068. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1069. /* .vendor_name = "EDIROL", */
  1070. /* .product_name = "UR-80", */
  1071. .ifnum = QUIRK_ANY_INTERFACE,
  1072. .type = QUIRK_COMPOSITE,
  1073. .data = (const struct snd_usb_audio_quirk[]) {
  1074. /* in the 96 kHz modes, only interface 1 is there */
  1075. {
  1076. .ifnum = 1,
  1077. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1078. },
  1079. {
  1080. .ifnum = 2,
  1081. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1082. },
  1083. {
  1084. .ifnum = -1
  1085. }
  1086. }
  1087. }
  1088. },
  1089. {
  1090. /* has ID 0x004a when not in "Advanced Driver" mode */
  1091. USB_DEVICE(0x0582, 0x0048),
  1092. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1093. /* .vendor_name = "EDIROL", */
  1094. /* .product_name = "UR-80", */
  1095. .ifnum = 0,
  1096. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1097. .data = & (const struct snd_usb_midi_endpoint_info) {
  1098. .out_cables = 0x0003,
  1099. .in_cables = 0x0007
  1100. }
  1101. }
  1102. },
  1103. /* TODO: add Edirol M-100FX support */
  1104. {
  1105. /* has ID 0x004e when not in "Advanced Driver" mode */
  1106. USB_DEVICE(0x0582, 0x004c),
  1107. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1108. .vendor_name = "EDIROL",
  1109. .product_name = "PCR-A",
  1110. .ifnum = QUIRK_ANY_INTERFACE,
  1111. .type = QUIRK_COMPOSITE,
  1112. .data = (const struct snd_usb_audio_quirk[]) {
  1113. {
  1114. .ifnum = 1,
  1115. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1116. },
  1117. {
  1118. .ifnum = 2,
  1119. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1120. },
  1121. {
  1122. .ifnum = -1
  1123. }
  1124. }
  1125. }
  1126. },
  1127. {
  1128. /* has ID 0x004f when not in "Advanced Driver" mode */
  1129. USB_DEVICE(0x0582, 0x004d),
  1130. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1131. .vendor_name = "EDIROL",
  1132. .product_name = "PCR-A",
  1133. .ifnum = 0,
  1134. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1135. .data = & (const struct snd_usb_midi_endpoint_info) {
  1136. .out_cables = 0x0003,
  1137. .in_cables = 0x0007
  1138. }
  1139. }
  1140. },
  1141. {
  1142. /*
  1143. * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
  1144. * is standard compliant, but has only 16-bit PCM.
  1145. */
  1146. USB_DEVICE(0x0582, 0x0050),
  1147. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1148. .vendor_name = "EDIROL",
  1149. .product_name = "UA-3FX",
  1150. .ifnum = QUIRK_ANY_INTERFACE,
  1151. .type = QUIRK_COMPOSITE,
  1152. .data = (const struct snd_usb_audio_quirk[]) {
  1153. {
  1154. .ifnum = 1,
  1155. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1156. },
  1157. {
  1158. .ifnum = 2,
  1159. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1160. },
  1161. {
  1162. .ifnum = -1
  1163. }
  1164. }
  1165. }
  1166. },
  1167. {
  1168. USB_DEVICE(0x0582, 0x0052),
  1169. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1170. .vendor_name = "EDIROL",
  1171. .product_name = "UM-1SX",
  1172. .ifnum = 0,
  1173. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1174. }
  1175. },
  1176. {
  1177. USB_DEVICE(0x0582, 0x0060),
  1178. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1179. .vendor_name = "Roland",
  1180. .product_name = "EXR Series",
  1181. .ifnum = 0,
  1182. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1183. }
  1184. },
  1185. {
  1186. /* has ID 0x0066 when not in "Advanced Driver" mode */
  1187. USB_DEVICE(0x0582, 0x0064),
  1188. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1189. /* .vendor_name = "EDIROL", */
  1190. /* .product_name = "PCR-1", */
  1191. .ifnum = QUIRK_ANY_INTERFACE,
  1192. .type = QUIRK_COMPOSITE,
  1193. .data = (const struct snd_usb_audio_quirk[]) {
  1194. {
  1195. .ifnum = 1,
  1196. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1197. },
  1198. {
  1199. .ifnum = 2,
  1200. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1201. },
  1202. {
  1203. .ifnum = -1
  1204. }
  1205. }
  1206. }
  1207. },
  1208. {
  1209. /* has ID 0x0067 when not in "Advanced Driver" mode */
  1210. USB_DEVICE(0x0582, 0x0065),
  1211. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1212. /* .vendor_name = "EDIROL", */
  1213. /* .product_name = "PCR-1", */
  1214. .ifnum = 0,
  1215. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1216. .data = & (const struct snd_usb_midi_endpoint_info) {
  1217. .out_cables = 0x0001,
  1218. .in_cables = 0x0003
  1219. }
  1220. }
  1221. },
  1222. {
  1223. /* has ID 0x006b when not in "Advanced Driver" mode */
  1224. USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
  1225. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1226. .vendor_name = "Roland",
  1227. .product_name = "SP-606",
  1228. .ifnum = 3,
  1229. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1230. .data = & (const struct snd_usb_midi_endpoint_info) {
  1231. .out_cables = 0x0001,
  1232. .in_cables = 0x0001
  1233. }
  1234. }
  1235. },
  1236. {
  1237. /* has ID 0x006e when not in "Advanced Driver" mode */
  1238. USB_DEVICE(0x0582, 0x006d),
  1239. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1240. .vendor_name = "Roland",
  1241. .product_name = "FANTOM-X",
  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. { /*
  1251. * This quirk is for the "Advanced" modes of the Edirol UA-25.
  1252. * If the switch is not in an advanced setting, the UA-25 has
  1253. * ID 0x0582/0x0073 and is standard compliant (no quirks), but
  1254. * offers only 16-bit PCM at 44.1 kHz and no MIDI.
  1255. */
  1256. USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
  1257. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1258. .vendor_name = "EDIROL",
  1259. .product_name = "UA-25",
  1260. .ifnum = QUIRK_ANY_INTERFACE,
  1261. .type = QUIRK_COMPOSITE,
  1262. .data = (const struct snd_usb_audio_quirk[]) {
  1263. {
  1264. .ifnum = 0,
  1265. .type = QUIRK_AUDIO_EDIROL_UAXX
  1266. },
  1267. {
  1268. .ifnum = 1,
  1269. .type = QUIRK_AUDIO_EDIROL_UAXX
  1270. },
  1271. {
  1272. .ifnum = 2,
  1273. .type = QUIRK_AUDIO_EDIROL_UAXX
  1274. },
  1275. {
  1276. .ifnum = -1
  1277. }
  1278. }
  1279. }
  1280. },
  1281. {
  1282. /* has ID 0x0076 when not in "Advanced Driver" mode */
  1283. USB_DEVICE(0x0582, 0x0075),
  1284. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1285. .vendor_name = "BOSS",
  1286. .product_name = "DR-880",
  1287. .ifnum = 0,
  1288. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1289. .data = & (const struct snd_usb_midi_endpoint_info) {
  1290. .out_cables = 0x0001,
  1291. .in_cables = 0x0001
  1292. }
  1293. }
  1294. },
  1295. {
  1296. /* has ID 0x007b when not in "Advanced Driver" mode */
  1297. USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
  1298. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1299. .vendor_name = "Roland",
  1300. /* "RD" or "RD-700SX"? */
  1301. .ifnum = 0,
  1302. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1303. .data = & (const struct snd_usb_midi_endpoint_info) {
  1304. .out_cables = 0x0003,
  1305. .in_cables = 0x0003
  1306. }
  1307. }
  1308. },
  1309. {
  1310. /* has ID 0x0081 when not in "Advanced Driver" mode */
  1311. USB_DEVICE(0x0582, 0x0080),
  1312. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1313. .vendor_name = "Roland",
  1314. .product_name = "G-70",
  1315. .ifnum = 0,
  1316. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1317. .data = & (const struct snd_usb_midi_endpoint_info) {
  1318. .out_cables = 0x0001,
  1319. .in_cables = 0x0001
  1320. }
  1321. }
  1322. },
  1323. /* TODO: add Roland V-SYNTH XT support */
  1324. /* TODO: add BOSS GT-PRO support */
  1325. {
  1326. /* has ID 0x008c when not in "Advanced Driver" mode */
  1327. USB_DEVICE(0x0582, 0x008b),
  1328. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1329. .vendor_name = "EDIROL",
  1330. .product_name = "PC-50",
  1331. .ifnum = 0,
  1332. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1333. .data = & (const struct snd_usb_midi_endpoint_info) {
  1334. .out_cables = 0x0001,
  1335. .in_cables = 0x0001
  1336. }
  1337. }
  1338. },
  1339. /* TODO: add Edirol PC-80 support */
  1340. {
  1341. USB_DEVICE(0x0582, 0x0096),
  1342. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1343. .vendor_name = "EDIROL",
  1344. .product_name = "UA-1EX",
  1345. .ifnum = QUIRK_ANY_INTERFACE,
  1346. .type = QUIRK_COMPOSITE,
  1347. .data = (const struct snd_usb_audio_quirk[]) {
  1348. {
  1349. .ifnum = 0,
  1350. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1351. },
  1352. {
  1353. .ifnum = 1,
  1354. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1355. },
  1356. {
  1357. .ifnum = -1
  1358. }
  1359. }
  1360. }
  1361. },
  1362. {
  1363. USB_DEVICE(0x0582, 0x009a),
  1364. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1365. .vendor_name = "EDIROL",
  1366. .product_name = "UM-3EX",
  1367. .ifnum = 0,
  1368. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1369. .data = & (const struct snd_usb_midi_endpoint_info) {
  1370. .out_cables = 0x000f,
  1371. .in_cables = 0x000f
  1372. }
  1373. }
  1374. },
  1375. {
  1376. /*
  1377. * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
  1378. * is standard compliant, but has only 16-bit PCM and no MIDI.
  1379. */
  1380. USB_DEVICE(0x0582, 0x00a3),
  1381. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1382. .vendor_name = "EDIROL",
  1383. .product_name = "UA-4FX",
  1384. .ifnum = QUIRK_ANY_INTERFACE,
  1385. .type = QUIRK_COMPOSITE,
  1386. .data = (const struct snd_usb_audio_quirk[]) {
  1387. {
  1388. .ifnum = 0,
  1389. .type = QUIRK_AUDIO_EDIROL_UAXX
  1390. },
  1391. {
  1392. .ifnum = 1,
  1393. .type = QUIRK_AUDIO_EDIROL_UAXX
  1394. },
  1395. {
  1396. .ifnum = 2,
  1397. .type = QUIRK_AUDIO_EDIROL_UAXX
  1398. },
  1399. {
  1400. .ifnum = -1
  1401. }
  1402. }
  1403. }
  1404. },
  1405. /* TODO: add Edirol MD-P1 support */
  1406. {
  1407. USB_DEVICE(0x582, 0x00a6),
  1408. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1409. .vendor_name = "Roland",
  1410. .product_name = "Juno-G",
  1411. .ifnum = 0,
  1412. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1413. .data = & (const struct snd_usb_midi_endpoint_info) {
  1414. .out_cables = 0x0001,
  1415. .in_cables = 0x0001
  1416. }
  1417. }
  1418. },
  1419. {
  1420. /* Roland SH-201 */
  1421. USB_DEVICE(0x0582, 0x00ad),
  1422. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1423. .vendor_name = "Roland",
  1424. .product_name = "SH-201",
  1425. .ifnum = QUIRK_ANY_INTERFACE,
  1426. .type = QUIRK_COMPOSITE,
  1427. .data = (const struct snd_usb_audio_quirk[]) {
  1428. {
  1429. .ifnum = 0,
  1430. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1431. },
  1432. {
  1433. .ifnum = 1,
  1434. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1435. },
  1436. {
  1437. .ifnum = 2,
  1438. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1439. .data = & (const struct snd_usb_midi_endpoint_info) {
  1440. .out_cables = 0x0001,
  1441. .in_cables = 0x0001
  1442. }
  1443. },
  1444. {
  1445. .ifnum = -1
  1446. }
  1447. }
  1448. }
  1449. },
  1450. {
  1451. /* Roland SonicCell */
  1452. USB_DEVICE(0x0582, 0x00c2),
  1453. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1454. .vendor_name = "Roland",
  1455. .product_name = "SonicCell",
  1456. .ifnum = QUIRK_ANY_INTERFACE,
  1457. .type = QUIRK_COMPOSITE,
  1458. .data = (const struct snd_usb_audio_quirk[]) {
  1459. {
  1460. .ifnum = 0,
  1461. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1462. },
  1463. {
  1464. .ifnum = 1,
  1465. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1466. },
  1467. {
  1468. .ifnum = 2,
  1469. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1470. .data = & (const struct snd_usb_midi_endpoint_info) {
  1471. .out_cables = 0x0001,
  1472. .in_cables = 0x0001
  1473. }
  1474. },
  1475. {
  1476. .ifnum = -1
  1477. }
  1478. }
  1479. }
  1480. },
  1481. {
  1482. /* Edirol M-16DX */
  1483. /* FIXME: This quirk gives a good-working capture stream but the
  1484. * playback seems problematic because of lacking of sync
  1485. * with capture stream. It needs to sync with the capture
  1486. * clock. As now, you'll get frequent sound distortions
  1487. * via the playback.
  1488. */
  1489. USB_DEVICE(0x0582, 0x00c4),
  1490. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1491. .ifnum = QUIRK_ANY_INTERFACE,
  1492. .type = QUIRK_COMPOSITE,
  1493. .data = (const struct snd_usb_audio_quirk[]) {
  1494. {
  1495. .ifnum = 0,
  1496. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1497. },
  1498. {
  1499. .ifnum = 1,
  1500. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1501. },
  1502. {
  1503. .ifnum = 2,
  1504. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1505. .data = & (const struct snd_usb_midi_endpoint_info) {
  1506. .out_cables = 0x0001,
  1507. .in_cables = 0x0001
  1508. }
  1509. },
  1510. {
  1511. .ifnum = -1
  1512. }
  1513. }
  1514. }
  1515. },
  1516. {
  1517. /* BOSS GT-10 */
  1518. USB_DEVICE(0x0582, 0x00da),
  1519. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1520. .ifnum = QUIRK_ANY_INTERFACE,
  1521. .type = QUIRK_COMPOSITE,
  1522. .data = (const struct snd_usb_audio_quirk[]) {
  1523. {
  1524. .ifnum = 0,
  1525. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1526. },
  1527. {
  1528. .ifnum = 1,
  1529. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1530. },
  1531. {
  1532. .ifnum = 2,
  1533. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1534. .data = & (const struct snd_usb_midi_endpoint_info) {
  1535. .out_cables = 0x0001,
  1536. .in_cables = 0x0001
  1537. }
  1538. },
  1539. {
  1540. .ifnum = -1
  1541. }
  1542. }
  1543. }
  1544. },
  1545. {
  1546. /* Advanced modes of the Edirol UA-25EX.
  1547. * For the standard mode, UA-25EX has ID 0582:00e7, which
  1548. * offers only 16-bit PCM at 44.1 kHz and no MIDI.
  1549. */
  1550. USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
  1551. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1552. .vendor_name = "EDIROL",
  1553. .product_name = "UA-25EX",
  1554. .ifnum = QUIRK_ANY_INTERFACE,
  1555. .type = QUIRK_COMPOSITE,
  1556. .data = (const struct snd_usb_audio_quirk[]) {
  1557. {
  1558. .ifnum = 0,
  1559. .type = QUIRK_AUDIO_EDIROL_UAXX
  1560. },
  1561. {
  1562. .ifnum = 1,
  1563. .type = QUIRK_AUDIO_EDIROL_UAXX
  1564. },
  1565. {
  1566. .ifnum = 2,
  1567. .type = QUIRK_AUDIO_EDIROL_UAXX
  1568. },
  1569. {
  1570. .ifnum = -1
  1571. }
  1572. }
  1573. }
  1574. },
  1575. {
  1576. /* has ID 0x00ea when not in Advanced Driver mode */
  1577. USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
  1578. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1579. /* .vendor_name = "Roland", */
  1580. /* .product_name = "UA-1G", */
  1581. .ifnum = QUIRK_ANY_INTERFACE,
  1582. .type = QUIRK_COMPOSITE,
  1583. .data = (const struct snd_usb_audio_quirk[]) {
  1584. {
  1585. .ifnum = 0,
  1586. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1587. },
  1588. {
  1589. .ifnum = 1,
  1590. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1591. },
  1592. {
  1593. .ifnum = -1
  1594. }
  1595. }
  1596. }
  1597. },
  1598. {
  1599. USB_DEVICE_VENDOR_SPEC(0x0582, 0x0104),
  1600. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1601. /* .vendor_name = "Roland", */
  1602. /* .product_name = "UM-1G", */
  1603. .ifnum = 0,
  1604. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1605. .data = & (const struct snd_usb_midi_endpoint_info) {
  1606. .out_cables = 0x0001,
  1607. .in_cables = 0x0001
  1608. }
  1609. }
  1610. },
  1611. {
  1612. /* Edirol UM-3G */
  1613. USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
  1614. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1615. .ifnum = 0,
  1616. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1617. }
  1618. },
  1619. {
  1620. /* Boss JS-8 Jam Station */
  1621. USB_DEVICE(0x0582, 0x0109),
  1622. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1623. /* .vendor_name = "BOSS", */
  1624. /* .product_name = "JS-8", */
  1625. .ifnum = QUIRK_ANY_INTERFACE,
  1626. .type = QUIRK_COMPOSITE,
  1627. .data = (const struct snd_usb_audio_quirk[]) {
  1628. {
  1629. .ifnum = 0,
  1630. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1631. },
  1632. {
  1633. .ifnum = 1,
  1634. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1635. },
  1636. {
  1637. .ifnum = 2,
  1638. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1639. },
  1640. {
  1641. .ifnum = -1
  1642. }
  1643. }
  1644. }
  1645. },
  1646. {
  1647. /* has ID 0x0110 when not in Advanced Driver mode */
  1648. USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
  1649. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1650. /* .vendor_name = "Roland", */
  1651. /* .product_name = "A-PRO", */
  1652. .ifnum = 1,
  1653. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1654. .data = & (const struct snd_usb_midi_endpoint_info) {
  1655. .out_cables = 0x0003,
  1656. .in_cables = 0x0007
  1657. }
  1658. }
  1659. },
  1660. {
  1661. /* Roland GAIA SH-01 */
  1662. USB_DEVICE(0x0582, 0x0111),
  1663. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  1664. .vendor_name = "Roland",
  1665. .product_name = "GAIA",
  1666. .ifnum = QUIRK_ANY_INTERFACE,
  1667. .type = QUIRK_COMPOSITE,
  1668. .data = (const struct snd_usb_audio_quirk[]) {
  1669. {
  1670. .ifnum = 0,
  1671. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1672. },
  1673. {
  1674. .ifnum = 1,
  1675. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1676. },
  1677. {
  1678. .ifnum = 2,
  1679. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1680. .data = &(const struct snd_usb_midi_endpoint_info) {
  1681. .out_cables = 0x0003,
  1682. .in_cables = 0x0003
  1683. }
  1684. },
  1685. {
  1686. .ifnum = -1
  1687. }
  1688. }
  1689. }
  1690. },
  1691. {
  1692. USB_DEVICE(0x0582, 0x0113),
  1693. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1694. /* .vendor_name = "BOSS", */
  1695. /* .product_name = "ME-25", */
  1696. .ifnum = QUIRK_ANY_INTERFACE,
  1697. .type = QUIRK_COMPOSITE,
  1698. .data = (const struct snd_usb_audio_quirk[]) {
  1699. {
  1700. .ifnum = 0,
  1701. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1702. },
  1703. {
  1704. .ifnum = 1,
  1705. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1706. },
  1707. {
  1708. .ifnum = 2,
  1709. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1710. .data = & (const struct snd_usb_midi_endpoint_info) {
  1711. .out_cables = 0x0001,
  1712. .in_cables = 0x0001
  1713. }
  1714. },
  1715. {
  1716. .ifnum = -1
  1717. }
  1718. }
  1719. }
  1720. },
  1721. {
  1722. USB_DEVICE(0x0582, 0x0127),
  1723. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1724. /* .vendor_name = "Roland", */
  1725. /* .product_name = "GR-55", */
  1726. .ifnum = QUIRK_ANY_INTERFACE,
  1727. .type = QUIRK_COMPOSITE,
  1728. .data = (const struct snd_usb_audio_quirk[]) {
  1729. {
  1730. .ifnum = 0,
  1731. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1732. },
  1733. {
  1734. .ifnum = 1,
  1735. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1736. },
  1737. {
  1738. .ifnum = 2,
  1739. .type = QUIRK_MIDI_STANDARD_INTERFACE
  1740. },
  1741. {
  1742. .ifnum = -1
  1743. }
  1744. }
  1745. }
  1746. },
  1747. {
  1748. /* Added support for Roland UM-ONE which differs from UM-1 */
  1749. USB_DEVICE(0x0582, 0x012a),
  1750. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1751. /* .vendor_name = "ROLAND", */
  1752. /* .product_name = "UM-ONE", */
  1753. .ifnum = 0,
  1754. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1755. .data = & (const struct snd_usb_midi_endpoint_info) {
  1756. .out_cables = 0x0001,
  1757. .in_cables = 0x0003
  1758. }
  1759. }
  1760. },
  1761. {
  1762. USB_DEVICE(0x0582, 0x011e),
  1763. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1764. /* .vendor_name = "BOSS", */
  1765. /* .product_name = "BR-800", */
  1766. .ifnum = QUIRK_ANY_INTERFACE,
  1767. .type = QUIRK_COMPOSITE,
  1768. .data = (const struct snd_usb_audio_quirk[]) {
  1769. {
  1770. .ifnum = 0,
  1771. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1772. },
  1773. {
  1774. .ifnum = 1,
  1775. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1776. },
  1777. {
  1778. .ifnum = 2,
  1779. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1780. .data = & (const struct snd_usb_midi_endpoint_info) {
  1781. .out_cables = 0x0001,
  1782. .in_cables = 0x0001
  1783. }
  1784. },
  1785. {
  1786. .ifnum = -1
  1787. }
  1788. }
  1789. }
  1790. },
  1791. {
  1792. USB_DEVICE(0x0582, 0x0130),
  1793. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1794. /* .vendor_name = "BOSS", */
  1795. /* .product_name = "MICRO BR-80", */
  1796. .ifnum = QUIRK_ANY_INTERFACE,
  1797. .type = QUIRK_COMPOSITE,
  1798. .data = (const struct snd_usb_audio_quirk[]) {
  1799. {
  1800. .ifnum = 0,
  1801. .type = QUIRK_IGNORE_INTERFACE
  1802. },
  1803. {
  1804. .ifnum = 1,
  1805. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1806. },
  1807. {
  1808. .ifnum = 2,
  1809. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1810. },
  1811. {
  1812. .ifnum = 3,
  1813. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1814. .data = & (const struct snd_usb_midi_endpoint_info) {
  1815. .out_cables = 0x0001,
  1816. .in_cables = 0x0001
  1817. }
  1818. },
  1819. {
  1820. .ifnum = -1
  1821. }
  1822. }
  1823. }
  1824. },
  1825. {
  1826. USB_DEVICE(0x0582, 0x014d),
  1827. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1828. /* .vendor_name = "BOSS", */
  1829. /* .product_name = "GT-100", */
  1830. .ifnum = QUIRK_ANY_INTERFACE,
  1831. .type = QUIRK_COMPOSITE,
  1832. .data = (const struct snd_usb_audio_quirk[]) {
  1833. {
  1834. .ifnum = 1,
  1835. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1836. },
  1837. {
  1838. .ifnum = 2,
  1839. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  1840. },
  1841. {
  1842. .ifnum = 3,
  1843. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1844. .data = & (const struct snd_usb_midi_endpoint_info) {
  1845. .out_cables = 0x0001,
  1846. .in_cables = 0x0001
  1847. }
  1848. },
  1849. {
  1850. .ifnum = -1
  1851. }
  1852. }
  1853. }
  1854. },
  1855. /* Guillemot devices */
  1856. {
  1857. /*
  1858. * This is for the "Windows Edition" where the external MIDI ports are
  1859. * the only MIDI ports; the control data is reported through HID
  1860. * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
  1861. * compliant USB MIDI ports for external MIDI and controls.
  1862. */
  1863. USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
  1864. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1865. .vendor_name = "Hercules",
  1866. .product_name = "DJ Console (WE)",
  1867. .ifnum = 4,
  1868. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  1869. .data = & (const struct snd_usb_midi_endpoint_info) {
  1870. .out_cables = 0x0001,
  1871. .in_cables = 0x0001
  1872. }
  1873. }
  1874. },
  1875. /* Midiman/M-Audio devices */
  1876. {
  1877. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
  1878. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1879. .vendor_name = "M-Audio",
  1880. .product_name = "MidiSport 2x2",
  1881. .ifnum = QUIRK_ANY_INTERFACE,
  1882. .type = QUIRK_MIDI_MIDIMAN,
  1883. .data = & (const struct snd_usb_midi_endpoint_info) {
  1884. .out_cables = 0x0003,
  1885. .in_cables = 0x0003
  1886. }
  1887. }
  1888. },
  1889. {
  1890. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
  1891. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1892. .vendor_name = "M-Audio",
  1893. .product_name = "MidiSport 1x1",
  1894. .ifnum = QUIRK_ANY_INTERFACE,
  1895. .type = QUIRK_MIDI_MIDIMAN,
  1896. .data = & (const struct snd_usb_midi_endpoint_info) {
  1897. .out_cables = 0x0001,
  1898. .in_cables = 0x0001
  1899. }
  1900. }
  1901. },
  1902. {
  1903. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
  1904. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1905. .vendor_name = "M-Audio",
  1906. .product_name = "Keystation",
  1907. .ifnum = QUIRK_ANY_INTERFACE,
  1908. .type = QUIRK_MIDI_MIDIMAN,
  1909. .data = & (const struct snd_usb_midi_endpoint_info) {
  1910. .out_cables = 0x0001,
  1911. .in_cables = 0x0001
  1912. }
  1913. }
  1914. },
  1915. {
  1916. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
  1917. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1918. .vendor_name = "M-Audio",
  1919. .product_name = "MidiSport 4x4",
  1920. .ifnum = QUIRK_ANY_INTERFACE,
  1921. .type = QUIRK_MIDI_MIDIMAN,
  1922. .data = & (const struct snd_usb_midi_endpoint_info) {
  1923. .out_cables = 0x000f,
  1924. .in_cables = 0x000f
  1925. }
  1926. }
  1927. },
  1928. {
  1929. /*
  1930. * For hardware revision 1.05; in the later revisions (1.10 and
  1931. * 1.21), 0x1031 is the ID for the device without firmware.
  1932. * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
  1933. */
  1934. USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
  1935. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1936. .vendor_name = "M-Audio",
  1937. .product_name = "MidiSport 8x8",
  1938. .ifnum = QUIRK_ANY_INTERFACE,
  1939. .type = QUIRK_MIDI_MIDIMAN,
  1940. .data = & (const struct snd_usb_midi_endpoint_info) {
  1941. .out_cables = 0x01ff,
  1942. .in_cables = 0x01ff
  1943. }
  1944. }
  1945. },
  1946. {
  1947. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
  1948. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1949. .vendor_name = "M-Audio",
  1950. .product_name = "MidiSport 8x8",
  1951. .ifnum = QUIRK_ANY_INTERFACE,
  1952. .type = QUIRK_MIDI_MIDIMAN,
  1953. .data = & (const struct snd_usb_midi_endpoint_info) {
  1954. .out_cables = 0x01ff,
  1955. .in_cables = 0x01ff
  1956. }
  1957. }
  1958. },
  1959. {
  1960. USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
  1961. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1962. .vendor_name = "M-Audio",
  1963. .product_name = "MidiSport 2x4",
  1964. .ifnum = QUIRK_ANY_INTERFACE,
  1965. .type = QUIRK_MIDI_MIDIMAN,
  1966. .data = & (const struct snd_usb_midi_endpoint_info) {
  1967. .out_cables = 0x000f,
  1968. .in_cables = 0x0003
  1969. }
  1970. }
  1971. },
  1972. {
  1973. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
  1974. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  1975. .vendor_name = "M-Audio",
  1976. .product_name = "Quattro",
  1977. .ifnum = QUIRK_ANY_INTERFACE,
  1978. .type = QUIRK_COMPOSITE,
  1979. .data = & (const struct snd_usb_audio_quirk[]) {
  1980. /*
  1981. * Interfaces 0-2 are "Windows-compatible", 16-bit only,
  1982. * and share endpoints with the other interfaces.
  1983. * Ignore them. The other interfaces can do 24 bits,
  1984. * but captured samples are big-endian (see usbaudio.c).
  1985. */
  1986. {
  1987. .ifnum = 0,
  1988. .type = QUIRK_IGNORE_INTERFACE
  1989. },
  1990. {
  1991. .ifnum = 1,
  1992. .type = QUIRK_IGNORE_INTERFACE
  1993. },
  1994. {
  1995. .ifnum = 2,
  1996. .type = QUIRK_IGNORE_INTERFACE
  1997. },
  1998. {
  1999. .ifnum = 3,
  2000. .type = QUIRK_IGNORE_INTERFACE
  2001. },
  2002. {
  2003. .ifnum = 4,
  2004. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2005. },
  2006. {
  2007. .ifnum = 5,
  2008. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2009. },
  2010. {
  2011. .ifnum = 6,
  2012. .type = QUIRK_IGNORE_INTERFACE
  2013. },
  2014. {
  2015. .ifnum = 7,
  2016. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2017. },
  2018. {
  2019. .ifnum = 8,
  2020. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2021. },
  2022. {
  2023. .ifnum = 9,
  2024. .type = QUIRK_MIDI_MIDIMAN,
  2025. .data = & (const struct snd_usb_midi_endpoint_info) {
  2026. .out_cables = 0x0001,
  2027. .in_cables = 0x0001
  2028. }
  2029. },
  2030. {
  2031. .ifnum = -1
  2032. }
  2033. }
  2034. }
  2035. },
  2036. {
  2037. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
  2038. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2039. .vendor_name = "M-Audio",
  2040. .product_name = "AudioPhile",
  2041. .ifnum = 6,
  2042. .type = QUIRK_MIDI_MIDIMAN,
  2043. .data = & (const struct snd_usb_midi_endpoint_info) {
  2044. .out_cables = 0x0001,
  2045. .in_cables = 0x0001
  2046. }
  2047. }
  2048. },
  2049. {
  2050. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
  2051. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2052. .vendor_name = "M-Audio",
  2053. .product_name = "Ozone",
  2054. .ifnum = 3,
  2055. .type = QUIRK_MIDI_MIDIMAN,
  2056. .data = & (const struct snd_usb_midi_endpoint_info) {
  2057. .out_cables = 0x0001,
  2058. .in_cables = 0x0001
  2059. }
  2060. }
  2061. },
  2062. {
  2063. USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
  2064. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2065. .vendor_name = "M-Audio",
  2066. .product_name = "OmniStudio",
  2067. .ifnum = QUIRK_ANY_INTERFACE,
  2068. .type = QUIRK_COMPOSITE,
  2069. .data = & (const struct snd_usb_audio_quirk[]) {
  2070. {
  2071. .ifnum = 0,
  2072. .type = QUIRK_IGNORE_INTERFACE
  2073. },
  2074. {
  2075. .ifnum = 1,
  2076. .type = QUIRK_IGNORE_INTERFACE
  2077. },
  2078. {
  2079. .ifnum = 2,
  2080. .type = QUIRK_IGNORE_INTERFACE
  2081. },
  2082. {
  2083. .ifnum = 3,
  2084. .type = QUIRK_IGNORE_INTERFACE
  2085. },
  2086. {
  2087. .ifnum = 4,
  2088. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2089. },
  2090. {
  2091. .ifnum = 5,
  2092. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2093. },
  2094. {
  2095. .ifnum = 6,
  2096. .type = QUIRK_IGNORE_INTERFACE
  2097. },
  2098. {
  2099. .ifnum = 7,
  2100. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2101. },
  2102. {
  2103. .ifnum = 8,
  2104. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2105. },
  2106. {
  2107. .ifnum = 9,
  2108. .type = QUIRK_MIDI_MIDIMAN,
  2109. .data = & (const struct snd_usb_midi_endpoint_info) {
  2110. .out_cables = 0x0001,
  2111. .in_cables = 0x0001
  2112. }
  2113. },
  2114. {
  2115. .ifnum = -1
  2116. }
  2117. }
  2118. }
  2119. },
  2120. {
  2121. USB_DEVICE(0x0763, 0x2019),
  2122. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2123. /* .vendor_name = "M-Audio", */
  2124. /* .product_name = "Ozone Academic", */
  2125. .ifnum = QUIRK_ANY_INTERFACE,
  2126. .type = QUIRK_COMPOSITE,
  2127. .data = & (const struct snd_usb_audio_quirk[]) {
  2128. {
  2129. .ifnum = 0,
  2130. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2131. },
  2132. {
  2133. .ifnum = 1,
  2134. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2135. },
  2136. {
  2137. .ifnum = 2,
  2138. .type = QUIRK_AUDIO_STANDARD_INTERFACE
  2139. },
  2140. {
  2141. .ifnum = 3,
  2142. .type = QUIRK_MIDI_MIDIMAN,
  2143. .data = & (const struct snd_usb_midi_endpoint_info) {
  2144. .out_cables = 0x0001,
  2145. .in_cables = 0x0001
  2146. }
  2147. },
  2148. {
  2149. .ifnum = -1
  2150. }
  2151. }
  2152. }
  2153. },
  2154. {
  2155. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
  2156. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2157. /* .vendor_name = "M-Audio", */
  2158. /* .product_name = "Fast Track Ultra", */
  2159. .ifnum = QUIRK_ANY_INTERFACE,
  2160. .type = QUIRK_COMPOSITE,
  2161. .data = & (const struct snd_usb_audio_quirk[]) {
  2162. {
  2163. .ifnum = 0,
  2164. .type = QUIRK_AUDIO_STANDARD_MIXER,
  2165. },
  2166. {
  2167. .ifnum = 1,
  2168. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2169. .data = & (const struct audioformat) {
  2170. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  2171. .channels = 8,
  2172. .iface = 1,
  2173. .altsetting = 1,
  2174. .altset_idx = 1,
  2175. .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  2176. .endpoint = 0x01,
  2177. .ep_attr = 0x09,
  2178. .rates = SNDRV_PCM_RATE_44100 |
  2179. SNDRV_PCM_RATE_48000 |
  2180. SNDRV_PCM_RATE_88200 |
  2181. SNDRV_PCM_RATE_96000,
  2182. .rate_min = 44100,
  2183. .rate_max = 96000,
  2184. .nr_rates = 4,
  2185. .rate_table = (unsigned int[]) {
  2186. 44100, 48000, 88200, 96000
  2187. }
  2188. }
  2189. },
  2190. {
  2191. .ifnum = 2,
  2192. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2193. .data = & (const struct audioformat) {
  2194. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  2195. .channels = 8,
  2196. .iface = 2,
  2197. .altsetting = 1,
  2198. .altset_idx = 1,
  2199. .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  2200. .endpoint = 0x81,
  2201. .ep_attr = 0x05,
  2202. .rates = SNDRV_PCM_RATE_44100 |
  2203. SNDRV_PCM_RATE_48000 |
  2204. SNDRV_PCM_RATE_88200 |
  2205. SNDRV_PCM_RATE_96000,
  2206. .rate_min = 44100,
  2207. .rate_max = 96000,
  2208. .nr_rates = 4,
  2209. .rate_table = (unsigned int[]) {
  2210. 44100, 48000, 88200, 96000
  2211. }
  2212. }
  2213. },
  2214. /* interface 3 (MIDI) is standard compliant */
  2215. {
  2216. .ifnum = -1
  2217. }
  2218. }
  2219. }
  2220. },
  2221. {
  2222. USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
  2223. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2224. /* .vendor_name = "M-Audio", */
  2225. /* .product_name = "Fast Track Ultra 8R", */
  2226. .ifnum = QUIRK_ANY_INTERFACE,
  2227. .type = QUIRK_COMPOSITE,
  2228. .data = & (const struct snd_usb_audio_quirk[]) {
  2229. {
  2230. .ifnum = 0,
  2231. .type = QUIRK_AUDIO_STANDARD_MIXER,
  2232. },
  2233. {
  2234. .ifnum = 1,
  2235. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2236. .data = & (const struct audioformat) {
  2237. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  2238. .channels = 8,
  2239. .iface = 1,
  2240. .altsetting = 1,
  2241. .altset_idx = 1,
  2242. .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  2243. .endpoint = 0x01,
  2244. .ep_attr = 0x09,
  2245. .rates = SNDRV_PCM_RATE_44100 |
  2246. SNDRV_PCM_RATE_48000 |
  2247. SNDRV_PCM_RATE_88200 |
  2248. SNDRV_PCM_RATE_96000,
  2249. .rate_min = 44100,
  2250. .rate_max = 96000,
  2251. .nr_rates = 4,
  2252. .rate_table = (unsigned int[]) {
  2253. 44100, 48000, 88200, 96000
  2254. }
  2255. }
  2256. },
  2257. {
  2258. .ifnum = 2,
  2259. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2260. .data = & (const struct audioformat) {
  2261. .formats = SNDRV_PCM_FMTBIT_S24_3LE,
  2262. .channels = 8,
  2263. .iface = 2,
  2264. .altsetting = 1,
  2265. .altset_idx = 1,
  2266. .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  2267. .endpoint = 0x81,
  2268. .ep_attr = 0x05,
  2269. .rates = SNDRV_PCM_RATE_44100 |
  2270. SNDRV_PCM_RATE_48000 |
  2271. SNDRV_PCM_RATE_88200 |
  2272. SNDRV_PCM_RATE_96000,
  2273. .rate_min = 44100,
  2274. .rate_max = 96000,
  2275. .nr_rates = 4,
  2276. .rate_table = (unsigned int[]) {
  2277. 44100, 48000, 88200, 96000
  2278. }
  2279. }
  2280. },
  2281. /* interface 3 (MIDI) is standard compliant */
  2282. {
  2283. .ifnum = -1
  2284. }
  2285. }
  2286. }
  2287. },
  2288. /* Casio devices */
  2289. {
  2290. USB_DEVICE(0x07cf, 0x6801),
  2291. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2292. .vendor_name = "Casio",
  2293. .product_name = "PL-40R",
  2294. .ifnum = 0,
  2295. .type = QUIRK_MIDI_YAMAHA
  2296. }
  2297. },
  2298. {
  2299. /* this ID is used by several devices without a product ID */
  2300. USB_DEVICE(0x07cf, 0x6802),
  2301. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2302. .vendor_name = "Casio",
  2303. .product_name = "Keyboard",
  2304. .ifnum = 0,
  2305. .type = QUIRK_MIDI_YAMAHA
  2306. }
  2307. },
  2308. /* Mark of the Unicorn devices */
  2309. {
  2310. /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
  2311. .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
  2312. USB_DEVICE_ID_MATCH_PRODUCT |
  2313. USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
  2314. .idVendor = 0x07fd,
  2315. .idProduct = 0x0001,
  2316. .bDeviceSubClass = 2,
  2317. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2318. .vendor_name = "MOTU",
  2319. .product_name = "Fastlane",
  2320. .ifnum = QUIRK_ANY_INTERFACE,
  2321. .type = QUIRK_COMPOSITE,
  2322. .data = & (const struct snd_usb_audio_quirk[]) {
  2323. {
  2324. .ifnum = 0,
  2325. .type = QUIRK_MIDI_RAW_BYTES
  2326. },
  2327. {
  2328. .ifnum = 1,
  2329. .type = QUIRK_IGNORE_INTERFACE
  2330. },
  2331. {
  2332. .ifnum = -1
  2333. }
  2334. }
  2335. }
  2336. },
  2337. /* Emagic devices */
  2338. {
  2339. USB_DEVICE(0x086a, 0x0001),
  2340. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2341. .vendor_name = "Emagic",
  2342. /* .product_name = "Unitor8", */
  2343. .ifnum = 2,
  2344. .type = QUIRK_MIDI_EMAGIC,
  2345. .data = & (const struct snd_usb_midi_endpoint_info) {
  2346. .out_cables = 0x80ff,
  2347. .in_cables = 0x80ff
  2348. }
  2349. }
  2350. },
  2351. {
  2352. USB_DEVICE(0x086a, 0x0002),
  2353. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2354. .vendor_name = "Emagic",
  2355. /* .product_name = "AMT8", */
  2356. .ifnum = 2,
  2357. .type = QUIRK_MIDI_EMAGIC,
  2358. .data = & (const struct snd_usb_midi_endpoint_info) {
  2359. .out_cables = 0x80ff,
  2360. .in_cables = 0x80ff
  2361. }
  2362. }
  2363. },
  2364. {
  2365. USB_DEVICE(0x086a, 0x0003),
  2366. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2367. .vendor_name = "Emagic",
  2368. /* .product_name = "MT4", */
  2369. .ifnum = 2,
  2370. .type = QUIRK_MIDI_EMAGIC,
  2371. .data = & (const struct snd_usb_midi_endpoint_info) {
  2372. .out_cables = 0x800f,
  2373. .in_cables = 0x8003
  2374. }
  2375. }
  2376. },
  2377. /* KORG devices */
  2378. {
  2379. USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
  2380. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2381. .vendor_name = "KORG, Inc.",
  2382. /* .product_name = "PANDORA PX5D", */
  2383. .ifnum = 3,
  2384. .type = QUIRK_MIDI_STANDARD_INTERFACE,
  2385. }
  2386. },
  2387. {
  2388. USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
  2389. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2390. .vendor_name = "KORG, Inc.",
  2391. /* .product_name = "ToneLab ST", */
  2392. .ifnum = 3,
  2393. .type = QUIRK_MIDI_STANDARD_INTERFACE,
  2394. }
  2395. },
  2396. /* AKAI devices */
  2397. {
  2398. USB_DEVICE(0x09e8, 0x0062),
  2399. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2400. .vendor_name = "AKAI",
  2401. .product_name = "MPD16",
  2402. .ifnum = 0,
  2403. .type = QUIRK_MIDI_AKAI,
  2404. }
  2405. },
  2406. /* TerraTec devices */
  2407. {
  2408. USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
  2409. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2410. .vendor_name = "TerraTec",
  2411. .product_name = "PHASE 26",
  2412. .ifnum = 3,
  2413. .type = QUIRK_MIDI_STANDARD_INTERFACE
  2414. }
  2415. },
  2416. {
  2417. USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
  2418. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2419. .vendor_name = "TerraTec",
  2420. .product_name = "PHASE 26",
  2421. .ifnum = 3,
  2422. .type = QUIRK_MIDI_STANDARD_INTERFACE
  2423. }
  2424. },
  2425. {
  2426. USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
  2427. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2428. .vendor_name = "TerraTec",
  2429. .product_name = "PHASE 26",
  2430. .ifnum = 3,
  2431. .type = QUIRK_MIDI_STANDARD_INTERFACE
  2432. }
  2433. },
  2434. {
  2435. USB_DEVICE(0x0ccd, 0x0028),
  2436. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2437. .vendor_name = "TerraTec",
  2438. .product_name = "Aureon5.1MkII",
  2439. .ifnum = QUIRK_NO_INTERFACE
  2440. }
  2441. },
  2442. {
  2443. USB_DEVICE(0x0ccd, 0x0035),
  2444. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2445. .vendor_name = "Miditech",
  2446. .product_name = "Play'n Roll",
  2447. .ifnum = 0,
  2448. .type = QUIRK_MIDI_CME
  2449. }
  2450. },
  2451. /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
  2452. {
  2453. USB_DEVICE(0x103d, 0x0100),
  2454. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2455. .vendor_name = "Stanton",
  2456. .product_name = "ScratchAmp",
  2457. .ifnum = QUIRK_NO_INTERFACE
  2458. }
  2459. },
  2460. {
  2461. USB_DEVICE(0x103d, 0x0101),
  2462. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2463. .vendor_name = "Stanton",
  2464. .product_name = "ScratchAmp",
  2465. .ifnum = QUIRK_NO_INTERFACE
  2466. }
  2467. },
  2468. /* Novation EMS devices */
  2469. {
  2470. USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
  2471. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2472. .vendor_name = "Novation",
  2473. .product_name = "ReMOTE Audio/XStation",
  2474. .ifnum = 4,
  2475. .type = QUIRK_MIDI_NOVATION
  2476. }
  2477. },
  2478. {
  2479. USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
  2480. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2481. .vendor_name = "Novation",
  2482. .product_name = "Speedio",
  2483. .ifnum = 3,
  2484. .type = QUIRK_MIDI_NOVATION
  2485. }
  2486. },
  2487. {
  2488. USB_DEVICE(0x1235, 0x000e),
  2489. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2490. /* .vendor_name = "Novation", */
  2491. /* .product_name = "Launchpad", */
  2492. .ifnum = 0,
  2493. .type = QUIRK_MIDI_RAW_BYTES
  2494. }
  2495. },
  2496. {
  2497. USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
  2498. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2499. .vendor_name = "Novation",
  2500. .product_name = "ReMOTE25",
  2501. .ifnum = 0,
  2502. .type = QUIRK_MIDI_NOVATION
  2503. }
  2504. },
  2505. /* Access Music devices */
  2506. {
  2507. /* VirusTI Desktop */
  2508. USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
  2509. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2510. .ifnum = QUIRK_ANY_INTERFACE,
  2511. .type = QUIRK_COMPOSITE,
  2512. .data = &(const struct snd_usb_audio_quirk[]) {
  2513. {
  2514. .ifnum = 3,
  2515. .type = QUIRK_MIDI_FIXED_ENDPOINT,
  2516. .data = &(const struct snd_usb_midi_endpoint_info) {
  2517. .out_cables = 0x0003,
  2518. .in_cables = 0x0003
  2519. }
  2520. },
  2521. {
  2522. .ifnum = 4,
  2523. .type = QUIRK_IGNORE_INTERFACE
  2524. },
  2525. {
  2526. .ifnum = -1
  2527. }
  2528. }
  2529. }
  2530. },
  2531. /* */
  2532. {
  2533. /* aka. Serato Scratch Live DJ Box */
  2534. USB_DEVICE(0x13e5, 0x0001),
  2535. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2536. .vendor_name = "Rane",
  2537. .product_name = "SL-1",
  2538. .ifnum = QUIRK_NO_INTERFACE
  2539. }
  2540. },
  2541. /* Native Instruments MK2 series */
  2542. {
  2543. /* Komplete Audio 6 */
  2544. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  2545. .idVendor = 0x17cc,
  2546. .idProduct = 0x1000,
  2547. },
  2548. {
  2549. /* Traktor Audio 6 */
  2550. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  2551. .idVendor = 0x17cc,
  2552. .idProduct = 0x1010,
  2553. },
  2554. {
  2555. /* Traktor Audio 10 */
  2556. .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  2557. .idVendor = 0x17cc,
  2558. .idProduct = 0x1020,
  2559. },
  2560. /* KeithMcMillen Stringport */
  2561. {
  2562. USB_DEVICE(0x1f38, 0x0001),
  2563. .bInterfaceClass = USB_CLASS_AUDIO,
  2564. },
  2565. /* Miditech devices */
  2566. {
  2567. USB_DEVICE(0x4752, 0x0011),
  2568. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2569. .vendor_name = "Miditech",
  2570. .product_name = "Midistart-2",
  2571. .ifnum = 0,
  2572. .type = QUIRK_MIDI_CME
  2573. }
  2574. },
  2575. /* Central Music devices */
  2576. {
  2577. /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
  2578. USB_DEVICE(0x7104, 0x2202),
  2579. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2580. .ifnum = 0,
  2581. .type = QUIRK_MIDI_CME
  2582. }
  2583. },
  2584. /* Hauppauge HVR-950Q and HVR-850 */
  2585. {
  2586. USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
  2587. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2588. USB_DEVICE_ID_MATCH_INT_CLASS |
  2589. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2590. .bInterfaceClass = USB_CLASS_AUDIO,
  2591. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2592. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2593. .vendor_name = "Hauppauge",
  2594. .product_name = "HVR-950Q",
  2595. .ifnum = QUIRK_ANY_INTERFACE,
  2596. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2597. }
  2598. },
  2599. {
  2600. USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
  2601. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2602. USB_DEVICE_ID_MATCH_INT_CLASS |
  2603. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2604. .bInterfaceClass = USB_CLASS_AUDIO,
  2605. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2606. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2607. .vendor_name = "Hauppauge",
  2608. .product_name = "HVR-850",
  2609. .ifnum = QUIRK_ANY_INTERFACE,
  2610. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2611. }
  2612. },
  2613. {
  2614. USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
  2615. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2616. USB_DEVICE_ID_MATCH_INT_CLASS |
  2617. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2618. .bInterfaceClass = USB_CLASS_AUDIO,
  2619. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2620. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2621. .vendor_name = "Hauppauge",
  2622. .product_name = "HVR-950Q",
  2623. .ifnum = QUIRK_ANY_INTERFACE,
  2624. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2625. }
  2626. },
  2627. {
  2628. USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
  2629. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2630. USB_DEVICE_ID_MATCH_INT_CLASS |
  2631. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2632. .bInterfaceClass = USB_CLASS_AUDIO,
  2633. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2634. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2635. .vendor_name = "Hauppauge",
  2636. .product_name = "HVR-950Q",
  2637. .ifnum = QUIRK_ANY_INTERFACE,
  2638. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2639. }
  2640. },
  2641. {
  2642. USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
  2643. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2644. USB_DEVICE_ID_MATCH_INT_CLASS |
  2645. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2646. .bInterfaceClass = USB_CLASS_AUDIO,
  2647. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2648. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2649. .vendor_name = "Hauppauge",
  2650. .product_name = "HVR-950Q",
  2651. .ifnum = QUIRK_ANY_INTERFACE,
  2652. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2653. }
  2654. },
  2655. {
  2656. USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
  2657. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2658. USB_DEVICE_ID_MATCH_INT_CLASS |
  2659. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2660. .bInterfaceClass = USB_CLASS_AUDIO,
  2661. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2662. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2663. .vendor_name = "Hauppauge",
  2664. .product_name = "HVR-950Q",
  2665. .ifnum = QUIRK_ANY_INTERFACE,
  2666. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2667. }
  2668. },
  2669. {
  2670. USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
  2671. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2672. USB_DEVICE_ID_MATCH_INT_CLASS |
  2673. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2674. .bInterfaceClass = USB_CLASS_AUDIO,
  2675. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2676. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2677. .vendor_name = "Hauppauge",
  2678. .product_name = "HVR-950Q",
  2679. .ifnum = QUIRK_ANY_INTERFACE,
  2680. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2681. }
  2682. },
  2683. {
  2684. USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
  2685. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2686. USB_DEVICE_ID_MATCH_INT_CLASS |
  2687. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2688. .bInterfaceClass = USB_CLASS_AUDIO,
  2689. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2690. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2691. .vendor_name = "Hauppauge",
  2692. .product_name = "HVR-950Q",
  2693. .ifnum = QUIRK_ANY_INTERFACE,
  2694. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2695. }
  2696. },
  2697. {
  2698. USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
  2699. .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  2700. USB_DEVICE_ID_MATCH_INT_CLASS |
  2701. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2702. .bInterfaceClass = USB_CLASS_AUDIO,
  2703. .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  2704. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2705. .vendor_name = "Hauppauge",
  2706. .product_name = "HVR-950Q",
  2707. .ifnum = QUIRK_ANY_INTERFACE,
  2708. .type = QUIRK_AUDIO_ALIGN_TRANSFER,
  2709. }
  2710. },
  2711. /* Digidesign Mbox */
  2712. {
  2713. /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
  2714. USB_DEVICE(0x0dba, 0x1000),
  2715. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2716. .vendor_name = "Digidesign",
  2717. .product_name = "MBox",
  2718. .ifnum = QUIRK_ANY_INTERFACE,
  2719. .type = QUIRK_COMPOSITE,
  2720. .data = (const struct snd_usb_audio_quirk[]){
  2721. {
  2722. .ifnum = 0,
  2723. .type = QUIRK_IGNORE_INTERFACE,
  2724. },
  2725. {
  2726. .ifnum = 1,
  2727. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2728. .data = &(const struct audioformat) {
  2729. .formats = SNDRV_PCM_FMTBIT_S24_3BE,
  2730. .channels = 2,
  2731. .iface = 1,
  2732. .altsetting = 1,
  2733. .altset_idx = 1,
  2734. .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  2735. .endpoint = 0x02,
  2736. .ep_attr = 0x01,
  2737. .maxpacksize = 0x130,
  2738. .rates = SNDRV_PCM_RATE_44100 |
  2739. SNDRV_PCM_RATE_48000,
  2740. .rate_min = 44100,
  2741. .rate_max = 48000,
  2742. .nr_rates = 2,
  2743. .rate_table = (unsigned int[]) {
  2744. 44100, 48000
  2745. }
  2746. }
  2747. },
  2748. {
  2749. .ifnum = -1
  2750. }
  2751. }
  2752. }
  2753. },
  2754. /* Microsoft XboxLive Headset/Xbox Communicator */
  2755. {
  2756. USB_DEVICE(0x045e, 0x0283),
  2757. .bInterfaceClass = USB_CLASS_PER_INTERFACE,
  2758. .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  2759. .vendor_name = "Microsoft",
  2760. .product_name = "XboxLive Headset/Xbox Communicator",
  2761. .ifnum = QUIRK_ANY_INTERFACE,
  2762. .type = QUIRK_COMPOSITE,
  2763. .data = &(const struct snd_usb_audio_quirk[]) {
  2764. {
  2765. /* playback */
  2766. .ifnum = 0,
  2767. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2768. .data = &(const struct audioformat) {
  2769. .formats = SNDRV_PCM_FMTBIT_S16_LE,
  2770. .channels = 1,
  2771. .iface = 0,
  2772. .altsetting = 0,
  2773. .altset_idx = 0,
  2774. .attributes = 0,
  2775. .endpoint = 0x04,
  2776. .ep_attr = 0x05,
  2777. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  2778. .rate_min = 22050,
  2779. .rate_max = 22050
  2780. }
  2781. },
  2782. {
  2783. /* capture */
  2784. .ifnum = 1,
  2785. .type = QUIRK_AUDIO_FIXED_ENDPOINT,
  2786. .data = &(const struct audioformat) {
  2787. .formats = SNDRV_PCM_FMTBIT_S16_LE,
  2788. .channels = 1,
  2789. .iface = 1,
  2790. .altsetting = 0,
  2791. .altset_idx = 0,
  2792. .attributes = 0,
  2793. .endpoint = 0x85,
  2794. .ep_attr = 0x05,
  2795. .rates = SNDRV_PCM_RATE_CONTINUOUS,
  2796. .rate_min = 16000,
  2797. .rate_max = 16000
  2798. }
  2799. },
  2800. {
  2801. .ifnum = -1
  2802. }
  2803. }
  2804. }
  2805. },
  2806. {
  2807. /*
  2808. * Some USB MIDI devices don't have an audio control interface,
  2809. * so we have to grab MIDI streaming interfaces here.
  2810. */
  2811. .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
  2812. USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  2813. .bInterfaceClass = USB_CLASS_AUDIO,
  2814. .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
  2815. .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  2816. .ifnum = QUIRK_ANY_INTERFACE,
  2817. .type = QUIRK_MIDI_STANDARD_INTERFACE
  2818. }
  2819. },
  2820. #undef USB_DEVICE_VENDOR_SPEC