unusual_devs.h 64 KB

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