unusual_devs.h
来自「linux 内核源代码」· C头文件 代码 · 共 1,614 行 · 第 1/4 页
H
1,614 行
/* Driver for USB Mass Storage compliant devices * Unusual Devices File * * $Id: unusual_devs.h,v 1.32 2002/02/25 02:41:24 mdharm Exp $ * * Current development and maintenance by: * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) * * Initial work by: * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc. * * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more * information about this driver. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2, or (at your option) any * later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. *//* IMPORTANT NOTE: This file must be included in another file which does * the following thing for it to work: * The macro UNUSUAL_DEV() must be defined before this file is included *//* If you edit this file, please try to keep it sorted first by VendorID, * then by ProductID. * * If you want to add an entry for this file, be sure to include the * following information: * - a patch that adds the entry for your device, including your * email address right above the entry (plus maybe a brief * explanation of the reason for the entry), * - a copy of /proc/bus/usb/devices with your device plugged in * running with this patch. * Send your submission to either Phil Dibowitz <phil@ipom.com> or * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the * USB development list <linux-usb-devel@lists.sourceforge.net>. *//* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr> */UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100, "ATMEL", "SND1 Storage", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE),/* modified by Tobias Lorenz <tobias.lorenz@gmx.net> */UNUSUAL_DEV( 0x03ee, 0x6901, 0x0000, 0x0200, "Mitsumi", "USB FDD", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_SINGLE_LUN ),/* Reported by Rodolfo Quesada <rquesada@roqz.net> */UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003, "VIA Technologies Inc.", "Mitsumi multi cardreader", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200, "HP", "CD-Writer+", US_SC_8070, US_PR_CB, NULL, 0),#ifdef CONFIG_USB_STORAGE_USBATUNUSUAL_DEV( 0x03f0, 0x0207, 0x0001, 0x0001, "HP", "CD-Writer+ 8200e", US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),UNUSUAL_DEV( 0x03f0, 0x0307, 0x0001, 0x0001, "HP", "CD-Writer+ CD-4e", US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),#endif/* Reported by Grant Grundler <grundler@parisc-linux.org> * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware. */UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001, "HP", "PhotoSmart R707", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net> * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product) * for USB floppies that need the SINGLE_LUN enforcement. */UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999, "NEC", "NEC USB UF000x", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_SINGLE_LUN ),/* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003, "VIA Technologies Inc.", "USB 2.0 Card Reader", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),/* Deduced by Jonathan Woithe <jwoithe@physics.adelaide.edu.au> * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message * always fails and confuses drive. */UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113, "Buffalo", "DUB-P40G HDD", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY ),/* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100, "Samsung Info. Systems America, Inc.", "MP3 Player", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),/* Reported by Orgad Shaneh <orgads@gmail.com> */UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100, "Samsung", "MP3 Player", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),/* Reported by Christian Leber <christian@leber.de> */UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100, "TrekStor", "i.Beat 115 2.0", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),/* Reported by Stefan Werner <dustbln@gmx.de> */UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100, "TrekStor", "i.Beat Joy 2.0", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),/* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100, "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */ US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),/* Reported by Andrew Nayenko <relan@bk.ru> */UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0592, "Nokia", "Nokia 6288", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_MAX_SECTORS_64 ),/* Reported by Mario Rettig <mariorettig@web.de> */UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100, "Nokia", "Nokia 3250", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),/* Reported by <honkkis@gmail.com> */UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100, "Nokia", "E70", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),/* Reported by Jon Hart <Jon.Hart@web.de> */UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100, "Nokia", "E60", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),/* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and * Einar Th. Einarsson <einarthered@gmail.com> */UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100, "Nokia", "N91", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),/* Reported by Jiri Slaby <jirislaby@gmail.com> and * Rene C. Castberg <Rene@Castberg.org> */UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100, "Nokia", "N80", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),/* Reported by Matthew Bloch <matthew@bytemark.co.uk> */UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100, "Nokia", "E61", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),/* Reported by Bardur Arantsson <bardur@scientician.net> */UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610, "Nokia", "6131", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_MAX_SECTORS_64 ),/* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x0452, "Nokia", "Nokia 6233", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_MAX_SECTORS_64 ),/* Reported by Alex Corcoles <alex@corcoles.net> */UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370, "Nokia", "6234", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_MAX_SECTORS_64 ),/* Reported by Olaf Hering <olh@suse.de> from novell bug #105878 */UNUSUAL_DEV( 0x0424, 0x0fdc, 0x0210, 0x0210, "SMSC", "FDC GOLD-2.30", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_SINGLE_LUN ),#ifdef CONFIG_USB_STORAGE_DPCMUNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100, "Microtech", "CameraMate (DPCM_USB)", US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),#endif/* Patch submitted by Daniel Drake <dsd@gentoo.org> * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100, "Neuros Audio", "USB 2.0 HD 2.5", US_SC_DEVICE, US_PR_BULK, NULL, US_FL_NEED_OVERRIDE ),/* * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559. * The key does not actually break, but it returns zero sense which * makes our SCSI stack to print confusing messages. */UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100, "USBest Technology", /* sold by Transcend */ "USB Mass Storage Device", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),/** Bohdan Linda <bohdan.linda@gmail.com>* 1GB USB sticks MyFlash High Speed. I have restricted* the revision to my model only*/UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100, "USB 2.0", "Flash Disk", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),#ifdef CONFIG_USB_STORAGE_KARMAUNUSUAL_DEV( 0x045a, 0x5210, 0x0101, 0x0101, "Rio", "Rio Karma", US_SC_SCSI, US_PR_KARMA, rio_karma_init, 0),#endif/* * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.) * Reported by Pete Zaitcev <zaitcev@redhat.com> * This device chokes on both version of MODE SENSE which we have, so * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT. */UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100, "AMI", "Virtual Floppy", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NO_WP_DETECT),/* Patch submitted by Philipp Friedrich <philipp@void.at> */UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100, "Kyocera", "Finecam S3x", US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),/* Patch submitted by Philipp Friedrich <philipp@void.at> */UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100, "Kyocera", "Finecam S4", US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100, "Kyocera", "Finecam S5", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),/* Reported by Paul Stewart <stewart@wetlogic.net> * This entry is needed because the device reports Sub=ff */UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001, "Hitachi", "DVD-CAM DZ-MV100A Camcorder", US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),/* Patch for Nikon coolpix 2000 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010, "NIKON", "NIKON DSC E2000", US_SC_DEVICE, US_PR_DEVICE,NULL, US_FL_NOT_LOCKABLE ),/* Reported by Stefan de Konink <skinkie@xs4all.nl> */UNUSUAL_DEV( 0x04b0, 0x0401, 0x0200, 0x0200, "NIKON", "NIKON DSC D100", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Milinevsky Dmitry <niam.niam@gmail.com> */UNUSUAL_DEV( 0x04b0, 0x0409, 0x0100, 0x0100, "NIKON", "NIKON DSC D50", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Andreas Bockhold <andreas@bockionline.de> */UNUSUAL_DEV( 0x04b0, 0x0405, 0x0100, 0x0100, "NIKON", "NIKON DSC D70", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Jamie Kitson <jamie@staberinde.fsnet.co.uk> */UNUSUAL_DEV( 0x04b0, 0x040d, 0x0100, 0x0100, "NIKON", "NIKON DSC D70s", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Graber and Mike Pagano <mpagano-kernel@mpagano.com> */UNUSUAL_DEV( 0x04b0, 0x040f, 0x0100, 0x0200, "NIKON", "NIKON DSC D200", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Emil Larsson <emil@swip.net> */UNUSUAL_DEV( 0x04b0, 0x0411, 0x0100, 0x0101, "NIKON", "NIKON DSC D80", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Ortwin Glueck <odi@odi.ch> */UNUSUAL_DEV( 0x04b0, 0x0413, 0x0110, 0x0110, "NIKON", "NIKON DSC D40", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Paul Check <paul@openstreet.com> */UNUSUAL_DEV( 0x04b0, 0x0415, 0x0100, 0x0100, "NIKON", "NIKON DSC D2Xs", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Shan Destromp (shansan@gmail.com) */UNUSUAL_DEV( 0x04b0, 0x0417, 0x0100, 0x0100, "NIKON", "NIKON DSC D40X", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),/* Reported by Doug Maxey (dwm@austin.ibm.com) */UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110, "IBM", "IBM RSA2", US_SC_DEVICE, US_PR_CB, NULL, US_FL_MAX_SECTORS_MIN),/* BENQ DC5330 * Reported by Manuel Fombuena <mfombuena@ya.com> and * Frank Copeland <fjc@thingy.apana.org.au> */UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100, "Tekom Technologies, Inc", "300_CAMERA", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ),/* Reported by Simon Levitt <simon@whattf.com> * This entry needs Sub and Proto fields */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?