quirks-table.h 78 KB

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