# music-players.h

Go to the documentation of this file.

    00001
    00028 /*
    00029  * MTP device list, trying real bad to get all devices into
    00030  * this list by stealing from everyone I know.
    00031  */
    00032
    00033   /*
    00034    * Creative Technology
    00035    * Initially the Creative devices was all we supported so these are
    00036    * the most thoroughly tested devices. Presumably only the devices
    00037    * with older firmware (the ones that have 32bit object size) will
    00038    * need the DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL flag. This bug
    00039    * manifest itself when you have a lot of folders on the device,
    00040    * some of the folders will start to disappear when getting all objects
    00041    * and properties.
    00042    */
    00043   { "Creative", 0x041e, "ZEN Vision", 0x411f, DEVICE_FLAG_NONE },
    00044   { "Creative", 0x041e, "Portable Media Center", 0x4123, DEVICE_FLAG_NONE },
    00045   { "Creative", 0x041e, "ZEN Xtra (MTP mode)", 0x4128, DEVICE_FLAG_NONE },
    00046   { "Dell", 0x041e, "DJ (2nd generation)", 0x412f, DEVICE_FLAG_NONE },
    00047   { "Creative", 0x041e, "ZEN Micro (MTP mode)", 0x4130, DEVICE_FLAG_NONE },
    00048   { "Creative", 0x041e, "ZEN Touch (MTP mode)", 0x4131, DEVICE_FLAG_NONE },
    00049   { "Dell", 0x041e, "Dell Pocket DJ (MTP mode)", 0x4132, DEVICE_FLAG_NONE },
    00050   { "Creative", 0x041e, "ZEN Sleek (MTP mode)", 0x4137, DEVICE_FLAG_NONE },
    00051   { "Creative", 0x041e, "ZEN MicroPhoto", 0x413c, DEVICE_FLAG_NONE },
    00052   { "Creative", 0x041e, "ZEN Sleek Photo", 0x413d, DEVICE_FLAG_NONE },
    00053   { "Creative", 0x041e, "ZEN Vision:M", 0x413e, DEVICE_FLAG_NONE },
    00054   // Reported by marazm@o2.pl
    00055   { "Creative", 0x041e, "ZEN V", 0x4150, DEVICE_FLAG_NONE },
    00056   // Reported by danielw@iinet.net.au
    00057   // This version of the Vision:M needs the no release interface flag,
    00058   // unclear whether the other version above need it too or not.
    00059   { "Creative", 0x041e, "ZEN Vision:M (DVP-HD0004)", 0x4151,
    00060       DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00061   // Reported by Darel on the XNJB forums
    00062   { "Creative", 0x041e, "ZEN V Plus", 0x4152, DEVICE_FLAG_NONE },
    00063   { "Creative", 0x041e, "ZEN Vision W", 0x4153, DEVICE_FLAG_NONE },
    00064   // Don't add 0x4155: this is a Zen Stone device which is not MTP
    00065   // Reported by Paul Kurczaba <paul@kurczaba.com>
    00066   { "Creative", 0x041e, "ZEN", 0x4157, DEVICE_FLAG_IGNORE_HEADER_ERRORS | DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS },
    00067   // Reported by Ringofan <mcroman@users.sourceforge.net>
    00068   { "Creative", 0x041e, "ZEN V 2GB", 0x4158, DEVICE_FLAG_NONE },
    00069   // Reported by j norment <stormzen@gmail.com>
    00070   { "Creative", 0x041e, "ZEN Mozaic", 0x4161, DEVICE_FLAG_NONE },
    00071   // Reported by Aaron F. Gonzalez <sub_tex@users.sourceforge.net>
    00072   { "Creative", 0x041e, "ZEN X-Fi", 0x4162, DEVICE_FLAG_NONE },
    00073
    00074   /*
    00075    * Samsung
    00076    * We suspect that more of these are dual mode.
    00077    * We suspect more of these might need DEVICE_FLAG_NO_ZERO_READS
    00078    * We suspect more of these might need DEVICE_FLAG_PLAYLIST_SPL_V1
    00079    *  or DEVICE_FLAG_PLAYLIST_SPL_V2 to get playlists working.
    00080    * YP-NEU, YP-NDU, YP-20, YP-800, YP-MF Series, YP-100, YP-30
    00081    * YP-700 and YP-90 are NOT MTP, but use a Samsung custom protocol.
    00082    */
    00083   // From anonymous SourceForge user, not verified
    00084   { "Samsung", 0x04e8, "YP-900", 0x0409, DEVICE_FLAG_NONE },
    00085   // From MItch <dbaker@users.sourceforge.net>
    00086   { "Samsung", 0x04e8, "I550W Phone", 0x04a4, DEVICE_FLAG_NONE },
    00087   // From Gabriel Nunes <gabrielkm1@yahoo.com.br>
    00088   { "Samsung", 0x04e8, "YH-920 (501d)", 0x501d, DEVICE_FLAG_UNLOAD_DRIVER },
    00089   // From Soren O'Neill
    00090   { "Samsung", 0x04e8, "YH-920 (5022)", 0x5022, DEVICE_FLAG_UNLOAD_DRIVER },
    00091   // Contributed by aronvanammers on SourceForge
    00092   { "Samsung", 0x04e8, "YH-925GS", 0x5024, DEVICE_FLAG_NONE },
    00093   // From libgphoto2, according to tests by Stephan Fabel it cannot
    00094   // get all objects with the getobjectproplist command..
    00095   { "Samsung", 0x04e8, "YH-820", 0x502e, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00096   // Contributed by polux2001@users.sourceforge.net
    00097   { "Samsung", 0x04e8, "YH-925(-GS)", 0x502f, DEVICE_FLAG_UNLOAD_DRIVER |
    00098       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00099   // Contributed by anonymous person on SourceForge
    00100   { "Samsung", 0x04e8, "YH-J70J", 0x5033, DEVICE_FLAG_UNLOAD_DRIVER },
    00101   // From XNJB user
    00102   // Guessing on .spl flag
    00103   { "Samsung", 0x04e8, "YP-Z5", 0x503c, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00104   // From XNJB user
    00105   // Guessing on .spl flag
    00106   { "Samsung", 0x04e8, "YP-Z5 2GB", 0x5041, DEVICE_FLAG_NONE | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00107   // Contributed by anonymous person on SourceForge
    00108   { "Samsung", 0x04e8, "YP-T7J", 0x5047, DEVICE_FLAG_NONE },
    00109   // Reported by cstrickler@gmail.com
    00110   { "Samsung", 0x04e8, "YP-U2J (YP-U2JXB/XAA)", 0x5054, DEVICE_FLAG_UNLOAD_DRIVER },
    00111   // Reported by Andrew Benson
    00112   { "Samsung", 0x04e8, "YP-F2J", 0x5057, DEVICE_FLAG_UNLOAD_DRIVER },
    00113   // Reported by Patrick <skibler@gmail.com>
    00114   // Just guessing but looks like .spl v1 http://www.anythingbutipod.com/forum/showthread.php?t=14160
    00115   { "Samsung", 0x04e8, "YP-K5", 0x505a, DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00116   // From dev.local@gmail.com - 0x4e8/0x507c is the UMS mode, apparently
    00117   // do not add that device.
    00118   // From m.eik michalke
    00119   // Guessing on .spl flag
    00120   { "Samsung", 0x04e8, "YP-U3", 0x507d, DEVICE_FLAG_NONE | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00121   // Reported by Matthew Wilcox <matthew@wil.cx>
    00122   // Sergio <sfrdll@tiscali.it> reports this device need the BROKEN ALL flag.
    00123   // Guessing on .spl flag
    00124   { "Samsung", 0x04e8, "YP-T9", 0x507f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00125   // From Paul Clinch
    00126   // Just guessing but looks like .spl v1 http://www.anythingbutipod.com/forum/showthread.php?t=14160
    00127   { "Samsung", 0x04e8, "YP-K3", 0x5081, DEVICE_FLAG_NONE | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00128   // From XNJB user
    00129   // From Alistair Boyle, .spl v2 required for playlists
    00130   { "Samsung", 0x04e8, "YP-P2", 0x5083, DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_PLAYLIST_SPL_V2 },
    00131   // From Paul Clinch
    00132   // Guessing on .spl flag
    00133   { "Samsung", 0x04e8, "YP-T10", 0x508a, DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_PLAYLIST_SPL_V1 | DEVICE_FLAG_NO_ZERO_READS },
    00134   // From Wim Verwimp <wimverwimp@gmail.com>
    00135   // Not sure about the Ogg and broken proplist flags here. Just guessing.
    00136   // Guessing on .spl flag
    00137   { "Samsung", 0x04e8, "YP-S5", 0x508b, DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00138   // From Ludovic Danigo
    00139   // Guessing on .spl flag
    00140   { "Samsung", 0x04e8, "YP-S3", 0x5091, DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_PLAYLIST_SPL_V1 },
    00141   // From a rouge .INF file,
    00142   // this device ID seems to have been recycled for:
    00143   // the Samsung SGH-A707 Cingular cellphone
    00144   // the Samsung L760-V cellphone
    00145   { "Samsung", 0x04e8, "YH-999 Portable Media Center/SGH-A707/SGH-L760V", 0x5a0f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00146   // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP...
    00147   // { "Samsung", 0x04e8, "Z170 Mobile Phone", 0x6601, DEVICE_FLAG_UNLOAD_DRIVER },
    00148   // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP...
    00149   // { "Samsung", 0x04e8, "E250 Mobile Phone", 0x663e, DEVICE_FLAG_UNLOAD_DRIVER },
    00150   // From Lionel Bouton
    00151   { "Samsung", 0x04e8, "X830 Mobile Phone", 0x6702, DEVICE_FLAG_NONE },
    00152   // From James <jamestech@gmail.com>
    00153   { "Samsung", 0x04e8, "U600 Mobile Phone", 0x6709, DEVICE_FLAG_UNLOAD_DRIVER },
    00154   // From Charlie Todd  2007-10-31
    00155   { "Samsung", 0x04e8, "Juke (SCH-U470)", 0x6734, DEVICE_FLAG_UNLOAD_DRIVER},
    00156
    00157   /*
    00158    * Intel
    00159    */
    00160   { "Intel", 0x045e, "Bandon Portable Media Center", 0x00c9, DEVICE_FLAG_NONE },
    00161   // Reported by Tadimarri Sarath <sarath.tadi@gmail.com>
    00162   // No idea why this use an Intel PID, perhaps a leftover from
    00163   // the early PMC development days when Intel and Microsoft were
    00164   // partnering.
    00165   { "Microsoft", 0x045e, "Windows MTP Simulator", 0x0622, DEVICE_FLAG_NONE },
    00166
    00167   /*
    00168    * JVC
    00169    */
    00170   // From Mark Veinot
    00171   { "JVC", 0x04f1, "Alneo XA-HD500", 0x6105, DEVICE_FLAG_NONE },
    00172
    00173   /*
    00174    * Philips
    00175    */
    00176   { "Philips", 0x0471, "HDD6320/00 or HDD6330/17", 0x014b, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00177   // Anonymous SourceForge user
    00178   { "Philips", 0x0471, "HDD1620 or HDD1630/17", 0x014c, DEVICE_FLAG_NONE },
    00179   // from discussion forum
    00180   { "Philips", 0x0471, "HDD085/00 or HDD082/17", 0x014d, DEVICE_FLAG_NONE },
    00181   // from XNJB forum
    00182   { "Philips", 0x0471, "GoGear SA9200", 0x014f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00183   // From John Coppens <jcoppens@users.sourceforge.net>
    00184   { "Philips", 0x0471, "SA1115/55", 0x0164, DEVICE_FLAG_NONE },
    00185   // From Gerhard Mekenkamp
    00186   { "Philips", 0x0471, "GoGear Audio", 0x0165, DEVICE_FLAG_NONE },
    00187   // from David Holm <wormie@alberg.dk>
    00188   { "Philips", 0x0471, "Shoqbox", 0x0172, DEVICE_FLAG_ONLY_7BIT_FILENAMES },
    00189   // from npedrosa
    00190   { "Philips", 0x0471, "PSA610", 0x0181, DEVICE_FLAG_NONE },
    00191   // From libgphoto2 source
    00192   { "Philips", 0x0471, "HDD6320", 0x01eb, DEVICE_FLAG_NONE },
    00193   // From Detlef Meier <dm@emlix.com>
    00194   { "Philips", 0x0471, "GoGear SA6014/SA6015/SA6024/SA6025/SA6044/SA6045", 0x084e, DEVICE_FLAG_UNLOAD_DRIVER },
    00195   // From anonymous Sourceforge user SA5145/02
    00196   { "Philips", 0x0471, "GoGear SA5145", 0x0857, DEVICE_FLAG_UNLOAD_DRIVER },
    00197   // From a
    00198   { "Philips", 0x0471, "GoGear SA6125/SA6145/SA6185", 0x2002, DEVICE_FLAG_UNLOAD_DRIVER },
    00199   // From anonymous Sourceforge user, not verified to be MTP!
    00200   { "Philips", 0x0471, "GoGear SA3345", 0x2004, DEVICE_FLAG_UNLOAD_DRIVER },
    00201   // from XNJB user
    00202   { "Philips", 0x0471, "PSA235", 0x7e01, DEVICE_FLAG_NONE },
    00203
    00204
    00205   /*
    00206    * SanDisk
    00207    * several devices (c150 for sure) are definately dual-mode and must
    00208    * have the USB mass storage driver that hooks them unloaded first.
    00209    * They all have problematic dual-mode making the device unload effect
    00210    * uncertain on these devices.
    00211    *
    00212    * All older devices seem to need DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL.
    00213    * Old chipsets: e200/c200 use PP5024 from Nvidia (formerly PortalPlayer).
    00214    * m200 use TCC770 from Telechips.
    00215    *
    00216    * The newer Sansa v2 chipset, AD3525 from Austriamicrosystems (AMS) found
    00217    * in e280 v2 c200 v2, Clip, Fuze etc require DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST
    00218    * and DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR to work properly.
    00219    *
    00220    * For more info see: http://daniel.haxx.se/sansa/v2.html
    00221    */
    00222   // Reported by Brian Robison
    00223   { "SanDisk", 0x0781, "Sansa m230/m240", 0x7400,
    00224     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00225     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00226   // Reported by tangent_@users.sourceforge.net
    00227   { "SanDisk", 0x0781, "Sansa c150", 0x7410,
    00228     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00229     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00230   // From libgphoto2 source
    00231   // Reported by <gonkflea@users.sourceforge.net>
    00232   // Reported by Mike Owen <mikeowen@computerbaseusa.com>
    00233   { "SanDisk", 0x0781, "Sansa e200/e250/e260/e270/e280", 0x7420,
    00234     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00235     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00236   // Reported by XNJB user
    00237   { "SanDisk", 0x0781, "Sansa e280", 0x7421,
    00238     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00239     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00240   // Reported by XNJB user
    00241   { "SanDisk", 0x0781, "Sansa e260/e280 v2", 0x7422,
    00242     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
    00243     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
    00244   // Reported by XNJB user
    00245   { "SanDisk", 0x0781, "Sansa m240", 0x7430,
    00246     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00247     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00248   // Reported by Eugene Brevdo <ebrevdo@princeton.edu>
    00249   { "SanDisk", 0x0781, "Sansa Clip", 0x7432,
    00250     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
    00251     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
    00252   // Reported by anonymous user at sourceforge.net
    00253   { "SanDisk", 0x0781, "Sansa c240/c250", 0x7450,
    00254     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00255     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00256   // Reported by Troy Curtis Jr.
    00257   { "SanDisk", 0x0781, "Sansa Express", 0x7460,
    00258     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
    00259     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00260   // Reported by XNJB user, and Miguel de Icaza <miguel@gnome.org>
    00261   // This has no dual-mode so no need to unload any driver.
    00262   // This is a Linux based device!
    00263   { "SanDisk", 0x0781, "Sansa Connect", 0x7480, DEVICE_FLAG_NONE },
    00264   // Reported by anonymous SourceForge user
    00265   { "SanDisk", 0x0781, "Sansa View", 0x74b0,
    00266     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
    00267     DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00268   // Reported by Patrick <skibler@gmail.com>
    00269   // There are apparently problems with this device.
    00270   { "SanDisk", 0x0781, "Sansa Fuze", 0x74c0,
    00271     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
    00272     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
    00273
    00274   /*
    00275    * iRiver
    00276    * we assume that PTP_OC_MTP_GetObjPropList is essentially
    00277    * broken on all iRiver devices, meaning it simply won't return
    00278    * all properties for a file when asking for metadata 0xffffffff.
    00279    * Please test on your device if you believe it isn't broken!
    00280    */
    00281   { "iRiver", 0x1006, "Portable Media Center", 0x4002,
    00282     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00283     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00284   { "iRiver", 0x1006, "Portable Media Center", 0x4003,
    00285     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00286     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00287   // From an anonymous person at SourceForge
    00288   { "iRiver", 0x4102, "iFP-880", 0x1008,
    00289     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00290     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00291   // From libgphoto2 source
    00292   { "iRiver", 0x4102, "T10", 0x1113,
    00293     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00294     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00295   { "iRiver", 0x4102, "T20 FM", 0x1114,
    00296     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00297     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00298   // This appears at the MTP-UMS site
    00299   { "iRiver", 0x4102, "T20", 0x1115,
    00300     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00301     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00302   { "iRiver", 0x4102, "U10", 0x1116,
    00303     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00304     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00305   { "iRiver", 0x4102, "T10a", 0x1117,
    00306     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00307     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00308   { "iRiver", 0x4102, "T20", 0x1118,
    00309     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00310     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00311   { "iRiver", 0x4102, "T30", 0x1119,
    00312     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00313     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00314   // Reported by David Wolpoff
    00315   { "iRiver", 0x4102, "T10 2GB", 0x1120,
    00316     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00317     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00318   // Rough guess this is the MTP device ID...
    00319   { "iRiver", 0x4102, "N12", 0x1122,
    00320     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00321     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00322   // Reported by Philip Antoniades <philip@mysql.com>
    00323   // Newer iriver devices seem to have shaped-up firmware without any
    00324   // of the annoying bugs.
    00325   { "iRiver", 0x4102, "Clix2", 0x1126, DEVICE_FLAG_NONE },
    00326   // Reported by Adam Torgerson
    00327   { "iRiver", 0x4102, "Clix", 0x112a,
    00328     DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00329   // Reported by Douglas Roth <dougaus@gmail.com>
    00330   { "iRiver", 0x4102, "X20", 0x1132,
    00331     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00332     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00333   // Reported by Robert Ugo <robert_ugo@users.sourceforge.net>
    00334   { "iRiver", 0x4102, "T60", 0x1134,
    00335     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00336     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
    00337   // Reported by two anonymous SourceForge users
    00338   // Needs the stronger OGG_IS_UNKNOWN flag to support OGG properly,
    00339   // be aware of newer players that may be needing this too.
    00340   { "iRiver", 0x4102, "E100", 0x1141,
    00341     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00342     DEVICE_FLAG_OGG_IS_UNKNOWN },
    00343   // Reported by anonymous SourceForge user
    00344   // Need verification of whether this firmware really need all these flags
    00345   { "iRiver", 0x4102, "E100 v2", 0x1142,
    00346     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00347     DEVICE_FLAG_OGG_IS_UNKNOWN },
    00348   // Reported by Scott Call
    00349   // Assume this actually supports OGG though it reports it doesn't.
    00350   { "iRiver", 0x4102, "H10 20GB", 0x2101,
    00351     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00352     DEVICE_FLAG_OGG_IS_UNKNOWN },
    00353   { "iRiver", 0x4102, "H10", 0x2102,
    00354     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
    00355     DEVICE_FLAG_OGG_IS_UNKNOWN },
    00356
    00357
    00358   /*
    00359    * Dell
    00360    */
    00361   { "Dell, Inc", 0x413c, "DJ Itty", 0x4500, DEVICE_FLAG_NONE },
    00362
    00363   /*
    00364    * Toshiba
    00365    */
    00366   { "Toshiba", 0x0930, "Gigabeat MEGF-40", 0x0009, DEVICE_FLAG_NONE },
    00367   { "Toshiba", 0x0930, "Gigabeat", 0x000c, DEVICE_FLAG_NONE },
    00368   // Reported by Nicholas Tripp
    00369   { "Toshiba", 0x0930, "Gigabeat P20", 0x000f, DEVICE_FLAG_NONE },
    00370   // From libgphoto2
    00371   { "Toshiba", 0x0930, "Gigabeat S", 0x0010, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00372   // Reported by Rob Brown
    00373   { "Toshiba", 0x0930, "Gigabeat P10", 0x0011, DEVICE_FLAG_NONE },
    00374   // Reported by solanum@users.sourceforge.net
    00375   { "Toshiba", 0x0930, "Gigabeat V30", 0x0014, DEVICE_FLAG_NONE },
    00376   // Reported by Michael Davis <slithy@yahoo.com>
    00377   { "Toshiba", 0x0930, "Gigabeat U", 0x0016, DEVICE_FLAG_NONE },
    00378   // Reported by Devon Jacobs <devo@godevo.com>
    00379   { "Toshiba", 0x0930, "Gigabeat MEU202", 0x0018, DEVICE_FLAG_NO_RELEASE_INTERFACE },
    00380   // Reported by Rolf <japan (at) dl3lar.de>
    00381   { "Toshiba", 0x0930, "Gigabeat T", 0x0019, DEVICE_FLAG_NONE },
    00382   // Reported by Phil Ingram <ukpbert@users.sourceforge.net>
    00383   // Tentatively added - no real reports of this device ID being MTP,
    00384   // reports as USB Mass Storage currently.
    00385   { "Toshiba", 0x0930, "Gigabeat MEU201", 0x001a, DEVICE_FLAG_NONE },
    00386
    00387
    00388   /*
    00389    * Archos
    00390    * These devices have some dual-mode interfaces which will really
    00391    * respect the driver unloading, so DEVICE_FLAG_UNLOAD_DRIVER
    00392    * really work on these devices!
    00393    */
    00394   // Reported by Alexander Haertig <AlexanderHaertig@gmx.de>
    00395   { "Archos", 0x0e79, "Gmini XS100", 0x1207, DEVICE_FLAG_UNLOAD_DRIVER },
    00396   // Added by Jan Binder
    00397   { "Archos", 0x0e79, "XS202 (MTP mode)", 0x1208, DEVICE_FLAG_NONE },
    00398   // Reported by gudul1@users.sourceforge.net
    00399   { "Archos", 0x0e79, "104 (MTP mode)", 0x120a, DEVICE_FLAG_NONE },
    00400   // Reported by anonymous Sourceforge user.
    00401   { "Archos", 0x0e79, "404 (MTP mode)", 0x1301, DEVICE_FLAG_UNLOAD_DRIVER },
    00402   // Reported by Etienne Chauchot <chauchot.etienne@free.fr>
    00403   { "Archos", 0x0e79, "504 (MTP mode)", 0x1307, DEVICE_FLAG_UNLOAD_DRIVER },
    00404   // Reported by Kay McCormick <kaym@modsystems.com>
    00405   { "Archos", 0x0e79, "704 mobile dvr", 0x130d, DEVICE_FLAG_UNLOAD_DRIVER },
    00406   // Reported by Joe Rabinoff
    00407   { "Archos", 0x0e79, "605 (MTP mode)", 0x1313, DEVICE_FLAG_UNLOAD_DRIVER },
    00408
    00409   /*
    00410    * Dunlop (OEM of EGOMAN ltd?) reported by Nanomad
    00411    * This unit is falsely detected as USB mass storage in Linux
    00412    * prior to kernel 2.6.19 (fixed by patch from Alan Stern)
    00413    * so on older kernels special care is needed to remove the
    00414    * USB mass storage driver that erroneously binds to the device
    00415    * interface.
    00416    */
    00417   { "Dunlop", 0x10d6, "MP3 player 1GB / EGOMAN MD223AFD", 0x2200, DEVICE_FLAG_UNLOAD_DRIVER},
    00418   // Reported by Steven Black <stevenblack1956@users.sourceforge.net>
    00419   // Obviously this company goes by many names.
    00420   // This device is USB 2.0 only.
    00421   { "Memorex", 0x10d6, "MMP 8585/8586", 0x2300, DEVICE_FLAG_UNLOAD_DRIVER },
    00422
    00423   /*
    00424    * Microsoft
    00425    */
    00426   // Reported by Farooq Zaman (used for all Zunes)
    00427   { "Microsoft", 0x045e, "Zune", 0x0710, DEVICE_FLAG_NONE },
    00428
    00429   /*
    00430    * Sirius
    00431    */
    00432   { "Sirius", 0x18f6, "Stiletto", 0x0102, DEVICE_FLAG_NONE },
    00433   // Reported by Chris Bagwell <chris@cnpbagwell.com>
    00434   { "Sirius", 0x18f6, "Stiletto 2", 0x0110, DEVICE_FLAG_NONE },
    00435
    00436   /*
    00437    * Canon
    00438    * This is actually a camera, but it has a Microsoft device descriptor
    00439    * and reports itself as supporting the MTP extension.
    00440    */
    00441   { "Canon", 0x04a9, "PowerShot A640 (PTP/MTP mode)", 0x3139, DEVICE_FLAG_NONE },
    00442
    00443   /*
    00444    * Nokia
    00445    * Please verify the low device IDs here, I suspect these might be for
    00446    * things like USB storage or modem mode actually, whereas the higher
    00447    * range (0x04nn) could be for MTP.
    00448    */
    00449   // From: DoomHammer <gaczek@users.sourceforge.net>
    00450   { "Nokia", 0x0421, "N81 Mobile Phone", 0x000a, DEVICE_FLAG_NONE },
    00451   // From an anonymous SourceForge user
    00452   { "Nokia", 0x0421, "6120c Classic Mobile Phone", 0x002e, DEVICE_FLAG_NONE },
    00453   // From: DoomHammer <gaczek@users.sourceforge.net>
    00454   { "Nokia", 0x0421, "3110c Mobile Phone", 0x005f, DEVICE_FLAG_NONE },
    00455   // From: Vasily <spc-@users.sourceforge.net>
    00456   { "Nokia", 0x0421, "3109c Mobile Phone", 0x0065, DEVICE_FLAG_NONE },
    00457   // From: <rawc@users.sourceforge.net>
    00458   { "Nokia", 0x0421, "5310 XpressMusic", 0x006c, DEVICE_FLAG_NONE },
    00459   // From: robin (AT) headbank D0Tco DOTuk
    00460   { "Nokia", 0x0421, "N95 Mobile Phone 8GB", 0x006e, DEVICE_FLAG_NONE },
    00461   // From: danielw
    00462   { "Nokia", 0x0421, "E71", 0x00e4, DEVICE_FLAG_NONE },
    00463   // From: Laurent Bigonville <bigon@users.sourceforge.net>
    00464   { "Nokia", 0x0421, "E66", 0x00e5, DEVICE_FLAG_NONE },
    00465   // From: Christian Rusa <kristous@users.sourceforge.net>
    00466   { "Nokia", 0x0421, "5700 XpressMusic Mobile Phone", 0x04b4, DEVICE_FLAG_NONE },
    00467   // From: Mitchell Hicks <mitchix@yahoo.com>
    00468   { "Nokia", 0x0421, "5300 Mobile Phone", 0x04ba, DEVICE_FLAG_NONE },
    00469   // From Christian Arnold <webmaster@arctic-media.de>
    00470   { "Nokia", 0x0421, "N73 Mobile Phone", 0x04d1, DEVICE_FLAG_UNLOAD_DRIVER },
    00471   // From Swapan <swapan@yahoo.com>
    00472   { "Nokia", 0x0421, "N75 Mobile Phone", 0x04e1, DEVICE_FLAG_NONE },
    00473   // From Anonymous Sourceforge User
    00474   { "Nokia", 0x0421, "N95 Mobile Phone", 0x04ef, DEVICE_FLAG_NONE },
    00475   // From: Pat Nicholls <pat@patandannie.co.uk>
    00476   { "Nokia", 0x0421, "N80 Internet Edition (Media Player)", 0x04f1, DEVICE_FLAG_UNLOAD_DRIVER },
    00477   // Reported by anonymous SourceForge user
    00478   // One thing stated by reporter (Nokia model) another by the detect log...
    00479   { "Nokia/Verizon", 0x05c6, "6205 Balboa/Verizon Music Phone", 0x3196, DEVICE_FLAG_NONE },
    00480
    00481
    00482   /*
    00483    * LOGIK
    00484    * Sold in the UK, seem to be manufactured by CCTech in China.
    00485    */
    00486   { "Logik", 0x13d1, "LOG DAX MP3 and DAB Player", 0x7002, DEVICE_FLAG_UNLOAD_DRIVER },
    00487
    00488   /*
    00489    * RCA / Thomson
    00490    */
    00491   // From kiki <omkiki@users.sourceforge.net>
    00492   { "Thomson", 0x069b, "EM28 Series", 0x0774, DEVICE_FLAG_NONE },
    00493   { "Thomson / RCA", 0x069b, "Opal / Lyra MC4002", 0x0777, DEVICE_FLAG_NONE },
    00494   { "Thomson", 0x069b, "RCA H106", 0x301a, DEVICE_FLAG_UNLOAD_DRIVER },
    00495   // From Svenna <svenna@svenna.de>
    00496   // Not confirmed to be MTP.
    00497   { "Thomson", 0x069b, "scenium E308", 0x3028, DEVICE_FLAG_NONE },
    00498   // From XNJB user
    00499   { "Thomson / RCA", 0x069b, "Lyra HC308A", 0x3035, DEVICE_FLAG_NONE },
    00500
    00501   /*
    00502    * NTT DoCoMo
    00503    */
    00504   { "FOMA", 0x04c5, "F903iX HIGH-SPEED", 0x1140, DEVICE_FLAG_NONE },
    00505
    00506   /*
    00507    * Palm device userland program named Pocket Tunes
    00508    * Reported by Peter Gyongyosi <gyp@impulzus.com>
    00509    */
    00510   { "Palm / Handspring", 0x1703, "Pocket Tunes", 0x0001, DEVICE_FLAG_NONE },
    00511   // Reported by anonymous submission
    00512   { "Palm Handspring", 0x1703, "Pocket Tunes 4", 0x0002, DEVICE_FLAG_NONE },
    00513
    00514   /*
    00515    * TrekStor and Medion devices
    00516    * Their datasheet claims their devices are dualmode so probably needs to
    00517    * unload the attached drivers here.
    00518    */
    00519   // Reported by Stefan Voss <svoss@web.de>
    00520   // This is a Sigmatel SoC with a hard disk.
    00521   { "TrekStor", 0x066f, "Vibez 8/12GB", 0x842a,
    00522     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
    00523   // Reported by anonymous SourceForge user.
    00524   // This one done for Medion, whatever that is. Error reported so assume
    00525   // the same bug flag as its ancestor above.
    00526   { "Medion", 0x066f, "MD8333", 0x8550,
    00527     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
    00528   // Reported by Cristi Magherusan <majeru@gentoo.ro>
    00529   { "TrekStor", 0x0402, "i.Beat Sweez FM", 0x0611,
    00530     DEVICE_FLAG_UNLOAD_DRIVER },
    00531
    00532   /*
    00533    * Disney/Tevion (have had no reports of these actually working.)
    00534    */
    00535   // Reported by XNJB user
    00536   { "Disney", 0x0aa6, "MixMax", 0x6021, DEVICE_FLAG_NONE },
    00537   // Reported by anonymous Sourceforge user
    00538   { "Tevion", 0x0aa6, "MD 81488", 0x3011, DEVICE_FLAG_NONE },
    00539
    00540   /*
    00541    * Cowon Systems, Inc.
    00542    * The iAudio audiophile devices don't encourage the use of MTP.
    00543    */
    00544   // Reported by Patrik Johansson <Patrik.Johansson@qivalue.com>
    00545   { "Cowon", 0x0e21, "iAudio U3 (MTP mode)", 0x0701, DEVICE_FLAG_NONE },
    00546   // Reported by Roberth Karman
    00547   { "Cowon", 0x0e21, "iAudio 7 (MTP mode)", 0x0751, DEVICE_FLAG_NONE },
    00548   // Reported by an anonymous SourceForge user
    00549   { "Cowon", 0x0e21, "iAudio U5 (MTP mode)", 0x0761, DEVICE_FLAG_NONE },
    00550   // Reported by TJ Something <tjbk_tjb@users.sourceforge.net>
    00551   { "Cowon", 0x0e21, "iAudio D2 (MTP mode)", 0x0801,
    00552    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00553
    00554   /*
    00555    * Insignia, dual-mode.
    00556    */
    00557   { "Insignia", 0x19ff, "NS-DV45", 0x0303, DEVICE_FLAG_UNLOAD_DRIVER },
    00558   // Reported by Rajan Bella <rajanbella@yahoo.com>
    00559   { "Insignia", 0x19ff, "Sport Player", 0x0307, DEVICE_FLAG_UNLOAD_DRIVER },
    00560   // Reported by "brad" (anonymous, sourceforge)
    00561   { "Insignia", 0x19ff, "Pilot 4GB", 0x0309, DEVICE_FLAG_UNLOAD_DRIVER },
    00562
    00563   /*
    00564    * LG Electronics
    00565    */
    00566   // Not verified - anonymous submission
    00567   { "LG Electronics Inc.", 0x043e, "UP3", 0x70b1, DEVICE_FLAG_NONE },
    00568   // Reported by Joseph Nahmias <joe@nahimas.net>
    00569   { "LG Electronics Inc.", 0x1004, "VX8550 V CAST Mobile Phone", 0x6010,
    00570       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
    00571
    00572   /*
    00573    * Sony
    00574    * It could be that these PIDs are one-per hundred series, so
    00575    * NWZ-A8xx is 0325, NWZ-S5xx is 0x326 etc. We need more devices
    00576    * reported to see a pattern here.
    00577    */
    00578   // Reported by Alessandro Radaelli <alessandro.radaelli@aruba.it>
    00579   { "Sony", 0x054c, "Walkman NWZ-A815/NWZ-A818", 0x0325, DEVICE_FLAG_UNLOAD_DRIVER },
    00580   // Reported by anonymous Sourceforge user.
    00581   { "Sony", 0x054c, "Walkman NWZ-S516", 0x0326, DEVICE_FLAG_UNLOAD_DRIVER },
    00582   // Reported by Endre Oma <endre.88.oma@gmail.com>
    00583   { "Sony", 0x054c, "Walkman NWZ-S615F/NWZ-S616F/NWZ-S618F", 0x0327, DEVICE_FLAG_UNLOAD_DRIVER },
    00584   // Reported by Jean-Marc Bourguet <jm@bourguet.org>
    00585   { "Sony", 0x054c, "Walkman NWZ-S716F", 0x035a, DEVICE_FLAG_UNLOAD_DRIVER },
    00586   // Reported by Anon SF User / Anthon van der Neut <avanderneut@avid.com>
    00587   { "Sony", 0x054c, "Walkman NWZ-A828/NWZ-A829", 0x035b, DEVICE_FLAG_UNLOAD_DRIVER },
    00588   // Reported by Niek Klaverstijn <niekez@users.sourceforge.net>
    00589   { "Sony", 0x054c, "Walkman NWZ-A728B", 0x035c, DEVICE_FLAG_UNLOAD_DRIVER },
    00590
    00591   /*
    00592    * SonyEricsson
    00593    */
    00594   // Reported by Øyvind Stegard <stegaro@users.sourceforge.net>
    00595   { "SonyEricsson", 0x0fce, "K850i", 0x0075, DEVICE_FLAG_NONE },
    00596   // Reported by Michael Eriksson
    00597   { "SonyEricsson", 0x0fce, "W910", 0x0076, DEVICE_FLAG_NONE },
    00598   // Reported by Zack <zackdvd@users.sourceforge.net>
    00599   { "SonyEricsson", 0x0fce, "W890i", 0x00b3, DEVICE_FLAG_NONE },
    00600   // Reported by robert dot ahlskog at gmail
    00601   { "SonyEricsson", 0x0fce, "W760i", 0x00c6, DEVICE_FLAG_NONE },
    00602   // Reported by Linus Åkesson <linusakesson@users.sourceforge.net>
    00603   { "SonyEricsson", 0x0fce, "C902", 0x00d4, DEVICE_FLAG_NONE },
    00604   // Reported by an anonymous SourceForge user
    00605   { "SonyEricsson", 0x0fce, "C702", 0x00d9, DEVICE_FLAG_NONE },
    00606
    00607   /*
    00608    * Motorola
    00609    * Assume DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST on all of these.
    00610    */
    00611   // Reported by David Boyd <tiggrdave@users.sourceforge.net>
    00612   { "Motorola", 0x22b8, "V3m/V750 verizon", 0x2a65, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
    00613     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
    00614   // Reported by Marcus Meissner to libptp2
    00615   { "Motorola", 0x22b8, "K1", 0x4811, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
    00616   // Reported by Hans-Joachim Baader <hjb@pro-linux.de> to libptp2
    00617   { "Motorola", 0x22b8, "A1200", 0x60ca, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
    00618   // Reported by anonymous user
    00619   { "Motorola", 0x22b8, "RAZR2 V8/U9/Z6", 0x6415, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
    00620
    00621
    00622   /*
    00623    * Media Keg
    00624    */
    00625   // Reported by Rajan Bella <rajanbella@yahoo.com>
    00626   { "Kenwood", 0x0b28, "Media Keg HD10GB7 Sport Player", 0x100c, DEVICE_FLAG_UNLOAD_DRIVER},
    00627
    00628   /*
    00629    * Micro-Star International (MSI)
    00630    */
    00631   // Reported by anonymous sourceforge user.
    00632   { "Micro-Star International", 0x0db0, "P610/Model MS-5557", 0x5572, DEVICE_FLAG_NONE },
    00633
    00634   /*
    00635    * FOMA
    00636    */
    00637   { "FOMA", 0x06d3, "D905i", 0x21ba, DEVICE_FLAG_NONE },
    00638
    00639   /*
    00640    * Haier
    00641    */
    00642   // Both reported by an anonymous SourceForge user
    00643   // This is the 30 GiB model
    00644   { "Haier", 0x1302, "Ibiza Rhapsody", 0x1016, DEVICE_FLAG_NONE },
    00645   // This is the 4/8 GiB model
    00646   { "Haier", 0x1302, "Ibiza Rhapsody", 0x1017, DEVICE_FLAG_NONE },
    00647
    00648   /*
    00649    * Panasonic
    00650    */
    00651   // Reported by dmizer
    00652   { "Panasonic", 0x04da, "P905i", 0x2145, DEVICE_FLAG_NONE },
    00653
    00654   /*
    00655    * Other strange stuff.
    00656    */
    00657   { "Isabella", 0x0b20, "Her Prototype", 0xddee, DEVICE_FLAG_NONE }