unusual_devs.h 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149
  1. /* Driver for USB Mass Storage compliant devices
  2. * Unusual Devices File
  3. *
  4. * Current development and maintenance by:
  5. * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
  6. *
  7. * Initial work by:
  8. * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
  9. *
  10. * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
  11. * information about this driver.
  12. *
  13. * This program is free software; you can redistribute it and/or modify it
  14. * under the terms of the GNU General Public License as published by the
  15. * Free Software Foundation; either version 2, or (at your option) any
  16. * later version.
  17. *
  18. * This program is distributed in the hope that it will be useful, but
  19. * WITHOUT ANY WARRANTY; without even the implied warranty of
  20. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  21. * General Public License for more details.
  22. *
  23. * You should have received a copy of the GNU General Public License along
  24. * with this program; if not, write to the Free Software Foundation, Inc.,
  25. * 675 Mass Ave, Cambridge, MA 02139, USA.
  26. */
  27. /* IMPORTANT NOTE: This file must be included in another file which does
  28. * the following thing for it to work:
  29. * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
  30. * before this file is included.
  31. */
  32. /* If you edit this file, please try to keep it sorted first by VendorID,
  33. * then by ProductID.
  34. *
  35. * If you want to add an entry for this file, be sure to include the
  36. * following information:
  37. * - a patch that adds the entry for your device, including your
  38. * email address right above the entry (plus maybe a brief
  39. * explanation of the reason for the entry),
  40. * - a copy of /proc/bus/usb/devices with your device plugged in
  41. * running with this patch.
  42. * Send your submission to either Phil Dibowitz <phil@ipom.com> or
  43. * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
  44. * USB development list <linux-usb@vger.kernel.org> and the USB storage list
  45. * <usb-storage@lists.one-eyed-alien.net>
  46. */
  47. /* Note: If you add an entry only in order to set the CAPACITY_OK flag,
  48. * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
  49. * because such entries mark devices which actually work correctly,
  50. * as opposed to devices that do something strangely or wrongly.
  51. */
  52. /* In-kernel mode switching is deprecated. Do not add new devices to
  53. * this list for the sole purpose of switching them to a different
  54. * mode. Existing userspace solutions are superior.
  55. *
  56. * New mode switching devices should instead be added to the database
  57. * maintained at http://www.draisberghof.de/usb_modeswitch/
  58. */
  59. #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
  60. !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
  61. #define NO_SDDR09
  62. #endif
  63. /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
  64. */
  65. UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
  66. "ATMEL",
  67. "SND1 Storage",
  68. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  69. US_FL_IGNORE_RESIDUE),
  70. /* Reported by Rodolfo Quesada <rquesada@roqz.net> */
  71. UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
  72. "VIA Technologies Inc.",
  73. "Mitsumi multi cardreader",
  74. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  75. US_FL_IGNORE_RESIDUE ),
  76. UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
  77. "HP",
  78. "CD-Writer+",
  79. USB_SC_8070, USB_PR_CB, NULL, 0),
  80. /* Reported by Ben Efros <ben@pc-doctor.com> */
  81. UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
  82. "HP",
  83. "Personal Media Drive",
  84. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  85. US_FL_SANE_SENSE ),
  86. /* Reported by Grant Grundler <grundler@parisc-linux.org>
  87. * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
  88. */
  89. UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
  90. "HP",
  91. "PhotoSmart R707",
  92. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
  93. /* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
  94. * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
  95. * for USB floppies that need the SINGLE_LUN enforcement.
  96. */
  97. UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
  98. "NEC",
  99. "NEC USB UF000x",
  100. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  101. US_FL_SINGLE_LUN ),
  102. /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
  103. UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
  104. "VIA Technologies Inc.",
  105. "USB 2.0 Card Reader",
  106. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  107. US_FL_IGNORE_RESIDUE ),
  108. /* Deduced by Jonathan Woithe <jwoithe@just42.net>
  109. * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
  110. * always fails and confuses drive.
  111. */
  112. UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
  113. "Buffalo",
  114. "DUB-P40G HDD",
  115. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  116. US_FL_FIX_INQUIRY ),
  117. /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
  118. UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
  119. "Samsung Info. Systems America, Inc.",
  120. "MP3 Player",
  121. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  122. US_FL_IGNORE_RESIDUE ),
  123. /* Reported by Orgad Shaneh <orgads@gmail.com> */
  124. UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
  125. "Samsung", "MP3 Player",
  126. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  127. US_FL_IGNORE_RESIDUE ),
  128. /* Reported by Christian Leber <christian@leber.de> */
  129. UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
  130. "TrekStor",
  131. "i.Beat 115 2.0",
  132. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  133. US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
  134. /* Reported by Stefan Werner <dustbln@gmx.de> */
  135. UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
  136. "TrekStor",
  137. "i.Beat Joy 2.0",
  138. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  139. US_FL_IGNORE_RESIDUE ),
  140. /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
  141. UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
  142. "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
  143. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  144. US_FL_IGNORE_RESIDUE ),
  145. /* Reported by Andrew Nayenko <relan@bk.ru>
  146. * Updated for new firmware by Phillip Potter <phillipinda@hotmail.com> */
  147. UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
  148. "Nokia",
  149. "Nokia 6288",
  150. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  151. US_FL_MAX_SECTORS_64 ),
  152. /* Reported by Mario Rettig <mariorettig@web.de> */
  153. UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
  154. "Nokia",
  155. "Nokia 3250",
  156. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  157. US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
  158. /* Reported by <honkkis@gmail.com> */
  159. UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
  160. "Nokia",
  161. "E70",
  162. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  163. US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
  164. /* Reported by Jon Hart <Jon.Hart@web.de> */
  165. UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
  166. "Nokia",
  167. "E60",
  168. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  169. US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
  170. /* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
  171. * Einar Th. Einarsson <einarthered@gmail.com> */
  172. UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
  173. "Nokia",
  174. "N91",
  175. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  176. US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
  177. /* Reported by Jiri Slaby <jirislaby@gmail.com> and
  178. * Rene C. Castberg <Rene@Castberg.org> */
  179. UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
  180. "Nokia",
  181. "N80",
  182. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  183. US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
  184. /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
  185. UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
  186. "Nokia",
  187. "E61",
  188. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  189. US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
  190. /* Reported by Bardur Arantsson <bardur@scientician.net> */
  191. UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
  192. "Nokia",
  193. "6131",
  194. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  195. US_FL_MAX_SECTORS_64 ),
  196. /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
  197. UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
  198. "Nokia",
  199. "Nokia 6233",
  200. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  201. US_FL_MAX_SECTORS_64 ),
  202. /* Reported by Alex Corcoles <alex@corcoles.net> */
  203. UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
  204. "Nokia",
  205. "6234",
  206. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  207. US_FL_MAX_SECTORS_64 ),
  208. /* Reported by Daniele Forsi <dforsi@gmail.com> */
  209. UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
  210. "Nokia",
  211. "5300",
  212. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  213. US_FL_MAX_SECTORS_64 ),
  214. /* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
  215. UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
  216. "Nokia",
  217. "305",
  218. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  219. US_FL_MAX_SECTORS_64),
  220. /* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
  221. UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
  222. "Nokia",
  223. "502",
  224. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  225. US_FL_MAX_SECTORS_64 ),
  226. #ifdef NO_SDDR09
  227. UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
  228. "Microtech",
  229. "CameraMate",
  230. USB_SC_SCSI, USB_PR_CB, NULL,
  231. US_FL_SINGLE_LUN ),
  232. #endif
  233. /* Patch submitted by Daniel Drake <dsd@gentoo.org>
  234. * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
  235. UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
  236. "Neuros Audio",
  237. "USB 2.0 HD 2.5",
  238. USB_SC_DEVICE, USB_PR_BULK, NULL,
  239. US_FL_NEED_OVERRIDE ),
  240. /*
  241. * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
  242. * The key does not actually break, but it returns zero sense which
  243. * makes our SCSI stack to print confusing messages.
  244. */
  245. UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
  246. "USBest Technology", /* sold by Transcend */
  247. "USB Mass Storage Device",
  248. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
  249. /*
  250. * Bohdan Linda <bohdan.linda@gmail.com>
  251. * 1GB USB sticks MyFlash High Speed. I have restricted
  252. * the revision to my model only
  253. */
  254. UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
  255. "USB 2.0",
  256. "Flash Disk",
  257. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  258. US_FL_NOT_LOCKABLE ),
  259. /* Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
  260. * Obviously the PROM has not been customized by the VAR;
  261. * the Vendor and Product string descriptors are:
  262. * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
  263. * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
  264. */
  265. UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
  266. "Mitac",
  267. "GPS",
  268. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  269. US_FL_MAX_SECTORS_64 ),
  270. /*
  271. * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
  272. * Reported by Pete Zaitcev <zaitcev@redhat.com>
  273. * This device chokes on both version of MODE SENSE which we have, so
  274. * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
  275. */
  276. UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
  277. "AMI",
  278. "Virtual Floppy",
  279. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  280. US_FL_NO_WP_DETECT),
  281. /* Patch submitted by Philipp Friedrich <philipp@void.at> */
  282. UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
  283. "Kyocera",
  284. "Finecam S3x",
  285. USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
  286. /* Patch submitted by Philipp Friedrich <philipp@void.at> */
  287. UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
  288. "Kyocera",
  289. "Finecam S4",
  290. USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
  291. /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
  292. UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
  293. "Kyocera",
  294. "Finecam S5",
  295. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
  296. /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
  297. UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
  298. "Kyocera",
  299. "CONTAX SL300R T*",
  300. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  301. US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
  302. /* Reported by Paul Stewart <stewart@wetlogic.net>
  303. * This entry is needed because the device reports Sub=ff */
  304. UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
  305. "Hitachi",
  306. "DVD-CAM DZ-MV100A Camcorder",
  307. USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
  308. /* BENQ DC5330
  309. * Reported by Manuel Fombuena <mfombuena@ya.com> and
  310. * Frank Copeland <fjc@thingy.apana.org.au> */
  311. UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
  312. "Tekom Technologies, Inc",
  313. "300_CAMERA",
  314. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  315. US_FL_IGNORE_RESIDUE ),
  316. /* Patch for Nikon coolpix 2000
  317. * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
  318. UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
  319. "NIKON",
  320. "NIKON DSC E2000",
  321. USB_SC_DEVICE, USB_PR_DEVICE,NULL,
  322. US_FL_NOT_LOCKABLE ),
  323. /* Reported by Doug Maxey (dwm@austin.ibm.com) */
  324. UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
  325. "IBM",
  326. "IBM RSA2",
  327. USB_SC_DEVICE, USB_PR_CB, NULL,
  328. US_FL_MAX_SECTORS_MIN),
  329. /* Reported by Simon Levitt <simon@whattf.com>
  330. * This entry needs Sub and Proto fields */
  331. UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
  332. "Epson",
  333. "875DC Storage",
  334. USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
  335. /* Reported by Khalid Aziz <khalid@gonehiking.org>
  336. * This entry is needed because the device reports Sub=ff */
  337. UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
  338. "Epson",
  339. "785EPX Storage",
  340. USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
  341. /* Not sure who reported this originally but
  342. * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
  343. * flag be added */
  344. UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
  345. "Fujifilm",
  346. "FinePix 1400Zoom",
  347. USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
  348. /* Reported by Ondrej Zary <linux@rainbow-software.org>
  349. * The device reports one sector more and breaks when that sector is accessed
  350. */
  351. UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
  352. "ScanLogic",
  353. "SL11R-IDE",
  354. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  355. US_FL_FIX_CAPACITY),
  356. /* Reported by Kriston Fincher <kriston@airmail.net>
  357. * Patch submitted by Sean Millichamp <sean@bruenor.org>
  358. * This is to support the Panasonic PalmCam PV-SD4090
  359. * This entry is needed because the device reports Sub=ff
  360. */
  361. UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
  362. "Panasonic",
  363. "LS-120 Camera",
  364. USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
  365. /* From Yukihiro Nakai, via zaitcev@yahoo.com.
  366. * This is needed for CB instead of CBI */
  367. UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
  368. "Sharp CE-CW05",
  369. "CD-R/RW Drive",
  370. USB_SC_8070, USB_PR_CB, NULL, 0),
  371. /* Reported by Adriaan Penning <a.penning@luon.net> */
  372. UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
  373. "Panasonic",
  374. "DMC-LCx Camera",
  375. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  376. US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
  377. /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
  378. UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
  379. "LEICA",
  380. "D-LUX Camera",
  381. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  382. US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
  383. /* Most of the following entries were developed with the help of
  384. * Shuttle/SCM directly.
  385. */
  386. UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
  387. "Matshita",
  388. "LS-120",
  389. USB_SC_8020, USB_PR_CB, NULL, 0),
  390. UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
  391. "Shuttle",
  392. "eUSCSI Bridge",
  393. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
  394. US_FL_SCM_MULT_TARG ),
  395. #ifdef NO_SDDR09
  396. UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
  397. "SCM Microsystems",
  398. "eUSB CompactFlash Adapter",
  399. USB_SC_SCSI, USB_PR_CB, NULL,
  400. US_FL_SINGLE_LUN),
  401. #endif
  402. /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
  403. UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
  404. "SCM Microsystems Inc.",
  405. "eUSB MMC Adapter",
  406. USB_SC_SCSI, USB_PR_CB, NULL,
  407. US_FL_SINGLE_LUN),
  408. /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
  409. UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
  410. "Shuttle",
  411. "eUSB MMC Adapter",
  412. USB_SC_SCSI, USB_PR_DEVICE, NULL,
  413. US_FL_SINGLE_LUN),
  414. UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
  415. "Sony",
  416. "Hifd",
  417. USB_SC_SCSI, USB_PR_CB, NULL,
  418. US_FL_SINGLE_LUN),
  419. UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
  420. "Shuttle",
  421. "eUSB ATA/ATAPI Adapter",
  422. USB_SC_8020, USB_PR_CB, NULL, 0),
  423. UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
  424. "Shuttle",
  425. "eUSB CompactFlash Adapter",
  426. USB_SC_8020, USB_PR_CB, NULL, 0),
  427. UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
  428. "Shuttle",
  429. "eUSCSI Bridge",
  430. USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
  431. US_FL_SCM_MULT_TARG ),
  432. UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
  433. "Shuttle",
  434. "eUSCSI Bridge",
  435. USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
  436. US_FL_SCM_MULT_TARG ),
  437. UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
  438. "Shuttle",
  439. "CD-RW Device",
  440. USB_SC_8020, USB_PR_CB, NULL, 0),
  441. /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
  442. UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
  443. "Samsung",
  444. "YP-U3",
  445. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  446. US_FL_MAX_SECTORS_64),
  447. /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
  448. UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
  449. "Samsung",
  450. "YP-CP3",
  451. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  452. US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
  453. /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
  454. UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
  455. "Samsung",
  456. "YP-Z3",
  457. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  458. US_FL_MAX_SECTORS_64),
  459. /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
  460. * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
  461. * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
  462. */
  463. UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
  464. "Kobian Mercury",
  465. "Binocam DCB-132",
  466. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  467. US_FL_BULK32),
  468. /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
  469. UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
  470. "Belkin",
  471. "USB SCSI Adaptor",
  472. USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
  473. US_FL_SCM_MULT_TARG ),
  474. /* Iomega Clik! Drive
  475. * Reported by David Chatenay <dchatenay@hotmail.com>
  476. * The reason this is needed is not fully known.
  477. */
  478. UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
  479. "Iomega",
  480. "USB Clik! 40",
  481. USB_SC_8070, USB_PR_DEVICE, NULL,
  482. US_FL_FIX_INQUIRY ),
  483. /* Added by Alan Stern <stern@rowland.harvard.edu> */
  484. COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
  485. "Linux",
  486. "File-backed Storage Gadget",
  487. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  488. US_FL_CAPACITY_OK ),
  489. /* Yakumo Mega Image 37
  490. * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
  491. UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
  492. "Tekom Technologies, Inc",
  493. "300_CAMERA",
  494. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  495. US_FL_IGNORE_RESIDUE ),
  496. /* Another Yakumo camera.
  497. * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
  498. UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
  499. "Tekom Technologies, Inc",
  500. "300_CAMERA",
  501. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  502. US_FL_IGNORE_RESIDUE ),
  503. /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
  504. UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
  505. "Tekom Technologies, Inc",
  506. "300_CAMERA",
  507. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  508. US_FL_IGNORE_RESIDUE ),
  509. /* Yakumo Mega Image 47
  510. * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
  511. UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
  512. "Tekom Technologies, Inc",
  513. "400_CAMERA",
  514. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  515. US_FL_IGNORE_RESIDUE ),
  516. /* Reported by Paul Ortyl <ortylp@3miasto.net>
  517. * Note that it's similar to the device above, only different prodID */
  518. UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
  519. "Tekom Technologies, Inc",
  520. "400_CAMERA",
  521. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  522. US_FL_IGNORE_RESIDUE ),
  523. UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
  524. "Sony",
  525. "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
  526. USB_SC_SCSI, USB_PR_DEVICE, NULL,
  527. US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
  528. /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
  529. * This entry is needed because the device reports Sub=ff */
  530. UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
  531. "Sony",
  532. "DSC-T1/T5/H5",
  533. USB_SC_8070, USB_PR_DEVICE, NULL,
  534. US_FL_SINGLE_LUN ),
  535. /* Reported by wim@geeks.nl */
  536. UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
  537. "Sony",
  538. "Memorystick NW-MS7",
  539. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  540. US_FL_SINGLE_LUN ),
  541. /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
  542. UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
  543. "Sony",
  544. "USB Floppy Drive",
  545. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  546. US_FL_SINGLE_LUN ),
  547. UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
  548. "Sony",
  549. "Memorystick MSAC-US1",
  550. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  551. US_FL_SINGLE_LUN ),
  552. /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
  553. UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
  554. "Sony",
  555. "Handycam",
  556. USB_SC_SCSI, USB_PR_DEVICE, NULL,
  557. US_FL_SINGLE_LUN ),
  558. /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
  559. UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
  560. "Sony",
  561. "Handycam HC-85",
  562. USB_SC_UFI, USB_PR_DEVICE, NULL,
  563. US_FL_SINGLE_LUN ),
  564. UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
  565. "Sony",
  566. "Memorystick MSC-U01N",
  567. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  568. US_FL_SINGLE_LUN ),
  569. /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
  570. UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
  571. "Sony",
  572. "PEG N760c Memorystick",
  573. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  574. US_FL_FIX_INQUIRY ),
  575. UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
  576. "Sony",
  577. "Memorystick MSC-U03",
  578. USB_SC_UFI, USB_PR_CB, NULL,
  579. US_FL_SINGLE_LUN ),
  580. /* Submitted by Nathan Babb <nathan@lexi.com> */
  581. UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
  582. "Sony",
  583. "PEG Mass Storage",
  584. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  585. US_FL_FIX_INQUIRY ),
  586. /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
  587. UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
  588. "Sony",
  589. "PEG Mass Storage",
  590. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  591. US_FL_FIX_INQUIRY ),
  592. /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
  593. UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
  594. "Sony",
  595. "PEG Mass Storage",
  596. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  597. US_FL_FIX_INQUIRY ),
  598. /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
  599. UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
  600. "Sony Corp.",
  601. "MicroVault Flash Drive",
  602. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  603. US_FL_NO_READ_CAPACITY_16 ),
  604. /* floppy reports multiple luns */
  605. UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
  606. "SAMSUNG",
  607. "SFD-321U [FW 0C]",
  608. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  609. US_FL_SINGLE_LUN ),
  610. /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
  611. UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
  612. "Y-E Data",
  613. "Flashbuster-U",
  614. USB_SC_DEVICE, USB_PR_CB, NULL,
  615. US_FL_SINGLE_LUN),
  616. /* Reported by Johann Cardon <johann.cardon@free.fr>
  617. * This entry is needed only because the device reports
  618. * bInterfaceClass = 0xff (vendor-specific)
  619. */
  620. UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
  621. "Y-E Data",
  622. "Silicon Media R/W",
  623. USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
  624. /* Reported by RTE <raszilki@yandex.ru> */
  625. UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
  626. "JetFlash",
  627. "TS1GJF2A/120",
  628. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  629. US_FL_MAX_SECTORS_64 ),
  630. /* Fabrizio Fellini <fello@libero.it> */
  631. UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
  632. "Fujifilm",
  633. "Digital Camera EX-20 DSC",
  634. USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
  635. /* Reported by Andre Welter <a.r.welter@gmx.de>
  636. * This antique device predates the release of the Bulk-only Transport
  637. * spec, and if it gets a Get-Max-LUN then it requires the host to do a
  638. * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
  639. * us from sending the request.
  640. */
  641. UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
  642. "Iomega",
  643. "ZIP 100",
  644. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  645. US_FL_SINGLE_LUN ),
  646. UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
  647. "Iomega",
  648. "Jaz USB Adapter",
  649. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  650. US_FL_SINGLE_LUN ),
  651. /* Reported by <Hendryk.Pfeiffer@gmx.de> */
  652. UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
  653. "LaCie",
  654. "DVD+-RW",
  655. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  656. US_FL_GO_SLOW ),
  657. /* Submitted by Joel Bourquard <numlock@freesurf.ch>
  658. * Some versions of this device need the SubClass and Protocol overrides
  659. * while others don't.
  660. */
  661. UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
  662. "In-System",
  663. "PyroGate External CD-ROM Enclosure (FCD-523)",
  664. USB_SC_SCSI, USB_PR_BULK, NULL,
  665. US_FL_NEED_OVERRIDE ),
  666. /* Submitted by Sven Anderson <sven-linux@anderson.de>
  667. * There are at least four ProductIDs used for iPods, so I added 0x1202 and
  668. * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
  669. * to change with firmware updates, I changed the range to maximum for all
  670. * iPod entries.
  671. */
  672. UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
  673. "Apple",
  674. "iPod",
  675. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  676. US_FL_FIX_CAPACITY ),
  677. /* Reported by Avi Kivity <avi@argo.co.il> */
  678. UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
  679. "Apple",
  680. "iPod",
  681. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  682. US_FL_FIX_CAPACITY ),
  683. UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
  684. "Apple",
  685. "iPod",
  686. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  687. US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
  688. UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
  689. "Apple",
  690. "iPod",
  691. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  692. US_FL_FIX_CAPACITY ),
  693. /*
  694. * Reported by Tyson Vinson <lornoss@gmail.com>
  695. * This particular productId is the iPod Nano
  696. */
  697. UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
  698. "Apple",
  699. "iPod",
  700. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  701. US_FL_FIX_CAPACITY ),
  702. /* Reported by Dan Williams <dcbw@redhat.com>
  703. * Option N.V. mobile broadband modems
  704. * Ignore driver CD mode and force into modem mode by default.
  705. */
  706. /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
  707. UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
  708. "Option N.V.",
  709. "Mass Storage",
  710. USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
  711. 0),
  712. /* Reported by Blake Matheny <bmatheny@purdue.edu> */
  713. UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
  714. "Lexar",
  715. "USB CF Reader",
  716. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  717. US_FL_FIX_INQUIRY ),
  718. /* The following two entries are for a Genesys USB to IDE
  719. * converter chip, but it changes its ProductId depending
  720. * on whether or not a disk or an optical device is enclosed
  721. * They were originally reported by Alexander Oltu
  722. * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
  723. * respectively.
  724. *
  725. * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
  726. * <phil@ipom.com> as these flags were made and hard-coded
  727. * special-cases were pulled from scsiglue.c.
  728. */
  729. UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
  730. "Genesys Logic",
  731. "USB to IDE Optical",
  732. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  733. US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
  734. UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
  735. "Genesys Logic",
  736. "USB to IDE Disk",
  737. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  738. US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
  739. /* Reported by Ben Efros <ben@pc-doctor.com> */
  740. UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
  741. "Genesys Logic",
  742. "USB to SATA",
  743. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  744. US_FL_SANE_SENSE ),
  745. /* Reported by Hanno Boeck <hanno@gmx.de>
  746. * Taken from the Lycoris Kernel */
  747. UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
  748. "Vivitar",
  749. "Vivicam 35Xx",
  750. USB_SC_SCSI, USB_PR_BULK, NULL,
  751. US_FL_FIX_INQUIRY ),
  752. UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
  753. "TEAC",
  754. "Floppy Drive",
  755. USB_SC_UFI, USB_PR_CB, NULL, 0 ),
  756. /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
  757. UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
  758. "SigmaTel",
  759. "USBMSC Audio Player",
  760. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  761. US_FL_FIX_CAPACITY ),
  762. /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
  763. UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
  764. "Prolific Technology, Inc.",
  765. "Prolific Storage Gadget",
  766. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  767. US_FL_BAD_SENSE ),
  768. /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
  769. UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
  770. "Prolific Technology, Inc.",
  771. "Mass Storage Device",
  772. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  773. US_FL_NOT_LOCKABLE ),
  774. /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
  775. /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
  776. * Thomas Bartosik <tbartdev@gmx-topmail.de> */
  777. UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
  778. "Prolific Technology Inc.",
  779. "Mass Storage Device",
  780. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  781. US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
  782. /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
  783. UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
  784. "Prolific Technology Inc.",
  785. "ATAPI-6 Bridge Controller",
  786. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  787. US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
  788. /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
  789. UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
  790. "Minolta",
  791. "Dimage F300",
  792. USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
  793. /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
  794. UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
  795. "Minolta",
  796. "DIMAGE E223",
  797. USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
  798. UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
  799. "Hagiwara",
  800. "Flashgate",
  801. USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
  802. /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
  803. UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
  804. "Thomson Multimedia Inc.",
  805. "RCA RD1080 MP3 Player",
  806. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  807. US_FL_FIX_CAPACITY ),
  808. UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
  809. "Newer Technology",
  810. "uSCSI",
  811. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
  812. US_FL_SCM_MULT_TARG ),
  813. /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
  814. UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
  815. "RockChip",
  816. "MP3",
  817. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  818. US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
  819. US_FL_NO_READ_CAPACITY_16),
  820. /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
  821. * Support the following product :
  822. * "Dane-Elec MediaTouch"
  823. */
  824. UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
  825. "RockChip",
  826. "MTP",
  827. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  828. US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
  829. /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
  830. * This USB MP3/AVI player device fails and disconnects if more than 128
  831. * sectors (64kB) are read/written in a single command, and may be present
  832. * at least in the following products:
  833. * "Magnex Digital Video Panel DVP 1800"
  834. * "MP4 AIGO 4GB SLOT SD"
  835. * "Teclast TL-C260 MP3"
  836. * "i.Meizu PMP MP3/MP4"
  837. * "Speed MV8 MP4 Audio Player"
  838. */
  839. UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
  840. "RockChip",
  841. "ROCK MP3",
  842. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  843. US_FL_MAX_SECTORS_64),
  844. /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
  845. UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
  846. "ATMEL",
  847. "SND1 Storage",
  848. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  849. US_FL_IGNORE_RESIDUE),
  850. /* Submitted by Roman Hodek <roman@hodek.net> */
  851. UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
  852. "Sandisk",
  853. "ImageMate SDDR-05a",
  854. USB_SC_SCSI, USB_PR_CB, NULL,
  855. US_FL_SINGLE_LUN ),
  856. UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
  857. "SanDisk Corporation",
  858. "ImageMate CompactFlash USB",
  859. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  860. US_FL_FIX_CAPACITY ),
  861. UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
  862. "Sandisk",
  863. "ImageMate SDDR-12",
  864. USB_SC_SCSI, USB_PR_CB, NULL,
  865. US_FL_SINGLE_LUN ),
  866. /* Reported by Eero Volotinen <eero@ping-viini.org> */
  867. UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
  868. "Freecom Technologies",
  869. "FHD-Classic",
  870. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  871. US_FL_FIX_CAPACITY),
  872. UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
  873. "Microtech",
  874. "USB-SCSI-DB25",
  875. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
  876. US_FL_SCM_MULT_TARG ),
  877. UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
  878. "Microtech",
  879. "USB-SCSI-HD50",
  880. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
  881. US_FL_SCM_MULT_TARG ),
  882. #ifdef NO_SDDR09
  883. UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
  884. "Microtech",
  885. "CameraMate",
  886. USB_SC_SCSI, USB_PR_CB, NULL,
  887. US_FL_SINGLE_LUN ),
  888. #endif
  889. /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
  890. * Only revision 1.13 tested (same for all of the above devices,
  891. * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
  892. * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
  893. * See also http://martin.wilck.bei.t-online.de/#kecf .
  894. */
  895. UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
  896. "Datafab",
  897. "KECF-USB",
  898. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  899. US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
  900. /* Reported by Rauch Wolke <rauchwolke@gmx.net>
  901. * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
  902. */
  903. UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
  904. "Simple Tech/Datafab",
  905. "CF+SM Reader",
  906. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  907. US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
  908. /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
  909. * to the USB storage specification in two ways:
  910. * - They tell us they are using transport protocol CBI. In reality they
  911. * are using transport protocol CB.
  912. * - They don't like the INQUIRY command. So we must handle this command
  913. * of the SCSI layer ourselves.
  914. * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
  915. * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
  916. * So don't remove the USB_PR_CB override!
  917. * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
  918. */
  919. UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
  920. "Casio",
  921. "QV DigitalCamera",
  922. USB_SC_8070, USB_PR_CB, NULL,
  923. US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
  924. /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
  925. UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
  926. "Casio",
  927. "EX-N1 DigitalCamera",
  928. USB_SC_8070, USB_PR_DEVICE, NULL, 0),
  929. /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
  930. UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
  931. "Samsung",
  932. "Digimax 410",
  933. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  934. US_FL_FIX_INQUIRY),
  935. /* Reported by Luciano Rocha <luciano@eurotux.com> */
  936. UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
  937. "Argosy",
  938. "Storage",
  939. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  940. US_FL_FIX_CAPACITY),
  941. /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
  942. UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
  943. "Argosy",
  944. "Storage",
  945. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  946. US_FL_FIX_CAPACITY),
  947. /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
  948. UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
  949. "Argosy",
  950. "Storage",
  951. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  952. US_FL_FIX_CAPACITY),
  953. /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
  954. * Flag will support Bulk devices which use a standards-violating 32-byte
  955. * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
  956. * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
  957. */
  958. UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
  959. "Grandtech",
  960. "DC2MEGA",
  961. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  962. US_FL_BULK32),
  963. /* Reported by <ttkspam@free.fr>
  964. * The device reports a vendor-specific device class, requiring an
  965. * explicit vendor/product match.
  966. */
  967. UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
  968. "MagicPixel",
  969. "FW_Omega2",
  970. USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
  971. /* Andrew Lunn <andrew@lunn.ch>
  972. * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
  973. * on LUN 4.
  974. * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
  975. */
  976. UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
  977. "PanDigital",
  978. "Photo Frame",
  979. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  980. US_FL_NOT_LOCKABLE),
  981. /* Submitted by Jan De Luyck <lkml@kcore.org> */
  982. UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
  983. "CITIZEN",
  984. "X1DE-USB",
  985. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  986. US_FL_SINGLE_LUN),
  987. /* Submitted by Dylan Taft <d13f00l@gmail.com>
  988. * US_FL_IGNORE_RESIDUE Needed
  989. */
  990. UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
  991. "AIPTEK",
  992. "Aiptek USB Keychain MP3 Player",
  993. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  994. US_FL_IGNORE_RESIDUE),
  995. /* Entry needed for flags. Moreover, all devices with this ID use
  996. * bulk-only transport, but _some_ falsely report Control/Bulk instead.
  997. * One example is "Trumpion Digital Research MYMP3".
  998. * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
  999. */
  1000. UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
  1001. "Trumpion",
  1002. "t33520 USB Flash Card Controller",
  1003. USB_SC_DEVICE, USB_PR_BULK, NULL,
  1004. US_FL_NEED_OVERRIDE ),
  1005. /* Reported by Filippo Bardelli <filibard@libero.it>
  1006. * The device reports a subclass of RBC, which is wrong.
  1007. */
  1008. UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
  1009. "Trumpion Microelectronics, Inc.",
  1010. "33520 USB Digital Voice Recorder",
  1011. USB_SC_UFI, USB_PR_DEVICE, NULL,
  1012. 0),
  1013. /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
  1014. UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
  1015. "Trumpion",
  1016. "MP3 player",
  1017. USB_SC_RBC, USB_PR_BULK, NULL,
  1018. 0 ),
  1019. /* aeb */
  1020. UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
  1021. "Feiya",
  1022. "5-in-1 Card Reader",
  1023. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1024. US_FL_FIX_CAPACITY ),
  1025. /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
  1026. * This card reader returns "Illegal Request, Logical Block Address
  1027. * Out of Range" for the first READ(10) after a new card is inserted.
  1028. */
  1029. UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
  1030. "Feiya",
  1031. "SD/SDHC Card Reader",
  1032. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1033. US_FL_INITIAL_READ10 ),
  1034. /* This Pentax still camera is not conformant
  1035. * to the USB storage specification: -
  1036. * - It does not like the INQUIRY command. So we must handle this command
  1037. * of the SCSI layer ourselves.
  1038. * Tested on Rev. 10.00 (0x1000)
  1039. * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
  1040. */
  1041. UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
  1042. "Pentax",
  1043. "Optio 2/3/400",
  1044. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1045. US_FL_FIX_INQUIRY ),
  1046. /* These are virtual windows driver CDs, which the zd1211rw driver
  1047. * automatically converts into WLAN devices. */
  1048. UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
  1049. "ZyXEL",
  1050. "G-220F USB-WLAN Install",
  1051. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1052. US_FL_IGNORE_DEVICE ),
  1053. UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
  1054. "SiteCom",
  1055. "WL-117 USB-WLAN Install",
  1056. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1057. US_FL_IGNORE_DEVICE ),
  1058. /* Reported by Dan Williams <dcbw@redhat.com>
  1059. * Option N.V. mobile broadband modems
  1060. * Ignore driver CD mode and force into modem mode by default.
  1061. */
  1062. /* iCON 225 */
  1063. UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
  1064. "Option N.V.",
  1065. "Mass Storage",
  1066. USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
  1067. 0),
  1068. /* Reported by F. Aben <f.aben@option.com>
  1069. * This device (wrongly) has a vendor-specific device descriptor.
  1070. * The entry is needed so usb-storage can bind to it's mass-storage
  1071. * interface as an interface driver */
  1072. UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
  1073. "Option",
  1074. "GI 0401 SD-Card",
  1075. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1076. 0 ),
  1077. /* Reported by Jan Dumon <j.dumon@option.com>
  1078. * These devices (wrongly) have a vendor-specific device descriptor.
  1079. * These entries are needed so usb-storage can bind to their mass-storage
  1080. * interface as an interface driver */
  1081. UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
  1082. "Option",
  1083. "GI 0431 SD-Card",
  1084. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1085. 0 ),
  1086. UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
  1087. "Option",
  1088. "GI 0451 SD-Card",
  1089. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1090. 0 ),
  1091. UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
  1092. "Option",
  1093. "GI 0451 SD-Card",
  1094. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1095. 0 ),
  1096. UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
  1097. "Option",
  1098. "GI 0452 SD-Card",
  1099. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1100. 0 ),
  1101. UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
  1102. "Option",
  1103. "GI 0461 SD-Card",
  1104. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1105. 0 ),
  1106. UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
  1107. "Option",
  1108. "GI 0461 SD-Card",
  1109. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1110. 0 ),
  1111. UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
  1112. "Option",
  1113. "GI 033x SD-Card",
  1114. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1115. 0 ),
  1116. UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
  1117. "Option",
  1118. "GI 033x SD-Card",
  1119. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1120. 0 ),
  1121. UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
  1122. "Option",
  1123. "GI 033x SD-Card",
  1124. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1125. 0 ),
  1126. UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
  1127. "Option",
  1128. "GI 070x SD-Card",
  1129. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1130. 0 ),
  1131. UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
  1132. "Option",
  1133. "GI 1505 SD-Card",
  1134. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1135. 0 ),
  1136. UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
  1137. "Option",
  1138. "GI 1509 SD-Card",
  1139. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1140. 0 ),
  1141. UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
  1142. "Option",
  1143. "GI 1515 SD-Card",
  1144. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1145. 0 ),
  1146. UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
  1147. "Option",
  1148. "GI 1215 SD-Card",
  1149. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1150. 0 ),
  1151. UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
  1152. "Option",
  1153. "GI 1505 SD-Card",
  1154. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1155. 0 ),
  1156. /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
  1157. UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
  1158. "Seagate",
  1159. "Portable HDD",
  1160. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
  1161. /* Reported by Ben Efros <ben@pc-doctor.com> */
  1162. UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
  1163. "Seagate",
  1164. "FreeAgent Pro",
  1165. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1166. US_FL_SANE_SENSE ),
  1167. UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
  1168. "Maxtor",
  1169. "USB to SATA",
  1170. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1171. US_FL_SANE_SENSE),
  1172. /*
  1173. * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
  1174. * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
  1175. */
  1176. UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
  1177. "Unknown",
  1178. "Unknown",
  1179. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1180. US_FL_SINGLE_LUN ),
  1181. /* Submitted by Joris Struyve <joris@struyve.be> */
  1182. UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
  1183. "Medion",
  1184. "MD 7425",
  1185. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1186. US_FL_FIX_INQUIRY),
  1187. /*
  1188. * Entry for Jenoptik JD 5200z3
  1189. *
  1190. * email: car.busse@gmx.de
  1191. */
  1192. UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
  1193. "Jenoptik",
  1194. "JD 5200 z3",
  1195. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
  1196. /* Reported by Jason Johnston <killean@shaw.ca> */
  1197. UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
  1198. "Macpower Technology Co.LTD.",
  1199. "USB 2.0 3.5\" DEVICE",
  1200. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1201. US_FL_FIX_CAPACITY),
  1202. /* Reported by Lubomir Blaha <tritol@trilogic.cz>
  1203. * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
  1204. * works for me. Can anybody correct these values? (I able to test corrected
  1205. * version.)
  1206. */
  1207. UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
  1208. "Netac",
  1209. "USB-CF-Card",
  1210. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1211. US_FL_FIX_INQUIRY ),
  1212. /* Reported by Edward Chapman (taken from linux-usb mailing list)
  1213. Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
  1214. UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
  1215. "Netac",
  1216. "USB Flash Disk",
  1217. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1218. US_FL_IGNORE_RESIDUE ),
  1219. /* Patch by Stephan Walter <stephan.walter@epfl.ch>
  1220. * I don't know why, but it works... */
  1221. UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
  1222. "WINWARD",
  1223. "Music Disk",
  1224. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1225. US_FL_IGNORE_RESIDUE ),
  1226. /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
  1227. UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
  1228. "PNP_MP3",
  1229. "PNP_MP3 PLAYER",
  1230. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1231. US_FL_IGNORE_RESIDUE ),
  1232. /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
  1233. UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
  1234. "Cowon Systems",
  1235. "iAUDIO M5",
  1236. USB_SC_DEVICE, USB_PR_BULK, NULL,
  1237. US_FL_NEED_OVERRIDE ),
  1238. /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
  1239. UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
  1240. "USB",
  1241. "Solid state disk",
  1242. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1243. US_FL_FIX_INQUIRY ),
  1244. /* Submitted by Daniel Drake <dsd@gentoo.org>
  1245. * Reported by dayul on the Gentoo Forums */
  1246. UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
  1247. "Ours Technology",
  1248. "Flash Disk",
  1249. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1250. US_FL_IGNORE_RESIDUE ),
  1251. /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
  1252. UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
  1253. "USB",
  1254. "Flash Disk",
  1255. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1256. US_FL_IGNORE_RESIDUE ),
  1257. /* Reported by Benjamin Schiller <sbenni@gmx.de>
  1258. * It is also sold by Easylite as DJ 20 */
  1259. UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
  1260. "Typhoon",
  1261. "My DJ 1820",
  1262. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1263. US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
  1264. /* Patch by Leonid Petrov mail at lpetrov.net
  1265. * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
  1266. * http://www.qbik.ch/usb/devices/showdev.php?id=1705
  1267. * Updated to 103 device by MJ Ray mjr at phonecoop.coop
  1268. */
  1269. UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
  1270. "Oracom Co., Ltd",
  1271. "ORC-200M",
  1272. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1273. US_FL_IGNORE_RESIDUE ),
  1274. /* David Kuehling <dvdkhlng@gmx.de>:
  1275. * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
  1276. * errors when trying to write.
  1277. */
  1278. UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
  1279. "C-MEX",
  1280. "A-VOX",
  1281. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1282. US_FL_IGNORE_RESIDUE ),
  1283. /* Submitted by Nick Holloway */
  1284. UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
  1285. "VTech",
  1286. "Kidizoom",
  1287. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1288. US_FL_FIX_CAPACITY ),
  1289. /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
  1290. UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
  1291. "Research In Motion",
  1292. "BlackBerry Bold 9000",
  1293. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1294. US_FL_MAX_SECTORS_64 ),
  1295. /* Reported by Michael Stattmann <michael@stattmann.com> */
  1296. UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
  1297. "Sony Ericsson",
  1298. "V800-Vodafone 802",
  1299. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1300. US_FL_NO_WP_DETECT ),
  1301. /* Reported by The Solutor <thesolutor@gmail.com> */
  1302. UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
  1303. "Sony Ericsson",
  1304. "MD400",
  1305. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1306. US_FL_IGNORE_DEVICE),
  1307. /* Reported by Jan Mate <mate@fiit.stuba.sk>
  1308. * and by Soeren Sonnenburg <kernel@nn7.de> */
  1309. UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
  1310. "Sony Ericsson",
  1311. "P990i",
  1312. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1313. US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
  1314. /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
  1315. UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
  1316. "Sony Ericsson",
  1317. "M600i",
  1318. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1319. US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
  1320. /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
  1321. UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
  1322. "Sony Ericsson",
  1323. "P1i",
  1324. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1325. US_FL_IGNORE_RESIDUE ),
  1326. /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
  1327. * Tested on hardware version 1.10.
  1328. * Entry is needed only for the initializer function override.
  1329. * Devices with bcd > 110 seem to not need it while those
  1330. * with bcd < 110 appear to need it.
  1331. */
  1332. UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
  1333. "Desknote",
  1334. "UCR-61S2B",
  1335. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
  1336. 0 ),
  1337. UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
  1338. "Western Digital",
  1339. "External HDD",
  1340. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1341. US_FL_SANE_SENSE),
  1342. /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
  1343. UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
  1344. "Western Digital",
  1345. "My Passport HDD",
  1346. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
  1347. /* Reported by Fabio Venturi <f.venturi@tdnet.it>
  1348. * The device reports a vendor-specific bDeviceClass.
  1349. */
  1350. UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
  1351. "Actions Semiconductor",
  1352. "Mtp device",
  1353. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1354. 0),
  1355. /* Reported by Pascal Terjan <pterjan@mandriva.com>
  1356. * Ignore driver CD mode and force into modem mode by default.
  1357. */
  1358. UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
  1359. "D-Link",
  1360. "USB Mass Storage",
  1361. USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
  1362. /* Reported by Kevin Lloyd <linux@sierrawireless.com>
  1363. * Entry is needed for the initializer function override,
  1364. * which instructs the device to load as a modem
  1365. * device.
  1366. */
  1367. UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
  1368. "Sierra Wireless",
  1369. "USB MMC Storage",
  1370. USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
  1371. 0),
  1372. /* Reported by Jaco Kroon <jaco@kroon.co.za>
  1373. * The usb-storage module found on the Digitech GNX4 (and supposedly other
  1374. * devices) misbehaves and causes a bunch of invalid I/O errors.
  1375. */
  1376. UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
  1377. "Digitech HMG",
  1378. "DigiTech Mass Storage",
  1379. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1380. US_FL_IGNORE_RESIDUE ),
  1381. /* Reported by fangxiaozhi <huananhu@huawei.com>
  1382. * This brings the HUAWEI data card devices into multi-port mode
  1383. */
  1384. UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
  1385. "HUAWEI MOBILE",
  1386. "Mass Storage",
  1387. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1388. 0),
  1389. UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
  1390. "HUAWEI MOBILE",
  1391. "Mass Storage",
  1392. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1393. 0),
  1394. UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
  1395. "HUAWEI MOBILE",
  1396. "Mass Storage",
  1397. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1398. 0),
  1399. UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
  1400. "HUAWEI MOBILE",
  1401. "Mass Storage",
  1402. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1403. 0),
  1404. UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
  1405. "HUAWEI MOBILE",
  1406. "Mass Storage",
  1407. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1408. 0),
  1409. UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
  1410. "HUAWEI MOBILE",
  1411. "Mass Storage",
  1412. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1413. 0),
  1414. UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
  1415. "HUAWEI MOBILE",
  1416. "Mass Storage",
  1417. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1418. 0),
  1419. UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
  1420. "HUAWEI MOBILE",
  1421. "Mass Storage",
  1422. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1423. 0),
  1424. UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
  1425. "HUAWEI MOBILE",
  1426. "Mass Storage",
  1427. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1428. 0),
  1429. UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
  1430. "HUAWEI MOBILE",
  1431. "Mass Storage",
  1432. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1433. 0),
  1434. UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
  1435. "HUAWEI MOBILE",
  1436. "Mass Storage",
  1437. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1438. 0),
  1439. UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
  1440. "HUAWEI MOBILE",
  1441. "Mass Storage",
  1442. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1443. 0),
  1444. UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
  1445. "HUAWEI MOBILE",
  1446. "Mass Storage",
  1447. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1448. 0),
  1449. UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
  1450. "HUAWEI MOBILE",
  1451. "Mass Storage",
  1452. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1453. 0),
  1454. UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
  1455. "HUAWEI MOBILE",
  1456. "Mass Storage",
  1457. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1458. 0),
  1459. UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
  1460. "HUAWEI MOBILE",
  1461. "Mass Storage",
  1462. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1463. 0),
  1464. UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
  1465. "HUAWEI MOBILE",
  1466. "Mass Storage",
  1467. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1468. 0),
  1469. UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
  1470. "HUAWEI MOBILE",
  1471. "Mass Storage",
  1472. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1473. 0),
  1474. UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
  1475. "HUAWEI MOBILE",
  1476. "Mass Storage",
  1477. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1478. 0),
  1479. UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
  1480. "HUAWEI MOBILE",
  1481. "Mass Storage",
  1482. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1483. 0),
  1484. UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
  1485. "HUAWEI MOBILE",
  1486. "Mass Storage",
  1487. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1488. 0),
  1489. UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
  1490. "HUAWEI MOBILE",
  1491. "Mass Storage",
  1492. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1493. 0),
  1494. UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
  1495. "HUAWEI MOBILE",
  1496. "Mass Storage",
  1497. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1498. 0),
  1499. UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
  1500. "HUAWEI MOBILE",
  1501. "Mass Storage",
  1502. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1503. 0),
  1504. UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
  1505. "HUAWEI MOBILE",
  1506. "Mass Storage",
  1507. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1508. 0),
  1509. UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
  1510. "HUAWEI MOBILE",
  1511. "Mass Storage",
  1512. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1513. 0),
  1514. UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
  1515. "HUAWEI MOBILE",
  1516. "Mass Storage",
  1517. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1518. 0),
  1519. UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
  1520. "HUAWEI MOBILE",
  1521. "Mass Storage",
  1522. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1523. 0),
  1524. UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
  1525. "HUAWEI MOBILE",
  1526. "Mass Storage",
  1527. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1528. 0),
  1529. UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
  1530. "HUAWEI MOBILE",
  1531. "Mass Storage",
  1532. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1533. 0),
  1534. UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
  1535. "HUAWEI MOBILE",
  1536. "Mass Storage",
  1537. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1538. 0),
  1539. UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
  1540. "HUAWEI MOBILE",
  1541. "Mass Storage",
  1542. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1543. 0),
  1544. UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
  1545. "HUAWEI MOBILE",
  1546. "Mass Storage",
  1547. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1548. 0),
  1549. UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
  1550. "HUAWEI MOBILE",
  1551. "Mass Storage",
  1552. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1553. 0),
  1554. UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
  1555. "HUAWEI MOBILE",
  1556. "Mass Storage",
  1557. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1558. 0),
  1559. UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
  1560. "HUAWEI MOBILE",
  1561. "Mass Storage",
  1562. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1563. 0),
  1564. UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
  1565. "HUAWEI MOBILE",
  1566. "Mass Storage",
  1567. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1568. 0),
  1569. UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
  1570. "HUAWEI MOBILE",
  1571. "Mass Storage",
  1572. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1573. 0),
  1574. UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
  1575. "HUAWEI MOBILE",
  1576. "Mass Storage",
  1577. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1578. 0),
  1579. UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
  1580. "HUAWEI MOBILE",
  1581. "Mass Storage",
  1582. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1583. 0),
  1584. UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
  1585. "HUAWEI MOBILE",
  1586. "Mass Storage",
  1587. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1588. 0),
  1589. UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
  1590. "HUAWEI MOBILE",
  1591. "Mass Storage",
  1592. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1593. 0),
  1594. UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
  1595. "HUAWEI MOBILE",
  1596. "Mass Storage",
  1597. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1598. 0),
  1599. UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
  1600. "HUAWEI MOBILE",
  1601. "Mass Storage",
  1602. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1603. 0),
  1604. UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
  1605. "HUAWEI MOBILE",
  1606. "Mass Storage",
  1607. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1608. 0),
  1609. UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
  1610. "HUAWEI MOBILE",
  1611. "Mass Storage",
  1612. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1613. 0),
  1614. UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
  1615. "HUAWEI MOBILE",
  1616. "Mass Storage",
  1617. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1618. 0),
  1619. UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
  1620. "HUAWEI MOBILE",
  1621. "Mass Storage",
  1622. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1623. 0),
  1624. UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
  1625. "HUAWEI MOBILE",
  1626. "Mass Storage",
  1627. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1628. 0),
  1629. UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
  1630. "HUAWEI MOBILE",
  1631. "Mass Storage",
  1632. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1633. 0),
  1634. UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
  1635. "HUAWEI MOBILE",
  1636. "Mass Storage",
  1637. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1638. 0),
  1639. UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
  1640. "HUAWEI MOBILE",
  1641. "Mass Storage",
  1642. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1643. 0),
  1644. UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
  1645. "HUAWEI MOBILE",
  1646. "Mass Storage",
  1647. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1648. 0),
  1649. UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
  1650. "HUAWEI MOBILE",
  1651. "Mass Storage",
  1652. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1653. 0),
  1654. UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
  1655. "HUAWEI MOBILE",
  1656. "Mass Storage",
  1657. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1658. 0),
  1659. UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
  1660. "HUAWEI MOBILE",
  1661. "Mass Storage",
  1662. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1663. 0),
  1664. UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
  1665. "HUAWEI MOBILE",
  1666. "Mass Storage",
  1667. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1668. 0),
  1669. UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
  1670. "HUAWEI MOBILE",
  1671. "Mass Storage",
  1672. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1673. 0),
  1674. UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
  1675. "HUAWEI MOBILE",
  1676. "Mass Storage",
  1677. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1678. 0),
  1679. UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
  1680. "HUAWEI MOBILE",
  1681. "Mass Storage",
  1682. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1683. 0),
  1684. UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
  1685. "HUAWEI MOBILE",
  1686. "Mass Storage",
  1687. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1688. 0),
  1689. UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
  1690. "HUAWEI MOBILE",
  1691. "Mass Storage",
  1692. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1693. 0),
  1694. UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
  1695. "HUAWEI MOBILE",
  1696. "Mass Storage",
  1697. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1698. 0),
  1699. UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
  1700. "HUAWEI MOBILE",
  1701. "Mass Storage",
  1702. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1703. 0),
  1704. UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
  1705. "HUAWEI MOBILE",
  1706. "Mass Storage",
  1707. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1708. 0),
  1709. UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
  1710. "HUAWEI MOBILE",
  1711. "Mass Storage",
  1712. USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
  1713. 0),
  1714. /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
  1715. UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
  1716. "Minolta",
  1717. "Dimage Z10",
  1718. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1719. 0 ),
  1720. /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
  1721. UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
  1722. "SWISSBIT",
  1723. "Black Silver",
  1724. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1725. US_FL_IGNORE_RESIDUE ),
  1726. /* Reported by Qinglin Ye <yestyle@gmail.com> */
  1727. UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
  1728. "Kingston",
  1729. "DT 101 G2",
  1730. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1731. US_FL_BULK_IGNORE_TAG ),
  1732. /* Reported by Francesco Foresti <frafore@tiscali.it> */
  1733. UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
  1734. "Super Top",
  1735. "IDE DEVICE",
  1736. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1737. US_FL_IGNORE_RESIDUE ),
  1738. /* Reported by Michael Büsch <m@bues.ch> */
  1739. UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0114,
  1740. "JMicron",
  1741. "USB to ATA/ATAPI Bridge",
  1742. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1743. US_FL_BROKEN_FUA ),
  1744. /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
  1745. * JMicron responds to USN and several other SCSI ioctls with a
  1746. * residue that causes subsequent I/O requests to fail. */
  1747. UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
  1748. "JMicron",
  1749. "USB to ATA/ATAPI Bridge",
  1750. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1751. US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
  1752. /* Reported by Robert Schedel <r.schedel@yahoo.de>
  1753. * Note: this is a 'super top' device like the above 14cd/6600 device */
  1754. UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
  1755. "Teac",
  1756. "HD-35PUK-B",
  1757. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1758. US_FL_IGNORE_RESIDUE ),
  1759. /* Reported by Oliver Neukum <oneukum@suse.com> */
  1760. UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
  1761. "ASMedia",
  1762. "AS2105",
  1763. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1764. US_FL_NEEDS_CAP16),
  1765. /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
  1766. UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
  1767. "Yarvik",
  1768. "PMP400",
  1769. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1770. US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
  1771. /* Reported by Hans de Goede <hdegoede@redhat.com>
  1772. * These Appotech controllers are found in Picture Frames, they provide a
  1773. * (buggy) emulation of a cdrom drive which contains the windows software
  1774. * Uploading of pictures happens over the corresponding /dev/sg device. */
  1775. UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
  1776. "BUILDWIN",
  1777. "Photo Frame",
  1778. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1779. US_FL_BAD_SENSE ),
  1780. UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
  1781. "BUILDWIN",
  1782. "Photo Frame",
  1783. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1784. US_FL_BAD_SENSE ),
  1785. UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
  1786. "BUILDWIN",
  1787. "Photo Frame",
  1788. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1789. US_FL_NO_READ_DISC_INFO ),
  1790. /* Reported by Sven Geggus <sven-usbst@geggus.net>
  1791. * This encrypted pen drive returns bogus data for the initial READ(10).
  1792. */
  1793. UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
  1794. "Corsair",
  1795. "Padlock v2",
  1796. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1797. US_FL_INITIAL_READ10 ),
  1798. /* Patch by Richard Schütz <r.schtz@t-online.de>
  1799. * This external hard drive enclosure uses a JMicron chip which
  1800. * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
  1801. UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
  1802. "TrekStor GmbH & Co. KG",
  1803. "DataStation maxi g.u",
  1804. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1805. US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
  1806. /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
  1807. UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
  1808. "Coby Electronics",
  1809. "MP3 Player",
  1810. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1811. US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
  1812. UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
  1813. "ST",
  1814. "2A",
  1815. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1816. US_FL_FIX_CAPACITY),
  1817. /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
  1818. * and Renato Perini <rperini@email.it>
  1819. */
  1820. UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
  1821. "Motorola",
  1822. "RAZR V3x",
  1823. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1824. US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
  1825. /*
  1826. * Patch by Constantin Baranov <const@tltsu.ru>
  1827. * Report by Andreas Koenecke.
  1828. * Motorola ROKR Z6.
  1829. */
  1830. UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
  1831. "Motorola",
  1832. "MSnc.",
  1833. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1834. US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
  1835. /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
  1836. UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
  1837. "MPIO",
  1838. "HS200",
  1839. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1840. US_FL_GO_SLOW ),
  1841. /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
  1842. * Mio Moov 330
  1843. */
  1844. UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
  1845. "Mitac",
  1846. "Mio DigiWalker USB Sync",
  1847. USB_SC_DEVICE,USB_PR_DEVICE,NULL,
  1848. US_FL_MAX_SECTORS_64 ),
  1849. /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
  1850. UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
  1851. "iRiver",
  1852. "MP3 T10",
  1853. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1854. US_FL_IGNORE_RESIDUE ),
  1855. /* Reported by Sergey Pinaev <dfo@antex.ru> */
  1856. UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
  1857. "iRiver",
  1858. "P7K",
  1859. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1860. US_FL_MAX_SECTORS_64 ),
  1861. /*
  1862. * David Härdeman <david@2gen.com>
  1863. * The key makes the SCSI stack print confusing (but harmless) messages
  1864. */
  1865. UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
  1866. "Iomega",
  1867. "Micro Mini 1GB",
  1868. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
  1869. /*
  1870. * Nick Bowler <nbowler@elliptictech.com>
  1871. * SCSI stack spams (otherwise harmless) error messages.
  1872. */
  1873. UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
  1874. "Keil Software, Inc.",
  1875. "V2M MotherBoard",
  1876. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1877. US_FL_NOT_LOCKABLE),
  1878. /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
  1879. UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
  1880. "DataStor",
  1881. "USB4500 FW1.04",
  1882. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  1883. US_FL_CAPACITY_HEURISTICS),
  1884. /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
  1885. UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
  1886. "TGE",
  1887. "Digital MP3 Audio Player",
  1888. USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
  1889. /* Unusual uas devices */
  1890. #if IS_ENABLED(CONFIG_USB_UAS)
  1891. #include "unusual_uas.h"
  1892. #endif
  1893. /* Control/Bulk transport for all SubClass values */
  1894. USUAL_DEV(USB_SC_RBC, USB_PR_CB),
  1895. USUAL_DEV(USB_SC_8020, USB_PR_CB),
  1896. USUAL_DEV(USB_SC_QIC, USB_PR_CB),
  1897. USUAL_DEV(USB_SC_UFI, USB_PR_CB),
  1898. USUAL_DEV(USB_SC_8070, USB_PR_CB),
  1899. USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
  1900. /* Control/Bulk/Interrupt transport for all SubClass values */
  1901. USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
  1902. USUAL_DEV(USB_SC_8020, USB_PR_CBI),
  1903. USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
  1904. USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
  1905. USUAL_DEV(USB_SC_8070, USB_PR_CBI),
  1906. USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
  1907. /* Bulk-only transport for all SubClass values */
  1908. USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
  1909. USUAL_DEV(USB_SC_8020, USB_PR_BULK),
  1910. USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
  1911. USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
  1912. USUAL_DEV(USB_SC_8070, USB_PR_BULK),
  1913. USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),