"Fossies" - the Fresh Open Source Software Archive

Member "libgphoto2-2.5.27/camlibs/ptp2/music-players.h" (21 Feb 2021, 186371 Bytes) of package /linux/privat/libgphoto2-2.5.27.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "music-players.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.5.26_vs_2.5.27.

    1 /**
    2  * \file music-players.h
    3  * List of music players as USB ids.
    4  *
    5  * Copyright (C) 2005-2007 Richard A. Low <richard@wentnet.com>
    6  * Copyright (C) 2005-2013 Linus Walleij <triad@df.lth.se>
    7  * Copyright (C) 2006-2007,2015-2018 Marcus Meissner <marcus@jet.franken.de>
    8  * Copyright (C) 2007 Ted Bullock
    9  * Copyright (C) 2012 Sony Mobile Communications AB
   10  *
   11  * This library is free software; you can redistribute it and/or
   12  * modify it under the terms of the GNU Lesser General Public
   13  * License as published by the Free Software Foundation; either
   14  * version 2 of the License, or (at your option) any later version.
   15  *
   16  * This library is distributed in the hope that it will be useful,
   17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   19  * Lesser General Public License for more details.
   20  *
   21  * You should have received a copy of the GNU Lesser General Public
   22  * License along with this library; if not, write to the
   23  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   24  * Boston, MA 02111-1307, USA.
   25  *
   26  * This file is supposed to be included within a struct from both libmtp
   27  * and libgphoto2.
   28  *
   29  * Information can be harvested from Windows driver .INF files, see:
   30  * http://msdn.microsoft.com/en-us/library/aa973606.aspx
   31  */
   32 /*
   33  * MTP device list, trying real bad to get all devices into
   34  * this list by stealing from everyone I know.
   35  * Some devices taken from the Rockbox device listing:
   36  * http://www.rockbox.org/twiki/bin/view/Main/DeviceDetection
   37  */
   38 
   39   /*
   40    * Creative Technology and ZiiLABS
   41    * Initially the Creative devices was all we supported so these are
   42    * the most thoroughly tested devices. Presumably only the devices
   43    * with older firmware (the ones that have 32bit object size) will
   44    * need the DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL flag. This bug
   45    * manifest itself when you have a lot of folders on the device,
   46    * some of the folders will start to disappear when getting all objects
   47    * and properties.
   48    */
   49   /* https://sourceforge.net/p/libmtp/bugs/1898/ */
   50   { "Creative", 0x041e, "ZEN Micro", 0x411e,
   51       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   52   { "Creative", 0x041e, "ZEN Vision", 0x411f,
   53       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   54   { "Creative", 0x041e, "Portable Media Center", 0x4123,
   55       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   56   { "Creative", 0x041e, "ZEN Xtra (MTP mode)", 0x4128,
   57       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   58   { "Dell", 0x041e, "DJ (2nd generation)", 0x412f,
   59       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   60   { "Creative", 0x041e, "ZEN Micro (MTP mode)", 0x4130,
   61       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   62   { "Creative", 0x041e, "ZEN Touch (MTP mode)", 0x4131,
   63       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   64   { "Dell", 0x041e, "Dell Pocket DJ (MTP mode)", 0x4132,
   65       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   66   { "Creative", 0x041e, "ZEN MicroPhoto (alternate version)", 0x4133,
   67       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   68   { "Creative", 0x041e, "ZEN Sleek (MTP mode)", 0x4137,
   69       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   70   { "Creative", 0x041e, "ZEN MicroPhoto", 0x413c,
   71       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   72   { "Creative", 0x041e, "ZEN Sleek Photo", 0x413d,
   73       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   74   { "Creative", 0x041e, "ZEN Vision:M", 0x413e,
   75       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   76   // Reported by marazm@o2.pl
   77   { "Creative", 0x041e, "ZEN V", 0x4150,
   78       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   79   // Reported by danielw@iinet.net.au
   80   // This version of the Vision:M needs the no release interface flag,
   81   // unclear whether the other version above need it too or not.
   82   { "Creative", 0x041e, "ZEN Vision:M (DVP-HD0004)", 0x4151,
   83       DEVICE_FLAG_NO_RELEASE_INTERFACE |
   84       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   85   // Reported by Darel on the XNJB forums
   86   { "Creative", 0x041e, "ZEN V Plus", 0x4152,
   87       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   88   { "Creative", 0x041e, "ZEN Vision W", 0x4153,
   89       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   90   // Don't add 0x4155: this is a Zen Stone device which is not MTP
   91   // Reported by Paul Kurczaba <paul@kurczaba.com>
   92   { "Creative", 0x041e, "ZEN", 0x4157,
   93       DEVICE_FLAG_IGNORE_HEADER_ERRORS |
   94       DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
   95       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   96   // Reported by Ringofan <mcroman@users.sourceforge.net>
   97   { "Creative", 0x041e, "ZEN V 2GB", 0x4158,
   98       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
   99   // Reported by j norment <stormzen@gmail.com>
  100   { "Creative", 0x041e, "ZEN Mozaic", 0x4161,
  101       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  102   // Reported by Aaron F. Gonzalez <sub_tex@users.sourceforge.net>
  103   { "Creative", 0x041e, "ZEN X-Fi", 0x4162,
  104       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  105   // Reported by farmerstimuli <farmerstimuli@users.sourceforge.net>
  106   { "Creative", 0x041e, "ZEN X-Fi 3", 0x4169,
  107       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  108   // Reported by Todor Gyumyushev <yodor1@users.sourceforge.net>
  109   { "ZiiLABS", 0x041e, "Zii EGG", 0x6000,
  110       DEVICE_FLAG_UNLOAD_DRIVER |
  111       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  112       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  113       DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  114       DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  115 
  116   /*
  117    * Samsung
  118    * We suspect that more of these are dual mode.
  119    * We suspect more of these might need DEVICE_FLAG_NO_ZERO_READS
  120    * We suspect more of these might need DEVICE_FLAG_PLAYLIST_SPL_V1
  121    *  or DEVICE_FLAG_PLAYLIST_SPL_V2 to get playlists working.
  122    * YP-NEU, YP-NDU, YP-20, YP-800, YP-MF Series, YP-100, YP-30
  123    * YP-700 and YP-90 are NOT MTP, but use a Samsung custom protocol.
  124    * See: http://wiki.xiph.org/index.php/PortablePlayers for Ogg
  125    * status.
  126    */
  127   // From anonymous SourceForge user, not verified
  128   { "Samsung", 0x04e8, "YP-900", 0x0409, DEVICE_FLAG_NONE },
  129   // From MItch <dbaker@users.sourceforge.net>
  130   { "Samsung", 0x04e8, "I550W Phone", 0x04a4, DEVICE_FLAG_NONE },
  131   // From Manfred Enning <menning@users.sourceforge.net>
  132   { "Samsung", 0x04e8, "Jet S8000", 0x4f1f, DEVICE_FLAG_NONE },
  133   // From Gabriel Nunes <gabrielkm1@yahoo.com.br>
  134   { "Samsung", 0x04e8, "YH-920 (501d)", 0x501d, DEVICE_FLAG_UNLOAD_DRIVER },
  135   // From Soren O'Neill
  136   { "Samsung", 0x04e8, "YH-920 (5022)", 0x5022, DEVICE_FLAG_UNLOAD_DRIVER },
  137   // Contributed by aronvanammers on SourceForge
  138   { "Samsung", 0x04e8, "YH-925GS", 0x5024, DEVICE_FLAG_NONE },
  139   // From libgphoto2, according to tests by Stephan Fabel it cannot
  140   // get all objects with the getobjectproplist command..
  141   { "Samsung", 0x04e8, "YH-820", 0x502e,
  142       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  143   // Contributed by polux2001@users.sourceforge.net
  144   { "Samsung", 0x04e8, "YH-925(-GS)", 0x502f,
  145       DEVICE_FLAG_UNLOAD_DRIVER |
  146       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  147   // Contributed by anonymous person on SourceForge
  148   { "Samsung", 0x04e8, "YH-J70J", 0x5033,
  149       DEVICE_FLAG_UNLOAD_DRIVER },
  150   // From XNJB user
  151   // Guessing on .spl flag
  152   { "Samsung", 0x04e8, "YP-Z5", 0x503c,
  153       DEVICE_FLAG_UNLOAD_DRIVER |
  154       DEVICE_FLAG_OGG_IS_UNKNOWN |
  155       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  156   // Don't add 0x5041 as this is YP-Z5 in USB mode
  157   // Contributed by anonymous person on SourceForge
  158   { "Samsung", 0x04e8, "YP-T7J", 0x5047,
  159       DEVICE_FLAG_UNLOAD_DRIVER |
  160       DEVICE_FLAG_OGG_IS_UNKNOWN },
  161   // Reported by cstrickler@gmail.com
  162   { "Samsung", 0x04e8, "YP-U2J (YP-U2JXB/XAA)", 0x5054,
  163       DEVICE_FLAG_UNLOAD_DRIVER |
  164       DEVICE_FLAG_OGG_IS_UNKNOWN },
  165   // Reported by Andrew Benson
  166   { "Samsung", 0x04e8, "YP-F2J", 0x5057,
  167       DEVICE_FLAG_UNLOAD_DRIVER },
  168   // Reported by Patrick <skibler@gmail.com>
  169   // Just guessing but looks like .spl v1 http://www.anythingbutipod.com/forum/showthread.php?t=14160
  170   { "Samsung", 0x04e8, "YP-K5", 0x505a,
  171       DEVICE_FLAG_UNLOAD_DRIVER |
  172       DEVICE_FLAG_NO_ZERO_READS |
  173       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  174   // From dev.local@gmail.com - 0x4e8/0x507c is the UMS mode, apparently
  175   // do not add that device.
  176   // From m.eik michalke
  177   // This device does NOT use the special SPL playlist according to sypqgjxu@gmx.de.
  178   { "Samsung", 0x04e8, "YP-U3", 0x507d,
  179       DEVICE_FLAG_UNLOAD_DRIVER |
  180       DEVICE_FLAG_OGG_IS_UNKNOWN },
  181   // Reported by Matthew Wilcox <matthew@wil.cx>
  182   // Sergio <sfrdll@tiscali.it> reports this device need the BROKEN ALL flag.
  183   // Guessing on .spl flag
  184   { "Samsung", 0x04e8, "YP-T9", 0x507f,
  185       DEVICE_FLAG_UNLOAD_DRIVER |
  186       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  187       DEVICE_FLAG_OGG_IS_UNKNOWN |
  188       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  189   // From Paul Clinch
  190   // Just guessing but looks like .spl v1 http://www.anythingbutipod.com/forum/showthread.php?t=14160
  191   // Some versions of the firmware reportedly support OGG, reportedly only the
  192   // UMS versions, so MTP+OGG is not possible on this device.
  193   { "Samsung", 0x04e8, "YP-K3", 0x5081,
  194       DEVICE_FLAG_UNLOAD_DRIVER |
  195       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  196   // From XNJB user
  197   // From Alistair Boyle, .spl v2 required for playlists
  198   // According to the device log it properly supports OGG
  199   { "Samsung", 0x04e8, "YP-P2", 0x5083,
  200       DEVICE_FLAG_UNLOAD_DRIVER |
  201       DEVICE_FLAG_NO_ZERO_READS |
  202       DEVICE_FLAG_OGG_IS_UNKNOWN |
  203       DEVICE_FLAG_PLAYLIST_SPL_V2 },
  204   // From Paul Clinch
  205   // Guessing on .spl flag
  206   { "Samsung", 0x04e8, "YP-T10", 0x508a,
  207       DEVICE_FLAG_UNLOAD_DRIVER |
  208       DEVICE_FLAG_OGG_IS_UNKNOWN |
  209       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  210       DEVICE_FLAG_PLAYLIST_SPL_V1 |
  211       DEVICE_FLAG_NO_ZERO_READS },
  212   // From Wim Verwimp <wimverwimp@gmail.com>
  213   // Not sure about the Ogg and broken proplist flags here. Just guessing.
  214   // Guessing on .spl flag
  215   { "Samsung", 0x04e8, "YP-S5", 0x508b,
  216       DEVICE_FLAG_UNLOAD_DRIVER |
  217       DEVICE_FLAG_OGG_IS_UNKNOWN |
  218       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  219       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  220   // From Ludovic Danigo
  221   // Guessing on .spl flag
  222   { "Samsung", 0x04e8, "YP-S3", 0x5091,
  223       DEVICE_FLAG_UNLOAD_DRIVER |
  224       DEVICE_FLAG_OGG_IS_UNKNOWN |
  225       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  226       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  227   // From Adrian Levi <adrian.levi@gmail.com>
  228   // Guessing on .spl flag
  229   // This one supports OGG properly through the correct MTP type.
  230   { "Samsung", 0x04e8, "YP-U4", 0x5093, DEVICE_FLAG_UNLOAD_DRIVER },
  231   // From Chris Le Sueur <thefishface@gmail.com>
  232   // Guessing on .spl flag
  233   // This one supports OGG properly through the correct MTP type.
  234   { "Samsung", 0x04e8, "YP-R1", 0x510f,
  235       DEVICE_FLAG_UNLOAD_DRIVER |
  236       DEVICE_FLAG_UNIQUE_FILENAMES |
  237       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
  238   // From Anonymous SourceForge user
  239   // Guessing on .spl flag
  240   { "Samsung", 0x04e8, "YP-Q1", 0x5115,
  241       DEVICE_FLAG_UNLOAD_DRIVER |
  242       DEVICE_FLAG_OGG_IS_UNKNOWN |
  243       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  244       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  245   // From Holger
  246   { "Samsung", 0x04e8, "YP-M1", 0x5118,
  247       DEVICE_FLAG_UNLOAD_DRIVER |
  248       DEVICE_FLAG_OGG_IS_UNKNOWN |
  249       DEVICE_FLAG_PLAYLIST_SPL_V2 },
  250   // From Anonymous SourceForge user
  251   // Guessing on .spl flag
  252   { "Samsung", 0x04e8, "YP-P3", 0x511a,
  253       DEVICE_FLAG_UNLOAD_DRIVER |
  254      DEVICE_FLAG_OGG_IS_UNKNOWN |
  255       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  256      DEVICE_FLAG_PLAYLIST_SPL_V1 },
  257   // From Anonymous SourceForge user
  258   // Guessing on .spl flag
  259   { "Samsung", 0x04e8, "YP-Q2", 0x511d,
  260       DEVICE_FLAG_UNLOAD_DRIVER |
  261       DEVICE_FLAG_OGG_IS_UNKNOWN |
  262       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  263       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  264   // From Marco Pizzocaro <mpizzocaro@users.sourceforge.net>
  265   // Guessing on .spl flag
  266   { "Samsung", 0x04e8, "YP-U5", 0x5121,
  267       DEVICE_FLAG_UNLOAD_DRIVER |
  268       DEVICE_FLAG_PLAYLIST_SPL_V1 |
  269       DEVICE_FLAG_UNIQUE_FILENAMES |
  270       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
  271   // From Leonardo Accorsi <laccorsi@users.sourceforge.net>
  272   // Guessing on .spl flag
  273   { "Samsung", 0x04e8, "YP-R0", 0x5125,
  274       DEVICE_FLAG_UNLOAD_DRIVER |
  275       DEVICE_FLAG_PLAYLIST_SPL_V1 |
  276       DEVICE_FLAG_UNIQUE_FILENAMES |
  277       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
  278   // The "YP-R2" (0x04e8/0x512d) is NOT MTP, it is UMS only.
  279   // Guessing on device flags for the MTP mode...
  280  { "Samsung", 0x04e8, "YP-R2", 0x512e,
  281      DEVICE_FLAG_UNLOAD_DRIVER |
  282      DEVICE_FLAG_OGG_IS_UNKNOWN |
  283      DEVICE_FLAG_UNIQUE_FILENAMES |
  284      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  285      DEVICE_FLAG_PLAYLIST_SPL_V1 },
  286   // From Manuel Carro
  287   // Copied from Q2
  288  { "Samsung", 0x04e8, "YP-Q3", 0x5130,
  289      DEVICE_FLAG_UNLOAD_DRIVER |
  290      DEVICE_FLAG_OGG_IS_UNKNOWN |
  291      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  292      DEVICE_FLAG_PLAYLIST_SPL_V1 },
  293  // Reported by: traaf <traaf@users.sourceforge.net>
  294  // Guessing on the playlist type!
  295  // Appears to present itself properly as a PTP device with MTP extensions!
  296  { "Samsung", 0x04e8, "YP-Z3", 0x5137,
  297      DEVICE_FLAG_UNLOAD_DRIVER |
  298      DEVICE_FLAG_OGG_IS_UNKNOWN |
  299      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  300      DEVICE_FLAG_PLAYLIST_SPL_V1 },
  301   // YP-F3 is NOT MTP - USB mass storage
  302   // From a rouge .INF file
  303   // this device ID seems to have been recycled for:
  304   // the Samsung SGH-A707 Cingular cellphone
  305   // the Samsung L760-V cellphone
  306   // the Samsung SGH-U900 cellphone
  307   // the Samsung Fascinate player
  308   { "Samsung", 0x04e8,
  309       "YH-999 Portable Media Center/SGH-A707/SGH-L760V/SGH-U900/Verizon Intensity/Fascinate",
  310       0x5a0f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  311   // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP...
  312   // { "Samsung", 0x04e8, "Z170 Mobile Phone", 0x6601, DEVICE_FLAG_UNLOAD_DRIVER },
  313   // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP...
  314   // { "Samsung", 0x04e8, "E250 Mobile Phone", 0x663e, DEVICE_FLAG_UNLOAD_DRIVER },
  315   // From an anonymous SF user
  316   { "Samsung", 0x04e8, "M7600 Beat/GT-S8300T/SGH-F490/S8300", 0x6642,
  317       DEVICE_FLAG_UNLOAD_DRIVER |
  318       DEVICE_FLAG_BROKEN_BATTERY_LEVEL },
  319   // From Lionel Bouton
  320   { "Samsung", 0x04e8, "X830 Mobile Phone", 0x6702,
  321       DEVICE_FLAG_UNLOAD_DRIVER },
  322   // From James <jamestech@gmail.com>
  323   { "Samsung", 0x04e8, "U600 Mobile Phone", 0x6709,
  324       DEVICE_FLAG_UNLOAD_DRIVER },
  325   // From Cesar Cardoso <cesar@cesarcardoso.tk>
  326   // No confirmation that this is really MTP.
  327   { "Samsung", 0x04e8, "F250 Mobile Phone", 0x6727,
  328       DEVICE_FLAG_UNLOAD_DRIVER },
  329   // From Charlie Todd  2007-10-31
  330   { "Samsung", 0x04e8, "Juke (SCH-U470)", 0x6734,
  331       DEVICE_FLAG_UNLOAD_DRIVER},
  332   // Reported by Tenn
  333   { "Samsung", 0x04e8, "GT-B2700", 0x6752,
  334       DEVICE_FLAG_UNLOAD_DRIVER },
  335   // Added by Greg Fitzgerald <netzdamon@gmail.com>
  336   { "Samsung", 0x04e8, "SAMSUNG Trance", 0x6763,
  337       DEVICE_FLAG_UNLOAD_DRIVER |
  338      DEVICE_FLAG_NO_ZERO_READS |
  339       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  340   // From anonymous sourceforge user
  341   // Guessing on .spl flag, maybe needs NO_ZERO_READS, whatdoIknow
  342   { "Samsung", 0x04e8, "GT-S8500", 0x6819,
  343       DEVICE_FLAG_UNLOAD_DRIVER |
  344       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  345   /*
  346    * These entries seems to be used on a *lot* of Samsung
  347    * Android phones. It is *not* the Android MTP stack but an internal
  348    * Samsung stack. The devices present a few different product IDs
  349    * depending on mode:
  350    *
  351    * 0x685b - UMS
  352    * 0x685c - MTP + ADB
  353    * 0x685e - UMS + CDC (not MTP)
  354    * 0x6860 - MTP mode (default)
  355    * 0x6863 - USB CDC RNDIS (not MTP)
  356    * 0x6865 - PTP mode (not MTP)
  357    * 0x6877 - Kies mode? Does it have MTP?
  358    *
  359    * Used on these samsung devices:
  360    * GT P7310/P7510/N7000/I9100/I9250/I9300
  361    * Galaxy Nexus
  362    * Galaxy Tab 7.7/10.1
  363    * Galaxy S GT-I9000
  364    * Galaxy S Advance GT-I9070
  365    * Galaxy S2
  366    * Galaxy S3
  367    * Galaxy Note
  368    * Gakaxy Xcover
  369    * Galaxy Y
  370    *
  371    * - It seems that some PTP commands are broken.
  372    * - Devices seem to have a connection timeout, the session must be
  373    *   open in about 3 seconds since the device is plugged in, after
  374    *   that time it will not respond. Thus GUI programs work fine.
  375    * - Seems also to be used with Galaxy Nexus debug mode and on
  376    *   US markets for some weird reason.
  377    * - has a weird USB bug if it reads exactly 512byte (usb 2 packetsize) 
  378    *   the device will hang. this is one of the reasons we need to disable
  379    *   DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST as it can hit this size :/
  380    *   Post scriptum: This did not help, so we added it again. -Marcus
  381    *
  382    * From: Ignacio Martínez <ignacio.martinezrivera@yahoo.es> and others
  383    * From Harrison Metzger <harrisonmetz@gmail.com>
  384    */
  385   { "Samsung", 0x04e8,
  386       "Galaxy models (MTP+ADB)", 0x685c,
  387       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  388       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  389       DEVICE_FLAG_UNLOAD_DRIVER |
  390       DEVICE_FLAG_LONG_TIMEOUT |
  391       DEVICE_FLAG_PROPLIST_OVERRIDES_OI |
  392       DEVICE_FLAG_SAMSUNG_OFFSET_BUG |
  393       DEVICE_FLAG_OGG_IS_UNKNOWN |
  394       DEVICE_FLAG_FLAC_IS_UNKNOWN },
  395   { "Samsung", 0x04e8,
  396       "Galaxy models (MTP)", 0x6860,
  397       /* DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  398       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | */
  399       DEVICE_FLAG_UNLOAD_DRIVER |
  400       DEVICE_FLAG_LONG_TIMEOUT |
  401       DEVICE_FLAG_PROPLIST_OVERRIDES_OI |
  402       DEVICE_FLAG_SAMSUNG_OFFSET_BUG |
  403       DEVICE_FLAG_OGG_IS_UNKNOWN |
  404       DEVICE_FLAG_FLAC_IS_UNKNOWN },
  405   // From: Erik Berglund <erikjber@users.sourceforge.net>
  406   // Logs indicate this needs DEVICE_FLAG_NO_ZERO_READS
  407   // No Samsung platlists on this device.
  408   // https://sourceforge.net/tracker/?func=detail&atid=809061&aid=3026337&group_id=158745
  409   // i5800 duplicate reported by igel <igel-kun@users.sourceforge.net>
  410   // Guessing this has the same problematic MTP stack as the device
  411   // above.
  412   { "Samsung", 0x04e8, "Galaxy models Kies mode", 0x6877,
  413       DEVICE_FLAG_UNLOAD_DRIVER |
  414       DEVICE_FLAG_LONG_TIMEOUT |
  415       DEVICE_FLAG_PROPLIST_OVERRIDES_OI |
  416       DEVICE_FLAG_SAMSUNG_OFFSET_BUG |
  417       DEVICE_FLAG_OGG_IS_UNKNOWN |
  418       DEVICE_FLAG_FLAC_IS_UNKNOWN },
  419   // From: John Gorkos <ab0oo@users.sourceforge.net> and
  420   // Akos Maroy <darkeye@users.sourceforge.net>
  421   { "Samsung", 0x04e8, "Vibrant SGH-T959/Captivate/Media player mode", 0x68a9,
  422       DEVICE_FLAG_UNLOAD_DRIVER |
  423       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  424   // Reported by Sleep.Walker <froser@users.sourceforge.net>
  425   { "Samsung", 0x04e8, "GT-B2710/Xcover 271", 0x68af,
  426       DEVICE_FLAG_UNLOAD_DRIVER |
  427       DEVICE_FLAG_PLAYLIST_SPL_V1 },
  428   // From anonymous Sourceforge user
  429   { "Samsung", 0x04e8, "GT-S5230", 0xe20c, DEVICE_FLAG_NONE },
  430 
  431 
  432   /*
  433    * Microsoft
  434    * All except the first probably need MTPZ to work
  435    */
  436   { "Microsoft/Intel", 0x045e, "Bandon Portable Media Center", 0x00c9,
  437       DEVICE_FLAG_NONE },
  438   // HTC Mozart is using the PID, as is Nokia Lumia 800
  439   // May need MTPZ to work
  440   { "Microsoft", 0x045e, "Windows Phone", 0x04ec, DEVICE_FLAG_NONE },
  441   // Reported by Tadimarri Sarath <sarath.tadi@gmail.com>
  442   // No idea why this use an Intel PID, perhaps a leftover from
  443   // the early PMC development days when Intel and Microsoft were
  444   // partnering.
  445   { "Microsoft", 0x045e, "Windows MTP Simulator", 0x0622, DEVICE_FLAG_NONE },
  446   // Reported by Edward Hutchins (used for Zune HDs)
  447   { "Microsoft", 0x045e, "Zune HD", 0x063e, DEVICE_FLAG_NONE },
  448   { "Microsoft", 0x045e, "Kin 1", 0x0640, DEVICE_FLAG_NONE },
  449   { "Microsoft/Sharp/nVidia", 0x045e, "Kin TwoM", 0x0641, DEVICE_FLAG_NONE },
  450   // Reported by Farooq Zaman (used for all Zunes)
  451   { "Microsoft", 0x045e, "Zune", 0x0710, DEVICE_FLAG_NONE },
  452   /* https://sourceforge.net/p/libmtp/feature-requests/155/ */
  453   { "Microsoft", 0x045e, "Lumia 950 XL Dual SIM (RM-1116)", 0x0a00, DEVICE_FLAG_NONE },
  454   // Reported by Olegs Jeremejevs
  455   { "Microsoft/HTC", 0x045e, "HTC 8S", 0xf0ca, DEVICE_FLAG_NONE },
  456 
  457   /*
  458    * JVC
  459    */
  460   // From Mark Veinot
  461   { "JVC", 0x04f1, "Alneo XA-HD500", 0x6105, DEVICE_FLAG_NONE },
  462 
  463   /* https://sourceforge.net/p/libmtp/bugs/1613/ */
  464   { "Intex", 0x05c6, "Aqua Fish", 0x0a07, DEVICE_FLAG_NONE },
  465 
  466   /*
  467    * Philips
  468    */
  469   { "Philips", 0x0471, "HDD6320/00 or HDD6330/17", 0x014b, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  470   // Anonymous SourceForge user
  471   { "Philips", 0x0471, "HDD14XX,HDD1620 or HDD1630/17", 0x014c, DEVICE_FLAG_NONE },
  472   // from discussion forum
  473   { "Philips", 0x0471, "HDD085/00 or HDD082/17", 0x014d, DEVICE_FLAG_NONE },
  474   // from XNJB forum
  475   { "Philips", 0x0471, "GoGear SA9200", 0x014f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
  476   // From John Coppens <jcoppens@users.sourceforge.net>
  477   { "Philips", 0x0471, "SA1115/55", 0x0164, DEVICE_FLAG_NONE },
  478   // From Gerhard Mekenkamp
  479   { "Philips", 0x0471, "GoGear Audio", 0x0165, DEVICE_FLAG_NONE },
  480   // from David Holm <wormie@alberg.dk>
  481   { "Philips", 0x0471, "Shoqbox", 0x0172, DEVICE_FLAG_ONLY_7BIT_FILENAMES },
  482   // from npedrosa
  483   { "Philips", 0x0471, "PSA610", 0x0181, DEVICE_FLAG_NONE },
  484   // From libgphoto2 source
  485   { "Philips", 0x0471, "HDD6320", 0x01eb, DEVICE_FLAG_NONE },
  486   // From Detlef Meier <dm@emlix.com>
  487   { "Philips", 0x0471, "GoGear SA6014/SA6015/SA6024/SA6025/SA6044/SA6045", 0x084e, DEVICE_FLAG_UNLOAD_DRIVER },
  488   // From anonymous Sourceforge user SA5145/02
  489   { "Philips", 0x0471, "GoGear SA5145", 0x0857, DEVICE_FLAG_UNLOAD_DRIVER },
  490   /* https://sourceforge.net/p/libmtp/bugs/1260/ */
  491   { "Philips", 0x0471, "i908", 0x190b, DEVICE_FLAG_UNLOAD_DRIVER },
  492   // From a
  493   { "Philips", 0x0471, "GoGear SA6125/SA6145/SA6185", 0x2002, DEVICE_FLAG_UNLOAD_DRIVER },
  494   // From anonymous Sourceforge user, not verified to be MTP!
  495   { "Philips", 0x0471, "GoGear SA3345", 0x2004, DEVICE_FLAG_UNLOAD_DRIVER },
  496   /* https://sourceforge.net/p/libmtp/support-requests/163/ */
  497   { "Philips", 0x0471, "W6610", 0x2008, DEVICE_FLAG_UNLOAD_DRIVER },
  498   // From Roberto Vidmar <rvidmar@libero.it>
  499   { "Philips", 0x0471, "SA5285", 0x2022, DEVICE_FLAG_UNLOAD_DRIVER },
  500   // From Elie De Brauwer <elie@de-brauwer.be>
  501   { "Philips", 0x0471, "GoGear ViBE SA1VBE04", 0x2075,
  502     DEVICE_FLAG_UNLOAD_DRIVER },
  503   // From Anonymous SourceForge user
  504   { "Philips", 0x0471, "GoGear Muse", 0x2077,
  505       DEVICE_FLAG_UNLOAD_DRIVER },
  506   // From Elie De Brauwer <elie@de-brauwer.be>
  507   { "Philips", 0x0471, "GoGear ViBE SA1VBE04/08", 0x207b,
  508     DEVICE_FLAG_UNLOAD_DRIVER },
  509   // From josmtx <josmtx@users.sourceforge.net>
  510   { "Philips", 0x0471, "GoGear Aria", 0x207c,
  511     DEVICE_FLAG_UNLOAD_DRIVER },
  512   // From epklein
  513   { "Philips", 0x0471, "GoGear SA1VBE08KX/78", 0x208e,
  514     DEVICE_FLAG_UNLOAD_DRIVER },
  515   // From Anonymous SourceForge User
  516   { "Philips", 0x0471, "GoGear VIBE SA2VBE[08|16]K/02", 0x20b7,
  517       DEVICE_FLAG_UNLOAD_DRIVER },
  518   // From Anonymous SourceForge User
  519   { "Philips", 0x0471, "GoGear Ariaz", 0x20b9,
  520       DEVICE_FLAG_UNLOAD_DRIVER },
  521   // From Anonymous SourceForge User
  522   { "Philips", 0x0471, "GoGear Vibe/02", 0x20e5,
  523       DEVICE_FLAG_UNLOAD_DRIVER },
  524   // Reported by Philip Rhoades
  525   { "Philips", 0x0471, "GoGear Ariaz/97", 0x2138,
  526       DEVICE_FLAG_UNLOAD_DRIVER },
  527   /* https://sourceforge.net/p/libmtp/bugs/1186/ */
  528   { "Philips", 0x0471, "PI3900B2/58 ", 0x2190,
  529       DEVICE_FLAG_UNLOAD_DRIVER },
  530   // from XNJB user
  531   { "Philips", 0x0471, "PSA235", 0x7e01, DEVICE_FLAG_NONE },
  532 
  533   /*
  534    * Acer
  535    * Reporters:
  536    * Franck VDL <franckv@users.sourceforge.net>
  537    * Matthias Arndt <simonsunnyboy@users.sourceforge.net>
  538    * Arvin Schnell <arvins@users.sourceforge.net>
  539    * Philippe Marzouk <philm@users.sourceforge.net>
  540    * nE0sIghT <ne0sight@users.sourceforge.net>
  541    * Maxime de Roucy <maxime1986@users.sourceforge.net>
  542    */
  543   { "Acer", 0x0502, "Iconia TAB A500 (ID1)", 0x3325,
  544       DEVICE_FLAGS_ANDROID_BUGS },
  545   { "Acer", 0x0502, "Iconia TAB A500 (ID2)", 0x3341,
  546       DEVICE_FLAGS_ANDROID_BUGS },
  547   { "Acer", 0x0502, "Iconia TAB A501 (ID1)", 0x3344,
  548       DEVICE_FLAGS_ANDROID_BUGS },
  549   { "Acer", 0x0502, "Iconia TAB A501 (ID2)", 0x3345,
  550       DEVICE_FLAGS_ANDROID_BUGS },
  551   { "Acer", 0x0502, "Iconia TAB A100 (ID1)", 0x3348,
  552       DEVICE_FLAGS_ANDROID_BUGS },
  553   { "Acer", 0x0502, "Iconia TAB A100 (ID2)", 0x3349,
  554       DEVICE_FLAGS_ANDROID_BUGS },
  555   { "Acer", 0x0502, "Iconia TAB A101 (ID1)", 0x334a,
  556       DEVICE_FLAGS_ANDROID_BUGS },
  557   { "Acer", 0x0502, "Iconia TAB A700", 0x3378,
  558       DEVICE_FLAGS_ANDROID_BUGS },
  559   { "Acer", 0x0502, "Iconia TAB A200 (ID1)", 0x337c,
  560       DEVICE_FLAGS_ANDROID_BUGS },
  561   { "Acer", 0x0502, "Iconia TAB A200 (ID2)", 0x337d,
  562       DEVICE_FLAGS_ANDROID_BUGS },
  563   { "Acer", 0x0502, "Iconia TAB A510 (ID1)", 0x3389,
  564       DEVICE_FLAGS_ANDROID_BUGS },
  565   { "Acer", 0x0502, "Iconia TAB A510 (ID2)", 0x338a,
  566       DEVICE_FLAGS_ANDROID_BUGS },
  567   { "Acer", 0x0502, "S500 CloudMobile", 0x33aa,
  568       DEVICE_FLAGS_ANDROID_BUGS },
  569   { "Acer", 0x0502, "E350 Liquid Gallant Duo (ID1)", 0x33c3,
  570       DEVICE_FLAGS_ANDROID_BUGS },
  571   { "Acer", 0x0502, "E350 Liquid Gallant Duo (ID2)", 0x33c4,
  572       DEVICE_FLAGS_ANDROID_BUGS },
  573   { "Acer", 0x0502, "Iconia TAB A210", 0x33cb,
  574       DEVICE_FLAGS_ANDROID_BUGS },
  575   { "Acer", 0x0502, "Iconia TAB A110", 0x33d8,
  576       DEVICE_FLAGS_ANDROID_BUGS },
  577   { "Acer", 0x0502, "Liquid Z120 MT65xx Android Phone", 0x3473,
  578       DEVICE_FLAGS_ANDROID_BUGS },
  579   /* https://sourceforge.net/p/libmtp/bugs/1029/ */
  580   { "Acer", 0x0502, "Liquid E2", 0x3514,
  581       DEVICE_FLAGS_ANDROID_BUGS },
  582   { "Acer", 0x0502, "Iconia A1-810", 0x353c,
  583       DEVICE_FLAGS_ANDROID_BUGS },
  584   { "Acer", 0x0502, "Liquid Z130 MT65xx Android Phone", 0x355f,
  585       DEVICE_FLAGS_ANDROID_BUGS },
  586   /* https://sourceforge.net/p/libmtp/bugs/1206/ */
  587   { "Acer", 0x0502, "Iconia A3-A11", 0x3586,
  588       DEVICE_FLAGS_ANDROID_BUGS },
  589   /* https://sourceforge.net/p/libmtp/bugs/1103/ */
  590   { "Acer", 0x0502, "Liquid E3", 0x35a8,
  591       DEVICE_FLAGS_ANDROID_BUGS },
  592   /* https://sourceforge.net/p/libmtp/bugs/1147/ */
  593   { "Acer", 0x0502, "Z150", 0x35e4,
  594       DEVICE_FLAGS_ANDROID_BUGS },
  595   /* https://sourceforge.net/p/libmtp/bugs/1184/ */
  596   { "Acer", 0x0502, "Liquid X1", 0x3609,
  597       DEVICE_FLAGS_ANDROID_BUGS },
  598   /* https://sourceforge.net/p/libmtp/bugs/1298/ */
  599   { "Acer", 0x0502, "Z160", 0x361d,
  600       DEVICE_FLAGS_ANDROID_BUGS },
  601   { "Acer", 0x0502, "Iconia A1-840FHD", 0x362d,
  602       DEVICE_FLAGS_ANDROID_BUGS },
  603   /* https://sourceforge.net/p/libmtp/bugs/1251/ */
  604   { "Acer", 0x0502, "E39", 0x3643,
  605       DEVICE_FLAGS_ANDROID_BUGS },
  606   /* https://sourceforge.net/p/libmtp/bugs/1369/ */
  607   { "Acer", 0x0502, "liquid e700", 0x3644,
  608       DEVICE_FLAGS_ANDROID_BUGS },
  609   { "Acer", 0x0502, "One 7", 0x3657,
  610       DEVICE_FLAGS_ANDROID_BUGS },
  611   /* https://sourceforge.net/p/libmtp/support-requests/183/ */
  612   { "Acer", 0x0502, "Z200", 0x3683,
  613       DEVICE_FLAGS_ANDROID_BUGS },
  614   /* https://sourceforge.net/p/libmtp/bugs/1579/ */
  615   { "Acer", 0x0502, "A1-841", 0x365e,
  616       DEVICE_FLAGS_ANDROID_BUGS },
  617   /* https://sourceforge.net/p/libmtp/bugs/1341/ */
  618   { "Acer", 0x0502, "Liquid S56", 0x3725,
  619       DEVICE_FLAGS_ANDROID_BUGS },
  620   /* https://sourceforge.net/p/libmtp/support-requests/228/ */
  621   { "Acer", 0x0502, "Liquid Z220 (ID1)", 0x374f,
  622       DEVICE_FLAGS_ANDROID_BUGS },
  623   /* https://sourceforge.net/p/libmtp/support-requests/188/ */
  624   { "Acer", 0x0502, "Liquid Z220 (ID2)", 0x3750,
  625       DEVICE_FLAGS_ANDROID_BUGS },
  626   /* https://sourceforge.net/p/libmtp/bugs/1478/ */
  627   { "Acer", 0x0502, "Liquid Z330", 0x3750,
  628       DEVICE_FLAGS_ANDROID_BUGS },
  629   /* https://sourceforge.net/p/libmtp/bugs/1552/ */
  630   { "Acer", 0x0502, "Liquid Z630", 0x37ef,
  631       DEVICE_FLAGS_ANDROID_BUGS },
  632   /* https://sourceforge.net/p/libmtp/bugs/1469/ */
  633   { "Acer", 0x0502, "Z530", 0x3822,
  634       DEVICE_FLAGS_ANDROID_BUGS },
  635   /* https://sourceforge.net/p/libmtp/bugs/1534/ */
  636   { "Acer", 0x0502, "Z530 16GB", 0x3823,
  637       DEVICE_FLAGS_ANDROID_BUGS },
  638   /* Reported by Jocelyn Mayer <l_indien@magic.fr> */
  639   { "Acer", 0x0502, "Iconia One 10", 0x3841,
  640       DEVICE_FLAGS_ANDROID_BUGS },
  641   /* https://sourceforge.net/p/libmtp/support-requests/279/ */
  642   { "Acer", 0x0502, "B3-A20", 0x3841,
  643       DEVICE_FLAGS_ANDROID_BUGS },
  644   /* https://sourceforge.net/p/libmtp/feature-requests/298/ */
  645   { "Acer", 0x0502, "A3-A40", 0x387a,
  646       DEVICE_FLAGS_ANDROID_BUGS },
  647   /* https://sourceforge.net/p/libmtp/bugs/1733/ */
  648   { "Acer", 0x0502, "Liquid Zest 4G", 0x38a5,
  649       DEVICE_FLAGS_ANDROID_BUGS },
  650   /* Mia */
  651   { "Acer", 0x0502, "Liquid Zest Plus", 0x38bb,
  652       DEVICE_FLAGS_ANDROID_BUGS },
  653   /* Richard Waterbeek <richard@fotobakje.nl> on libmtp-discuss */
  654   { "Acer", 0x0502, "Liquid Liquid Z6E", 0x3938,
  655       DEVICE_FLAGS_ANDROID_BUGS },
  656   /* https://sourceforge.net/p/libmtp/bugs/1838/ */
  657   { "Acer", 0x0502, "Iconia One 10 B3-A40 ", 0x394b,
  658       DEVICE_FLAGS_ANDROID_BUGS },
  659 
  660   /*
  661    * SanDisk
  662    * several devices (c150 for sure) are definately dual-mode and must
  663    * have the USB mass storage driver that hooks them unloaded first.
  664    * They all have problematic dual-mode making the device unload effect
  665    * uncertain on these devices.
  666    *
  667    * All older devices seem to need DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL.
  668    * Old chipsets: e200/c200 use PP5024 from Nvidia (formerly PortalPlayer).
  669    * m200 use TCC770 from Telechips.
  670    *
  671    * The newer Sansa v2 chipset, AD3525 from Austriamicrosystems (AMS) found
  672    * in e280 v2 c200 v2, Clip, Fuze etc require
  673    * DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST
  674    * and DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR to work properly.
  675    *
  676    * For more info see: http://daniel.haxx.se/sansa/v2.html
  677    */
  678   // Reported by Brian Robison
  679   { "SanDisk", 0x0781, "Sansa m230/m240", 0x7400,
  680     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  681     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  682   // From Rockbox device listing
  683   { "SanDisk", 0x0781, "Sansa m200-tcc (MTP mode)", 0x7401,
  684     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  685     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  686   // Reported by tangent_@users.sourceforge.net
  687   { "SanDisk", 0x0781, "Sansa c150", 0x7410,
  688     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  689     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  690   // From libgphoto2 source
  691   // Reported by <gonkflea@users.sourceforge.net>
  692   // Reported by Mike Owen <mikeowen@computerbaseusa.com>
  693   { "SanDisk", 0x0781, "Sansa e200/e250/e260/e270/e280", 0x7420,
  694     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  695     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  696   // Don't add 0x7421 as this is e280 in MSC mode
  697   // Reported by XNJB user
  698   { "SanDisk", 0x0781, "Sansa e260/e280 v2", 0x7422,
  699     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  700     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  701     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  702   // Reported by XNJB user
  703   { "SanDisk", 0x0781, "Sansa m240/m250", 0x7430,
  704     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  705     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  706   // Reported by Eugene Brevdo <ebrevdo@princeton.edu>
  707   { "SanDisk", 0x0781, "Sansa Clip", 0x7432,
  708     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  709     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  710     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
  711   // Reported by HackAR <hackar@users.sourceforge.net>
  712   { "SanDisk", 0x0781, "Sansa Clip v2", 0x7434,
  713     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  714     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  715     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
  716   // Reported by anonymous user at sourceforge.net
  717   { "SanDisk", 0x0781, "Sansa c240/c250", 0x7450,
  718     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  719     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  720   // Reported by anonymous SourceForge user
  721   { "SanDisk", 0x0781, "Sansa c250 v2", 0x7452,
  722     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  723     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  724   // Reported by Troy Curtis Jr.
  725   { "SanDisk", 0x0781, "Sansa Express", 0x7460,
  726     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  727     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  728   // Reported by XNJB user, and Miguel de Icaza <miguel@gnome.org>
  729   // This has no dual-mode so no need to unload any driver.
  730   // This is a Linux based device!
  731   { "SanDisk", 0x0781, "Sansa Connect", 0x7480, DEVICE_FLAG_NONE },
  732   // Reported by anonymous SourceForge user
  733   { "SanDisk", 0x0781, "Sansa View", 0x74b0,
  734     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  735     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  736   // Reported by Patrick <skibler@gmail.com>
  737   // There are apparently problems with this device.
  738   { "SanDisk", 0x0781, "Sansa Fuze", 0x74c0,
  739     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  740     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  741     DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
  742     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  743   // Harry Phillips <tuxcomputers@users.sourceforge.net>
  744   { "SanDisk", 0x0781, "Sansa Fuze v2", 0x74c2,
  745     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  746     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  747     DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
  748     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
  749   // Reported by anonymous SourceForge user
  750   // Need BROKEN_SET_SAMPLE_DIMENSIONS accordning to
  751   // Michael <mpapet@users.sourceforge.net>
  752   { "SanDisk", 0x0781, "Sansa Clip+", 0x74d0,
  753     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  754     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  755     DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
  756     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
  757   // Reported by anonymous SourceForge user
  758   { "SanDisk", 0x0781, "Sansa Fuze+", 0x74e0,
  759     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  760     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  761     DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
  762     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
  763   // Reported by mattyj2001@users.sourceforge.net
  764   { "SanDisk", 0x0781, "Sansa Clip Zip", 0x74e4,
  765     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  766     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
  767     DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
  768     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
  769 
  770   /*
  771    * iRiver
  772    * we assume that PTP_OC_MTP_GetObjPropList is essentially
  773    * broken on all iRiver devices, meaning it simply won't return
  774    * all properties for a file when asking for metadata 0xffffffff.
  775    * Please test on your device if you believe it isn't broken!
  776    */
  777   { "iRiver", 0x1006, "H300 Series MTP", 0x3004,
  778     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  779     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  780   { "iRiver", 0x1006, "Portable Media Center 1", 0x4002,
  781     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  782     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  783   { "iRiver", 0x1006, "Portable Media Center 2", 0x4003,
  784     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  785     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  786   // From [st]anislav <iamstanislav@gmail.com>
  787   { "iRiver", 0x1042, "T7 Volcano", 0x1143, DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  788   // From an anonymous person at SourceForge, uncertain about this one
  789   { "iRiver", 0x4102, "iFP-880", 0x1008,
  790     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  791     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  792   // 0x4102, 0x1042 is a USB mass storage mode for E100 v2/Lplayer
  793   // From libgphoto2 source
  794   { "iRiver", 0x4102, "T10", 0x1113,
  795     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  796     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  797   { "iRiver", 0x4102, "T20 FM", 0x1114,
  798     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  799     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  800   // This appears at the MTP-UMS site
  801   { "iRiver", 0x4102, "T20", 0x1115,
  802     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  803     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  804   { "iRiver", 0x4102, "U10", 0x1116,
  805     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  806     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  807   { "iRiver", 0x4102, "T10b", 0x1117,
  808     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  809     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  810   { "iRiver", 0x4102, "T20b", 0x1118,
  811     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  812     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  813   { "iRiver", 0x4102, "T30", 0x1119,
  814     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  815     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  816   // Reported by David Wolpoff
  817   { "iRiver", 0x4102, "T10 2GB", 0x1120,
  818     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  819     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  820   // Rough guess this is the MTP device ID...
  821   { "iRiver", 0x4102, "N12", 0x1122,
  822     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  823     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  824   // Reported by Philip Antoniades <philip@mysql.com>
  825   // Newer iriver devices seem to have shaped-up firmware without any
  826   // of the annoying bugs.
  827   { "iRiver", 0x4102, "Clix2", 0x1126, DEVICE_FLAG_NONE },
  828   // Reported by Adam Torgerson
  829   { "iRiver", 0x4102, "Clix", 0x112a,
  830     DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  831   // Reported by Douglas Roth <dougaus@gmail.com>
  832   { "iRiver", 0x4102, "X20", 0x1132,
  833     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  834     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  835   // Reported by Robert Ugo <robert_ugo@users.sourceforge.net>
  836   { "iRiver", 0x4102, "T60", 0x1134,
  837     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  838     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
  839   // Reported by two anonymous SourceForge users
  840   // Needs the stronger OGG_IS_UNKNOWN flag to support OGG properly,
  841   // be aware of newer players that may be needing this too.
  842   { "iRiver", 0x4102, "E100", 0x1141,
  843     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  844     DEVICE_FLAG_OGG_IS_UNKNOWN },
  845   // Reported by anonymous SourceForge user
  846   // Need verification of whether this firmware really need all these flags
  847   { "iRiver", 0x4102, "E100 v2/Lplayer", 0x1142,
  848     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  849     DEVICE_FLAG_OGG_IS_UNKNOWN },
  850   // Reported by Richard Vennemann <vennemann@users.sourceforge.net>
  851   // In USB Mass Storage mode it is 0x4102/0x1047
  852   // Seems to use the new shaped-up firmware.
  853   { "iRiver", 0x4102, "Spinn", 0x1147, DEVICE_FLAG_NONE },
  854   // Reported by Tony Janssen <tonyjanssen@users.sourceforge.net>
  855   { "iRiver", 0x4102, "E50", 0x1151,
  856     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  857     DEVICE_FLAG_OGG_IS_UNKNOWN },
  858   // Reported by anonymous SourceForge user, guessing on flags
  859   { "iRiver", 0x4102, "E150", 0x1152,
  860     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  861     DEVICE_FLAG_OGG_IS_UNKNOWN },
  862   // Reported by Jakub Matraszek <jakub.matraszek@gmail.com>
  863   { "iRiver", 0x4102, "T5", 0x1153,
  864     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
  865     DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_OGG_IS_UNKNOWN },
  866   // Reported by pyalex@users.sourceforge.net
  867   // Guessing that this needs the FLAG_NO_ZERO_READS...
  868   { "iRiver", 0x4102, "E30", 0x1167,
  869     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  870     DEVICE_FLAG_OGG_IS_UNKNOWN },
  871   /* https://sourceforge.net/p/libmtp/bugs/1766/ */
  872   { "iRiver", 0x4102, "AK380", 0x1195,
  873     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  874     DEVICE_FLAG_OGG_IS_UNKNOWN },
  875   /* https://sourceforge.net/p/libmtp/bugs/1634/ 
  876    * copying flags from above */
  877   { "iRiver", 0x4102, "AK70", 0x1200,
  878     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  879     DEVICE_FLAG_OGG_IS_UNKNOWN },
  880   /* https://bugzilla.suse.com/show_bug.cgi?id=1176588  ... */
  881   { "A&K", 0x4102, "SR15", 0x1213,
  882     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  883     DEVICE_FLAG_OGG_IS_UNKNOWN },
  884   // Reported by Scott Call
  885   // Assume this actually supports OGG though it reports it doesn't.
  886   { "iRiver", 0x4102, "H10 20GB", 0x2101,
  887     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  888     DEVICE_FLAG_OGG_IS_UNKNOWN },
  889   { "iRiver", 0x4102, "H10 5GB", 0x2102,
  890     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  891     DEVICE_FLAG_OGG_IS_UNKNOWN },
  892   // From Rockbox device listing
  893   { "iRiver", 0x4102, "H10 5.6GB", 0x2105,
  894     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
  895     DEVICE_FLAG_OGG_IS_UNKNOWN },
  896 
  897 
  898   /*
  899    * Dell
  900    */
  901   { "Dell Inc", 0x413c, "DJ Itty", 0x4500,
  902       DEVICE_FLAG_NONE },
  903   /* Reported by: JR */
  904   { "Dell Inc", 0x413c, "Dell Streak 7", 0xb10b,
  905       DEVICE_FLAGS_ANDROID_BUGS },
  906   { "Dell Inc", 0x413c, "Dell Venue 7 inch", 0xb11a,
  907       DEVICE_FLAGS_ANDROID_BUGS },
  908   { "Dell Inc", 0x413c, "Dell Venue 7 inch (2nd ID)", 0xb11b,
  909       DEVICE_FLAGS_ANDROID_BUGS },
  910 
  911   /*
  912    * Toshiba
  913    * Tentatively flagged all Toshiba devices with
  914    * DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST after one of them
  915    * showed erroneous behaviour.
  916    */
  917   { "Toshiba", 0x0930, "Gigabeat MEGF-40", 0x0009,
  918       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  919       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  920   { "Toshiba", 0x0930, "Gigabeat", 0x000c,
  921       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  922       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  923   // Reported by Nicholas Tripp
  924   { "Toshiba", 0x0930, "Gigabeat P20", 0x000f,
  925       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  926       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  927   // From libgphoto2
  928   { "Toshiba", 0x0930, "Gigabeat S", 0x0010,
  929       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
  930       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  931       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  932   // Reported by Rob Brown
  933   { "Toshiba", 0x0930, "Gigabeat P10", 0x0011,
  934       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  935       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  936   // Reported by solanum@users.sourceforge.net
  937   { "Toshiba", 0x0930, "Gigabeat V30", 0x0014,
  938       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  939       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  940   // Reported by Michael Davis <slithy@yahoo.com>
  941   { "Toshiba", 0x0930, "Gigabeat U", 0x0016,
  942       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  943       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  944   // Reported by Devon Jacobs <devo@godevo.com>
  945   { "Toshiba", 0x0930, "Gigabeat MEU202", 0x0018,
  946       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  947       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  948   // Reported by Rolf <japan (at) dl3lar.de>
  949   { "Toshiba", 0x0930, "Gigabeat T", 0x0019,
  950       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  951       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  952   // Reported by Phil Ingram <ukpbert@users.sourceforge.net>
  953   // Tentatively added - no real reports of this device ID being MTP,
  954   // reports as USB Mass Storage currently.
  955   { "Toshiba", 0x0930, "Gigabeat MEU201", 0x001a,
  956       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  957       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  958   // Reported by anonymous SourceForge user
  959   { "Toshiba", 0x0930, "Gigabeat MET401", 0x001d,
  960       DEVICE_FLAG_NO_RELEASE_INTERFACE |
  961       DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
  962   // Reported by Andree Jacobson <nmcandree@users.sourceforge.net>
  963   { "Toshiba", 0x0930, "Excite AT300", 0x0963,
  964       DEVICE_FLAGS_ANDROID_BUGS },
  965   /* https://sourceforge.net/p/libmtp/bugs/1557/ */
  966   { "Toshiba", 0x0930, "Excite AT200", 0x0960,
  967       DEVICE_FLAGS_ANDROID_BUGS },
  968   // Reported by Nigel Cunningham <nigel@tuxonice.net>
  969   // Guessing on Android bugs
  970   { "Toshiba", 0x0930, "Thrive AT100/AT105", 0x7100,
  971       DEVICE_FLAGS_ANDROID_BUGS },
  972 
  973   /*
  974    * Archos
  975    * These devices have some dual-mode interfaces which will really
  976    * respect the driver unloading, so DEVICE_FLAG_UNLOAD_DRIVER
  977    * really work on these devices!
  978    *
  979    * Devices reported by:
  980    * Archos
  981    * Alexander Haertig <AlexanderHaertig@gmx.de>
  982    * Jan Binder
  983    * gudul1@users.sourceforge.net
  984    * Etienne Chauchot <chauchot.etienne@free.fr>
  985    * Kay McCormick <kaym@modsystems.com>
  986    * Joe Rabinoff
  987    * Jim Krehl <jimmuhk@users.sourceforge.net>
  988    * Adrien Guichard <tmor@users.sourceforge.net>
  989    * Clément <clemvangelis@users.sourceforge.net>
  990    * Thackert <hackertenator@users.sourceforge.net>
  991    * Till <Till@users.sourceforge.net>
  992    * Sebastien ROHAUT
  993    */
  994   { "Archos", 0x0e79, "Gmini XS100", 0x1207, DEVICE_FLAG_UNLOAD_DRIVER },
  995   { "Archos", 0x0e79, "XS202 (MTP mode)", 0x1208, DEVICE_FLAG_NONE },
  996   { "Archos", 0x0e79, "104 (MTP mode)", 0x120a, DEVICE_FLAG_NONE },
  997   { "Archos", 0x0e79, "204 (MTP mode)", 0x120c, DEVICE_FLAG_UNLOAD_DRIVER },
  998   { "Archos", 0x0e79, "404 (MTP mode)", 0x1301, DEVICE_FLAG_UNLOAD_DRIVER },
  999   { "Archos", 0x0e79, "404CAM (MTP mode)", 0x1303, DEVICE_FLAG_UNLOAD_DRIVER },
 1000   { "Archos", 0x0e79, "504 (MTP mode)", 0x1307, DEVICE_FLAG_UNLOAD_DRIVER },
 1001   { "Archos", 0x0e79, "604 (MTP mode)", 0x1309, DEVICE_FLAG_UNLOAD_DRIVER },
 1002   { "Archos", 0x0e79, "604WIFI (MTP mode)", 0x130b, DEVICE_FLAG_UNLOAD_DRIVER },
 1003   { "Archos", 0x0e79, "704 mobile dvr", 0x130d, DEVICE_FLAG_UNLOAD_DRIVER },
 1004   { "Archos", 0x0e79, "704TV (MTP mode)", 0x130f, DEVICE_FLAG_UNLOAD_DRIVER },
 1005   { "Archos", 0x0e79, "405 (MTP mode)", 0x1311, DEVICE_FLAG_UNLOAD_DRIVER },
 1006   { "Archos", 0x0e79, "605 (MTP mode)", 0x1313, DEVICE_FLAG_UNLOAD_DRIVER },
 1007   { "Archos", 0x0e79, "605F (MTP mode)", 0x1315, DEVICE_FLAG_UNLOAD_DRIVER },
 1008   { "Archos", 0x0e79, "705 (MTP mode)", 0x1319, DEVICE_FLAG_UNLOAD_DRIVER },
 1009   { "Archos", 0x0e79, "TV+ (MTP mode)", 0x131b, DEVICE_FLAG_UNLOAD_DRIVER },
 1010   { "Archos", 0x0e79, "105 (MTP mode)", 0x131d, DEVICE_FLAG_UNLOAD_DRIVER },
 1011   { "Archos", 0x0e79, "405HDD (MTP mode)", 0x1321, DEVICE_FLAG_UNLOAD_DRIVER },
 1012   { "Archos", 0x0e79, "5 (MTP mode 1)", 0x1331, DEVICE_FLAG_UNLOAD_DRIVER },
 1013   { "Archos", 0x0e79, "5 (MTP mode 2)", 0x1333, DEVICE_FLAG_UNLOAD_DRIVER },
 1014   { "Archos", 0x0e79, "7 (MTP mode)", 0x1335, DEVICE_FLAG_UNLOAD_DRIVER },
 1015   { "Archos", 0x0e79, "SPOD (MTP mode)", 0x1341, DEVICE_FLAG_UNLOAD_DRIVER },
 1016   { "Archos", 0x0e79, "5S IT (MTP mode)", 0x1351, DEVICE_FLAG_UNLOAD_DRIVER },
 1017   { "Archos", 0x0e79, "5H IT (MTP mode)", 0x1357, DEVICE_FLAG_UNLOAD_DRIVER },
 1018   { "Archos", 0x0e79, "48 (MTP mode)", 0x1421, DEVICE_FLAGS_ANDROID_BUGS },
 1019   { "Archos", 0x0e79, "Arnova Childpad", 0x1458, DEVICE_FLAGS_ANDROID_BUGS },
 1020   { "Archos", 0x0e79, "Arnova 8c G3", 0x145e, DEVICE_FLAGS_ANDROID_BUGS },
 1021   { "Archos", 0x0e79, "Arnova 10bG3 Tablet", 0x146b, DEVICE_FLAGS_ANDROID_BUGS },
 1022   { "Archos", 0x0e79, "97 Xenon", 0x149a, DEVICE_FLAGS_ANDROID_BUGS },
 1023   { "Archos", 0x0e79, "97 Titanium", 0x14ad, DEVICE_FLAGS_ANDROID_BUGS },
 1024   { "Archos", 0x0e79, "80 Titanium", 0x14bf, DEVICE_FLAGS_ANDROID_BUGS },
 1025   { "Archos", 0x0e79, "101 Titanium", 0x14b9, DEVICE_FLAGS_ANDROID_BUGS },
 1026   /* https://sourceforge.net/p/libmtp/feature-requests/91/ */
 1027   { "Archos", 0x0e79, "70b Titanium", 0x14ef, DEVICE_FLAGS_ANDROID_BUGS },
 1028   { "Archos", 0x0e79, "8o G9 (MTP mode)", 0x1508, DEVICE_FLAG_UNLOAD_DRIVER },
 1029   { "Archos", 0x0e79, "8o G9 Turbo (MTP mode)", 0x1509, DEVICE_FLAG_UNLOAD_DRIVER },
 1030   { "Archos", 0x0e79, "80G9", 0x1518, DEVICE_FLAGS_ANDROID_BUGS },
 1031   { "Archos", 0x0e79, "101 G9 (ID1)", 0x1528, DEVICE_FLAGS_ANDROID_BUGS },
 1032   { "Archos", 0x0e79, "101 G9 (ID2)", 0x1529, DEVICE_FLAGS_ANDROID_BUGS },
 1033   { "Archos", 0x0e79, "101 G9 Turbo 250 HD", 0x1538, DEVICE_FLAGS_ANDROID_BUGS },
 1034   { "Archos", 0x0e79, "101 G9 Turbo", 0x1539, DEVICE_FLAGS_ANDROID_BUGS },
 1035   { "Archos", 0x0e79, "101 XS", 0x1548, DEVICE_FLAGS_ANDROID_BUGS },
 1036   { "Archos", 0x0e79, "70it2 (ID 1)", 0x1568, DEVICE_FLAGS_ANDROID_BUGS },
 1037   { "Archos", 0x0e79, "70it2 (ID 2)", 0x1569, DEVICE_FLAGS_ANDROID_BUGS },
 1038   { "Archos", 0x0e79, "70 Cobalt", 0x15ba, DEVICE_FLAGS_ANDROID_BUGS },
 1039   { "Archos", 0x0e79, "50c", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 1040   { "Archos", 0x0e79, "C40", 0x31ab, DEVICE_FLAGS_ANDROID_BUGS },
 1041   /* https://sourceforge.net/p/libmtp/bugs/1824/ */
 1042   { "Archos", 0x0e79, "50b", 0x31bd, DEVICE_FLAGS_ANDROID_BUGS },
 1043   /* via libmtp-discuss Tonton <to.tonton@gmail.com> */
 1044   { "Archos", 0x0e79, "Helium 45B", 0x31d8, DEVICE_FLAGS_ANDROID_BUGS },
 1045   /* https://sourceforge.net/p/libmtp/bugs/1393/ */
 1046   { "Archos", 0x0e79, "Phone", 0x31e1, DEVICE_FLAGS_ANDROID_BUGS },
 1047   /* https://sourceforge.net/p/libmtp/bugs/1325/ */
 1048   { "Archos", 0x0e79, "45 Neon", 0x31f3, DEVICE_FLAGS_ANDROID_BUGS },
 1049   /* https://sourceforge.net/p/libmtp/bugs/1352/ */
 1050   { "Archos", 0x0e79, "50 Diamond", 0x3229, DEVICE_FLAGS_ANDROID_BUGS },
 1051   /* https://sourceforge.net/p/libmtp/support-requests/241 */
 1052   { "Archos", 0x0e79, "50 Diamond (2nd ID)", 0x322a, DEVICE_FLAGS_ANDROID_BUGS },
 1053   { "Archos", 0x0e79, "101 G4", 0x4002, DEVICE_FLAGS_ANDROID_BUGS },
 1054   { "Archos (for Tesco)", 0x0e79, "Hudl (ID1)", 0x5008, DEVICE_FLAGS_ANDROID_BUGS },
 1055   { "Archos (for Tesco)", 0x0e79, "Hudl (ID2)", 0x5009, DEVICE_FLAGS_ANDROID_BUGS },
 1056   /* https://sourceforge.net/p/libmtp/bugs/1404/ */
 1057   { "Archos", 0x0e79, "AC40DTI", 0x5217, DEVICE_FLAGS_ANDROID_BUGS },
 1058   /* https://sourceforge.net/p/libmtp/feature-requests/221/ */
 1059   { "Archos", 0x0e79, "50 Helium Plus", 0x5229, DEVICE_FLAGS_ANDROID_BUGS },
 1060   /* https://sourceforge.net/p/libmtp/bugs/1682/ */
 1061   { "Archos", 0x0e79, "50 Helium Plus (2nd ID)", 0x522a, DEVICE_FLAGS_ANDROID_BUGS },
 1062   /* https://sourceforge.net/p/libmtp/bugs/1573/ */
 1063   { "Archos", 0x0e79, "101 xenon lite", 0x528c, DEVICE_FLAGS_ANDROID_BUGS },
 1064   { "Archos", 0x0e79, "101 xenon lite (ADB)", 0x528d, DEVICE_FLAGS_ANDROID_BUGS },
 1065 
 1066   /* https://sourceforge.net/p/libmtp/bugs/1581/ */
 1067   { "Archos", 0x0e79, "40 Helium phone", 0x52c2, DEVICE_FLAGS_ANDROID_BUGS },
 1068 
 1069   /* https://sourceforge.net/p/libmtp/support-requests/222/ */
 1070   { "Archos", 0x0e79, "Diamond S", 0x5305, DEVICE_FLAGS_ANDROID_BUGS },
 1071   /* https://sourceforge.net/p/libmtp/bugs/1587/ */
 1072   { "Archos", 0x0e79, "50d neon", 0x5371, DEVICE_FLAGS_ANDROID_BUGS },
 1073   /* https://sourceforge.net/p/libmtp/bugs/1660/ */
 1074   { "Archos", 0x0e79, "70b neon", 0x5395, DEVICE_FLAGS_ANDROID_BUGS },
 1075   /* https://sourceforge.net/p/libmtp/support-requests/290/ */
 1076   { "Archos", 0x0e79, "50 power", 0x53a7, DEVICE_FLAGS_ANDROID_BUGS },
 1077   /* https://sourceforge.net/p/libmtp/bugs/1637/ */
 1078   { "Archos", 0x0e79, "101b Oxygen", 0x542f, DEVICE_FLAGS_ANDROID_BUGS },
 1079 
 1080   /* https://sourceforge.net/p/libmtp/support-requests/245/ */
 1081   { "Archos", 0x0e79, "55B Platinum", 0x544a, DEVICE_FLAGS_ANDROID_BUGS },
 1082   /* https://sourceforge.net/p/libmtp/bugs/1799/ */
 1083   { "Archos", 0x0e79, "50F Helium", 0x545c, DEVICE_FLAGS_ANDROID_BUGS },
 1084   /* https://sourceforge.net/p/libmtp/feature-requests/209/ */
 1085   { "Archos", 0x0e79, "55 diamond Selfie", 0x5465, DEVICE_FLAGS_ANDROID_BUGS },
 1086   /* https://sourceforge.net/p/libmtp/feature-requests/262/ */
 1087   { "Archos", 0x0e79, "Core 50P", 0x5603, DEVICE_FLAGS_ANDROID_BUGS },
 1088 
 1089 
 1090   /*
 1091    * Dunlop (OEM of EGOMAN ltd?) reported by Nanomad
 1092    * This unit is falsely detected as USB mass storage in Linux
 1093    * prior to kernel 2.6.19 (fixed by patch from Alan Stern)
 1094    * so on older kernels special care is needed to remove the
 1095    * USB mass storage driver that erroneously binds to the device
 1096    * interface.
 1097    *
 1098    * More problematic, this manufacturer+device ID seems to be
 1099    * reused in a USB Mass Storage device named "Zipy Fox 8GB",
 1100    * which means libmtp may mistreat it.
 1101    */
 1102   { "Dunlop", 0x10d6, "MP3 player 1GB / EGOMAN MD223AFD", 0x2200, DEVICE_FLAG_UNLOAD_DRIVER},
 1103   // Reported by Steven Black <stevenblack1956@users.sourceforge.net>
 1104   // Obviously this company goes by many names.
 1105   // This device is USB 2.0 only. Broken pipe on closing.
 1106   // A later report indicates that this is also used by the iRiver E200
 1107   { "Memorex or iRiver", 0x10d6, "MMP 8585/8586 or iRiver E200", 0x2300,
 1108       DEVICE_FLAG_UNLOAD_DRIVER |
 1109       DEVICE_FLAG_NO_RELEASE_INTERFACE},
 1110 
 1111   /*
 1112    * Sirius
 1113    */
 1114   { "Sirius", 0x18f6, "Stiletto", 0x0102, DEVICE_FLAG_NONE },
 1115   // Reported by Chris Bagwell <chris@cnpbagwell.com>
 1116   { "Sirius", 0x18f6, "Stiletto 2", 0x0110, DEVICE_FLAG_NONE },
 1117 
 1118   /*
 1119    * Nokia
 1120    * Please verify the low device IDs here, I suspect these might be for
 1121    * things like USB storage or modem mode actually, whereas the higher
 1122    * range (0x04nn) could be for MTP. Some of the devices were gathered
 1123    * from the Nokia WMP drivers:
 1124    * http://nds2.nokia.com/files/support/global/phones/software/
 1125    * Address was gathered from going to:
 1126    * nseries.com
 1127    * -> support
 1128    * -> select supported device
 1129    *  -> PC software
 1130    *    -> Music software
 1131    *      -> Windows Media Player 10 driver
 1132    */
 1133   // From: DoomHammer <gaczek@users.sourceforge.net>
 1134   { "Nokia", 0x0421, "N81 Mobile Phone", 0x000a, DEVICE_FLAG_NONE },
 1135   // From an anonymous SourceForge user
 1136   { "Nokia", 0x0421, "6120c Classic Mobile Phone", 0x002e, DEVICE_FLAG_NONE },
 1137   // From Stefano
 1138   { "Nokia", 0x0421, "N96 Mobile Phone", 0x0039, DEVICE_FLAG_NONE },
 1139   // From Martijn van de Streek <martijn@vandestreek.net>
 1140   { "Nokia", 0x0421, "6500c Classic Mobile Phone", 0x003c, DEVICE_FLAG_NONE },
 1141   // From: DoomHammer <gaczek@users.sourceforge.net>
 1142   { "Nokia", 0x0421, "3110c Mobile Phone", 0x005f, DEVICE_FLAG_NONE },
 1143   // From: Vasily <spc-@users.sourceforge.net>
 1144   { "Nokia", 0x0421, "3109c Mobile Phone", 0x0065, DEVICE_FLAG_NONE },
 1145   // From: <rawc@users.sourceforge.net>
 1146   { "Nokia", 0x0421, "5310 XpressMusic", 0x006c, DEVICE_FLAG_NONE },
 1147   // From: robin (AT) headbank D0Tco DOTuk
 1148   { "Nokia", 0x0421, "N95 Mobile Phone 8GB", 0x006e, DEVICE_FLAG_NONE },
 1149   // From Bastien Nocera <hadess@hadess.net>
 1150   { "Nokia", 0x0421, "N82 Mobile Phone", 0x0074,
 1151       DEVICE_FLAG_UNLOAD_DRIVER },
 1152   // From Martijn van de Streek <martijn@vandestreek.net>
 1153   { "Nokia", 0x0421, "N78 Mobile Phone", 0x0079, DEVICE_FLAG_NONE },
 1154   // From William Pettersson <the_enigma@users.sourceforge.net>
 1155   { "Nokia", 0x0421, "6220 Classic", 0x008d, DEVICE_FLAG_NONE },
 1156   // From kellerkev@gmail.com
 1157   { "Nokia", 0x0421, "N85 Mobile Phone", 0x0092, DEVICE_FLAG_NONE },
 1158   // From Alexandre LISSY <lissyx@users.sourceforge.net>
 1159   { "Nokia", 0x0421, "6210 Navigator", 0x0098, DEVICE_FLAG_NONE },
 1160   // From: danielw
 1161   { "Nokia", 0x0421, "E71", 0x00e4, DEVICE_FLAG_NONE },
 1162   // From: Laurent Bigonville <bigon@users.sourceforge.net>
 1163   { "Nokia", 0x0421, "E66", 0x00e5, DEVICE_FLAG_NONE },
 1164   // From: Pier <pierlucalino@users.sourceforge.net>
 1165   { "Nokia", 0x0421, "5320 XpressMusic", 0x00ea, DEVICE_FLAG_NONE },
 1166   // From: Gausie <innerdreams@users.sourceforge.net>
 1167   { "Nokia", 0x0421, "5800 XpressMusic", 0x0154,
 1168       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 1169   // From: Willy Gardiol (web) <willy@gardiol.org>
 1170   // Spurious errors for getting all objects, lead me to believe
 1171   // this flag atleast is needed
 1172   { "Nokia", 0x0421, "5800 XpressMusic v2", 0x0155,
 1173       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 1174   // Yet another version... I think
 1175   { "Nokia", 0x0421, "5800 XpressMusic v3", 0x0159,
 1176       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 1177   // From an anonymous SourceForge user
 1178   // Not verified to be MTP
 1179   { "Nokia", 0x0421, "E63", 0x0179, DEVICE_FLAG_NONE },
 1180   // Reported by: max g <exactt@users.sourceforge.net>
 1181   // Reported by: oswillios <loswillios@users.sourceforge.net>
 1182   { "Nokia", 0x0421, "N79", 0x0186, DEVICE_FLAG_NONE },
 1183   // From an anonymous SourceForge user
 1184   { "Nokia", 0x0421, "E71x", 0x01a1, DEVICE_FLAG_NONE },
 1185   // From Ser <ser@users.sourceforge.net>
 1186   { "Nokia", 0x0421, "E52", 0x01cf, DEVICE_FLAG_NONE },
 1187   // From Marcus Meissner
 1188   { "Nokia", 0x0421, "3710", 0x01ee, DEVICE_FLAG_NONE },
 1189   // From: AxeL <axel__17@users.sourceforge.net>
 1190   { "Nokia", 0x0421, "N97-1", 0x01f4, DEVICE_FLAG_NONE },
 1191   // From: FunkyPenguin <awafaa@users.sourceforge.net>
 1192   { "Nokia", 0x0421, "N97", 0x01f5, DEVICE_FLAG_NONE },
 1193   // From: Anonymous SourceForge user
 1194   { "Nokia", 0x0421, "5130 XpressMusic", 0x0209, DEVICE_FLAG_NONE },
 1195   // From: Anonymous SourceForge user
 1196   { "Nokia", 0x0421, "E72", 0x0221, DEVICE_FLAG_NONE },
 1197   // From: Anonymous SourceForge user
 1198   { "Nokia", 0x0421, "5530", 0x0229, DEVICE_FLAG_NONE },
 1199   /* Grzegorz Woźniak <wozniakg@gmail.com> */
 1200   { "Nokia", 0x0421, "E6", 0x032f, DEVICE_FLAG_NONE },
 1201   // From: Anonymous SourceForge user
 1202   { "Nokia", 0x0421, "N97 mini", 0x026b, DEVICE_FLAG_NONE },
 1203   // From: Anonymous SourceForge user
 1204   { "Nokia", 0x0421, "X6", 0x0274, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 1205   // From: Alexander Kojevnikov <alex-kay@users.sourceforge.net>
 1206   { "Nokia", 0x0421, "6600i", 0x0297, DEVICE_FLAG_NONE },
 1207   // From: Karthik Paithankar <whyagain2005@users.sourceforge.net>
 1208   { "Nokia", 0x0421, "2710", 0x02c1, DEVICE_FLAG_NONE },
 1209   // From: Mick Stephenson <MickStep@users.sourceforge.net>
 1210   { "Nokia", 0x0421, "5230", 0x02e2, DEVICE_FLAG_NONE },
 1211   // From: Lan Liu at Nokia <lan.liu@nokia.com>
 1212   { "Nokia", 0x0421, "N8", 0x02fe, DEVICE_FLAG_NONE },
 1213   // From: Lan Liu at Nokia <lan.liu@nokia.com>
 1214   { "Nokia", 0x0421, "N8 (Ovi mode)", 0x0302, DEVICE_FLAG_NONE },
 1215   // From: Martijn Hoogendoorn <m.hoogendoorn@gmail.com>
 1216   { "Nokia", 0x0421, "E7", 0x0334, DEVICE_FLAG_NONE },
 1217   // From: Raul Metsma <raul@innovaatik.ee>
 1218   { "Nokia", 0x0421, "E7 (Ovi mode)", 0x0335, DEVICE_FLAG_NONE },
 1219   // Reported by Serg <rd77@users.sourceforge.net>
 1220   // Symbian phone
 1221   { "Nokia", 0x0421, "C7", 0x03c1, DEVICE_FLAG_NONE },
 1222   // Reported by Anonymous SourceForge user
 1223   { "Nokia", 0x0421, "C7 (ID2)", 0x03cd, DEVICE_FLAG_NONE },
 1224   // Reported by Anonymous SourceForge user
 1225   { "Nokia", 0x0421, "N950", 0x03d2, DEVICE_FLAG_NONE },
 1226   // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_3250_WMP10_driver.inf
 1227   { "Nokia", 0x0421, "3250 Mobile Phone", 0x0462, DEVICE_FLAG_NONE },
 1228   // From http://nds2.nokia.com/files/support/global/phones/software/Nokia_N93_WMP10_Driver.inf
 1229   { "Nokia", 0x0421, "N93 Mobile Phone", 0x0478, DEVICE_FLAG_NONE },
 1230   // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_5500_Sport_WMP10_driver.inf
 1231   { "Nokia", 0x0421, "5500 Sport Mobile Phone", 0x047e, DEVICE_FLAG_NONE },
 1232   // From http://nds2.nokia.com/files/support/global/phones/software/Nokia_N91_WMP10_Driver.inf
 1233   { "Nokia", 0x0421, "N91 Mobile Phone", 0x0485, DEVICE_FLAG_NONE },
 1234   // From: Christian Rusa <kristous@users.sourceforge.net>
 1235   { "Nokia", 0x0421, "5700 XpressMusic Mobile Phone", 0x04b4, DEVICE_FLAG_NONE },
 1236   // From: Mitchell Hicks <mitchix@yahoo.com>
 1237   { "Nokia", 0x0421, "5300 Mobile Phone", 0x04ba, DEVICE_FLAG_NONE },
 1238   // https://sourceforge.net/tracker/index.php?func=detail&aid=2692473&group_id=8874&atid=358874
 1239   // From: Tiburce <tiburce@users.sourceforge.net>
 1240   { "Nokia", 0x0421, "5200 Mobile Phone", 0x04be,
 1241       DEVICE_FLAG_BROKEN_BATTERY_LEVEL },
 1242   // From Christian Arnold <webmaster@arctic-media.de>
 1243   { "Nokia", 0x0421, "N73 Mobile Phone", 0x04d1, DEVICE_FLAG_UNLOAD_DRIVER },
 1244   // From Swapan <swapan@yahoo.com>
 1245   { "Nokia", 0x0421, "N75 Mobile Phone", 0x04e1, DEVICE_FLAG_NONE },
 1246   // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_N93i_WMP10_driver.inf
 1247   { "Nokia", 0x0421, "N93i Mobile Phone", 0x04e5, DEVICE_FLAG_NONE },
 1248   // From Anonymous Sourceforge User
 1249   { "Nokia", 0x0421, "N95 Mobile Phone", 0x04ef, DEVICE_FLAG_NONE },
 1250   // From: Pat Nicholls <pat@patandannie.co.uk>
 1251   { "Nokia", 0x0421, "N80 Internet Edition (Media Player)", 0x04f1,
 1252       DEVICE_FLAG_UNLOAD_DRIVER },
 1253   // From: Maxin B. John <maxin.john@gmail.com>
 1254   { "Nokia", 0x0421, "N9", 0x051a, DEVICE_FLAG_NONE },
 1255   /* https://sourceforge.net/p/libmtp/bugs/1308/ */
 1256   { "Nokia", 0x0421, "N300", 0x0524, DEVICE_FLAG_NONE },
 1257   /* https://sourceforge.net/p/libmtp/bugs/1885/ */
 1258   { "Nokia", 0x0421, "701", 0x0530, DEVICE_FLAG_NONE },
 1259   { "Nokia", 0x0421, "C5-00", 0x0592, DEVICE_FLAG_NONE },
 1260   /* https://sourceforge.net/p/libmtp/bugs/1457/ */
 1261   { "Nokia", 0x0421, "C5-00 (ID2)", 0x0595, DEVICE_FLAG_NONE },
 1262   /* https://sourceforge.net/p/libmtp/feature-requests/235/ */
 1263   { "Nokia", 0x0421, "500", 0x05c0, DEVICE_FLAG_NONE },
 1264   { "Nokia", 0x0421, "808 PureView", 0x05d3, DEVICE_FLAG_NONE },
 1265   // Reported by Sampo Savola
 1266   // Covers Lumia 920, 820 and probably any WP8 device.
 1267   { "Nokia", 0x0421, "Lumia WP8", 0x0661, DEVICE_FLAG_NONE },
 1268   /* https://sourceforge.net/p/libmtp/bugs/1176/ */
 1269   { "Nokia", 0x0421, "Lumia 301", 0x0666, DEVICE_FLAG_NONE },
 1270   /* https://sourceforge.net/p/libmtp/support-requests/146/ */
 1271   { "Nokia", 0x0421, "XL", 0x06e8, DEVICE_FLAG_UNLOAD_DRIVER },
 1272   /* https://sourceforge.net/p/libmtp/patches/69/
 1273    * https://sourceforge.net/p/libmtp/bugs/1285/
 1274    * ID is the same for various Lumia version.
 1275    */
 1276   { "Nokia", 0x0421, "Lumia (RM-975)", 0x06fc, DEVICE_FLAG_NONE },
 1277   /* https://sourceforge.net/p/libmtp/bugs/1453/ */
 1278   { "Nokia", 0x0421, "X2 Dual Sim", 0x0708, DEVICE_FLAG_NONE },
 1279 
 1280   /* https://sourceforge.net/p/libmtp/bugs/1711/ */
 1281   { "Nokia", 0x2e04, "6", 0xc025, DEVICE_FLAGS_ANDROID_BUGS },
 1282   /* https://sourceforge.net/p/libmtp/bugs/1783/ */
 1283   { "Nokia", 0x2e04, "6.1", 0xc026, DEVICE_FLAGS_ANDROID_BUGS },
 1284   /* ndim from gphoto */
 1285   { "Nokia", 0x2e04, "6.2", 0xc02a, DEVICE_FLAGS_ANDROID_BUGS },
 1286 
 1287   /*
 1288    * Qualcomm
 1289    * This vendor ID seems to be used a bit by others.
 1290    */
 1291 
 1292   // Reported by Richard Wall <richard@the-moon.net>
 1293   { "Qualcomm (for Nokia)", 0x05c6, "5530 Xpressmusic", 0x0229,
 1294       DEVICE_FLAG_NONE },
 1295   // One thing stated by reporter (Nokia model) another by the detect log...
 1296   { "Qualcomm (for Nokia/Verizon)", 0x05c6, "6205 Balboa/Verizon Music Phone",
 1297       0x3196, DEVICE_FLAG_NONE },
 1298   { "Qualcomm (for Gigabyte)", 0x05c6, "GSmart G1342",
 1299       0x8800, DEVICE_FLAG_NONE },
 1300   { "Qualcomm (for Smartfren)", 0x05c6, "Andromax U",
 1301       0x9025, DEVICE_FLAG_NONE },
 1302   // New Android phone of the OnePlus brand : the One model
 1303   { "Qualcomm (for OnePlus)", 0x05c6, "One (MTP)",
 1304       0x6764, DEVICE_FLAGS_ANDROID_BUGS },
 1305   { "Qualcomm (for OnePlus)", 0x05c6, "One (MTP+ADB)",
 1306       0x6765, DEVICE_FLAGS_ANDROID_BUGS },
 1307 
 1308   /* https://sourceforge.net/p/libmtp/bugs/1377/ */
 1309   /* https://github.com/libmtp/libmtp/issues/44 */
 1310   { "Qualcomm (for Xolo)", 0x05c6, "Xolo Black (MTP)",
 1311       0x901b, DEVICE_FLAGS_ANDROID_BUGS },
 1312 
 1313   { "Qualcomm (for PhiComm)", 0x05c6, "C230w (MTP)",
 1314       0x9039, DEVICE_FLAGS_ANDROID_BUGS },
 1315 
 1316   /* https://sourceforge.net/p/libmtp/bugs/1513/ */
 1317   { "Qualcomm (for OnePlus)", 0x05c6, "One Plus 2 (A2003) (MTP)",
 1318       0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 1319   /* https://sourceforge.net/p/libmtp/bugs/1284/ */
 1320   { "Qualcomm (for Highscreen)", 0x05c6, "Omega Prime S",
 1321       0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 1322 
 1323   /*
 1324    * Vendor ID 0x13d1 is some offshoring company in China,
 1325    * in one source named "A-Max Technology Macao Commercial
 1326    * Offshore Co. Ltd." sometime "CCTech".
 1327    */
 1328   // Logik brand
 1329   { "Logik", 0x13d1, "LOG DAX MP3 and DAB Player", 0x7002, DEVICE_FLAG_UNLOAD_DRIVER },
 1330   // Technika brand
 1331   // Reported by <Ooblick@users.sourceforge.net>
 1332   { "Technika", 0x13d1, "MP-709", 0x7017, DEVICE_FLAG_UNLOAD_DRIVER },
 1333 
 1334 
 1335   /*
 1336    * RCA / Thomson
 1337    */
 1338   // From kiki <omkiki@users.sourceforge.net>
 1339   { "Thomson", 0x069b, "EM28 Series", 0x0774, DEVICE_FLAG_NONE },
 1340   { "Thomson / RCA", 0x069b, "Opal / Lyra MC4002", 0x0777, DEVICE_FLAG_NONE },
 1341   { "Thomson", 0x069b, "Lyra MC5104B (M51 Series)", 0x077c, DEVICE_FLAG_NONE },
 1342   { "Thomson", 0x069b, "RCA H106", 0x301a, DEVICE_FLAG_UNLOAD_DRIVER },
 1343   // From Svenna <svenna@svenna.de>
 1344   // Not confirmed to be MTP.
 1345   { "Thomson", 0x069b, "scenium E308", 0x3028, DEVICE_FLAG_NONE },
 1346   // From XNJB user
 1347   { "Thomson / RCA", 0x069b, "Lyra HC308A", 0x3035, DEVICE_FLAG_NONE },
 1348 
 1349   /*
 1350    * Fujitsu devices
 1351    */
 1352   { "Fujitsu, Ltd", 0x04c5, "F903iX HIGH-SPEED", 0x1140, DEVICE_FLAG_NONE },
 1353   // Reported by Thomas Bretthauer
 1354   { "Fujitsu, Ltd", 0x04c5, "STYLISTIC M532", 0x133b,
 1355       DEVICE_FLAGS_ANDROID_BUGS },
 1356   /* https://sourceforge.net/p/libmtp/feature-requests/137/ */
 1357   { "Fujitsu, Ltd", 0x04c5, "F02-E", 0x1378,
 1358       DEVICE_FLAGS_ANDROID_BUGS },
 1359   /* https://sourceforge.net/p/libmtp/bugs/1495/ */
 1360   { "Fujitsu, Ltd", 0x04c5, "Arrows 202F", 0x13dd,
 1361       DEVICE_FLAGS_ANDROID_BUGS },
 1362 
 1363   /*
 1364    * Palm device userland program named Pocket Tunes
 1365    * Reported by Peter Gyongyosi <gyp@impulzus.com>
 1366    */
 1367   { "NormSoft, Inc.", 0x1703, "Pocket Tunes", 0x0001, DEVICE_FLAG_NONE },
 1368   // Reported by anonymous submission
 1369   { "NormSoft, Inc.", 0x1703, "Pocket Tunes 4", 0x0002, DEVICE_FLAG_NONE },
 1370 
 1371   /*
 1372    * TrekStor, Medion and Maxfield devices
 1373    * Their datasheet claims their devices are dualmode so probably needs to
 1374    * unload the attached drivers here.
 1375    */
 1376   // Reported by Stefan Voss <svoss@web.de>
 1377   // This is a Sigmatel SoC with a hard disk.
 1378   { "TrekStor", 0x066f, "Vibez 8/12GB", 0x842a,
 1379     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1380   // Reported by anonymous SourceForge user.
 1381   // This one done for Medion, whatever that is. Error reported so assume
 1382   // the same bug flag as its ancestor above.
 1383   { "Medion", 0x066f, "MD8333 (ID1)", 0x8550,
 1384     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1385   // Reported by anonymous SourceForge user
 1386   { "Medion", 0x066f, "MD8333 (ID2)", 0x8588,
 1387     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1388   /* https://sourceforge.net/p/libmtp/bugs/1359/ */
 1389   { "Verizon", 0x0408, "Ellipsis 7", 0x3899,
 1390     DEVICE_FLAGS_ANDROID_BUGS },
 1391   // The vendor ID is "Quanta Computer, Inc."
 1392   // same as Olivetti Olipad 110
 1393   // Guessing on device flags
 1394   { "Medion", 0x0408, "MD99000 (P9514)/Olivetti Olipad 110", 0xb009,
 1395     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1396   // Reported by Richard Eigenmann <richieigenmann@users.sourceforge.net>
 1397   { "Medion", 0x0408, "Lifetab P9514", 0xb00a,
 1398     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAGS_ANDROID_BUGS },
 1399   // Reported by anonymous SourceForge user
 1400   { "Maxfield", 0x066f, "G-Flash NG 1GB", 0x846c,
 1401     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1402   // Reported by PaoloC <efmpsc@users.sourceforge.net>
 1403   // Apparently SigmaTel has an SDK for MTP players with this ID
 1404   { "SigmaTel Inc.", 0x066f, "MTPMSCN Audio Player", 0xa010,
 1405     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1406   // Reported by Cristi Magherusan <majeru@gentoo.ro>
 1407   { "TrekStor", 0x0402, "i.Beat Sweez FM", 0x0611,
 1408     DEVICE_FLAG_UNLOAD_DRIVER },
 1409   // Reported by Fox-ino <fox-ino@users.sourceforge.net>
 1410   // No confirmation that this is really MTP so commented it out.
 1411   // { "ALi Corp.", 0x0402, "MPMAN 2GB", 0x5668,
 1412   // DEVICE_FLAG_UNLOAD_DRIVER },
 1413   // Reported by Anonymous SourceForge user
 1414   {"TrekStor", 0x1e68, "i.Beat Organix 2.0", 0x0002,
 1415     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1416 
 1417   /* Also Thalia Toline. https://sourceforge.net/p/libmtp/bugs/1156/ */
 1418   {"iRiver", 0x1e68, "Tolino Tab 7", 0x1002,
 1419     DEVICE_FLAGS_ANDROID_BUGS },
 1420   /* https://sourceforge.net/p/libmtp/bugs/1694/ */
 1421   {"iRiver", 0x1e68, "Tolino Tab 8", 0x1007,
 1422     DEVICE_FLAGS_ANDROID_BUGS },
 1423   /* https://sourceforge.net/p/libmtp/bugs/1699/ */
 1424   {"Trekstor", 0x1e68, "SurfTab breeze 7.0 quad 3G", 0x1045,
 1425     DEVICE_FLAGS_ANDROID_BUGS },
 1426 
 1427   /*
 1428    * Disney/Tevion/MyMusix
 1429    */
 1430   // Reported by XNJB user
 1431   { "Disney", 0x0aa6, "MixMax", 0x6021, DEVICE_FLAG_NONE },
 1432   // Reported by anonymous Sourceforge user
 1433   { "Tevion", 0x0aa6, "MD 81488", 0x3011, DEVICE_FLAG_NONE },
 1434   // Reported by Peter Hedlund <peter@peterandlinda.com>
 1435   { "MyMusix", 0x0aa6, "PD-6070", 0x9601, DEVICE_FLAG_UNLOAD_DRIVER |
 1436     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1437     DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
 1438     DEVICE_FLAG_NO_RELEASE_INTERFACE },
 1439 
 1440   /*
 1441    * Cowon Systems, Inc.
 1442    * The iAudio audiophile devices don't encourage the use of MTP.
 1443    * See: http://wiki.xiph.org/index.php/PortablePlayers for Ogg
 1444    * status
 1445    */
 1446   // Reported by Patrik Johansson <Patrik.Johansson@qivalue.com>
 1447   { "Cowon", 0x0e21, "iAudio U3 (MTP mode)", 0x0701,
 1448    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1449    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1450   // Reported by Kevin Michael Smith <hai-etlik@users.sourceforge.net>
 1451   { "Cowon", 0x0e21, "iAudio 6 (MTP mode)", 0x0711,
 1452    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1453   // Reported by Roberth Karman
 1454   { "Cowon", 0x0e21, "iAudio 7 (MTP mode)", 0x0751,
 1455    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1456    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1457   // Reported by an anonymous SourceForge user
 1458   { "Cowon", 0x0e21, "iAudio U5 (MTP mode)", 0x0761,
 1459    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1460    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1461   // Reported by TJ Something <tjbk_tjb@users.sourceforge.net>
 1462   { "Cowon", 0x0e21, "iAudio D2 (MTP mode)", 0x0801,
 1463    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1464    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1465   // Reported by anonymous Sourceforge user
 1466   { "Cowon", 0x0e21, "iAudio D2+ FW 2.x (MTP mode)", 0x0861,
 1467    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1468    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1469   // From Rockbox device listing
 1470   { "Cowon", 0x0e21, "iAudio D2+ DAB FW 4.x (MTP mode)", 0x0871,
 1471    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1472    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1473   // From Rockbox device listing
 1474   { "Cowon", 0x0e21, "iAudio D2+ FW 3.x (MTP mode)", 0x0881,
 1475    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1476    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1477   // From Rockbox device listing
 1478   { "Cowon", 0x0e21, "iAudio D2+ DMB FW 1.x (MTP mode)", 0x0891,
 1479    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1480    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1481   // Reported by <twkonefal@users.sourceforge.net>
 1482   { "Cowon", 0x0e21, "iAudio S9 (MTP mode)", 0x0901,
 1483    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1484    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1485   // Reported by Dan Nicholson <dbn.lists@gmail.com>
 1486   { "Cowon", 0x0e21, "iAudio 9 (MTP mode)", 0x0911,
 1487    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1488    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1489   // Reported by Franck VDL <franckv@users.sourceforge.net>
 1490   { "Cowon", 0x0e21, "iAudio J3 (MTP mode)", 0x0921,
 1491    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1492    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1493   // Reported by anonymous SourceForge user
 1494   { "Cowon", 0x0e21, "iAudio X7 (MTP mode)", 0x0931,
 1495    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1496    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1497   // Reported by anonymous SourceForge user
 1498   { "Cowon", 0x0e21, "iAudio C2 (MTP mode)", 0x0941,
 1499    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1500    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1501   { "Cowon", 0x0e21, "iAudio 10 (MTP mode)", 0x0952,
 1502    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1503    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 1504 
 1505   /*
 1506    * Insignia, dual-mode.
 1507    */
 1508   { "Insignia", 0x19ff, "NS-DV45", 0x0303, DEVICE_FLAG_UNLOAD_DRIVER },
 1509   // Reported by Rajan Bella <rajanbella@yahoo.com>
 1510   { "Insignia", 0x19ff, "Sport Player", 0x0307, DEVICE_FLAG_UNLOAD_DRIVER },
 1511   // Reported by "brad" (anonymous, sourceforge)
 1512   { "Insignia", 0x19ff, "Pilot 4GB", 0x0309, DEVICE_FLAG_UNLOAD_DRIVER },
 1513 
 1514   /*
 1515    * LG Electronics
 1516    */
 1517   // Uncertain if this is really the MTP mode device ID...
 1518   { "LG Electronics Inc.", 0x043e, "T54", 0x7040,
 1519       DEVICE_FLAG_UNLOAD_DRIVER },
 1520   // Not verified - anonymous submission
 1521   { "LG Electronics Inc.", 0x043e, "UP3", 0x70b1, DEVICE_FLAG_NONE },
 1522   // Reported by Joseph Nahmias <joe@nahimas.net>
 1523   { "LG Electronics Inc.", 0x1004, "VX8550 V CAST Mobile Phone", 0x6010,
 1524       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1525       DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
 1526   // Reported by Cyrille Potereau <cyrille.potereau@wanadoo.fr>
 1527   { "LG Electronics Inc.", 0x1004, "KC910 Renoir Mobile Phone", 0x608f,
 1528       DEVICE_FLAG_UNLOAD_DRIVER },
 1529   // Reported by Aaron Slunt <tongle@users.sourceforge.net>
 1530   { "LG Electronics Inc.", 0x1004, "GR-500 Music Player", 0x611b,
 1531       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1532       DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
 1533   { "LG Electronics Inc.", 0x1004, "KM900", 0x6132,
 1534       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1535       DEVICE_FLAG_UNLOAD_DRIVER },
 1536   { "LG Electronics Inc.", 0x1004, "LG8575", 0x619a,
 1537       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 1538       DEVICE_FLAG_UNLOAD_DRIVER },
 1539   /*
 1540    * These two are LG Android phones:
 1541    * LG-F6
 1542    * V909 G-Slate
 1543    */
 1544   { "LG Electronics Inc.", 0x1004, "Android phone (ID1)", 0x61f1,
 1545       DEVICE_FLAGS_ANDROID_BUGS },
 1546   { "LG Electronics Inc.", 0x1004, "Android phone (ID2)", 0x61f9,
 1547       DEVICE_FLAGS_ANDROID_BUGS },
 1548   /* https://sourceforge.net/p/libmtp/bugs/1007/ */
 1549   { "LG Electronics Inc.", 0x1004, "LG VS980", 0x621c,
 1550       DEVICE_FLAGS_ANDROID_BUGS },
 1551   { "LG Electronics Inc.", 0x1004, "LG2 Optimus", 0x6225,
 1552       DEVICE_FLAGS_ANDROID_BUGS },
 1553   /* https://sourceforge.net/p/libmtp/bugs/1386/ */
 1554   { "LG Electronics Inc.", 0x1004, "LG VS950", 0x622a,
 1555       DEVICE_FLAGS_ANDROID_BUGS },
 1556   { "LG Electronics Inc.", 0x1004, "LG VS870", 0x6239,
 1557       DEVICE_FLAGS_ANDROID_BUGS },
 1558   /* https://sourceforge.net/p/libmtp/bugs/992/ */
 1559   { "LG Electronics Inc.", 0x1004, "LG VS890", 0x623d,
 1560       DEVICE_FLAGS_ANDROID_BUGS },
 1561   /* https://sourceforge.net/p/libmtp/support-requests/190/ */
 1562   { "LG Electronics Inc.", 0x1004, "LG Optimus Zone 2", 0x6259,
 1563       DEVICE_FLAGS_ANDROID_BUGS },
 1564   /* https://sourceforge.net/p/libmtp/bugs/1463/ */
 1565   { "LG Electronics Inc.", 0x1004, "810 tablet", 0x6263,
 1566       DEVICE_FLAGS_ANDROID_BUGS },
 1567   { "LG Electronics Inc.", 0x1004, "VK810", 0x6265,
 1568       DEVICE_FLAGS_ANDROID_BUGS },
 1569   /* https://sourceforge.net/p/libmtp/support-requests/134/ */
 1570   { "LG Electronics Inc.", 0x1004, "G3 (VS985)", 0x626e,
 1571       DEVICE_FLAGS_ANDROID_BUGS },
 1572   { "LG Electronics Inc.", 0x1004, "G3", 0x627f,
 1573       DEVICE_FLAGS_ANDROID_BUGS },
 1574   /* https://sourceforge.net/p/libmtp/bugs/1701/ */
 1575   { "LG Electronics Inc.", 0x1004, "Transpyre", 0x628a,
 1576       DEVICE_FLAGS_ANDROID_BUGS },
 1577   /* https://sourceforge.net/p/libmtp/feature-requests/290/ */
 1578   { "LG Electronics Inc.", 0x1004, "LG G6 Phone", 0x62c9,
 1579       DEVICE_FLAGS_ANDROID_BUGS },
 1580   /* https://sourceforge.net/p/libmtp/feature-requests/222/ */
 1581   { "LG Electronics Inc.", 0x1004, "LG G5 Phone", 0x62ce,
 1582       DEVICE_FLAGS_ANDROID_BUGS },
 1583   /*
 1584    * This VID+PID is used by a lot of LG models:
 1585    * E430
 1586    * E460
 1587    * E610
 1588    * E612
 1589    * E617G
 1590    * E970
 1591    * P700
 1592    */
 1593   { "LG Electronics Inc.", 0x1004, "Various E and P models", 0x631c,
 1594       DEVICE_FLAGS_ANDROID_BUGS },
 1595   /* https://sourceforge.net/p/libmtp/bugs/1294/ */
 1596   { "LG Electronics Inc.", 0x1004, "LG G Flex 2", 0x633e,
 1597       DEVICE_FLAGS_ANDROID_BUGS },
 1598   /* https://sourceforge.net/p/libmtp/support-requests/280/ */
 1599   { "LG Electronics Inc.", 0x1004, "LG G3 f460s", 0x633f,
 1600       DEVICE_FLAGS_ANDROID_BUGS },
 1601 
 1602   /*
 1603    * Sony
 1604    * It could be that these PIDs are one-per hundred series, so
 1605    * NWZ-A8xx is 0325, NWZ-S5xx is 0x326 etc. We need more devices
 1606    * reported to see a pattern here.
 1607    */
 1608   // Reported by Alessandro Radaelli <alessandro.radaelli@aruba.it>
 1609   { "Sony", 0x054c, "NWZ-A815/NWZ-A818", 0x0325,
 1610       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1611   // Reported by anonymous Sourceforge user.
 1612   { "Sony", 0x054c, "NWZ-S516", 0x0326,
 1613       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1614   // Reported by Endre Oma <endre.88.oma@gmail.com>
 1615   { "Sony", 0x054c, "NWZ-S615F/NWZ-S616F/NWZ-S618F", 0x0327,
 1616       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1617   // Reported by Jean-Marc Bourguet <jm@bourguet.org>
 1618   { "Sony", 0x054c, "NWZ-S716F", 0x035a,
 1619       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1620   // Reported by Anon SF User / Anthon van der Neut <avanderneut@avid.com>
 1621   { "Sony", 0x054c, "NWZ-A826/NWZ-A828/NWZ-A829", 0x035b,
 1622       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1623   // Reported by Niek Klaverstijn <niekez@users.sourceforge.net>
 1624   { "Sony", 0x054c, "NWZ-A726/NWZ-A728/NWZ-A768", 0x035c,
 1625       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1626   // Reported by Mehdi AMINI <mehdi.amini - at - ulp.u-strasbg.fr>
 1627   { "Sony", 0x054c, "NWZ-B135", 0x036e,
 1628       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1629   // Reported by <tiagoboldt@users.sourceforge.net>
 1630   { "Sony", 0x054c, "NWZ-E436F", 0x0385,
 1631       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1632   // Reported by Michael Wilkinson
 1633   { "Sony", 0x054c, "NWZ-W202", 0x0388,
 1634       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1635   // Reported by Ondrej Sury <ondrej@sury.org>
 1636   { "Sony", 0x054c, "NWZ-S739F", 0x038c,
 1637       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1638   // Reported by Marco Filipe Nunes Soares Abrantes Pereira <marcopereira@ua.pt>
 1639   { "Sony", 0x054c, "NWZ-S638F", 0x038e,
 1640       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1641   // Reported by Elliot <orwells@users.sourceforge.net>
 1642   { "Sony", 0x054c, "NWZ-X1050B/NWZ-X1060B",
 1643     0x0397, DEVICE_FLAGS_SONY_NWZ_BUGS },
 1644   // Reported by Silvio J. Gutierrez <silviogutierrez@users.sourceforge.net>
 1645   { "Sony", 0x054c, "NWZ-X1051/NWZ-X1061", 0x0398,
 1646       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1647   // Reported by Gregory Boddin <gregory@siwhine.net>
 1648   { "Sony", 0x054c, "NWZ-B142F", 0x03d8,
 1649       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1650   // Reported by Rick Warner <rick@reptileroom.net>
 1651   { "Sony", 0x054c, "NWZ-E344/E345", 0x03fc,
 1652       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1653   // Reported by Jonathan Stowe <gellyfish@users.sourceforge.net>
 1654   { "Sony", 0x054c, "NWZ-E445", 0x03fd,
 1655       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1656   // Reported by Anonymous SourceForge user
 1657   { "Sony", 0x054c, "NWZ-S545", 0x03fe,
 1658       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1659   { "Sony", 0x054c, "NWZ-A845", 0x0404,
 1660       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1661   // Reported by anonymous SourceForge user
 1662   { "Sony", 0x054c, "NWZ-W252B", 0x04bb,
 1663       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1664   // Suspect this device has strong DRM features
 1665   // See https://answers.launchpad.net/ubuntu/+source/libmtp/+question/149587
 1666   { "Sony", 0x054c, "NWZ-B153F", 0x04be,
 1667       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1668   { "Sony", 0x054c, "NWZ-E354", 0x04cb,
 1669       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1670   // Reported by Toni Burgarello
 1671   { "Sony", 0x054c, "NWZ-S754", 0x04cc,
 1672       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1673   // Reported by Hideki Yamane <henrich@debian.org>
 1674   { "Sony", 0x054c, "Sony Tablet P1", 0x04d1,
 1675       DEVICE_FLAGS_ANDROID_BUGS },
 1676   // Reported by dmiceman
 1677   { "Sony", 0x054c, "NWZ-B163F", 0x059a,
 1678       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1679   { "Sony", 0x054c, "NWZ-E464", 0x05a6,
 1680       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1681   // Reported by Jan Rheinlaender <jrheinlaender@users.sourceforge.net>
 1682   { "Sony", 0x054c, "NWZ-S765", 0x05a8,
 1683       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1684   // Olivier Keshavjee <olivierkes@users.sourceforge.net>
 1685   { "Sony", 0x054c, "Sony Tablet S", 0x05b3,
 1686       DEVICE_FLAGS_ANDROID_BUGS },
 1687   // Reported by ghalambaz <ghalambaz@users.sourceforge.net>
 1688   { "Sony", 0x054c, "Sony Tablet S1", 0x05b4,
 1689       DEVICE_FLAGS_ANDROID_BUGS },
 1690   { "Sony", 0x054c, "NWZ-B173F", 0x0689,
 1691       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1692   /* https://sourceforge.net/p/libmtp/bugs/1540/ */
 1693   { "Sony", 0x054c, "NWZ-E474", 0x06a9,
 1694       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1695   { "Sony", 0x054c, "Xperia Tablet S - SGPT12", 0x06ac,
 1696       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1697   /* https://sourceforge.net/p/libmtp/bugs/1688/ */
 1698   { "Sony", 0x054c, "NWZ-E384", 0x0882,
 1699       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1700   /* hartmut001@users.sourceforge.net */
 1701   { "Sony", 0x054c, "NW-A45 Walkman", 0x0c71,
 1702       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1703   { "Sony", 0x054c, "DCR-SR75", 0x1294,
 1704       DEVICE_FLAGS_SONY_NWZ_BUGS },
 1705 
 1706   /*
 1707    * SonyEricsson
 1708    * These initially seemed to support GetObjPropList but later revisions
 1709    * of the firmware seem to have broken it, so all are flagged as broken
 1710    * for now.
 1711    */
 1712   // Reported by Øyvind Stegard <stegaro@users.sourceforge.net>
 1713   { "SonyEricsson", 0x0fce, "K850i", 0x0075,
 1714       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1715   // Reported by Michael Eriksson
 1716   { "SonyEricsson", 0x0fce, "W910", 0x0076,
 1717       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1718   // Reported by Zack <zackdvd@users.sourceforge.net>
 1719   { "SonyEricsson", 0x0fce, "W890i", 0x00b3,
 1720       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1721   // Reported by robert dot ahlskog at gmail
 1722   { "SonyEricsson", 0x0fce, "W760i", 0x00c6,
 1723       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1724   // Reported by Linus Åkesson <linusakesson@users.sourceforge.net>
 1725   { "SonyEricsson", 0x0fce, "C902", 0x00d4,
 1726       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1727   // Reported by an anonymous SourceForge user
 1728   { "SonyEricsson", 0x0fce, "C702", 0x00d9,
 1729       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1730   // Reported by Christian Zuckschwerdt <christian@zuckschwerdt.org>
 1731   { "SonyEricsson", 0x0fce, "W980", 0x00da,
 1732       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1733   // Reported by David Taylor <davidt-libmtp@yadt.co.uk>
 1734   { "SonyEricsson", 0x0fce, "C905", 0x00ef,
 1735       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1736   // Reported by David House <dmhouse@users.sourceforge.net>
 1737   { "SonyEricsson", 0x0fce, "W595", 0x00f3,
 1738       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
 1739       DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
 1740   // Reported by Mattias Evensson <mevensson@users.sourceforge.net>
 1741   { "SonyEricsson", 0x0fce, "W902", 0x00f5,
 1742       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1743   // Reported by Sarunas <sarunas@users.sourceforge.net>
 1744   // Doesn't need any flags according to reporter
 1745   { "SonyEricsson", 0x0fce, "T700", 0x00fb,
 1746       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 1747   // Reported by Stéphane Pontier <shadow_walker@users.sourceforge.net>
 1748   { "SonyEricsson", 0x0fce, "W705/W715", 0x0105,
 1749       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1750   // Reported by Håkan Kvist
 1751   { "SonyEricsson", 0x0fce, "W995", 0x0112,
 1752       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1753   // Reported by anonymous SourceForge user
 1754   { "SonyEricsson", 0x0fce, "U5", 0x0133,
 1755       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1756   // Reported by Flo <lhugsereg@users.sourceforge.net>
 1757   { "SonyEricsson", 0x0fce, "U8i", 0x013a,
 1758       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1759   // Reported by xirotyu <xirotyu@users.sourceforge.net>
 1760   { "SonyEricsson", 0x0fce,  "j10i2 (Elm)", 0x0144,
 1761       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1762   // Reported by Serge Chirik <schirik@users.sourceforge.net>
 1763   { "SonyEricsson", 0x0fce,  "j108i (Cedar)", 0x014e,
 1764       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1765   // Reported by Jonas Nyrén <spectralmks@users.sourceforge.net>
 1766   { "SonyEricsson", 0x0fce, "W302", 0x10c8,
 1767       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1768   // Reported by Anonymous Sourceforge user
 1769   { "SonyEricsson", 0x0fce,  "j10i (Elm)", 0xd144,
 1770       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1771   // Reported by Thomas Schweitzer <thomas_-_s@users.sourceforge.net>
 1772   { "SonyEricsson", 0x0fce, "K550i", 0xe000,
 1773       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 1774 
 1775   /*
 1776    * SonyEricsson/SONY Android devices usually have three personalities due to
 1777    * using composite descriptors and the fact that Windows cannot distinguish
 1778    * the device unless each composite descriptor is unique.
 1779    *
 1780    * Legend:
 1781    * MTP = Media Transfer Protocol
 1782    * UMS = USB Mass Storage Protocol
 1783    * ADB = Android Debug Bridge Protocol
 1784    * CDC = Communications Device Class, Internet Sharing
 1785    *
 1786    * 0x0nnn = MTP
 1787    * 0x4nnn = MTP + UMS (for CD-ROM)
 1788    * 0x5nnn = MTP + ADB
 1789    * 0x6nnn = UMS + ADB
 1790    * 0x7nnn = MTP + CDC
 1791    * 0x8nnn = MTP + CDC + ADB
 1792    * 0xannn = MTP + UMS (MTP for eMMC and UMS for external SD card)
 1793    * 0xbnnn = MTP + UMS + ADB
 1794    * 0xennn = UMS only
 1795    *
 1796    * The SonyEricsson and SONY devices have (at least) two deployed MTP
 1797    * stacks: Aricent and Android. These have different bug flags, and
 1798    * sometimes the same device has firmware upgrades moving it from
 1799    * the Aricent to Android MTP stack without changing the device
 1800    * VID+PID (first observed on the SK17i Xperia Mini Pro), so the
 1801    * detection has to be more elaborate. The code in libmtp.c will do
 1802    * this and assign the proper bug flags (hopefully).
 1803    * That is why DEVICE_FLAG_NONE is used for these devices.
 1804    *
 1805    * Devices reported by:
 1806    * Sony Mobile Communications (via Toby Collett)
 1807    * Jonas Salling
 1808    * Eamonn Webster <eweb@users.sourceforge.net>
 1809    * Alejandro DC <Alejandro_DC@users.sourceforge.ne>
 1810    * StehpanKa <stehp@users.sourceforge.net>
 1811    * hdhoang <hdhoang@users.sourceforge.net>
 1812    * Paul Taylor
 1813    * Bruno Basilio <bbasilio@users.sourceforge.net>
 1814    * Christoffer Holmstedt <christofferh@users.sourceforge.net>
 1815    * equaeghe <equaeghe@users.sourceforge.net>
 1816    * Ondra Lengal
 1817    * Michael K. <kmike@users.sourceforge.net>
 1818    * Jean-François  B. <changi67@users.sourceforge.net>
 1819    * Eduard Bloch <blade@debian.org>
 1820    * Ah Hong <hongster@users.sourceforge.net>
 1821    * Eowyn Carter
 1822    */
 1823   { "SonyEricsson", 0x0fce,  "c1605 Xperia Dual E MTP", 0x0146,
 1824       DEVICE_FLAG_NONE },
 1825   { "SonyEricsson", 0x0fce, "LT15i Xperia arc S MTP", 0x014f,
 1826       DEVICE_FLAG_NONE },
 1827   { "SonyEricsson", 0x0fce, "MT11i Xperia Neo MTP", 0x0156,
 1828       DEVICE_FLAG_NONE },
 1829   { "SonyEricsson", 0x0fce, "IS12S Xperia Acro MTP", 0x0157,
 1830       DEVICE_FLAG_NONE },
 1831   { "SonyEricsson", 0x0fce, "MK16i Xperia MTP", 0x015a,
 1832       DEVICE_FLAG_NONE },
 1833   { "SonyEricsson", 0x0fce, "R800/R88i Xperia Play MTP", 0x015d,
 1834       DEVICE_FLAG_NONE },
 1835   { "SonyEricsson", 0x0fce, "ST18a Xperia Ray MTP", 0x0161,
 1836       DEVICE_FLAG_NONE },
 1837   { "SonyEricsson", 0x0fce, "SK17i Xperia Mini Pro MTP", 0x0166,
 1838       DEVICE_FLAG_NONE },
 1839   { "SonyEricsson", 0x0fce, "ST15i Xperia Mini MTP", 0x0167,
 1840       DEVICE_FLAG_NONE },
 1841   { "SonyEricsson", 0x0fce, "ST17i Xperia Active MTP", 0x0168,
 1842       DEVICE_FLAG_NONE },
 1843   { "SONY", 0x0fce, "LT26i Xperia S MTP", 0x0169,
 1844       DEVICE_FLAG_NO_ZERO_READS },
 1845   { "SONY", 0x0fce, "WT19i Live Walkman MTP", 0x016d,
 1846       DEVICE_FLAG_NONE },
 1847   { "SONY", 0x0fce, "ST21i Xperia Tipo MTP", 0x0170,
 1848       DEVICE_FLAG_NONE },
 1849   { "SONY", 0x0fce, "ST15i Xperia U MTP", 0x0171,
 1850       DEVICE_FLAG_NONE },
 1851   { "SONY", 0x0fce, "LT22i Xperia P MTP", 0x0172,
 1852       DEVICE_FLAG_NONE },
 1853   { "SONY", 0x0fce, "MT27i Xperia Sola MTP", 0x0173,
 1854       DEVICE_FLAG_NONE },
 1855   { "SONY", 0x0fce, "LT26w Xperia Acro HD IS12S MTP", 0x0175,
 1856       DEVICE_FLAG_NONE },
 1857   { "SONY", 0x0fce, "LT26w Xperia Acro HD SO-03D MTP", 0x0176,
 1858       DEVICE_FLAG_NONE },
 1859   { "SONY", 0x0fce, "LT28at Xperia Ion MTP", 0x0177,
 1860       DEVICE_FLAG_NONE },
 1861   { "SONY", 0x0fce, "LT29i Xperia GX MTP", 0x0178,
 1862       DEVICE_FLAG_NONE },
 1863   { "SONY", 0x0fce, "ST27i/ST27a Xperia go MTP", 0x017e,
 1864       DEVICE_FLAG_NONE },
 1865   { "SONY", 0x0fce, "ST23i Xperia Miro MTP", 0x0180,
 1866       DEVICE_FLAG_NONE },
 1867   { "SONY", 0x0fce, "SO-05D Xperia SX MTP", 0x0181,
 1868       DEVICE_FLAG_NONE },
 1869   { "SONY", 0x0fce, "LT30p Xperia T MTP", 0x0182,
 1870       DEVICE_FLAG_NONE },
 1871   { "SONY", 0x0fce, "LT25i Xperia V MTP", 0x0186,
 1872       DEVICE_FLAG_NONE },
 1873   { "SONY", 0x0fce, "Xperia J MTP", 0x0188,
 1874       DEVICE_FLAG_NONE },
 1875   { "SONY", 0x0fce, "Xperia ZL MTP", 0x0189,
 1876       DEVICE_FLAG_NONE },
 1877   { "SONY", 0x0fce, "Xperia E MTP", 0x018c,
 1878       DEVICE_FLAG_NONE },
 1879   { "SONY", 0x0fce, "Xperia Tablet Z MTP 1", 0x018d,
 1880       DEVICE_FLAG_NONE },
 1881   { "SONY", 0x0fce, "Xperia L MTP", 0x0192,
 1882       DEVICE_FLAG_NONE },
 1883   { "SONY", 0x0fce, "Xperia Z MTP", 0x0193,
 1884       DEVICE_FLAG_NONE },
 1885   { "SONY", 0x0fce, "Xperia Tablet Z MTP 2", 0x0194,
 1886       DEVICE_FLAG_NONE },
 1887   { "SONY", 0x0fce, "Xperia SP MTP", 0x0195,
 1888       DEVICE_FLAG_NONE },
 1889   { "SONY", 0x0fce, "Xperia Z Ultra MTP (ID2)", 0x0196,
 1890       DEVICE_FLAGS_ANDROID_BUGS },
 1891   { "SONY", 0x0fce, "Xperia ZR MTP", 0x0197,
 1892       DEVICE_FLAGS_ANDROID_BUGS },
 1893   { "SONY", 0x0fce, "Xperia A MTP", 0x0198,
 1894       DEVICE_FLAGS_ANDROID_BUGS },
 1895   { "SONY", 0x0fce, "Xperia M MTP", 0x019b,
 1896       DEVICE_FLAG_NONE },
 1897   { "SONY", 0x0fce, "Xperia Z Ultra MTP (ID3)", 0x019c,
 1898       DEVICE_FLAG_NONE },
 1899   { "SONY", 0x0fce, "Xperia Z1 MTP", 0x019e,
 1900       DEVICE_FLAG_NONE },
 1901   { "SONY", 0x0fce, "Xperia C MTP", 0x01a3,
 1902       DEVICE_FLAG_NONE },
 1903   { "SONY", 0x0fce, "Xperia Z1 Compact D5503", 0x01a7,
 1904       DEVICE_FLAG_NONE },
 1905   { "SONY", 0x0fce, "Xperia T2 Ultra MTP", 0x01a9,
 1906       DEVICE_FLAG_NONE },
 1907   { "SONY", 0x0fce, "Xperia M2 MTP", 0x01aa,
 1908       DEVICE_FLAG_NONE },
 1909   { "SONY", 0x0fce, "Xperia M2 Dual MTP", 0x01ab,
 1910       DEVICE_FLAG_NONE },
 1911   { "SONY", 0x0fce, "Xperia Z2 MTP", 0x01af,
 1912       DEVICE_FLAG_NONE },
 1913   { "SONY", 0x0fce, "Xperia Z3v MTP", 0x01b0,
 1914       DEVICE_FLAGS_ANDROID_BUGS },
 1915   { "SONY", 0x0fce, "Xperia Z2 Tablet MTP", 0x01b1,
 1916       DEVICE_FLAGS_ANDROID_BUGS },
 1917   { "SONY", 0x0fce, "Xperia E1 MTP", 0x01b5,
 1918       DEVICE_FLAGS_ANDROID_BUGS },
 1919   { "SONY", 0x0fce, "Xperia Z Ultra MTP", 0x01b6,
 1920       DEVICE_FLAGS_ANDROID_BUGS },
 1921   { "SONY", 0x0fce, "Xperia M2 Aqua MTP", 0x01b8,
 1922       DEVICE_FLAGS_ANDROID_BUGS },
 1923   { "SONY", 0x0fce, "Xperia Z3 MTP", 0x01ba,
 1924       DEVICE_FLAG_NONE },
 1925   { "SONY", 0x0fce, "Xperia Z3 Compact MTP", 0x01bb,
 1926       DEVICE_FLAG_NONE },
 1927   { "SONY", 0x0fce, "Xperia E3 MTP", 0x01bc,
 1928       DEVICE_FLAG_NONE },
 1929   { "SONY", 0x0fce, "Xperia Z3 Tablet MTP", 0x01c0,
 1930       DEVICE_FLAG_NONE },
 1931   { "SONY", 0x0fce, "XPeria M4 Aqua Dual MTP", 0x01c4,
 1932       DEVICE_FLAG_NONE },
 1933   { "SONY", 0x0fce, "E2115 MTP", 0x01c5,
 1934       DEVICE_FLAG_NONE },
 1935   { "SONY", 0x0fce, "XPeria Z3+ MTP", 0x01c9,
 1936       DEVICE_FLAG_NONE },
 1937   { "SONY", 0x0fce, "XPeria E4g MTP", 0x01cb,
 1938       DEVICE_FLAG_NONE },
 1939   { "SONY", 0x0fce, "C4 Dual MTP", 0x01d2,
 1940       DEVICE_FLAG_NONE },
 1941   { "SONY", 0x0fce, "XPeria M5 MTP", 0x01d6,
 1942       DEVICE_FLAG_NONE },
 1943   { "SONY", 0x0fce, "XPeria Z5 MTP", 0x01d9,
 1944       DEVICE_FLAG_NONE },
 1945   { "SONY", 0x0fce, "XPeria Z5 Compact MTP", 0x01da,
 1946       DEVICE_FLAG_NONE },
 1947   /* https://sourceforge.net/p/libmtp/feature-requests/236/ */
 1948   { "SONY", 0x0fce, "XPeria Z5 Premium Dual Sim MTP", 0x01db,
 1949       DEVICE_FLAG_NONE },
 1950   /* https://sourceforge.net/p/libmtp/bugs/1649/ */
 1951   { "SONY", 0x0fce, "XPeria XA MTP", 0x01de,
 1952       DEVICE_FLAG_NONE },
 1953   { "SONY", 0x0fce, "XPeria X MTP", 0x01e0,
 1954       DEVICE_FLAG_NONE },
 1955   /* https://sourceforge.net/p/libmtp/feature-requests/251/ */
 1956   { "SONY", 0x0fce, "XPeria SOV33", 0x01e1,
 1957       DEVICE_FLAG_NONE },
 1958   { "SONY", 0x0fce, "XPeria XZ MTP", 0x01e7,
 1959       DEVICE_FLAG_NONE },
 1960   { "SONY", 0x0fce, "XPeria X Compact MTP", 0x01e8,
 1961       DEVICE_FLAG_NONE },
 1962   /* https://sourceforge.net/p/libmtp/feature-requests/252/ */
 1963   { "SONY", 0x0fce, "XPeria G3123", 0x01eb,
 1964       DEVICE_FLAG_NONE },
 1965   /* https://sourceforge.net/p/libmtp/support-requests/247/ */
 1966   { "SONY", 0x0fce, "XPeria XZ", 0x01ed,
 1967       DEVICE_FLAG_NONE },
 1968   /* https://sourceforge.net/p/libmtp/bugs/1812/ */
 1969   { "SONY", 0x0fce, "XPeria XA1 Ultra", 0x01ef,
 1970       DEVICE_FLAG_NONE },
 1971   /* https://sourceforge.net/p/libmtp/support-requests/251/ */
 1972   { "SONY", 0x0fce, "XPeria XZ Premium", 0x01f1,
 1973       DEVICE_FLAG_NONE },
 1974   /* Nicholas O'Connor <lavacano@lavacano.net> on libmtp-discuss */
 1975   { "SONY", 0x0fce, "XPeria XZ1", 0x01f3,
 1976       DEVICE_FLAG_NONE },
 1977   /* https://sourceforge.net/p/libmtp/support-requests/252/ */
 1978   { "SONY", 0x0fce, "XPeria XZ1 Compact", 0x01f4,
 1979       DEVICE_FLAG_NONE },
 1980   /* https://sourceforge.net/p/libmtp/feature-requests/281/ */
 1981   { "SONY", 0x0fce, "XPeria L2", 0x01f6,
 1982       DEVICE_FLAG_NONE },
 1983   { "SONY", 0x0fce, "XPeria XA2 Compact", 0x01f7,
 1984       DEVICE_FLAG_NONE },
 1985   /* https://sourceforge.net/p/libmtp/support-requests/285/ */
 1986   { "SONY", 0x0fce, "XPeria XA2 Ultra", 0x01f8,
 1987       DEVICE_FLAG_NONE },
 1988   /* https://sourceforge.net/p/libmtp/bugs/1804/ */
 1989   { "SONY", 0x0fce, "Xperia XZ2 Compact Dual Sim", 0x01f9,
 1990       DEVICE_FLAG_NONE },
 1991   /* https://sourceforge.net/p/libmtp/bugs/1775/ */
 1992   { "SONY", 0x0fce, "Xperia XZ2 (H8266)", 0x01fa,
 1993       DEVICE_FLAG_NONE },
 1994   /* https://sourceforge.net/p/libmtp/bugs/1854/ */
 1995   { "SONY", 0x0fce, "Xperia XZ2 Premium", 0x01fb,
 1996       DEVICE_FLAG_NONE },
 1997   { "SONY", 0x0fce, "Xperia XZ3 Dual Sim (H9436)", 0x01ff,
 1998       DEVICE_FLAG_NONE },
 1999   /* https://sourceforge.net/p/libmtp/bugs/1853/ */
 2000   { "SONY", 0x0fce, "Xperia 10 (I4113)", 0x0201,
 2001       DEVICE_FLAG_NONE },
 2002   /* https://sourceforge.net/p/libmtp/bugs/1859/ */
 2003   { "SONY", 0x0fce, "Xperia 1 (J9110)", 0x0205,
 2004       DEVICE_FLAG_NONE },
 2005   /* https://sourceforge.net/p/libmtp/bugs/1849/ */
 2006   { "SONY", 0x0fce, "Xperia I4312", 0x0207,
 2007       DEVICE_FLAG_NONE },
 2008 
 2009   /* https://bugs.kde.org/show_bug.cgi?id=387454 ... probably not in the ADB/CDROM method? */
 2010   { "SONY", 0x0fce, "Xperia XA2 (Jolla Sailfish)", 0x0a07,
 2011       DEVICE_FLAG_NONE },
 2012 
 2013   /*
 2014    * MTP+UMS personalities of MTP devices (see above)
 2015    */
 2016   { "SonyEricsson", 0x0fce, "IS12S Xperia Acro MTP+CDROM", 0x4157,
 2017       DEVICE_FLAG_NONE },
 2018   { "SonyEricsson", 0x0fce, "ST17i Xperia Active MTP+CDROM", 0x4168,
 2019       DEVICE_FLAG_NONE },
 2020   { "SONY", 0x0fce, "LT26i Xperia S MTP+CDROM", 0x4169,
 2021       DEVICE_FLAG_NO_ZERO_READS },
 2022   { "SONY", 0x0fce, "ST21i Xperia Tipo MTP+CDROM", 0x4170,
 2023       DEVICE_FLAG_NONE },
 2024   { "SONY", 0x0fce, "ST25i Xperia U MTP+CDROM", 0x4171,
 2025       DEVICE_FLAG_NONE },
 2026   { "SONY", 0x0fce, "LT22i Xperia P MTP+CDROM", 0x4172,
 2027       DEVICE_FLAG_NONE },
 2028   { "SONY", 0x0fce, "MT27i Xperia Sola MTP+CDROM", 0x4173,
 2029       DEVICE_FLAG_NONE },
 2030   { "SONY", 0x0fce, "LT26w Xperia Acro HD IS12S MTP+CDROM", 0x4175,
 2031       DEVICE_FLAG_NONE },
 2032   { "SONY", 0x0fce, "LT26w Xperia Acro HD SO-03D MTP+CDROM", 0x4176,
 2033       DEVICE_FLAG_NONE },
 2034   { "SONY", 0x0fce, "LT28at Xperia Ion MTP+CDROM", 0x4177,
 2035       DEVICE_FLAG_NONE },
 2036   { "SONY", 0x0fce, "LT29i Xperia GX MTP+CDROM", 0x4178,
 2037       DEVICE_FLAG_NONE },
 2038   { "SONY", 0x0fce, "ST27i/ST27a Xperia go MTP+CDROM", 0x417e,
 2039       DEVICE_FLAG_NONE },
 2040   { "SONY", 0x0fce, "ST23i Xperia Miro MTP+CDROM", 0x4180,
 2041       DEVICE_FLAG_NONE },
 2042   { "SONY", 0x0fce, "SO-05D Xperia SX MTP+CDROM", 0x4181,
 2043       DEVICE_FLAG_NONE },
 2044   { "SONY", 0x0fce, "LT30p Xperia T MTP+CDROM", 0x4182,
 2045       DEVICE_FLAG_NONE },
 2046   { "SONY", 0x0fce, "LT25i Xperia V MTP+CDROM", 0x4186,
 2047       DEVICE_FLAG_NONE },
 2048   { "SONY", 0x0fce, "Xperia J MTP+CDROM", 0x4188,
 2049       DEVICE_FLAG_NONE },
 2050   { "SONY", 0x0fce, "Xperia ZL MTP+CDROM", 0x4189,
 2051       DEVICE_FLAG_NONE },
 2052   { "SONY", 0x0fce, "Xperia E MTP+CDROM", 0x418c,
 2053       DEVICE_FLAG_NONE },
 2054   { "SONY", 0x0fce, "Xperia Tablet Z MTP+CDROM 1", 0x418d,
 2055       DEVICE_FLAG_NONE },
 2056   { "SONY", 0x0fce, "Xperia L MTP+CDROM", 0x4192,
 2057       DEVICE_FLAG_NONE },
 2058   { "SONY", 0x0fce, "Xperia Z MTP+CDROM", 0x4193,
 2059       DEVICE_FLAG_NONE },
 2060   { "SONY", 0x0fce, "Xperia Tablet Z MTP+CDROM 2", 0x4194,
 2061       DEVICE_FLAG_NONE },
 2062   { "SONY", 0x0fce, "Xperia SP MTP+CDROM", 0x4195,
 2063       DEVICE_FLAG_NONE },
 2064   { "SONY", 0x0fce, "Xperia M MTP+CDROM", 0x419b,
 2065       DEVICE_FLAG_NONE },
 2066   { "SONY", 0x0fce, "Xperia Z Ultra MTP+CDROM (ID3)", 0x419c,
 2067       DEVICE_FLAG_NONE },
 2068   { "SONY", 0x0fce, "Xperia Z1 MTP+CDROM", 0x419e,
 2069       DEVICE_FLAG_NONE },
 2070   { "SONY", 0x0fce, "Xperia C MTP+CDROM", 0x41a3,
 2071       DEVICE_FLAG_NONE },
 2072   { "SONY", 0x0fce, "Xperia Z1 Compact D5503 MTP+CDROM", 0x41a7,
 2073       DEVICE_FLAG_NONE },
 2074   { "SONY", 0x0fce, "Xperia T2 Ultra MTP+CDROM", 0x41a9,
 2075       DEVICE_FLAG_NONE },
 2076   { "SONY", 0x0fce, "Xperia M2 MTP+CDROM", 0x41aa,
 2077       DEVICE_FLAG_NONE },
 2078   { "SONY", 0x0fce, "Xperia M2 Dual MTP+CDROM", 0x41ab,
 2079       DEVICE_FLAG_NONE },
 2080   { "SONY", 0x0fce, "Xperia Z2 MTP+CDROM", 0x41af,
 2081       DEVICE_FLAG_NONE },
 2082   { "SONY", 0x0fce, "Xperia Z3v MTP+CDROM", 0x41b0,
 2083       DEVICE_FLAGS_ANDROID_BUGS },
 2084   { "SONY", 0x0fce, "Xperia Z2 Tablet MTP+CDROM", 0x41b1,
 2085       DEVICE_FLAGS_ANDROID_BUGS },
 2086   { "SONY", 0x0fce, "Xperia E1 MTP+CDROM", 0x41b5,
 2087       DEVICE_FLAGS_ANDROID_BUGS },
 2088   { "SONY", 0x0fce, "Xperia Z Ultra MTP+CDROM", 0x41b6,
 2089       DEVICE_FLAGS_ANDROID_BUGS },
 2090   { "SONY", 0x0fce, "Xperia M2 Aqua MTP+CDROM", 0x41b8,
 2091       DEVICE_FLAGS_ANDROID_BUGS },
 2092   { "SONY", 0x0fce, "Xperia Z3 MTP+CDROM", 0x41ba,
 2093       DEVICE_FLAG_NONE },
 2094   { "SONY", 0x0fce, "Xperia Z3 Compact MTP+CDROM", 0x41bb,
 2095       DEVICE_FLAG_NONE },
 2096   { "SONY", 0x0fce, "Xperia E3 MTP+CDROM", 0x41bc,
 2097       DEVICE_FLAG_NONE },
 2098   { "SONY", 0x0fce, "Xperia Z3 Tablet MTP+CDROM", 0x41c0,
 2099       DEVICE_FLAG_NONE },
 2100   { "SONY", 0x0fce, "XPeria M4 Aqua Dual MTP+CDROM", 0x41c4,
 2101       DEVICE_FLAG_NONE },
 2102   { "SONY", 0x0fce, "E2115 MTP+CDROM", 0x41c5,
 2103       DEVICE_FLAG_NONE },
 2104   { "SONY", 0x0fce, "XPeria Z3+ MTP+CDROM", 0x41c9,
 2105       DEVICE_FLAG_NONE },
 2106   { "SONY", 0x0fce, "XPeria E4g MTP+CDROM", 0x41cb,
 2107       DEVICE_FLAG_NONE },
 2108   { "SONY", 0x0fce, "C4 Dual MTP+CDROM", 0x41d2,
 2109       DEVICE_FLAG_NONE },
 2110   { "SONY", 0x0fce, "XPeria M5 MTP+CDROM", 0x41d6,
 2111       DEVICE_FLAG_NONE },
 2112   { "SONY", 0x0fce, "XPeria Z5 MTP+CDROM", 0x41d9,
 2113       DEVICE_FLAG_NONE },
 2114   { "SONY", 0x0fce, "XPeria Z5 Compact MTP+CDROM", 0x41da,
 2115       DEVICE_FLAG_NONE },
 2116   { "SONY", 0x0fce, "XPeria Z5 Premium Dual Sim MTP+CDROM", 0x41db,
 2117       DEVICE_FLAG_NONE },
 2118   { "SONY", 0x0fce, "XPeria XA MTP+CDROM", 0x41de,
 2119       DEVICE_FLAG_NONE },
 2120   { "SONY", 0x0fce, "XPeria X MTP+CDROM", 0x41e0,
 2121       DEVICE_FLAG_NONE },
 2122   { "SONY", 0x0fce, "XPeria SOV33 MTP+CDROM", 0x41e1,
 2123       DEVICE_FLAG_NONE },
 2124   { "SONY", 0x0fce, "XPeria XZ MTP+CDROM", 0x41e7,
 2125       DEVICE_FLAG_NONE },
 2126   { "SONY", 0x0fce, "XPeria X Compact MTP+CDROM", 0x41e8,
 2127       DEVICE_FLAG_NONE },
 2128   { "SONY", 0x0fce, "XPeria G3123 MTP+CDROM", 0x41eb,
 2129       DEVICE_FLAG_NONE },
 2130   { "SONY", 0x0fce, "XPeria XZ CDROM", 0x41ed,
 2131       DEVICE_FLAG_NONE },
 2132   { "SONY", 0x0fce, "XPeria XA1 Ultra MTP+CDROM", 0x41ef,
 2133       DEVICE_FLAG_NONE },
 2134   { "SONY", 0x0fce, "XPeria XZ Premium MTP+CDROM", 0x41f1,
 2135       DEVICE_FLAG_NONE },
 2136   { "SONY", 0x0fce, "XPeria XZ1 MTP+CDROM", 0x41f3,
 2137       DEVICE_FLAG_NONE },
 2138   { "SONY", 0x0fce, "XPeria XZ1 Compact MTP+CDROM", 0x41f4,
 2139       DEVICE_FLAG_NONE },
 2140   { "SONY", 0x0fce, "XPeria L2 MTP+CDROM", 0x41f6,
 2141       DEVICE_FLAG_NONE },
 2142   { "SONY", 0x0fce, "XPeria XA2 Compact MTP+CDROM", 0x41f7,
 2143       DEVICE_FLAG_NONE },
 2144   { "SONY", 0x0fce, "XPeria XA2 Ultra MTP+CDROM", 0x41f8,
 2145       DEVICE_FLAG_NONE },
 2146   { "SONY", 0x0fce, "Xperia XZ2 Compact Dual Sim MTP+CDROM", 0x41f9,
 2147       DEVICE_FLAG_NONE },
 2148   { "SONY", 0x0fce, "Xperia XZ2 (H8266) MTP+CDROM", 0x41fa,
 2149       DEVICE_FLAG_NONE },
 2150   { "SONY", 0x0fce, "Xperia XZ2 Premium MTP+CDROM", 0x41fb,
 2151       DEVICE_FLAG_NONE },
 2152   { "SONY", 0x0fce, "Xperia XZ3 Dual Sim (H9436) MTP+CDROM", 0x41ff,
 2153       DEVICE_FLAG_NONE },
 2154   { "SONY", 0x0fce, "Xperia 10 (I4113) MTP+CDROM", 0x4201,
 2155       DEVICE_FLAG_NONE },
 2156   { "SONY", 0x0fce, "Xperia 1 (J9110) MTP+CDROM", 0x4205,
 2157       DEVICE_FLAG_NONE },
 2158   { "SONY", 0x0fce, "Xperia I4312 MTP+CDROM", 0x4207,
 2159       DEVICE_FLAG_NONE },
 2160 
 2161   /*
 2162    * MTP+ADB personalities of MTP devices (see above)
 2163    */
 2164   { "SonyEricsson", 0x0fce,  "c1605 Xperia Dual E MTP+ADB", 0x5146,
 2165       DEVICE_FLAG_NONE },
 2166   { "SonyEricsson", 0x0fce, "LT15i Xperia Arc MTP+ADB", 0x514f,
 2167       DEVICE_FLAG_NONE },
 2168   { "SonyEricsson", 0x0fce, "MT11i Xperia Neo MTP+ADB", 0x5156,
 2169       DEVICE_FLAG_NONE },
 2170   { "SonyEricsson", 0x0fce, "IS12S Xperia Acro MTP+ADB", 0x5157,
 2171       DEVICE_FLAG_NONE },
 2172   { "SonyEricsson", 0x0fce, "MK16i Xperia MTP+ADB", 0x515a,
 2173       DEVICE_FLAG_NONE },
 2174   { "SonyEricsson", 0x0fce, "R800/R88i Xperia Play MTP+ADB", 0x515d,
 2175       DEVICE_FLAG_NONE },
 2176   { "SonyEricsson", 0x0fce, "ST18i Xperia Ray MTP+ADB", 0x5161,
 2177       DEVICE_FLAG_NONE },
 2178   { "SonyEricsson", 0x0fce, "SK17i Xperia Mini Pro MTP+ADB", 0x5166,
 2179       DEVICE_FLAG_NONE },
 2180   { "SonyEricsson", 0x0fce, "ST15i Xperia Mini MTP+ADB", 0x5167,
 2181       DEVICE_FLAG_NONE },
 2182   { "SonyEricsson", 0x0fce, "ST17i Xperia Active MTP+ADB", 0x5168,
 2183       DEVICE_FLAG_NONE },
 2184   { "SONY", 0x0fce, "LT26i Xperia S MTP+ADB", 0x5169,
 2185       DEVICE_FLAG_NO_ZERO_READS },
 2186   { "SonyEricsson", 0x0fce, "WT19i Live Walkman MTP+ADB", 0x516d,
 2187       DEVICE_FLAG_NONE },
 2188   { "SONY", 0x0fce, "ST21i Xperia Tipo MTP+ADB", 0x5170,
 2189       DEVICE_FLAG_NONE },
 2190   { "SONY", 0x0fce, "ST25i Xperia U MTP+ADB", 0x5171,
 2191       DEVICE_FLAG_NONE },
 2192   { "SONY", 0x0fce, "LT22i Xperia P MTP+ADB", 0x5172,
 2193       DEVICE_FLAG_NONE },
 2194   { "SONY", 0x0fce, "MT27i Xperia Sola MTP+ADB", 0x5173,
 2195       DEVICE_FLAG_NONE },
 2196   { "SONY", 0x0fce, "IS12S Xperia Acro HD MTP+ADB", 0x5175,
 2197       DEVICE_FLAG_NONE },
 2198   { "SONY", 0x0fce, "SO-03D Xperia Acro HD MTP+ADB", 0x5176,
 2199       DEVICE_FLAG_NONE },
 2200   { "SONY", 0x0fce, "LT28at Xperia Ion MTP+ADB", 0x5177,
 2201       DEVICE_FLAG_NONE },
 2202   { "SONY", 0x0fce, "LT29i Xperia GX MTP+ADB", 0x5178,
 2203       DEVICE_FLAG_NONE },
 2204   { "SONY", 0x0fce, "ST27i/ST27a Xperia go MTP+ADB", 0x517e,
 2205       DEVICE_FLAG_NONE },
 2206   { "SONY", 0x0fce, "ST23i Xperia Miro MTP+ADB", 0x5180,
 2207       DEVICE_FLAG_NONE },
 2208   { "SONY", 0x0fce, "SO-05D Xperia SX MTP+ADB", 0x5181,
 2209       DEVICE_FLAG_NONE },
 2210   { "SONY", 0x0fce, "LT30p Xperia T MTP+ADB", 0x5182,
 2211       DEVICE_FLAG_NONE },
 2212   { "SONY", 0x0fce, "LT25i Xperia V MTP+ADB", 0x5186,
 2213       DEVICE_FLAG_NONE },
 2214   { "SONY", 0x0fce, "Xperia J MTP+ADB", 0x5188,
 2215       DEVICE_FLAG_NONE },
 2216   { "SONY", 0x0fce, "Xperia ZL MTP+ADB", 0x5189,
 2217       DEVICE_FLAG_NONE },
 2218   { "SONY", 0x0fce, "Xperia E MTP+ADB", 0x518c,
 2219       DEVICE_FLAG_NONE },
 2220   { "SONY", 0x0fce, "Xperia Tablet Z MTP+ADB 1", 0x518d,
 2221       DEVICE_FLAG_NONE },
 2222   { "SONY", 0x0fce, "Xperia L MTP+ADB", 0x5192,
 2223       DEVICE_FLAG_NONE },
 2224   { "SONY", 0x0fce, "Xperia Z MTP+ADB", 0x5193,
 2225       DEVICE_FLAG_NONE },
 2226   { "SONY", 0x0fce, "Xperia Tablet Z MTP+ADB 2", 0x5194,
 2227       DEVICE_FLAG_NONE },
 2228   { "SONY", 0x0fce, "Xperia SP MTP+ADB", 0x5195,
 2229       DEVICE_FLAG_NONE },
 2230   { "SONY", 0x0fce, "Xperia Z Ultra MTP+ADB (ID2)", 0x5196,
 2231       DEVICE_FLAG_NONE },
 2232   { "SONY", 0x0fce, "Xperia ZR MTP+ADB", 0x5197,
 2233       DEVICE_FLAGS_ANDROID_BUGS },
 2234   { "SONY", 0x0fce, "Xperia A MTP+ADB", 0x5198,
 2235       DEVICE_FLAGS_ANDROID_BUGS },
 2236   { "SONY", 0x0fce, "Xperia M MTP+ADB", 0x519b,
 2237       DEVICE_FLAG_NONE },
 2238   { "SONY", 0x0fce, "Xperia Z Ultra MTP+ADB (ID3)", 0x519c,
 2239       DEVICE_FLAG_NONE },
 2240   { "SONY", 0x0fce, "Xperia Z1 MTP+ADB", 0x519e,
 2241       DEVICE_FLAG_NONE },
 2242   { "SONY", 0x0fce, "Xperia C MTP+ADB", 0x51a3,
 2243       DEVICE_FLAG_NONE },
 2244   { "SONY", 0x0fce, "Xperia Z1 Compact MTP+ADB", 0x51a7,
 2245       DEVICE_FLAG_NONE },
 2246   { "SONY", 0x0fce, "Xperia T2 Ultra MTP+ADB", 0x51a9,
 2247       DEVICE_FLAG_NONE },
 2248   { "SONY", 0x0fce, "Xperia M2 MTP+ADB", 0x51aa,
 2249       DEVICE_FLAG_NONE },
 2250   { "SONY", 0x0fce, "Xperia M2 Dual MTP+ADB", 0x51ab,
 2251       DEVICE_FLAG_NONE },
 2252   { "SONY", 0x0fce, "Xperia Z2 MTP+ADB", 0x51af,
 2253       DEVICE_FLAG_NONE },
 2254   { "SONY", 0x0fce, "Xperia Z3v MTP+ADB", 0x51b0,
 2255       DEVICE_FLAGS_ANDROID_BUGS },
 2256   { "SONY", 0x0fce, "Xperia Z2 Tablet MTP+ADB", 0x51b1,
 2257       DEVICE_FLAGS_ANDROID_BUGS },
 2258   { "SONY", 0x0fce, "Xperia E1 MTP+ADB", 0x51b5,
 2259       DEVICE_FLAGS_ANDROID_BUGS },
 2260   { "SONY", 0x0fce, "Xperia Z Ultra MTP+ADB", 0x51b6,
 2261       DEVICE_FLAG_NONE },
 2262   { "SONY", 0x0fce, "Xperia M2 Aqua MTP+ADB", 0x51b8,
 2263       DEVICE_FLAGS_ANDROID_BUGS },
 2264   { "SONY", 0x0fce, "Xperia Z3 MTP+ADB", 0x51ba,
 2265       DEVICE_FLAG_NONE },
 2266   { "SONY", 0x0fce, "Xperia Z3 Compact MTP+ADB", 0x51bb,
 2267       DEVICE_FLAG_NONE },
 2268   { "SONY", 0x0fce, "Xperia E3 MTP+ADB", 0x51bc,
 2269       DEVICE_FLAG_NONE },
 2270   { "SONY", 0x0fce, "Xperia Z3 Tablet MTP+ADB", 0x51c0,
 2271       DEVICE_FLAG_NONE },
 2272   { "SONY", 0x0fce, "XPeria M4 Aqua Dual MTP+ADB", 0x51c4,
 2273       DEVICE_FLAG_NONE },
 2274   { "SONY", 0x0fce, "E2115 MTP+ADB", 0x51c5,
 2275       DEVICE_FLAG_NONE },
 2276   { "SONY", 0x0fce, "XPeria Z3+ MTP+ADB", 0x51c9,
 2277       DEVICE_FLAG_NONE },
 2278   { "SONY", 0x0fce,  "XPeria E4g MTP+ADB", 0x51cb,
 2279       DEVICE_FLAG_NONE },
 2280   { "SONY", 0x0fce, "C4 Dual MTP+ADB", 0x51d2,
 2281       DEVICE_FLAG_NONE },
 2282   { "SONY", 0x0fce, "XPeria M5 MTP+ADB", 0x51d6,
 2283       DEVICE_FLAG_NONE },
 2284   { "SONY", 0x0fce, "XPeria Z5 MTP+ADB", 0x51d9,
 2285       DEVICE_FLAG_NONE },
 2286   { "SONY", 0x0fce, "XPeria Z5 Compact MTP+ADB", 0x51da,
 2287       DEVICE_FLAG_NONE },
 2288   { "SONY", 0x0fce, "XPeria Z5 Premium Dual Sim MTP+ADB", 0x51db,
 2289       DEVICE_FLAG_NONE },
 2290   { "SONY", 0x0fce, "XPeria XA MTP+ADB", 0x51de,
 2291       DEVICE_FLAG_NONE },
 2292   { "SONY", 0x0fce, "XPeria X MTP+ADB", 0x51e0,
 2293       DEVICE_FLAG_NONE },
 2294   { "SONY", 0x0fce, "XPeria SOV33 MTP+ADB", 0x51e1,
 2295       DEVICE_FLAG_NONE },
 2296   { "SONY", 0x0fce, "XPeria XZ MTP+ADB", 0x51e7,
 2297       DEVICE_FLAG_NONE },
 2298   { "SONY", 0x0fce, "XPeria X Compact MTP+ADB", 0x51e8,
 2299       DEVICE_FLAG_NONE },
 2300   { "SONY", 0x0fce, "XPeria G3123 MTP+ADB", 0x51eb,
 2301       DEVICE_FLAG_NONE },
 2302   { "SONY", 0x0fce, "XPeria XZ ADB", 0x51ed,
 2303       DEVICE_FLAG_NONE },
 2304   { "SONY", 0x0fce, "XPeria XA1 Ultra MTP+ADB", 0x51ef,
 2305       DEVICE_FLAG_NONE },
 2306   { "SONY", 0x0fce, "XPeria XZ Premium MTP+ADB", 0x51f1,
 2307       DEVICE_FLAG_NONE },
 2308   { "SONY", 0x0fce, "XPeria XZ1 ADB", 0x51f3,
 2309       DEVICE_FLAG_NONE },
 2310   { "SONY", 0x0fce, "XPeria XZ1 Compact MTP+ADB", 0x51f4,
 2311       DEVICE_FLAG_NONE },
 2312   { "SONY", 0x0fce, "XPeria L2 MTP+ADB", 0x51f6,
 2313       DEVICE_FLAG_NONE },
 2314   { "SONY", 0x0fce, "XPeria XA2 Compact MTP+ADB", 0x51f7,
 2315       DEVICE_FLAG_NONE },
 2316   { "SONY", 0x0fce, "XPeria XA2 Ultra MTP+ADB", 0x51f8,
 2317       DEVICE_FLAG_NONE },
 2318   { "SONY", 0x0fce, "Xperia XZ2 Compact Dual Sim MTP+ADB", 0x51f9,
 2319       DEVICE_FLAG_NONE },
 2320   { "SONY", 0x0fce, "Xperia XZ2 (H8266) MTP+ADB", 0x51fa,
 2321       DEVICE_FLAG_NONE },
 2322   { "SONY", 0x0fce, "Xperia XZ2 Premium MTP+ADB", 0x51fb,
 2323       DEVICE_FLAG_NONE },
 2324   { "SONY", 0x0fce, "Xperia XZ3 Dual Sim (H9436) MTP+ADB", 0x51ff,
 2325       DEVICE_FLAG_NONE },
 2326   { "SONY", 0x0fce, "Xperia 10 (I4113) MTP+ADB", 0x5201,
 2327       DEVICE_FLAG_NONE },
 2328   { "SONY", 0x0fce, "Xperia 1 (J9110) MTP+ADB", 0x5205,
 2329       DEVICE_FLAG_NONE },
 2330   { "SONY", 0x0fce, "Xperia I4312 MTP+ADB", 0x5207,
 2331       DEVICE_FLAG_NONE },
 2332 
 2333   /*
 2334    * MTP+UMS modes
 2335    * This mode is for using MTP on the internal storage (eMMC)
 2336    * and using UMS (Mass Storage Device Class) on the external
 2337    * SD card
 2338    */
 2339   { "SONY", 0x0fce, "MT27i Xperia Sola MTP+UMS", 0xa173,
 2340       DEVICE_FLAG_NONE },
 2341   { "SONY", 0x0fce, "IS12S Xperia Acro HD MTP+UMS", 0xa175,
 2342       DEVICE_FLAG_NONE },
 2343   { "SONY", 0x0fce, "SO-03D Xperia Acro HD MTP+UMS", 0xa176,
 2344       DEVICE_FLAG_NONE },
 2345   { "SONY", 0x0fce, "LT28at Xperia Ion MTP+UMS", 0xa177,
 2346       DEVICE_FLAG_NONE },
 2347   { "SONY", 0x0fce, "ST27i/ST27a Xperia go MTP+UMS", 0xa17e,
 2348       DEVICE_FLAG_NONE },
 2349 
 2350   /*
 2351    * MTP+UMS+ADB modes
 2352    * Like the above, but also ADB
 2353    */
 2354   { "SONY", 0x0fce, "MT27i Xperia Sola MTP+UMS+ADB", 0xb173,
 2355       DEVICE_FLAG_NONE },
 2356   { "SONY", 0x0fce, "IS12S Xperia Acro MTP+UMS+ADB", 0xb175,
 2357       DEVICE_FLAG_NONE },
 2358   { "SONY", 0x0fce, "SO-03D Xperia Acro MTP+UMS+ADB", 0xb176,
 2359       DEVICE_FLAG_NONE },
 2360   { "SONY", 0x0fce, "LT28at Xperia Ion MTP+UMS+ADB", 0xb177,
 2361       DEVICE_FLAG_NONE },
 2362   { "SONY", 0x0fce, "ST27i/ST27a Xperia go MTP+UMS+ADB", 0xb17e,
 2363       DEVICE_FLAG_NONE },
 2364 
 2365 
 2366   /*
 2367    * Motorola
 2368    * Assume DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST on all of these.
 2369    */
 2370   /* https://sourceforge.net/p/libmtp/feature-requests/136/ */
 2371   { "Motorola", 0x22b8, "XT1524 (MTP)", 0x002e,
 2372       DEVICE_FLAGS_ANDROID_BUGS },
 2373   // Reported by David Boyd <tiggrdave@users.sourceforge.net>
 2374   { "Motorola", 0x22b8, "V3m/V750 verizon", 0x2a65,
 2375       DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
 2376       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 2377   /* https://sourceforge.net/p/libmtp/support-requests/130/ */
 2378   { "Motorola", 0x22b8, "X 2nd edition XT1097 (MTP)", 0x2e24,
 2379       DEVICE_FLAGS_ANDROID_BUGS },
 2380   { "Motorola", 0x22b8, "Atrix/Razr HD (MTP)", 0x2e32,
 2381       DEVICE_FLAGS_ANDROID_BUGS },
 2382   { "Motorola", 0x22b8, "Atrix/Razr HD (MTP+ADB)", 0x2e33,
 2383       DEVICE_FLAGS_ANDROID_BUGS },
 2384   { "Motorola", 0x22b8, "RAZR M XT907 (MTP)", 0x2e50,
 2385       DEVICE_FLAGS_ANDROID_BUGS },
 2386   { "Motorola", 0x22b8, "RAZR M XT907 (MTP+ADB)", 0x2e51,
 2387       DEVICE_FLAGS_ANDROID_BUGS },
 2388   /* https://sourceforge.net/p/libmtp/bugs/1539/ */
 2389   { "Motorola", 0x22b8, "Droid Turbo 2 (XT1585)", 0x2e61,
 2390       DEVICE_FLAGS_ANDROID_BUGS },
 2391   { "Motorola", 0x22b8, "Moto X (XT1053)", 0x2e62,
 2392       DEVICE_FLAGS_ANDROID_BUGS },
 2393   { "Motorola", 0x22b8, "Moto X (XT1058)", 0x2e63,
 2394       DEVICE_FLAGS_ANDROID_BUGS },
 2395   /* https://sourceforge.net/p/libmtp/bugs/1323/ */
 2396   { "Motorola", 0x22b8, "Moto X (XT1080)", 0x2e66,
 2397       DEVICE_FLAGS_ANDROID_BUGS },
 2398   { "Motorola", 0x22b8, "Droid Maxx (XT1080)", 0x2e67,
 2399       DEVICE_FLAGS_ANDROID_BUGS },
 2400   { "Motorola", 0x22b8, "Droid Ultra", 0x2e68,
 2401       DEVICE_FLAGS_ANDROID_BUGS },
 2402   { "Motorola", 0x22b8, "Moto G (ID1)", 0x2e76,
 2403       DEVICE_FLAGS_ANDROID_BUGS },
 2404   { "Motorola", 0x22b8, "Moto G (ID2)", 0x2e82,
 2405       DEVICE_FLAGS_ANDROID_BUGS & ~(DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL|DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST)},
 2406   /* https://sourceforge.net/p/libmtp/bugs/1030/, PTP Id */
 2407   { "Motorola", 0x22b8, "Moto G (XT1032)", 0x2e84,
 2408       DEVICE_FLAGS_ANDROID_BUGS },
 2409   /* https://sourceforge.net/p/libmtp/bugs/1477/ */
 2410   { "Motorola", 0x22b8, "Moto Maxx (XT1225)", 0x2ea4,
 2411       DEVICE_FLAGS_ANDROID_BUGS },
 2412   /* https://sourceforge.net/p/libmtp/bugs/1841/ */
 2413   { "Motorola", 0x22b8, "Moto Z2 (XT1789)", 0x2e81,
 2414       DEVICE_FLAGS_ANDROID_BUGS },
 2415   /* https://sourceforge.net/p/libmtp/feature-requests/189/ */
 2416   { "Motorola", 0x22b8, "MB632", 0x2dff,
 2417       DEVICE_FLAGS_ANDROID_BUGS },
 2418   // Reported by Jader Rodrigues Simoes <jadersimoes@users.sourceforge.net>
 2419   { "Motorola", 0x22b8, "Xoom 2 Media Edition (ID3)", 0x41cf,
 2420       DEVICE_FLAGS_ANDROID_BUGS },
 2421   // Reported by Steven Roemen <sdroemen@users.sourceforge.net>
 2422   { "Motorola", 0x22b8, "Droid X/MB525 (Defy)", 0x41d6,
 2423       DEVICE_FLAG_NONE },
 2424   { "Motorola", 0x22b8, "DROID2 (ID1)", 0x41da,
 2425       DEVICE_FLAG_NONE },
 2426   { "Motorola", 0x22b8, "Milestone / Verizon Droid", 0x41dc,
 2427       DEVICE_FLAGS_ANDROID_BUGS },
 2428   { "Motorola", 0x22b8, "DROID2 (ID2)", 0x42a7,
 2429       DEVICE_FLAGS_ANDROID_BUGS },
 2430   { "Motorola", 0x22b8, "Xoom 2 Media Edition (ID2)", 0x4306,
 2431       DEVICE_FLAGS_ANDROID_BUGS },
 2432   { "Motorola", 0x22b8, "Xoom 2 Media Edition", 0x4311,
 2433       DEVICE_FLAGS_ANDROID_BUGS },
 2434   // Reported by  B,H,Kissinger <mrkissinger@users.sourceforge.net>
 2435   { "Motorola", 0x22b8, "XT912/XT928", 0x4362,
 2436       DEVICE_FLAGS_ANDROID_BUGS },
 2437   /* https://sourceforge.net/p/libmtp/bugs/1104/ , PTP id. */
 2438   { "Motorola", 0x22b8, "DROID4 (PTP)", 0x4373,
 2439       DEVICE_FLAGS_ANDROID_BUGS },
 2440   // Reported by Lundgren <alundgren@users.sourceforge.net>
 2441   { "Motorola", 0x22b8, "DROID4", 0x437f,
 2442       DEVICE_FLAGS_ANDROID_BUGS },
 2443   // Reported by Marcus Meissner to libptp2
 2444   { "Motorola", 0x22b8, "IdeaPad K1", 0x4811,
 2445       DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
 2446   // Reported by Hans-Joachim Baader <hjb@pro-linux.de> to libptp2
 2447   { "Motorola", 0x22b8, "A1200", 0x60ca,
 2448       DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
 2449   // http://mark.cdmaforums.com/Files/Motdmmtp.inf
 2450   { "Motorola", 0x22b8, "MTP Test Command Interface", 0x6413,
 2451       DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
 2452   // Reported by anonymous user
 2453   { "Motorola", 0x22b8, "RAZR2 V8/U9/Z6", 0x6415,
 2454       DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
 2455   // Reported by Rodrigo Angelo Rafael
 2456   // Razr D1, D3
 2457   { "Motorola", 0x22b8, "Razr D1/D3/i (MTP)", 0x64b5,
 2458       DEVICE_FLAGS_ANDROID_BUGS },
 2459   { "Motorola", 0x22b8, "Razr D1/D3/i (MTP+?)", 0x64b6,
 2460       DEVICE_FLAGS_ANDROID_BUGS },
 2461   /* https://sourceforge.net/p/libmtp/bugs/697/ */
 2462   { "Motorola", 0x22b8, "Atrix XT687 (MTP)", 0x64cf,
 2463       DEVICE_FLAGS_ANDROID_BUGS },
 2464   // Reported by Brian Dolbec <dol-sen@users.sourceforge.net>
 2465   { "Motorola", 0x22b8, "Atrix MB860 (MTP)", 0x7088,
 2466       DEVICE_FLAGS_ANDROID_BUGS },
 2467   /*
 2468    * Motorola Xoom (Wingray) variants
 2469    *
 2470    * These devices seem to use these product IDs simulatenously
 2471    * https://code.google.com/p/android-source-browsing/source/browse/init.stingray.usb.rc?repo=device--moto--wingray
 2472    *
 2473    * 0x70a3 - Factory test - reported as early MTP ID
 2474    * 0x70a8 - MTP
 2475    * 0x70a9 - MTP+ADB
 2476    * 0x70ae - RNDIS
 2477    * 0x70af - RNDIS+ADB
 2478    * 0x70b0 - ACM
 2479    * 0x70b1 - ACM+ADB
 2480    * 0x70b2 - ACM+RNDIS
 2481    * 0x70b3 - ACM+RNDIS+ADB
 2482    * 0x70b4 - PTP
 2483    * 0x70b5 - PTP+ADB
 2484    *
 2485    * Reported by Google Inc's Yavor Goulishev <yavor@google.com>
 2486    */
 2487   { "Motorola", 0x22b8, "Xoom (Factory test)", 0x70a3,
 2488       DEVICE_FLAGS_ANDROID_BUGS },
 2489   { "Motorola", 0x22b8, "Xoom (MTP)", 0x70a8,
 2490       DEVICE_FLAGS_ANDROID_BUGS },
 2491   { "Motorola", 0x22b8, "Xoom (MTP+ADB)", 0x70a9,
 2492       DEVICE_FLAGS_ANDROID_BUGS },
 2493   // "carried by C Spire and other CDMA US carriers"
 2494   { "Motorola", 0x22b8, "Milestone X2", 0x70ca,
 2495       DEVICE_FLAGS_ANDROID_BUGS },
 2496   { "Motorola", 0x22b8, "XT890/907/Razr (MTP)", 0x710d,
 2497       DEVICE_FLAGS_ANDROID_BUGS },
 2498   { "Motorola", 0x22b8, "XT890/907/Razr (MTP+ADB)", 0x710e,
 2499       DEVICE_FLAGS_ANDROID_BUGS },
 2500   /* https://sourceforge.net/p/libmtp/bugs/1183/ */
 2501   { "Motorola", 0x22b8, "Droid Turbo (XT1254)", 0x2ea5,
 2502       DEVICE_FLAGS_ANDROID_BUGS },
 2503   { "Motorola", 0x22b8, "Droid Turbo Verizon", 0x2ea8,
 2504       DEVICE_FLAGS_ANDROID_BUGS },
 2505   /*
 2506    * XT890/907/Razr
 2507    * 710f is USB mass storage
 2508    */
 2509 
 2510   /*
 2511    * Google
 2512    * These guys lend their Vendor ID to anyone who comes down the
 2513    * road to produce an Android tablet it seems... The Vendor ID
 2514    * was originally used for Nexus phones
 2515    */
 2516   { "Google Inc (for Allwinner)", 0x18d1, "A31 SoC", 0x0006,
 2517       DEVICE_FLAGS_ANDROID_BUGS },
 2518   { "Google Inc (for Ainol Novo)", 0x18d1, "Fire/Flame", 0x0007,
 2519       DEVICE_FLAGS_ANDROID_BUGS },
 2520   { "Google Inc (for Sony)", 0x18d1, "S1", 0x05b3,
 2521       DEVICE_FLAGS_ANDROID_BUGS },
 2522   /* https://sourceforge.net/p/libmtp/feature-requests/218/ */
 2523   { "Google Inc (for Fairphone)", 0x18d1, "Fairphone 2", 0x0a07,
 2524       DEVICE_FLAGS_ANDROID_BUGS },
 2525   // Reported by anonymous Sourceforge user
 2526   { "Google Inc (for Barnes & Noble)", 0x18d1, "Nook Color", 0x2d02,
 2527       DEVICE_FLAGS_ANDROID_BUGS },
 2528   // Reported by anonymous Sourceforge user
 2529   { "Google Inc (for Asus)", 0x18d1, "TF201 Transformer", 0x4d00,
 2530       DEVICE_FLAGS_ANDROID_BUGS },
 2531   // Reported by anonymous Sourceforge user
 2532   { "Google Inc (for Asus)", 0x18d1, "TF101 Transformer", 0x4e0f,
 2533       DEVICE_FLAGS_ANDROID_BUGS },
 2534   /* https://sourceforge.net/p/libmtp/bugs/1837/ */
 2535   { "Google Inc (for Samsung)", 0x18d1, "Nexus One (MTP)", 0x4e12,
 2536       DEVICE_FLAGS_ANDROID_BUGS },
 2537   // 0x4e21 (Nexus S) is a USB Mass Storage device.
 2538   { "Google Inc (for Samsung)", 0x18d1, "Nexus S (MTP)", 0x4e25,
 2539       DEVICE_FLAGS_ANDROID_BUGS },
 2540   // 0x4e26 is also used by "Ramos W30HD Pro Quad Core"
 2541   { "Google Inc (for Samsung)", 0x18d1, "Nexus S (MTP+ADB)", 0x4e26,
 2542       DEVICE_FLAGS_ANDROID_BUGS },
 2543   // Reported by Chris Smith <tcgsmythe@users.sourceforge.net>
 2544   { "Google Inc (for Asus)", 0x18d1, "Nexus 7 (MTP)", 0x4e41,
 2545       DEVICE_FLAGS_ANDROID_BUGS },
 2546   // Reported by Michael Hess <mhess126@gmail.com>
 2547   { "Google Inc (for Asus)", 0x18d1, "Nexus 7 (MTP+ADB)", 0x4e42,
 2548       DEVICE_FLAGS_ANDROID_BUGS },
 2549   { "Google Inc", 0x18d1, "Nexus/Pixel (MTP)", 0x4ee1,
 2550       (DEVICE_FLAGS_ANDROID_BUGS | DEVICE_FLAG_PROPLIST_OVERRIDES_OI) & ~DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 2551   { "Google Inc", 0x18d1, "Nexus/Pixel (MTP+ADB)", 0x4ee2,
 2552       DEVICE_FLAGS_ANDROID_BUGS },
 2553   /* https://sourceforge.net/p/libmtp/bugs/1255/ */
 2554   { "Google Inc", 0x18d1, "Nexus/Pixel (PTP)", 0x4ee5,
 2555       DEVICE_FLAGS_ANDROID_BUGS },
 2556   { "Google Inc", 0x18d1, "Nexus/Pixel (PTP+ADB)", 0x4ee6,
 2557       DEVICE_FLAGS_ANDROID_BUGS },
 2558   /* https://sourceforge.net/p/libmtp/bugs/1444/ */
 2559   { "Google", 0x18d1, "Pixel C (MTP)", 0x5202,
 2560       DEVICE_FLAGS_ANDROID_BUGS },
 2561   { "Google", 0x18d1, "Pixel C (MTP+ADB)", 0x5203,
 2562       DEVICE_FLAGS_ANDROID_BUGS },
 2563   /* https://sourceforge.net/p/libmtp/bugs/1892/ */
 2564   { "Nook", 0x18d1, "Tablet", 0x685c,
 2565       DEVICE_FLAGS_ANDROID_BUGS },
 2566   // WiFi-only version of Xoom
 2567   // See: http://bugzilla.gnome.org/show_bug.cgi?id=647506
 2568   { "Google Inc (for Motorola)", 0x18d1, "Xoom (MZ604)", 0x70a8,
 2569       DEVICE_FLAGS_ANDROID_BUGS },
 2570   { "Google Inc (for Toshiba)", 0x18d1, "Thrive 7/AT105", 0x7102,
 2571       DEVICE_FLAGS_ANDROID_BUGS },
 2572   { "Google Inc (for Lenovo)", 0x18d1, "Ideapad K1", 0x740a,
 2573       DEVICE_FLAGS_ANDROID_BUGS },
 2574   // Another OEM for Medion
 2575   { "Google Inc (for Medion)", 0x18d1, "MD99000 (P9514)", 0xb00a,
 2576       DEVICE_FLAGS_ANDROID_BUGS },
 2577 
 2578   /* https://sourceforge.net/p/libmtp/bugs/1563/ */
 2579   { "Meizu", 0x18d1, "Pro 5 Ubuntu Phone", 0xd001, DEVICE_FLAGS_ANDROID_BUGS },
 2580   // Reported by Frederik Himpe <fhimpe@telenet.be>
 2581   { "Google Inc (for LG Electronics)", 0x18d1, "P990/Optimus (Cyanogen)",
 2582       0xd109, DEVICE_FLAGS_ANDROID_BUGS },
 2583   { "Google Inc (for LG Electronics)", 0x18d1, "P990/Optimus", 0xd10a,
 2584       DEVICE_FLAGS_ANDROID_BUGS },
 2585 
 2586 
 2587   /*
 2588    * Media Keg
 2589    */
 2590   // Reported by Rajan Bella <rajanbella@yahoo.com>
 2591   { "Kenwood", 0x0b28, "Media Keg HD10GB7 Sport Player", 0x100c, DEVICE_FLAG_UNLOAD_DRIVER},
 2592 
 2593   /*
 2594    * Micro-Star International (MSI)
 2595    */
 2596   // Reported by anonymous sourceforge user.
 2597   { "Micro-Star International", 0x0db0, "P610/Model MS-5557", 0x5572, DEVICE_FLAG_NONE },
 2598 
 2599   /*
 2600    * FOMA
 2601    */
 2602   { "FOMA", 0x06d3, "D905i", 0x21ba, DEVICE_FLAG_NONE },
 2603 
 2604   /*
 2605    * Haier
 2606    */
 2607   // Both reported by an anonymous SourceForge user
 2608   // This is the 30 GiB model
 2609   { "Haier", 0x1302, "Ibiza Rhapsody 1", 0x1016, DEVICE_FLAG_NONE },
 2610   // This is the 4/8 GiB model
 2611   { "Haier", 0x1302, "Ibiza Rhapsody 2", 0x1017, DEVICE_FLAG_NONE },
 2612 
 2613   /*
 2614    * Panasonic
 2615    */
 2616   // Reported by dmizer
 2617   { "Panasonic", 0x04da, "P905i", 0x2145, DEVICE_FLAG_NONE },
 2618   // Reported by Taku
 2619   { "Panasonic", 0x04da, "P906i", 0x2158, DEVICE_FLAG_NONE },
 2620 
 2621   /*
 2622    * Polaroid
 2623    */
 2624   { "Polaroid", 0x0546, "Freescape/MPU-433158", 0x2035, DEVICE_FLAG_NONE },
 2625 
 2626   /*
 2627    * Pioneer
 2628    */
 2629   // Reported by Dan Allen <dan.j.allen@gmail.com>
 2630   { "Pioneer", 0x08e4, "XMP3", 0x0148, DEVICE_FLAG_NONE },
 2631 
 2632   /*
 2633    * Slacker Inc.
 2634    * Put in all evilness flags because it looks fragile.
 2635    */
 2636   // Reported by Pug Fantus <pugfantus@users.sourceforge.net>
 2637   { "Slacker Inc.", 0x1bdc, "Slacker Portable Media Player", 0xfabf,
 2638     DEVICE_FLAG_BROKEN_BATTERY_LEVEL | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 2639     DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
 2640 
 2641   // Reported by anonymous user
 2642   { "Conceptronic", 0x1e53, "CMTD2", 0x0005, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 2643   // Reported by Demadridsur <demadridsur@gmail.com>
 2644   { "O2 Sistemas", 0x1e53, "ZoltarTV", 0x0006, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 2645   // Reported by da-beat <dabeat@gmail.com>
 2646   { "Wyplay", 0x1e53, "Wyplayer", 0x0007, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 2647 
 2648   // Reported by Sense Hofstede <qense@users.sourceforge.net>
 2649   { "Perception Digital, Ltd", 0x0aa6, "Gigaware GX400", 0x9702, DEVICE_FLAG_NONE },
 2650 
 2651   /*
 2652    * RIM's BlackBerry
 2653    */
 2654   // Reported by Nicolas VIVIEN <nicolas@vivien.fr>
 2655   { "RIM", 0x0fca, "BlackBerry Storm/9650", 0x8007, DEVICE_FLAG_UNLOAD_DRIVER |
 2656       DEVICE_FLAG_SWITCH_MODE_BLACKBERRY | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 2657 
 2658   /* https://sourceforge.net/p/libmtp/bugs/1551/ */
 2659   { "RIM", 0x0fca, "BlackBerry Priv", 0x8031, DEVICE_FLAG_UNLOAD_DRIVER |
 2660       DEVICE_FLAG_SWITCH_MODE_BLACKBERRY | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 2661 
 2662   /* https://sourceforge.net/p/libmtp/bugs/1658/ */
 2663   { "RIM", 0x0fca, "BlackBerry Dtek 60", 0x8041, DEVICE_FLAGS_ANDROID_BUGS },
 2664 
 2665   /* https://sourceforge.net/p/libmtp/feature-requests/264/ */
 2666   { "RIM", 0x0fca, "BlackBerry Keyone", 0x8042, DEVICE_FLAGS_ANDROID_BUGS },
 2667 
 2668   /*
 2669    * Nextar
 2670    */
 2671   { "Nextar", 0x0402, "MA715A-8R", 0x5668, DEVICE_FLAG_NONE },
 2672 
 2673   /*
 2674    * Coby
 2675    */
 2676   { "Coby", 0x1e74, "COBY MP705", 0x6512, DEVICE_FLAG_NONE },
 2677 
 2678 #if 0
 2679   /*
 2680    * Apple devices, which are not MTP natively but can be made to speak MTP
 2681    * using PwnTunes (http://www.pwntunes.net/)
 2682    * CURRENTLY COMMENTED OUT:
 2683    * These will make the UDEV rules flag these as MTP devices even if
 2684    * PwnTunes is NOT installed. That is unacceptable, so a better solution
 2685    * that actually inspects if the device has PwnTunes/MTP support needs
 2686    * to be found, see:
 2687    * https://sourceforge.net/p/libmtp/bugs/759/
 2688    */
 2689   { "Apple", 0x05ac, "iPhone", 0x1290, DEVICE_FLAG_NONE },
 2690   { "Apple", 0x05ac, "iPod Touch 1st Gen", 0x1291, DEVICE_FLAG_NONE },
 2691   { "Apple", 0x05ac, "iPhone 3G", 0x1292, DEVICE_FLAG_NONE },
 2692   { "Apple", 0x05ac, "iPod Touch 2nd Gen", 0x1293, DEVICE_FLAG_NONE },
 2693   { "Apple", 0x05ac, "iPhone 3GS", 0x1294, DEVICE_FLAG_NONE },
 2694   { "Apple", 0x05ac, "0x1296", 0x1296, DEVICE_FLAG_NONE },
 2695   { "Apple", 0x05ac, "0x1297", 0x1297, DEVICE_FLAG_NONE },
 2696   { "Apple", 0x05ac, "0x1298", 0x1298, DEVICE_FLAG_NONE },
 2697   { "Apple", 0x05ac, "iPod Touch 3rd Gen", 0x1299, DEVICE_FLAG_NONE },
 2698   { "Apple", 0x05ac, "iPad", 0x129a, DEVICE_FLAG_NONE },
 2699 #endif
 2700 
 2701   // Reported by anonymous SourceForge user, also reported as
 2702   // Pantech Crux, claming to be:
 2703   // Manufacturer: Qualcomm
 2704   // Model: Windows Simulator
 2705   // Device version: Qualcomm MTP1.0
 2706   { "Curitel Communications, Inc.", 0x106c,
 2707       "Verizon Wireless Device", 0x3215, DEVICE_FLAG_NONE },
 2708   // Reported by: Jim Hanrahan <goshawkjim@users.sourceforge.net>
 2709   { "Pantech", 0x106c, "Crux", 0xf003, DEVICE_FLAG_NONE },
 2710 
 2711   /* https://sourceforge.net/p/libmtp/feature-requests/208/ */
 2712   { "Asus", 0x0b05, "Zenfone Go (ZC500TG)", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 2713   /*
 2714    * Asus
 2715    * Pattern of PIDs on Android devices seem to be:
 2716    * n+0 = MTP
 2717    * n+1 = MTP+ADB
 2718    * n+2 = ?
 2719    * n+3 = ?
 2720    * n+4 = PTP
 2721    */
 2722   // Reported by Glen Overby
 2723   { "Asus", 0x0b05, "TF300 Transformer (MTP)", 0x4c80,
 2724       DEVICE_FLAGS_ANDROID_BUGS },
 2725   // Reported by jaile <jaile@users.sourceforge.net>
 2726   { "Asus", 0x0b05, "TF300 Transformer (MTP+ADB)", 0x4c81,
 2727       DEVICE_FLAGS_ANDROID_BUGS },
 2728   // Repored by Florian Apolloner <f-apolloner@users.sourceforge.net>
 2729   { "Asus", 0x0b05, "TF700 Transformer (MTP)", 0x4c90,
 2730       DEVICE_FLAGS_ANDROID_BUGS },
 2731   { "Asus", 0x0b05, "TF700 Transformer (MTP+ADB)", 0x4c91,
 2732       DEVICE_FLAGS_ANDROID_BUGS },
 2733   { "Asus", 0x0b05, "TF701T Transformer Pad (MTP)", 0x4ca0,
 2734       DEVICE_FLAGS_ANDROID_BUGS },
 2735   { "Asus", 0x0b05, "TF701T Transformer Pad (MTP+ADB)", 0x4ca1,
 2736       DEVICE_FLAGS_ANDROID_BUGS },
 2737   /* https://sourceforge.net/p/libmtp/support-requests/135/ */
 2738   { "Asus", 0x0b05, "ME302KL MeMo Pad FHD10 (MTP)", 0x4cc0,
 2739       DEVICE_FLAGS_ANDROID_BUGS },
 2740   { "Asus", 0x0b05, "ME302KL MeMo Pad FHD10 (MTP+ADB)", 0x4cc1,
 2741       DEVICE_FLAGS_ANDROID_BUGS },
 2742   { "Asus", 0x0b05, "ME301T MeMo Pad Smart 10 (MTP)", 0x4cd0,
 2743       DEVICE_FLAGS_ANDROID_BUGS },
 2744   { "Asus", 0x0b05, "ME301T MeMo Pad Smart 10 (MTP+ADB)", 0x4cd1,
 2745       DEVICE_FLAGS_ANDROID_BUGS },
 2746   { "Asus", 0x0b05, "Asus Fonepad Note 6 (MTP)", 0x4ce0,
 2747       DEVICE_FLAGS_ANDROID_BUGS },
 2748   { "Asus", 0x0b05, "Asus Fonepad Note 6 (MTP+ADB)", 0x4ce1,
 2749       DEVICE_FLAGS_ANDROID_BUGS },
 2750   { "Asus", 0x0b05, "TF201 Transformer Prime (keyboard dock)", 0x4d00,
 2751       DEVICE_FLAGS_ANDROID_BUGS },
 2752   { "Asus", 0x0b05, "TF201 Transformer Prime (tablet only)", 0x4d01,
 2753       DEVICE_FLAGS_ANDROID_BUGS },
 2754   // 4d04 is the PTP mode, don't add it
 2755   { "Asus", 0x0b05, "SL101 (MTP)", 0x4e00,
 2756       DEVICE_FLAGS_ANDROID_BUGS },
 2757   { "Asus", 0x0b05, "SL101 (MTP+ADB)", 0x4e01,
 2758       DEVICE_FLAGS_ANDROID_BUGS },
 2759   { "Asus", 0x0b05, "TF101 Eeepad Transformer (MTP)", 0x4e0f,
 2760       DEVICE_FLAGS_ANDROID_BUGS },
 2761   { "Asus", 0x0b05, "TF101 Eeepad Transformer (MTP+ADB)", 0x4e1f,
 2762       DEVICE_FLAGS_ANDROID_BUGS },
 2763   { "Asus", 0x0b05, "Fonepad", 0x514f,
 2764       DEVICE_FLAGS_ANDROID_BUGS },
 2765   { "Asus", 0x0b05, "PadFone (MTP)", 0x5200,
 2766       DEVICE_FLAGS_ANDROID_BUGS },
 2767   { "Asus", 0x0b05, "PadFone (MTP+ADB)", 0x5201,
 2768       DEVICE_FLAGS_ANDROID_BUGS },
 2769   { "Asus", 0x0b05, "ME302C MemoPad (MTP+?)", 0x520f,
 2770       DEVICE_FLAGS_ANDROID_BUGS },
 2771   { "Asus", 0x0b05, "PadFone 2 (MTP)", 0x5210,
 2772       DEVICE_FLAGS_ANDROID_BUGS },
 2773   { "Asus", 0x0b05, "PadFone 2 (MTP+ADB)", 0x5211,
 2774       DEVICE_FLAGS_ANDROID_BUGS },
 2775   { "Asus", 0x0b05, "PadFone 2 (PTP)", 0x5214,
 2776       DEVICE_FLAGS_ANDROID_BUGS },
 2777   { "Asus", 0x0b05, "ME302C MemoPad (MTP)", 0x521f,
 2778       DEVICE_FLAGS_ANDROID_BUGS },
 2779   /* https://sourceforge.net/p/libmtp/bugs/1066/ */
 2780   { "Asus", 0x0b05, "PadFone Infinity (2nd ID) (MTP)", 0x5220,
 2781       DEVICE_FLAGS_ANDROID_BUGS },
 2782   { "Asus", 0x0b05, "PadFone Infinity (2nd ID) (MTP+ADB)", 0x5221,
 2783       DEVICE_FLAGS_ANDROID_BUGS },
 2784   { "Asus", 0x0b05, "PadFone Infinity (MTP)", 0x5230,
 2785       DEVICE_FLAGS_ANDROID_BUGS },
 2786   { "Asus", 0x0b05, "PadFone Infinity (MTP+ADB)", 0x5231,
 2787       DEVICE_FLAGS_ANDROID_BUGS },
 2788   { "Asus", 0x0b05, "Memo ME172V (MTP)", 0x5400,
 2789       DEVICE_FLAGS_ANDROID_BUGS },
 2790   /* https://sourceforge.net/p/libmtp/bugs/1072/ */
 2791   { "Asus", 0x0b05, "Fonepad 7 LTE ME372CL (MTP)", 0x540f,
 2792       DEVICE_FLAGS_ANDROID_BUGS },
 2793   { "Asus", 0x0b05, "Memo ME173X (MTP)", 0x5410,
 2794       DEVICE_FLAGS_ANDROID_BUGS },
 2795   { "Asus", 0x0b05, "Memo ME173X (MTP+ADB)", 0x5411,
 2796       DEVICE_FLAGS_ANDROID_BUGS },
 2797   /* https://sourceforge.net/p/libmtp/bugs/1072/ */
 2798   { "Asus", 0x0b05, "Fonepad 7 LTE ME372CL (MTP+ADB)", 0x541f,
 2799       DEVICE_FLAGS_ANDROID_BUGS },
 2800   { "Asus", 0x0b05, "Memo K00F (MTP)", 0x5460,
 2801       DEVICE_FLAGS_ANDROID_BUGS },
 2802   { "Asus", 0x0b05, "Memo Pad 8 (MTP)", 0x5466,
 2803       DEVICE_FLAGS_ANDROID_BUGS },
 2804   { "Asus", 0x0b05, "Memo K00F (MTP+ADB)", 0x5468,
 2805       DEVICE_FLAGS_ANDROID_BUGS },
 2806   /* https://sourceforge.net/p/libmtp/support-requests/158/ */
 2807   { "Asus", 0x0b05, "ZenFone 5 (MTP)", 0x5480,
 2808       DEVICE_FLAGS_ANDROID_BUGS },
 2809   /* https://sourceforge.net/p/libmtp/bugs/1279/ */
 2810   { "Asus", 0x0b05, "ZenFone 5 (MTP+ADB)", 0x5481,
 2811       DEVICE_FLAGS_ANDROID_BUGS },
 2812   /* https://sourceforge.net/p/libmtp/bugs/1236/ */
 2813   { "Asus", 0x0b05, "ZenFone 6 (MTP)", 0x5490,
 2814       DEVICE_FLAGS_ANDROID_BUGS },
 2815   { "Asus", 0x0b05, "ZenFone 6 (MTP+ADB)", 0x5491,
 2816       DEVICE_FLAGS_ANDROID_BUGS },
 2817   /* https://sourceforge.net/p/libmtp/bugs/1239/ */
 2818   { "Asus", 0x0b05, "K010 (MTP)", 0x5500,
 2819       DEVICE_FLAGS_ANDROID_BUGS },
 2820   /* https://sourceforge.net/p/libmtp/bugs/1196/ */
 2821   { "Asus", 0x0b05, "MemoPad 7 (MTP+ADB)", 0x5506,
 2822       DEVICE_FLAGS_ANDROID_BUGS },
 2823   /* https://sourceforge.net/p/libmtp/bugs/1069/ */
 2824   { "Asus", 0x0b05, "K00E (MTP+ADB)", 0x550f,
 2825       DEVICE_FLAGS_ANDROID_BUGS },
 2826   /* https://sourceforge.net/p/libmtp/bugs/1244/ */
 2827   { "Asus", 0x0b05, "MemoPad 8 ME181 CX (MTP)", 0x5561,
 2828       DEVICE_FLAGS_ANDROID_BUGS },
 2829   /* https://sourceforge.net/p/libmtp/bugs/1406/ */
 2830   { "Asus", 0x0b05, "Zenfone 2 (MTP)", 0x5600,
 2831       DEVICE_FLAGS_ANDROID_BUGS },
 2832   /* https://sourceforge.net/p/libmtp/bugs/1364/ */
 2833   { "Asus", 0x0b05, "Z00AD (MTP)", 0x5601,
 2834       DEVICE_FLAGS_ANDROID_BUGS },
 2835   { "Asus", 0x0b05, "TX201LA (MTP)", 0x561f,
 2836       DEVICE_FLAGS_ANDROID_BUGS },
 2837   /* https://sourceforge.net/p/libmtp/bugs/1271/ */
 2838   { "Asus", 0x0b05, "ZenFone 4 (MTP)", 0x580f,
 2839       DEVICE_FLAGS_ANDROID_BUGS },
 2840   /* https://sourceforge.net/p/libmtp/bugs/1179/ */
 2841   { "Asus", 0x0b05, "ZenFone 4 A400CG (MTP)", 0x581f,
 2842       DEVICE_FLAGS_ANDROID_BUGS },
 2843   /* https://sourceforge.net/p/libmtp/bugs/1548/ */
 2844   { "Asus", 0x0b05, "ASUS FonePad 8 FE380CG (MTP)", 0x590f,
 2845       DEVICE_FLAGS_ANDROID_BUGS },
 2846   /* https://sourceforge.net/p/libmtp/bugs/1258/ */
 2847   { "Asus", 0x0b05, "A450CG (MTP)", 0x5a0f,
 2848       DEVICE_FLAGS_ANDROID_BUGS },
 2849   /* https://sourceforge.net/p/libmtp/bugs/1546/ */
 2850   { "Asus", 0x0b05, "ZenPad 80 (MTP)", 0x5e0f,
 2851       DEVICE_FLAGS_ANDROID_BUGS },
 2852   /* https://sourceforge.net/p/libmtp/bugs/1350/ */
 2853   { "Asus", 0x0b05, "Zenfone 2 ZE550ML (MTP)", 0x5f02,
 2854       DEVICE_FLAGS_ANDROID_BUGS },
 2855   /* https://sourceforge.net/p/libmtp/bugs/1364/ */
 2856   { "Asus", 0x0b05, "Zenfone 2 ZE551ML (MTP)", 0x5f03,
 2857       DEVICE_FLAGS_ANDROID_BUGS },
 2858   /* https://sourceforge.net/p/libmtp/feature-requests/255/ */
 2859   { "Asus", 0x0b05, "Zenfone V (MTP)", 0x610f,
 2860       DEVICE_FLAGS_ANDROID_BUGS },
 2861   /* https://sourceforge.net/p/libmtp/bugs/1642/ */
 2862   { "Asus", 0x0b05, "ME581CL", 0x7770,
 2863       DEVICE_FLAGS_ANDROID_BUGS },
 2864   /* https://sourceforge.net/p/libmtp/bugs/1232/ */
 2865   { "Asus", 0x0b05, "MemoPad 7 (ME572CL)", 0x7772,
 2866       DEVICE_FLAGS_ANDROID_BUGS },
 2867   /* https://sourceforge.net/p/libmtp/bugs/1351/ */
 2868   { "Asus", 0x0b05, "Fonepad 7 (FE375CXG)", 0x7773,
 2869       DEVICE_FLAGS_ANDROID_BUGS },
 2870   { "Asus", 0x0b05, "ZenFone 5 A500KL (MTP)", 0x7780,
 2871       DEVICE_FLAGS_ANDROID_BUGS },
 2872   /* https://sourceforge.net/p/libmtp/bugs/1247/ */
 2873   { "Asus", 0x0b05, "ZenFone 5 A500KL (MTP+ADB)", 0x7781,
 2874       DEVICE_FLAGS_ANDROID_BUGS },
 2875 
 2876 
 2877   /*
 2878    * Lenovo
 2879    */
 2880   /* https://sourceforge.net/p/libmtp/support-requests/178/ */
 2881   { "Lenovo", 0x17ef, "P70-A", 0x0c02,
 2882       DEVICE_FLAGS_ANDROID_BUGS },
 2883   /* https://sourceforge.net/p/libmtp/bugs/1415/ */
 2884   { "Lenovo", 0x17ef, "P70", 0x2008,
 2885       DEVICE_FLAGS_ANDROID_BUGS },
 2886   // Reported by Richard Körber <shredzone@users.sourceforge.net>
 2887   { "Lenovo", 0x17ef, "K1", 0x740a,
 2888       DEVICE_FLAGS_ANDROID_BUGS },
 2889   // Reported by anonymous sourceforge user
 2890   // Adding Android default bug flags since it appears to be an Android
 2891   { "Lenovo", 0x17ef, "ThinkPad Tablet", 0x741c,
 2892       DEVICE_FLAGS_ANDROID_BUGS },
 2893   // Medion is using Lenovos manufacturer ID it seems.
 2894   // Reported by Thomas Goss <thomas.goss@linux.com>
 2895   { "Medion", 0x17ef, "Lifetab P9516", 0x7483,
 2896       DEVICE_FLAGS_ANDROID_BUGS },
 2897   // Reported by: XChesser <XChesser@users.sourceforge.net>
 2898   { "Lenovo", 0x17ef, "P700", 0x7497,
 2899       DEVICE_FLAGS_ANDROID_BUGS },
 2900   /* https://sourceforge.net/p/libmtp/bugs/1185/ */
 2901   { "Lenovo", 0x17ef, "A820", 0x7498,
 2902       DEVICE_FLAGS_ANDROID_BUGS },
 2903   /* https://sourceforge.net/p/libmtp/bugs/1190/ */
 2904   { "Lenovo", 0x17ef, "P780", 0x74a6,
 2905       DEVICE_FLAGS_ANDROID_BUGS },
 2906   // Reported by: anonymous sourceforge user
 2907   { "Lenovo", 0x17ef, "Lifetab S9512", 0x74cc,
 2908       DEVICE_FLAGS_ANDROID_BUGS },
 2909   /* https://sourceforge.net/p/libmtp/feature-requests/217/ */
 2910   { "Lenovo", 0x17ef, "Vibe K5", 0x74ee,
 2911       DEVICE_FLAGS_ANDROID_BUGS },
 2912   /* https://sourceforge.net/p/libmtp/support-requests/170/ */
 2913   { "Lenovo", 0x17ef, "S660", 0x74f8,
 2914       DEVICE_FLAGS_ANDROID_BUGS },
 2915   // Reported by Brian J. Murrell
 2916   { "Lenovo", 0x17ef, "IdeaTab A2109A", 0x7542,
 2917       DEVICE_FLAGS_ANDROID_BUGS },
 2918   /* https://sourceforge.net/p/libmtp/support-requests/166/ */
 2919   { "Lenovo", 0x17ef, "IdeaTab S2210a", 0x757d,
 2920       DEVICE_FLAGS_ANDROID_BUGS },
 2921   /* https://sourceforge.net/p/libmtp/bugs/1529/ */
 2922   { "Lenovo", 0x17ef, "K900 (ID2)", 0x75b3,
 2923       DEVICE_FLAGS_ANDROID_BUGS },
 2924   /* https://sourceforge.net/p/libmtp/bugs/1123/ */
 2925   { "Lenovo", 0x17ef, "K900 (ID1)", 0x75b5,
 2926       DEVICE_FLAGS_ANDROID_BUGS },
 2927   // Reported by rvelev@mail.bg
 2928   { "Lenovo", 0x17ef, "IdeaPad A3000 (ID1)", 0x75bc,
 2929       DEVICE_FLAGS_ANDROID_BUGS },
 2930   { "Lenovo", 0x17ef, "IdeaPad A3000 (ID2)", 0x75be,
 2931       DEVICE_FLAGS_ANDROID_BUGS },
 2932   /* https://sourceforge.net/p/libmtp/support-requests/232/ */
 2933   { "Lenovo", 0x17ef, "A706", 0x7614,
 2934       DEVICE_FLAGS_ANDROID_BUGS },
 2935   { "Lenovo", 0x17ef, "IdeaTab S5000", 0x76e8,
 2936       DEVICE_FLAGS_ANDROID_BUGS },
 2937   { "Lenovo", 0x17ef, "Toga Tablet B6000-F", 0x76f2,
 2938       DEVICE_FLAGS_ANDROID_BUGS },
 2939   /* https://sourceforge.net/p/libmtp/bugs/1155/ */
 2940   { "Lenovo", 0x17ef, "Yoga Tablet 10 B8000-H", 0x76ff,
 2941       DEVICE_FLAGS_ANDROID_BUGS },
 2942   /* https://sourceforge.net/p/libmtp/bugs/1673/ */
 2943   { "Lenovo", 0x17ef, "S960", 0x770a,
 2944       DEVICE_FLAGS_ANDROID_BUGS },
 2945   /* https://sourceforge.net/p/libmtp/bugs/1597/ */
 2946   { "Lenovo", 0x17ef, "K910SS", 0x7713,
 2947       DEVICE_FLAGS_ANDROID_BUGS },
 2948   /* https://sourceforge.net/p/libmtp/bugs/1122/ */
 2949   { "Lenovo", 0x17ef, "S930", 0x7718,
 2950       DEVICE_FLAGS_ANDROID_BUGS },
 2951   /* https://sourceforge.net/p/libmtp/discussion/535190/ */
 2952   { "Lenovo", 0x17ef, "A5500-H", 0x772a,
 2953       DEVICE_FLAGS_ANDROID_BUGS },
 2954   /* https://sourceforge.net/p/libmtp/bugs/1250/ */
 2955   { "Lenovo", 0x17ef, "A5500-F", 0x772b,
 2956       DEVICE_FLAGS_ANDROID_BUGS },
 2957   /*  https://sourceforge.net/p/libmtp/bugs/1742/ */
 2958   { "Lenovo", 0x17ef, "A7600-F", 0x7730,
 2959       DEVICE_FLAGS_ANDROID_BUGS },
 2960   /*  https://sourceforge.net/p/libmtp/bugs/1391/ */
 2961   { "Lenovo", 0x17ef, "A7600-F 2nd", 0x7731,
 2962       DEVICE_FLAGS_ANDROID_BUGS },
 2963   /* https://sourceforge.net/p/libmtp/bugs/1291/ */
 2964   { "Lenovo", 0x17ef, "A3500-F", 0x7737,
 2965       DEVICE_FLAGS_ANDROID_BUGS },
 2966   /* https://sourceforge.net/p/libmtp/bugs/1556/ */
 2967   { "Lenovo", 0x17ef, "A3500-FL", 0x7738,
 2968       DEVICE_FLAGS_ANDROID_BUGS },
 2969   { "Lenovo", 0x17ef, "LifeTab E733X", 0x775a,
 2970       DEVICE_FLAGS_ANDROID_BUGS },
 2971   /* https://sourceforge.net/p/libmtp/bugs/1595/ */
 2972   { "Lenovo", 0x17ef, "K920", 0x778f,
 2973       DEVICE_FLAGS_ANDROID_BUGS },
 2974   /* https://sourceforge.net/p/libmtp/support-requests/186/ */
 2975   { "Lenovo", 0x17ef, "Yoga Tablet 2 - 1050F", 0x77a4,
 2976       DEVICE_FLAGS_ANDROID_BUGS },
 2977   /* https://sourceforge.net/p/libmtp/bugs/1828/ */
 2978   { "Lenovo", 0x17ef, "Yoga Tablet 2", 0x77a5,
 2979       DEVICE_FLAGS_ANDROID_BUGS },
 2980   /* https://sourceforge.net/p/libmtp/support-requests/168/ */
 2981   { "Lenovo", 0x17ef, "Yoga Tablet 2 Pro", 0x77b1,
 2982       DEVICE_FLAGS_ANDROID_BUGS },
 2983   /* https://sourceforge.net/p/libmtp/support-requests/219/ */
 2984   { "Lenovo", 0x17ef, "Tab S8-50F", 0x77d8,
 2985       DEVICE_FLAGS_ANDROID_BUGS },
 2986   /* https://sourceforge.net/p/libmtp/feature-requests/125/ */
 2987   { "Lenovo", 0x17ef, "Vibe Z2", 0x77ea,
 2988       DEVICE_FLAGS_ANDROID_BUGS },
 2989   /* https://sourceforge.net/p/libmtp/bugs/1793/ */
 2990   { "Lenovo", 0x17ef, "S60-a", 0x7802,
 2991       DEVICE_FLAGS_ANDROID_BUGS },
 2992   /* https://sourceforge.net/p/libmtp/support-requests/272/ */
 2993   { "Lenovo", 0x17ef, "A7-30HC", 0x7852,
 2994       DEVICE_FLAGS_ANDROID_BUGS },
 2995   /* https://sourceforge.net/p/libmtp/bugs/1861/ */
 2996   { "Lenovo", 0x17ef, "A7-30GC", 0x7853,
 2997       DEVICE_FLAGS_ANDROID_BUGS },
 2998   /* https://sourceforge.net/p/libmtp/feature-requests/253/ */
 2999   { "Lenovo", 0x17ef, "A7000-A Smartphone", 0x7882,
 3000       DEVICE_FLAGS_ANDROID_BUGS },
 3001   /* https://sourceforge.net/p/libmtp/bugs/1360/ */
 3002   { "Lenovo", 0x17ef, "K3 Note", 0x7883,
 3003       DEVICE_FLAGS_ANDROID_BUGS },
 3004   /* https://sourceforge.net/p/libmtp/bugs/1488/ */
 3005   { "Lenovo", 0x17ef, "A10-70F", 0x789a,
 3006       DEVICE_FLAGS_ANDROID_BUGS },
 3007   /* https://sourceforge.net/p/libmtp/bugs/1497/ */
 3008   { "Lenovo", 0x17ef, "A10-70L", 0x789b,
 3009       DEVICE_FLAGS_ANDROID_BUGS },
 3010   /* https://sourceforge.net/p/libmtp/support-requests/264/ */
 3011   { "Lenovo", 0x17ef, "Vibe Shot Z90a40", 0x78a7,
 3012       DEVICE_FLAGS_ANDROID_BUGS },
 3013   /* https://sourceforge.net/p/libmtp/bugs/1480/ */
 3014   { "Medion", 0x17ef, "P8312 Tablet", 0x78ae,
 3015       DEVICE_FLAGS_ANDROID_BUGS },
 3016   /* https://sourceforge.net/p/libmtp/support-requests/201/ */
 3017   { "Lenovo", 0x17ef, "Lifetab S1034X", 0x78b0,
 3018       DEVICE_FLAGS_ANDROID_BUGS },
 3019   /* https://sourceforge.net/p/libmtp/bugs/1572/ */
 3020   { "Lenovo", 0x17ef, "PHAB Plus", 0x78d1,
 3021       DEVICE_FLAGS_ANDROID_BUGS },
 3022   /* https://sourceforge.net/p/libmtp/bugs/1562/ */
 3023   { "Lenovo", 0x17ef, "Vibe K4 Note", 0x78f6,
 3024       DEVICE_FLAGS_ANDROID_BUGS },
 3025   /* https://sourceforge.net/p/libmtp/support-requests/213/ */
 3026   { "Lenovo", 0x17ef, "Vibe P1 Pro", 0x78fc,
 3027       DEVICE_FLAGS_ANDROID_BUGS },
 3028   /* https://sourceforge.net/p/libmtp/bugs/1531/ */
 3029   { "Lenovo", 0x17ef, "Vibe X", 0x7902,
 3030       DEVICE_FLAGS_ANDROID_BUGS },
 3031   /* https://sourceforge.net/p/libmtp/bugs/1784/ */
 3032   { "Lenovo", 0x17ef, "P1ma40 (2nd ID)", 0x7920,
 3033       DEVICE_FLAGS_ANDROID_BUGS },
 3034   /* https://sourceforge.net/p/libmtp/support-requests/235/ */
 3035   { "Lenovo", 0x17ef, "P1ma40", 0x7921,
 3036       DEVICE_FLAGS_ANDROID_BUGS },
 3037   /* https://sourceforge.net/p/libmtp/bugs/1465/ */
 3038   { "Lenovo", 0x17ef, "A1000 Smartphone", 0x7928,
 3039       DEVICE_FLAGS_ANDROID_BUGS },
 3040   /* https://sourceforge.net/p/libmtp/bugs/1465/ */
 3041   { "Lenovo", 0x17ef, "A1000 Smartphone ADB", 0x7929,
 3042       DEVICE_FLAGS_ANDROID_BUGS },
 3043   /* https://sourceforge.net/p/libmtp/feature-requests/224/ */
 3044   { "Lenovo", 0x17ef, "Yoga 10 Tablet YT3-X50F", 0x7932,
 3045       DEVICE_FLAGS_ANDROID_BUGS },
 3046   /* https://sourceforge.net/p/libmtp/feature-requests/204/ */
 3047   { "Lenovo", 0x17ef, "TAB 2 A10-30", 0x7949,
 3048       DEVICE_FLAGS_ANDROID_BUGS },
 3049   /* https://sourceforge.net/p/libmtp/bugs/1719/ */
 3050   { "Lenovo", 0x17ef, "YT3 X90F", 0x795c,
 3051       DEVICE_FLAGS_ANDROID_BUGS },
 3052   { "Lenovo", 0x17ef, "K5", 0x7993,
 3053       DEVICE_FLAGS_ANDROID_BUGS },
 3054   { "Lenovo", 0x17ef, "Vibe K5 Note", 0x7999,
 3055       DEVICE_FLAGS_ANDROID_BUGS },
 3056   /* https://sourceforge.net/p/libmtp/feature-requests/293/ */
 3057   { "Lenovo", 0x17ef, "TB3-710F", 0x79a2,
 3058       DEVICE_FLAGS_ANDROID_BUGS },
 3059   /* https://sourceforge.net/p/libmtp/bugs/1820/ */
 3060   { "Lenovo", 0x17ef, "YB1-X90F", 0x79af,
 3061       DEVICE_FLAGS_ANDROID_BUGS },
 3062   /* https://sourceforge.net/p/libmtp/bugs/1664/ */
 3063   { "Lenovo", 0x17ef, "Vibe K4", 0x79b7,
 3064       DEVICE_FLAGS_ANDROID_BUGS },
 3065   /* https://sourceforge.net/p/libmtp/support-requests/242/ */
 3066   { "Lenovo", 0x17ef, "Tab 3 10 Plus", 0x79de,
 3067       DEVICE_FLAGS_ANDROID_BUGS },
 3068   /* https://sourceforge.net/p/libmtp/bugs/1755/ */
 3069   { "Lenovo", 0x17ef, "TB3-850M ", 0x79de,
 3070       DEVICE_FLAGS_ANDROID_BUGS },
 3071   /* https://sourceforge.net/p/libmtp/bugs/1624/ */
 3072   { "Lenovo", 0x17ef, "B Smartphone", 0x7a18,
 3073       DEVICE_FLAGS_ANDROID_BUGS },
 3074   /* https://sourceforge.net/p/libmtp/bugs/1738/ */
 3075   { "Lenovo", 0x17ef, "K6 Power", 0x7a2a,
 3076       DEVICE_FLAGS_ANDROID_BUGS },
 3077   /* https://sourceforge.net/p/libmtp/bugs/1679/ */
 3078   { "Lenovo", 0x17ef, "C2", 0x7a36,
 3079       DEVICE_FLAGS_ANDROID_BUGS },
 3080   /* https://sourceforge.net/p/libmtp/support-requests/248/ */
 3081   { "Lenovo", 0x17ef, "P2c72", 0x7a36,
 3082       DEVICE_FLAGS_ANDROID_BUGS },
 3083   /* Marcus parents */
 3084   { "Lenovo", 0x17ef, "Tab 10", 0x7a50,
 3085       DEVICE_FLAGS_ANDROID_BUGS },
 3086   /* https://github.com/libmtp/libmtp/issues/33 */
 3087   { "Lenovo", 0x17ef, "Tab4 10 Plus", 0x7ad0,
 3088       DEVICE_FLAGS_ANDROID_BUGS },
 3089   /* https://sourceforge.net/p/libmtp/support-requests/262/ */
 3090   { "Lenovo", 0x17ef, "Tab4 10", 0x7ac5,
 3091       DEVICE_FLAGS_ANDROID_BUGS },
 3092   /* https://sourceforge.net/p/libmtp/feature-requests/296/ */
 3093   { "Lenovo", 0x17ef, "TB-7304I", 0x7b3c,
 3094       DEVICE_FLAGS_ANDROID_BUGS },
 3095   /* https://sourceforge.net/p/libmtp/bugs/1831/ */
 3096   { "Lenovo", 0x17ef, "Tab4 10 (2nd ID)", 0x7bc7,
 3097       DEVICE_FLAGS_ANDROID_BUGS },
 3098   /* https://sourceforge.net/p/libmtp/bugs/1873/ */
 3099   { "Lenovo", 0x17ef, "Tab P10", 0x7bd3,
 3100       DEVICE_FLAGS_ANDROID_BUGS },
 3101   { "Lenovo", 0x17ef, "TB-X606F", 0x7c45,
 3102       DEVICE_FLAGS_ANDROID_BUGS },
 3103   /* https://sourceforge.net/p/libmtp/bugs/1736/ */
 3104   { "Lenovo", 0x17ef, "P1060X", 0x9039,
 3105       DEVICE_FLAGS_ANDROID_BUGS },
 3106   /* https://sourceforge.net/p/libmtp/feature-requests/259/ */
 3107   { "Medion", 0x17ef, "P10606", 0xf003,
 3108       DEVICE_FLAGS_ANDROID_BUGS },
 3109 
 3110   /*
 3111    * Huawei
 3112    * IDs used by Honor U8860,U8815,U9200,P2
 3113    */
 3114   { "Huawei", 0x12d1, "MTP device (ID1)", 0x1051,
 3115       DEVICE_FLAGS_ANDROID_BUGS },
 3116   { "Huawei", 0x12d1, "MTP device (ID2)", 0x1052,
 3117       DEVICE_FLAGS_ANDROID_BUGS },
 3118   /* https://sourceforge.net/p/libmtp/bugs/1507/ */
 3119   { "Huawei", 0x12d1, "Honor 7", 0x1074,
 3120       DEVICE_FLAGS_ANDROID_BUGS },
 3121   /* https://sourceforge.net/p/libmtp/bugs/1381/ */
 3122   { "Huawei", 0x12d1, "H60-L11", 0x1079,
 3123       DEVICE_FLAGS_ANDROID_BUGS },
 3124   /* https://sourceforge.net/p/libmtp/bugs/1550/ */
 3125   { "Huawei", 0x12d1, "H60-L12", 0x107a,
 3126       DEVICE_FLAGS_ANDROID_BUGS },
 3127   /* https://sourceforge.net/p/libmtp/bugs/1640/ */
 3128   { "Huawei", 0x12d1, "Nova", 0x107d,
 3129       DEVICE_FLAGS_ANDROID_BUGS },
 3130   /* https://sourceforge.net/p/libmtp/feature-requests/173/ */
 3131   { "Huawei", 0x12d1, "P9 Plus", 0x107e,
 3132       DEVICE_FLAGS_ANDROID_BUGS },
 3133   /* https://sourceforge.net/p/libmtp/support-requests/259/ */
 3134   { "Huawei", 0x12d1, "Y5 2017", 0x107f,
 3135       DEVICE_FLAGS_ANDROID_BUGS },
 3136   /* https://sourceforge.net/p/libmtp/bugs/1361/ */
 3137   { "Huawei", 0x12d1, "Ascend P8", 0x1082,
 3138       DEVICE_FLAGS_ANDROID_BUGS },
 3139   /* https://sourceforge.net/p/libmtp/support-requests/276/ */
 3140   { "Huawei", 0x12d1, "Y600", 0x2008,
 3141       DEVICE_FLAGS_ANDROID_BUGS },
 3142   /* https://sourceforge.net/p/libmtp/bugs/1418/ */
 3143   { "Huawei", 0x12d1, "Honor 3C", 0x2012,
 3144       DEVICE_FLAGS_ANDROID_BUGS },
 3145   /* https://sourceforge.net/p/libmtp/bugs/1629/ */
 3146   { "Huawei", 0x12d1, "Y320-U10", 0x2406,
 3147       DEVICE_FLAGS_ANDROID_BUGS },
 3148   /* https://sourceforge.net/p/libmtp/bugs/1703/ */
 3149   { "Huawei", 0x12d1, "Y625-U03", 0x255d,
 3150       DEVICE_FLAGS_ANDROID_BUGS },
 3151   /* https://sourceforge.net/p/libmtp/feature-requests/186/ */
 3152   { "Huawei", 0x12d1, "Y360-U61", 0x2567,
 3153       DEVICE_FLAGS_ANDROID_BUGS },
 3154   /* https://sourceforge.net/p/libmtp/feature-requests/205/ */
 3155   { "Huawei", 0x12d1, "Y360-U03", 0x256b,
 3156       DEVICE_FLAGS_ANDROID_BUGS },
 3157   /* https://sourceforge.net/p/libmtp/bugs/1774/ */
 3158   { "Huawei", 0x12d1, "Y541-U02", 0x257c,
 3159       DEVICE_FLAGS_ANDROID_BUGS },
 3160   /* https://sourceforge.net/p/libmtp/support-requests/227/ */
 3161   { "Huawei", 0x12d1, "Y560-L01", 0x259c,
 3162       DEVICE_FLAGS_ANDROID_BUGS },
 3163   /* https://sourceforge.net/p/libmtp/bugs/1695/
 3164    * Seth Brown on libmtp-discuss
 3165    */
 3166   { "Huawei", 0x12d1, "CUN-U29", 0x2608,
 3167       DEVICE_FLAGS_ANDROID_BUGS },
 3168   /* https://sourceforge.net/p/libmtp/support-requests/257/ */
 3169   { "Huawei", 0x12d1, "LUA-L02", 0x260b,
 3170       DEVICE_FLAGS_ANDROID_BUGS },
 3171   { "Huawei", 0x12d1, "Mediapad (mode 0)", 0x360f,
 3172       DEVICE_FLAGS_ANDROID_BUGS },
 3173   // Reported by Bearsh <bearsh@users.sourceforge.net>
 3174   { "Huawei", 0x12d1, "Mediapad (mode 1)", 0x361f,
 3175       DEVICE_FLAGS_ANDROID_BUGS },
 3176 
 3177   /*
 3178    * ZTE
 3179    * Android devices reported by junwang <lovewjlove@users.sourceforge.net>
 3180    */
 3181   { "ZTE", 0x19d2, "V55 ID 1", 0x0244, DEVICE_FLAGS_ANDROID_BUGS },
 3182   { "ZTE", 0x19d2, "V55 ID 2", 0x0245, DEVICE_FLAGS_ANDROID_BUGS },
 3183   { "ZTE", 0x19d2, "V790/Blade 3", 0x0306, DEVICE_FLAGS_ANDROID_BUGS },
 3184   { "ZTE", 0x19d2, "V880E", 0x0307, DEVICE_FLAGS_ANDROID_BUGS },
 3185   /* https://sourceforge.net/p/libmtp/bugs/672/ */
 3186   { "ZTE", 0x19d2, "Grand X In", 0x0343, DEVICE_FLAGS_ANDROID_BUGS },
 3187   { "ZTE", 0x19d2, "V985", 0x0383, DEVICE_FLAGS_ANDROID_BUGS },
 3188   /* https://sourceforge.net/p/libmtp/bugs/1745/ */
 3189   { "ZTE", 0x19d2, "Blade L3", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 3190   /* https://sourceforge.net/p/libmtp/bugs/1328/ */
 3191   { "ZTE", 0x19d2, "V5", 0xffce, DEVICE_FLAGS_ANDROID_BUGS },
 3192   /* https://sourceforge.net/p/libmtp/bugs/1646/ */
 3193   { "ZTE", 0x19d2, "Z9 Max", 0xffcf, DEVICE_FLAGS_ANDROID_BUGS },
 3194 
 3195   /*
 3196    * HTC (High Tech Computer Corp)
 3197    * Reporters:
 3198    * Steven Eastland <grassmonk@users.sourceforge.net>
 3199    * Kevin Cheng <kache@users.sf.net>
 3200    */
 3201   /* https://sourceforge.net/p/libmtp/feature-requests/173/ */
 3202   { "HTC", 0x0bb4, "M9", 0x0401,
 3203       DEVICE_FLAGS_ANDROID_BUGS },
 3204   /* https://sourceforge.net/p/libmtp/support-requests/181/ */
 3205   { "HTC", 0x0bb4, "One M9 (1st ID)", 0x040b,
 3206       DEVICE_FLAGS_ANDROID_BUGS },
 3207   /* https://sourceforge.net/p/libmtp/bugs/1398/ */
 3208   { "HTC", 0x0bb4, "Spreadtrum SH57MYZ03342 (MTP)", 0x05e3,
 3209       DEVICE_FLAGS_ANDROID_BUGS },
 3210   /* https://sourceforge.net/p/libmtp/bugs/1840/ */
 3211   { "HTC", 0x0bb4, "Desire 626G (MTP)", 0x05f0,
 3212       DEVICE_FLAGS_ANDROID_BUGS },
 3213   /* reported by Mikkel Oscar Lyderik <mikkeloscar@gmail.com> */
 3214   { "HTC", 0x0bb4, "Desire 510 (MTP+ADB)", 0x05fd,
 3215       DEVICE_FLAGS_ANDROID_BUGS },
 3216   /* https://sourceforge.net/p/libmtp/bugs/1221/ */
 3217   { "HTC", 0x0bb4, "One M8 Google Play Edition (MTP+ADB)", 0x060b,
 3218       DEVICE_FLAG_NONE },
 3219   /* https://sourceforge.net/p/libmtp/bugs/1500/ */
 3220   { "HTC", 0x0bb4, "One Mini 2 (MTP)", 0x0629,
 3221       DEVICE_FLAG_NONE },
 3222   /* https://sourceforge.net/p/libmtp/bugs/1508/ */
 3223   { "HTC", 0x0bb4, "One M9 (2nd ID)", 0x065c,
 3224       DEVICE_FLAG_NONE },
 3225   /* https://sourceforge.net/p/libmtp/bugs/1543/ */
 3226   { "HTC", 0x0bb4, "Desire 626s (MTP)", 0x0668,
 3227       DEVICE_FLAG_NONE },
 3228   /* https://sourceforge.net/p/libmtp/support-requests/200/ */
 3229   { "HTC", 0x0bb4, "HTC Desire 520", 0x0670,
 3230       DEVICE_FLAGS_ANDROID_BUGS },
 3231   /* https://sourceforge.net/p/libmtp/support-requests/153/ */
 3232   { "HTC", 0x0bb4, "HTC6515LVW/One Remix", 0x07d8,
 3233       DEVICE_FLAG_NONE },
 3234   /* https://sourceforge.net/p/libmtp/bugs/1615/ */
 3235   { "HTC", 0x0bb4, "HTC X920E", 0x07a1,
 3236       DEVICE_FLAG_NONE },
 3237   /* https://sourceforge.net/p/libmtp/support-requests/141/ */
 3238   { "HTC", 0x0bb4, "HTC One (HTC6500LVW)", 0x07ae,
 3239       DEVICE_FLAG_NONE },
 3240   /* https://sourceforge.net/p/libmtp/support-requests/128/ */
 3241   { "HTC", 0x0bb4, "HTC One M8 (HTC6525LVW)", 0x07ca,
 3242       DEVICE_FLAG_NONE },
 3243   /* https://sourceforge.net/p/libmtp/bugs/1161/ */
 3244   { "HTC", 0x0bb4, "HTC One M8 (Verizon) (HTC6525LVW)", 0x07cb,
 3245       DEVICE_FLAG_NONE },
 3246   /* https://sourceforge.net/p/libmtp/bugs/1133/ */
 3247   { "HTC", 0x0bb4, "HTC One Remix (HTC6515LVW)", 0x07d9,
 3248       DEVICE_FLAG_NONE },
 3249   // Reported by Markus Heberling
 3250   { "HTC", 0x0bb4, "Windows Phone 8X ID1", 0x0ba1,
 3251       DEVICE_FLAG_NONE },
 3252   { "HTC", 0x0bb4, "Windows Phone 8X ID2", 0x0ba2,
 3253       DEVICE_FLAG_NONE },
 3254 
 3255 #if 1
 3256   /* after some review I commented it back in. There was apparently
 3257    * only one or two devices misbehaving (having this ID in mass storage mode),
 3258    * but more seem to use it regulary as MTP devices. Marcus 20150401 */
 3259   /*
 3260    * This had to be commented out - the same VID+PID is used also for
 3261    * other modes than MTP, so we need to let mtp-probe do its job on this
 3262    * device instead of adding it to the database.
 3263    * used by various devices, like Fairphone, Elephone P5000, etc
 3264    * https://sourceforge.net/p/libmtp/bugs/1290/
 3265    */
 3266   { "HTC", 0x0bb4, "Android Device ID1 (Zopo, HD2, Bird...)", 0x0c02,
 3267       DEVICE_FLAGS_ANDROID_BUGS },
 3268 #endif
 3269   /* https://sourceforge.net/p/libmtp/bugs/1677/ */
 3270   { "DEXP", 0x0bb4, "Ixion XL145 Snatch", 0x0c08,
 3271       DEVICE_FLAGS_ANDROID_BUGS },
 3272   { "HTC", 0x0bb4, "EVO 4G LTE/One V (ID1)", 0x0c93,
 3273       DEVICE_FLAGS_ANDROID_BUGS },
 3274   { "HTC", 0x0bb4, "EVO 4G LTE/One V (ID2)", 0x0ca8,
 3275       DEVICE_FLAGS_ANDROID_BUGS },
 3276   { "HTC", 0x0bb4, "HTC One S (ID1)", 0x0cec,
 3277       DEVICE_FLAGS_ANDROID_BUGS },
 3278   { "HTC", 0x0bb4, "One Mini (ID1)", 0x0dcd,
 3279       DEVICE_FLAGS_ANDROID_BUGS },
 3280   { "HTC", 0x0bb4, "HTC One 802w (ID1)", 0x0dd2,
 3281       DEVICE_FLAGS_ANDROID_BUGS },
 3282   { "HTC", 0x0bb4, "HTC Desire X", 0x0dd5,
 3283       DEVICE_FLAGS_ANDROID_BUGS },
 3284   { "HTC", 0x0bb4, "HTC One (ID1)", 0x0dda,
 3285       DEVICE_FLAGS_ANDROID_BUGS },
 3286   { "HTC", 0x0bb4, "HTC Butterfly X290d", 0x0de4,
 3287       DEVICE_FLAGS_ANDROID_BUGS },
 3288   { "HTC", 0x0bb4, "HTC One (MTP+UMS+ADB)", 0x0dea,
 3289       DEVICE_FLAGS_ANDROID_BUGS },
 3290   { "HTC", 0x0bb4, "HTC Evo 4G LTE (ID1)", 0x0df5,
 3291       DEVICE_FLAGS_ANDROID_BUGS },
 3292   { "HTC", 0x0bb4, "HTC One S (ID2)", 0x0df8,
 3293       DEVICE_FLAGS_ANDROID_BUGS },
 3294   { "HTC", 0x0bb4, "HTC One S (ID3)", 0x0df9,
 3295       DEVICE_FLAGS_ANDROID_BUGS },
 3296   { "HTC", 0x0bb4, "HTC One X (ID1)", 0x0dfa,
 3297       DEVICE_FLAGS_ANDROID_BUGS },
 3298   { "HTC", 0x0bb4, "HTC One X (ID2)", 0x0dfb,
 3299       DEVICE_FLAGS_ANDROID_BUGS },
 3300   { "HTC", 0x0bb4, "HTC One X (ID3)", 0x0dfc,
 3301       DEVICE_FLAGS_ANDROID_BUGS },
 3302   { "HTC", 0x0bb4, "HTC One X (ID4)", 0x0dfd,
 3303       DEVICE_FLAGS_ANDROID_BUGS },
 3304   { "HTC", 0x0bb4, "HTC Butterfly (ID1)", 0x0dfe,
 3305       DEVICE_FLAGS_ANDROID_BUGS },
 3306   { "HTC", 0x0bb4, "Droid DNA (MTP+UMS+ADB)", 0x0dff,
 3307       DEVICE_FLAGS_ANDROID_BUGS },
 3308   { "HTC", 0x0bb4, "HTC Droid Incredible 4G LTE (MTP)", 0x0e31,
 3309       DEVICE_FLAGS_ANDROID_BUGS },
 3310   { "HTC", 0x0bb4, "HTC Droid Incredible 4G LTE (MTP+ADB)", 0x0e32,
 3311       DEVICE_FLAGS_ANDROID_BUGS },
 3312   { "HTC", 0x0bb4, "Droid DNA (MTP+UMS)", 0x0ebd,
 3313       DEVICE_FLAGS_ANDROID_BUGS },
 3314   /* https://sourceforge.net/p/libmtp/bugs/1182/ */
 3315   { "HTC", 0x0bb4, "Desire 310 (MTP)", 0x0ec6,
 3316       DEVICE_FLAGS_ANDROID_BUGS },
 3317   /* https://sourceforge.net/p/libmtp/bugs/1481/ */
 3318   { "HTC", 0x0bb4, "Desire 310 (2nd id) (MTP)", 0x0ec7,
 3319       DEVICE_FLAGS_ANDROID_BUGS },
 3320   /* https://sourceforge.net/p/libmtp/bugs/1420/ */
 3321   { "HTC", 0x0bb4, "Desire 816G (MTP)", 0x0edb,
 3322       DEVICE_FLAGS_ANDROID_BUGS },
 3323   /* https://sourceforge.net/p/libmtp/bugs/1632/ */
 3324   { "HTC", 0x0bb4, "Desire 626G Dual Sim (MTP)", 0x0edd,
 3325       DEVICE_FLAGS_ANDROID_BUGS },
 3326   { "HTC", 0x0bb4, "HTC One (MTP+ADB+CDC)", 0x0f5f,
 3327       DEVICE_FLAGS_ANDROID_BUGS },
 3328   { "HTC", 0x0bb4, "HTC One (MTP+CDC)", 0x0f60,
 3329       DEVICE_FLAGS_ANDROID_BUGS },
 3330   { "HTC", 0x0bb4, "HTC One (MTP+ADB)", 0x0f63,
 3331       DEVICE_FLAGS_ANDROID_BUGS },
 3332   { "HTC", 0x0bb4, "HTC One (MTP)", 0x0f64,
 3333       DEVICE_FLAGS_ANDROID_BUGS },
 3334   { "HTC", 0x0bb4, "HTC One (MTP+ADB+?)", 0x0f87,
 3335       DEVICE_FLAGS_ANDROID_BUGS },
 3336   { "HTC", 0x0bb4, "HTC One (ID3)", 0x0f91,
 3337       DEVICE_FLAGS_ANDROID_BUGS },
 3338   { "HTC", 0x0bb4, "HTC One M8 (MTP)", 0x0f25,
 3339       DEVICE_FLAGS_ANDROID_BUGS },
 3340   /* https://sourceforge.net/p/libmtp/feature-requests/245/ */
 3341   { "HTC", 0x0bb4, "HTC One U11 (MTP)", 0x0f26,
 3342       DEVICE_FLAGS_ANDROID_BUGS },
 3343   { "HTC", 0x0bb4, "HTC One M8 (MTP+ADB)", 0x061a,
 3344       DEVICE_FLAGS_ANDROID_BUGS },
 3345   { "HTC", 0x0bb4, "HTC One M8 (MTP+UMS)", 0x0fb5,
 3346       DEVICE_FLAGS_ANDROID_BUGS },
 3347   { "HTC", 0x0bb4, "HTC One M8 (MTP+ADB+UMS)", 0x0fb4,
 3348       DEVICE_FLAGS_ANDROID_BUGS },
 3349 
 3350 #if 1
 3351   /* after some review I commented it back in. There was apparently
 3352    * only one or two devices misbehaving (having this ID in mass storage mode),
 3353    * but more seem to use it regulary as MTP devices. Marcus 20150401 */
 3354   /*
 3355    * This had to be commented out - the same VID+PID is used also for
 3356    * other modes than MTP, so we need to let mtp-probe do its job on this
 3357    * device instead of adding it to the database.
 3358    *
 3359    * Apparently also used by a clone called Jiayu G2S
 3360    * with the MTK6577T chipset
 3361    * http://www.ejiayu.com/en/Product-19.html
 3362    * Wiko Cink Peax 2
 3363    */
 3364   { "HTC", 0x0bb4, "Android Device ID2 (Zopo, HD2...)", 0x2008,
 3365       DEVICE_FLAGS_ANDROID_BUGS },
 3366 #endif
 3367   /* https://sourceforge.net/p/libmtp/bugs/1198/ */
 3368   { "HTC", 0x0bb4, "Motorola Razr D1", 0x2012,
 3369       DEVICE_FLAGS_ANDROID_BUGS },
 3370   /* https://sourceforge.net/p/libmtp/bugs/1440/ */
 3371   { "HTC", 0x0bb4, "Motorola P98 4G", 0x201d,
 3372       DEVICE_FLAGS_ANDROID_BUGS },
 3373   /* https://sourceforge.net/p/libmtp/bugs/1508/ */
 3374   { "HTC", 0x0bb4, "One M9 (3rd ID)", 0x4ee1,
 3375       DEVICE_FLAGS_ANDROID_BUGS },
 3376   /* https://sourceforge.net/p/libmtp/support-requests/217/ */
 3377   { "HTC", 0x0bb4, "One M9 (4th ID)", 0x4ee2,
 3378       DEVICE_FLAGS_ANDROID_BUGS },
 3379   // These identify themselves as "cm_tenderloin", fun...
 3380   // Done by HTC for HP I guess.
 3381   { "HTC (for Hewlett-Packard)", 0x0bb4, "HP Touchpad (MTP)", 0x685c,
 3382       DEVICE_FLAGS_ANDROID_BUGS },
 3383   { "HTC (for Hewlett-Packard)", 0x0bb4, "HP Touchpad (MTP+ADB)", 0x6860,
 3384       DEVICE_FLAGS_ANDROID_BUGS },
 3385   { "HTC", 0x0bb4, "Windows Phone 8s ID1", 0xf0ca,
 3386       DEVICE_FLAG_NONE },
 3387 
 3388   /*
 3389    * NEC
 3390    */
 3391   { "NEC", 0x0409, "FOMA N01A", 0x0242, DEVICE_FLAG_NONE },
 3392   /* https://sourceforge.net/p/libmtp/bugs/1724/ */
 3393   { "Casio", 0x0409, "GzOne Commando C771", 0x02ed, DEVICE_FLAG_NONE },
 3394   { "NEC", 0x0409, "Casio C811", 0x0326, DEVICE_FLAG_NONE },
 3395   { "NEC", 0x0409, "Casio CA-201L", 0x0432, DEVICE_FLAG_NONE },
 3396 
 3397   /*
 3398    * nVidia
 3399    */
 3400   // Found on Internet forum
 3401   { "nVidia", 0x0955, "CM9-Adam", 0x70a9,
 3402       DEVICE_FLAGS_ANDROID_BUGS },
 3403   // Various pads such as Nabi2, Notion Ink Adam, Viewsonic G-Tablet
 3404   { "nVidia", 0x0955, "Various tablets (ID1)", 0x7100,
 3405       DEVICE_FLAGS_ANDROID_BUGS },
 3406   { "nVidia", 0x0955, "Various tablets (ID2)", 0x7102,
 3407       DEVICE_FLAGS_ANDROID_BUGS },
 3408   /* https://sourceforge.net/p/libmtp/bugs/1582/ */
 3409   { "nVidia", 0x0955, "Jetson TX1", 0x7721,
 3410       DEVICE_FLAGS_ANDROID_BUGS },
 3411   { "nVidia", 0x0955, "Shield (MTP+ADB)", 0xb400,
 3412       DEVICE_FLAGS_ANDROID_BUGS },
 3413   /* https://sourceforge.net/p/libmtp/bugs/1447/ */
 3414   { "nVidia", 0x0955, "Shield (MTP)", 0xb401,
 3415       DEVICE_FLAGS_ANDROID_BUGS },
 3416   /* https://sourceforge.net/p/libmtp/feature-requests/297/ */
 3417   { "nVidia", 0x0955, "Shield Android TV pro (MTP)", 0xb42a,
 3418       DEVICE_FLAGS_ANDROID_BUGS },
 3419   /* https://sourceforge.net/p/libmtp/bugs/1087/ */
 3420   { "nVidia", 0x0955, "Tegra Note", 0xcf02,
 3421       DEVICE_FLAGS_ANDROID_BUGS },
 3422   { "nVidia", 0x0955, "Shield Tablet (MTP+ADB)", 0xcf05,
 3423       DEVICE_FLAGS_ANDROID_BUGS },
 3424   /* benpro82@gmail.com */
 3425   { "nVidia", 0x0955, "Shield Tablet (MTP)", 0xcf07,
 3426       DEVICE_FLAGS_ANDROID_BUGS },
 3427 
 3428   /*
 3429    * Vizio
 3430    * Reported by:
 3431    * Michael Gurski <gurski@users.sourceforge.net>
 3432    */
 3433   /* https://sourceforge.net/p/libmtp/support-requests/221/ */
 3434   { "Nokia", 0x0489, "N1", 0x1ab0,
 3435       DEVICE_FLAGS_ANDROID_BUGS },
 3436   /* https://sourceforge.net/p/libmtp/bugs/1567/ */
 3437   { "InFocus", 0x0489, "M808", 0xc00b,
 3438       DEVICE_FLAGS_ANDROID_BUGS },
 3439   /* https://sourceforge.net/p/libmtp/support-requests/138/ */
 3440   { "InFocus", 0x0489, "M810", 0xc025,
 3441       DEVICE_FLAGS_ANDROID_BUGS },
 3442   { "Vizio", 0x0489, "Unknown 1", 0xc026,
 3443       DEVICE_FLAGS_ANDROID_BUGS },
 3444   { "Vizio", 0x0489, "VTAB1008", 0xe040,
 3445       DEVICE_FLAGS_ANDROID_BUGS },
 3446   { "Vizio (for Lenovo)", 0x0489, "LIFETAB S9714", 0xe111,
 3447       DEVICE_FLAGS_ANDROID_BUGS },
 3448 
 3449 
 3450   /*
 3451    * Amazon
 3452    */
 3453   { "Amazon", 0x1949, "Kindle Fire 2G (ID1)", 0x0005,
 3454       DEVICE_FLAGS_ANDROID_BUGS },
 3455   { "Amazon", 0x1949, "Kindle Fire (ID1)", 0x0007,
 3456       DEVICE_FLAGS_ANDROID_BUGS },
 3457   { "Amazon", 0x1949, "Kindle Fire (ID2)", 0x0008,
 3458       DEVICE_FLAGS_ANDROID_BUGS },
 3459   { "Amazon", 0x1949, "Kindle Fire (ID3)", 0x000a,
 3460       DEVICE_FLAGS_ANDROID_BUGS },
 3461   /* https://sourceforge.net/p/libmtp/bugs/1026/ */
 3462   { "Amazon", 0x1949, "Kindle Fire (ID6)", 0x000b,
 3463       DEVICE_FLAGS_ANDROID_BUGS },
 3464   { "Amazon", 0x1949, "Kindle Fire (ID4)", 0x000c,
 3465       DEVICE_FLAGS_ANDROID_BUGS },
 3466   /* https://sourceforge.net/p/libmtp/bugs/1015/ */
 3467   { "Amazon", 0x1949, "Kindle Fire (ID7)", 0x000d,
 3468       DEVICE_FLAGS_ANDROID_BUGS },
 3469   { "Amazon", 0x1949, "Kindle Fire (ID5)", 0x0012,
 3470       DEVICE_FLAGS_ANDROID_BUGS },
 3471   /* https://sourceforge.net/p/libmtp/bugs/1353/ */
 3472   { "Amazon", 0x1949, "Kindle Fire HD6", 0x00f2,
 3473       DEVICE_FLAGS_ANDROID_BUGS },
 3474   /* R Billing tested one unit rbilling@tanglewood.online
 3475    * https://github.com/gphoto/libgphoto2/issues/473 */
 3476   { "Amazon", 0x1949, "Kindle Fire 7 (3rd ID)", 0x0121,
 3477       DEVICE_FLAGS_ANDROID_BUGS },
 3478   /* https://sourceforge.net/p/libmtp/bugs/1460/ */
 3479   { "Amazon", 0x1949, "Kindle Fire 8", 0x0211,
 3480       DEVICE_FLAGS_ANDROID_BUGS },
 3481   /* https://sourceforge.net/p/libmtp/feature-requests/158/ */
 3482   { "Amazon", 0x1949, "Kindle Fire 8 HD", 0x0212,
 3483       DEVICE_FLAGS_ANDROID_BUGS },
 3484   /* https://sourceforge.net/p/libmtp/bugs/1448/ */
 3485   { "Amazon", 0x1949, "Kindle Fire 7", 0x0221,
 3486       DEVICE_FLAGS_ANDROID_BUGS },
 3487   /* https://sourceforge.net/p/libmtp/bugs/1491/ */
 3488   { "Amazon", 0x1949, "Kindle Fire 5", 0x0222,
 3489       DEVICE_FLAGS_ANDROID_BUGS },
 3490   /* https://sourceforge.net/p/libmtp/bugs/1718/ */
 3491   { "Amazon", 0x1949, "Kindle Fire 8 (2nd ID)", 0x0261,
 3492       DEVICE_FLAGS_ANDROID_BUGS },
 3493   /* https://sourceforge.net/p/libmtp/bugs/1776/ */
 3494   { "Amazon", 0x1949, "Kindle Fire 7 (2nd ID)", 0x0271,
 3495       DEVICE_FLAGS_ANDROID_BUGS },
 3496   /* https://sourceforge.net/p/libmtp/bugs/1845/ */
 3497   { "Amazon", 0x1949, "Kindle Fire Kids", 0x0272,
 3498       DEVICE_FLAGS_ANDROID_BUGS },
 3499   /* https://sourceforge.net/p/libmtp/feature-requests/279/ */
 3500   { "Amazon", 0x1949, "Kindle Fire Tablet 10 HD", 0x0281,
 3501       DEVICE_FLAGS_ANDROID_BUGS },
 3502   /* https://github.com/libmtp/libmtp/issues/21 */
 3503   { "Amazon", 0x1949, "Kindle Fire 8 HD (2nd ID)", 0x0331,
 3504       DEVICE_FLAGS_ANDROID_BUGS },
 3505   /* https://sourceforge.net/p/libmtp/feature-requests/300/ */
 3506   { "Amazon", 0x1949, "Kindle Fire 8 HD (3rd ID)", 0x0332,
 3507       DEVICE_FLAGS_ANDROID_BUGS },
 3508   /* https://sourceforge.net/p/libmtp/support-requests/293/ */
 3509   { "Amazon", 0x1949, "Kindle Fire Tablet 10 HD (2nd ID)", 0x03f1,
 3510       DEVICE_FLAGS_ANDROID_BUGS },
 3511 
 3512   { "Amazon", 0x1949, "Kindle Fire HD8 Plus", 0x0581,
 3513       DEVICE_FLAGS_ANDROID_BUGS },
 3514   { "Amazon", 0x1949, "Fire Phone", 0x0800,
 3515       DEVICE_FLAGS_ANDROID_BUGS },
 3516   /* https://sourceforge.net/p/libmtp/bugs/1876/ */
 3517   { "Amazon", 0x1949, "Kindle Fire (ID 8)", 0x0c31,
 3518       DEVICE_FLAGS_ANDROID_BUGS },
 3519 
 3520   /*
 3521    * Barnes&Noble
 3522    */
 3523   { "Barnes&Noble", 0x2080, "Nook HD+", 0x0005,
 3524       DEVICE_FLAGS_ANDROID_BUGS },
 3525   { "Barnes&Noble", 0x2080, "Nook HD", 0x0006,
 3526       DEVICE_FLAGS_ANDROID_BUGS },
 3527   /* https://sourceforge.net/p/libmtp/bugs/1504/ */
 3528   { "Barnes&Noble", 0x2080, "Nook Glowlight+", 0x000a,
 3529       DEVICE_FLAGS_ANDROID_BUGS },
 3530 
 3531   /*
 3532    * Viewpia, bq, YiFang
 3533    * Seems like some multi-branded OEM product line.
 3534    */
 3535   { "Various", 0x2207, "Viewpia DR/bq Kepler", 0x0001,
 3536       DEVICE_FLAGS_ANDROID_BUGS },
 3537   { "YiFang", 0x2207, "BQ Tesla", 0x0006,
 3538       DEVICE_FLAGS_ANDROID_BUGS },
 3539   /* https://bugs.debian.org/917259 */
 3540   { "Various", 0x2207, "Onyx Boox Max 2", 0x000b,
 3541       DEVICE_FLAGS_ANDROID_BUGS },
 3542   /* https://sourceforge.net/p/libmtp/bugs/1833/ */
 3543   { "Onyx", 0x2207, "Boox Max 2 Pro", 0x000c,
 3544       DEVICE_FLAGS_ANDROID_BUGS },
 3545   /* https://sourceforge.net/p/libmtp/bugs/1834/ */
 3546   { "Onyx", 0x2207, "Boox Note", 0x000d,
 3547       DEVICE_FLAGS_ANDROID_BUGS },
 3548   /* https://sourceforge.net/p/libmtp/bugs/1354/ */
 3549   { "Various", 0x2207, "Viewpia DR/bq Kepler Debugging", 0x0011,
 3550       DEVICE_FLAGS_ANDROID_BUGS },
 3551   /* https://sourceforge.net/p/libmtp/support-requests/291/ */
 3552   { "Onyx", 0x2207, "Boox Nova", 0x0014,
 3553       DEVICE_FLAGS_ANDROID_BUGS },
 3554   /* https://sourceforge.net/p/libmtp/bugs/1900/ */
 3555   { "Onyx", 0x2207, "Boox Nova Pro", 0x0015,
 3556       DEVICE_FLAGS_ANDROID_BUGS },
 3557 
 3558   /*
 3559    * Kobo
 3560    */
 3561   /* https://sourceforge.net/p/libmtp/bugs/1208/ */
 3562   { "Kobo", 0x2237, "Arc 7 HD", 0xb108,
 3563       DEVICE_FLAGS_ANDROID_BUGS },
 3564   // Reported by George Talusan
 3565   { "Kobo", 0x2237, "Arc (ID1)", 0xd108,
 3566       DEVICE_FLAGS_ANDROID_BUGS },
 3567   { "Kobo", 0x2237, "Arc (ID2)", 0xd109,
 3568       DEVICE_FLAGS_ANDROID_BUGS },
 3569 
 3570   /*
 3571    * Hisense
 3572    */
 3573   // Reported by Anonymous SourceForge users
 3574   { "HiSense", 0x109b, "Sero 7 Pro", 0x9105, DEVICE_FLAGS_ANDROID_BUGS },
 3575   { "Hisense", 0x109b, "E860 (ID1)", 0x9106, DEVICE_FLAGS_ANDROID_BUGS },
 3576   { "Hisense", 0x109b, "E860 (ID2)", 0x9109, DEVICE_FLAGS_ANDROID_BUGS },
 3577   /* https://sourceforge.net/p/libmtp/bugs/1704/ */
 3578   { "Crosscall", 0x109b, "Trekker M1 core", 0x9130, DEVICE_FLAGS_ANDROID_BUGS },
 3579 
 3580 
 3581   /*
 3582    * Intel
 3583    * Also sold rebranded as Orange products
 3584    */
 3585   /* https://sourceforge.net/p/libmtp/feature-requests/215/ */
 3586   { "Intel", 0x8087, "Point of View TAB-I847", 0x092a, DEVICE_FLAGS_ANDROID_BUGS },
 3587 
 3588   { "Intel", 0x8087, "Xolo 900/AZ210A", 0x09fb, DEVICE_FLAGS_ANDROID_BUGS },
 3589   /* https://sourceforge.net/p/libmtp/bugs/1256/ */
 3590   { "Intel", 0x8087, "Noblex T7A21", 0x0a16, DEVICE_FLAGS_ANDROID_BUGS },
 3591   /* https://sourceforge.net/p/libmtp/bugs/1252/ */
 3592   { "Intel", 0x8087, "Foxconn iView i700", 0x0a15, DEVICE_FLAGS_ANDROID_BUGS },
 3593   /* https://sourceforge.net/p/libmtp/bugs/1237/ */
 3594   { "Intel", 0x8087, "Telcast Air 3G", 0x0a5e, DEVICE_FLAGS_ANDROID_BUGS },
 3595   /* https://sourceforge.net/p/libmtp/bugs/1338/ */
 3596   { "Intel", 0x8087, "Chuwi vi8", 0x0a5f, DEVICE_FLAGS_ANDROID_BUGS },
 3597 
 3598   /*
 3599    * Xiaomi
 3600    */
 3601   /* https://sourceforge.net/p/libmtp/bugs/1269/ */
 3602   { "Xiaomi", 0x2717, "Mi-3w (MTP)", 0x0360,
 3603       DEVICE_FLAGS_ANDROID_BUGS },
 3604   { "Xiaomi", 0x2717, "Mi-3 (MTP)", 0x0368,
 3605       DEVICE_FLAGS_ANDROID_BUGS },
 3606   /* https://sourceforge.net/p/libmtp/bugs/1149/ */
 3607   { "Xiaomi", 0x2717, "MiPad (MTP)", 0x0660,
 3608       DEVICE_FLAGS_ANDROID_BUGS },
 3609   /* https://sourceforge.net/p/libmtp/bugs/1489/ */
 3610   { "Xiaomi", 0x2717, "MiPad (MTP+ADB)", 0x0668,
 3611       DEVICE_FLAGS_ANDROID_BUGS },
 3612   { "Xiaomi", 0x2717, "Hongmi (MTP+ADB)", 0x1240,
 3613       DEVICE_FLAGS_ANDROID_BUGS },
 3614   /* https://sourceforge.net/p/libmtp/bugs/1095/ */
 3615   { "Xiaomi", 0x2717, "Hongmi (MTP)", 0x1248,
 3616       DEVICE_FLAGS_ANDROID_BUGS },
 3617   /* https://sourceforge.net/p/libmtp/bugs/1295/ */
 3618   { "Redmi", 0x2717, "1S (MTP)", 0x1260,
 3619       DEVICE_FLAGS_ANDROID_BUGS },
 3620   /* https://sourceforge.net/p/libmtp/bugs/1164/ */
 3621   { "Redmi", 0x2717, "HM 1S (MTP)", 0x1268,
 3622       DEVICE_FLAGS_ANDROID_BUGS },
 3623   /* https://sourceforge.net/p/libmtp/bugs/1702/ */
 3624   { "Xiaomi", 0x2717, "HM NOTE 1LTEW 4G Phone (MTP)", 0x1360,
 3625       DEVICE_FLAGS_ANDROID_BUGS },
 3626   /* https://sourceforge.net/p/libmtp/discussion/535190/ */
 3627   { "Xiaomi", 0x2717, "HM NOTE 1LTEW MIUI (MTP)", 0x1368,
 3628       DEVICE_FLAGS_ANDROID_BUGS },
 3629   { "Xiaomi", 0x2717, "Mi-2 (MTP+ADB)", 0x9039,
 3630       DEVICE_FLAGS_ANDROID_BUGS },
 3631   { "Xiaomi", 0x2717, "Mi-2 (MTP)", 0xf003,
 3632       DEVICE_FLAGS_ANDROID_BUGS },
 3633   /* https://sourceforge.net/p/libmtp/bugs/1397/ */
 3634   { "Xiaomi", 0x2717, "Mi-2s (id2) (MTP)", 0xff40,
 3635       DEVICE_FLAGS_ANDROID_BUGS },
 3636   /* https://sourceforge.net/p/libmtp/bugs/1339/ */
 3637   { "Xiaomi", 0x2717, "Mi-2s (MTP)", 0xff48,
 3638       DEVICE_FLAGS_ANDROID_BUGS },
 3639   /* https://sourceforge.net/p/libmtp/bugs/1402/ */
 3640   { "Xiaomi", 0x2717, "Redmi 2 (MTP)", 0xff60,
 3641       DEVICE_FLAGS_ANDROID_BUGS },
 3642   /* https://sourceforge.net/p/libmtp/bugs/1445/ */
 3643   { "Xiaomi", 0x2717, "Redmi 2 2014811 (MTP)", 0xff68,
 3644       DEVICE_FLAGS_ANDROID_BUGS },
 3645 
 3646   /*
 3647    * XO Learning Tablet
 3648    * Also Trio Stealth G2 tablet it seems
 3649    */
 3650   { "Acromag Inc.", 0x16d5, "XO Learning Tablet (MTP+ADB)", 0x8005,
 3651       DEVICE_FLAGS_ANDROID_BUGS },
 3652   { "Acromag Inc.", 0x16d5, "XO Learning Tablet (MTP)", 0x8006,
 3653       DEVICE_FLAGS_ANDROID_BUGS },
 3654 
 3655   /*
 3656    * SHARP Corporation
 3657    */
 3658   { "SHARP Corporation", 0x0489, "SH930W", 0xc025,
 3659       DEVICE_FLAGS_ANDROID_BUGS },
 3660   { "SHARP Corporation", 0x04dd, "SBM203SH", 0x9661,
 3661       DEVICE_FLAGS_ANDROID_BUGS },
 3662   { "SHARP Corporation", 0x04dd, "SH-06E", 0x96ca,
 3663       DEVICE_FLAGS_ANDROID_BUGS },
 3664   /* https://sourceforge.net/p/libmtp/feature-requests/192/ */
 3665   { "SHARP Corporation", 0x04dd, "SHV35 AQUOS U", 0x99d2,
 3666       DEVICE_FLAGS_ANDROID_BUGS },
 3667   /* https://sourceforge.net/p/libmtp/bugs/1883/ */
 3668   { "SHARP Corporation", 0x04dd, "AndroidOne S5", 0x9c90,
 3669       DEVICE_FLAGS_ANDROID_BUGS },
 3670 
 3671   /*
 3672    * T & A Mobile phones Alcatel and TCT
 3673    */
 3674   { "Alcatel", 0x1bbb, "One Touch 997D (MTP+ADB)", 0x0c02,
 3675       DEVICE_FLAGS_ANDROID_BUGS },
 3676   { "Alcatel", 0x1bbb, "One Touch 997D (MTP)", 0x2008,
 3677       DEVICE_FLAGS_ANDROID_BUGS },
 3678   { "Alcatel/TCT", 0x1bbb, "6010D/TCL S950", 0x0167,
 3679       DEVICE_FLAGS_ANDROID_BUGS },
 3680   { "Alcatel", 0x1bbb, "6030a", 0x0168,
 3681       DEVICE_FLAGS_ANDROID_BUGS },
 3682   /* https://sourceforge.net/p/libmtp/feature-requests/276/ */
 3683   { "Alcatel", 0x1bbb, "A405DL", 0x901b,
 3684       DEVICE_FLAGS_ANDROID_BUGS },
 3685   { "Alcatel/Bouygues", 0x1bbb, "BS472", 0x904d,
 3686       DEVICE_FLAGS_ANDROID_BUGS },
 3687   /* https://sourceforge.net/p/libmtp/bugs/1304/ */
 3688   { "Alcatel", 0x1bbb, "OneTouch 5042D (MTP)", 0xa00e,
 3689       DEVICE_FLAGS_ANDROID_BUGS },
 3690   /* https://sourceforge.net/p/libmtp/bugs/1776/ */
 3691   { "Alcatel", 0x1bbb, "Popo4 (MTP)", 0xa00f,
 3692       DEVICE_FLAGS_ANDROID_BUGS },
 3693   /* https://sourceforge.net/p/libmtp/bugs/1605/ */
 3694   { "Alcatel", 0x1bbb, "OneTouch Idol 3 ID2 (MTP)", 0xaf00,
 3695       DEVICE_FLAGS_ANDROID_BUGS },
 3696   /* https://sourceforge.net/p/libmtp/support-requests/189/ */
 3697   { "Alcatel", 0x1bbb, "OneTouch Idol 3 small (MTP)", 0xaf2a,
 3698       DEVICE_FLAGS_ANDROID_BUGS },
 3699   /* https://sourceforge.net/p/libmtp/bugs/1401/ */
 3700   { "Alcatel", 0x1bbb, "OneTouch Idol 3 (MTP)", 0xaf2b,
 3701       DEVICE_FLAGS_ANDROID_BUGS },
 3702   /* https://sourceforge.net/p/libmtp/feature-requests/114/ */
 3703   { "Alcatel", 0x1bbb, "OneTouch 6034R", 0xf003,
 3704       DEVICE_FLAGS_ANDROID_BUGS },
 3705 
 3706   /*
 3707    * Kyocera
 3708    */
 3709   { "Kyocera", 0x0482, "Rise", 0x0571, DEVICE_FLAGS_ANDROID_BUGS },
 3710   /* https://sourceforge.net/p/libmtp/bugs/1492/ */
 3711   { "Kyocera", 0x0482, "Event", 0x0591, DEVICE_FLAGS_ANDROID_BUGS  & ~DEVICE_FLAG_FORCE_RESET_ON_CLOSE },
 3712   /* https://sourceforge.net/p/libmtp/feature-requests/134/ */
 3713   { "Kyocera", 0x0482, "Torque Model E6715", 0x0059a, DEVICE_FLAGS_ANDROID_BUGS },
 3714   /* https://sourceforge.net/p/libmtp/feature-requests/164/ */
 3715   { "Kyocera", 0x0482, "Hydro Elite C6750", 0x073c, DEVICE_FLAGS_ANDROID_BUGS },
 3716   /* https://sourceforge.net/p/libmtp/discussion/535190/thread/6270f5ce/ */
 3717   { "Kyocera", 0x0482, "KYL22", 0x0810, DEVICE_FLAGS_ANDROID_BUGS },
 3718   /* https://sourceforge.net/p/libmtp/support-requests/270/ */
 3719   { "Kyocera", 0x0482, "Hydro Icon", 0x085e, DEVICE_FLAGS_ANDROID_BUGS },
 3720   /* https://sourceforge.net/p/libmtp/bugs/1518/ */
 3721   { "Kyocera", 0x0482, "302KC", 0x09fc, DEVICE_FLAGS_ANDROID_BUGS },
 3722   /* https://sourceforge.net/p/libmtp/bugs/1345/ */
 3723   { "Kyocera", 0x0482, "DuraForce", 0x0979, DEVICE_FLAGS_ANDROID_BUGS },
 3724   /* https://sourceforge.net/p/libmtp/bugs/1476/ */
 3725   { "Kyocera", 0x0482, "KC-S701", 0x09cb, DEVICE_FLAGS_ANDROID_BUGS },
 3726   /* https://sourceforge.net/p/libmtp/feature-requests/192/ */
 3727   { "Kyocera", 0x0482, "C6740N", 0x0a73, DEVICE_FLAGS_ANDROID_BUGS },
 3728   /* https://sourceforge.net/p/libmtp/feature-requests/220/ */
 3729   { "Kyocera", 0x0482, "Duraforce XD", 0x0a9a, DEVICE_FLAGS_ANDROID_BUGS },
 3730 
 3731   /*
 3732    * Hewlett-Packard
 3733    */
 3734   { "Hewlett-Packard", 0x03f0, "Slate 7 4600", 0x5c1d,
 3735       DEVICE_FLAGS_ANDROID_BUGS },
 3736   { "Hewlett-Packard", 0x03f0, "Slate 7 2800", 0x5d1d,
 3737       DEVICE_FLAGS_ANDROID_BUGS },
 3738   /* https://sourceforge.net/p/libmtp/bugs/1366/ */
 3739   { "Hewlett-Packard", 0x03f0, "Slate 10 HD", 0x7e1d,
 3740       DEVICE_FLAGS_ANDROID_BUGS },
 3741 
 3742   /*
 3743    * MediaTek Inc.
 3744    */
 3745   { "MediaTek Inc", 0x0e8d, "MT5xx and MT6xx SoCs", 0x0050,
 3746       DEVICE_FLAGS_ANDROID_BUGS },
 3747   /* https://sourceforge.net/p/libmtp/bugs/1553/ */
 3748   { "Bravis", 0x0e8d, "A401 Neo", 0x0c03,
 3749       DEVICE_FLAGS_ANDROID_BUGS },
 3750   /* https://sourceforge.net/p/libmtp/bugs/1422/ */
 3751   { "MediaTek Inc", 0x0e8d, "MT65xx", 0x2008,
 3752       DEVICE_FLAGS_ANDROID_BUGS },
 3753   /* https://sourceforge.net/p/libmtp/bugs/1467/ */
 3754   { "elephone", 0x0e8d, "p6000", 0x2008,
 3755       DEVICE_FLAGS_ANDROID_BUGS },
 3756   /* https://sourceforge.net/p/libmtp/feature-requests/234/ */
 3757   { "DOODGE", 0x0e8d, "X6pro", 0x200a,
 3758       DEVICE_FLAGS_ANDROID_BUGS },
 3759   /* https://sourceforge.net/p/libmtp/support-requests/289/ */
 3760   { "Jinga", 0x0e8d, "PassPluss", 0x2012, DEVICE_FLAGS_ANDROID_BUGS },
 3761   /* https://sourceforge.net/p/libmtp/feature-requests/79/ */
 3762   { "MediaTek Inc", 0x0e8d, "Elephone P8000", 0x201d,
 3763       DEVICE_FLAGS_ANDROID_BUGS },
 3764   /* https://sourceforge.net/p/libmtp/bugs/1717/ */
 3765   { "MediaTek Inc", 0x0e8d, "Wiko Sunny", 0x4001,
 3766       DEVICE_FLAGS_ANDROID_BUGS },
 3767   /* https://sourceforge.net/p/libmtp/bugs/1855/ */
 3768   { "Vivo", 0x0e8d, "Y21", 0xff00, DEVICE_FLAGS_ANDROID_BUGS },
 3769 
 3770   /*
 3771    * Jolla
 3772    */
 3773   { "Jolla", 0x2931, "Sailfish (ID1)", 0x0a01,
 3774       DEVICE_FLAGS_ANDROID_BUGS },
 3775 
 3776   /* In update 4 the order of devices was changed for
 3777      better OS X / Windows suport and another device-id
 3778      got assigned for the MTP */
 3779   { "Jolla", 0x2931, "Sailfish (ID2)", 0x0a05,
 3780       DEVICE_FLAGS_ANDROID_BUGS },
 3781 
 3782   /* In a later version, the ID changed again. */
 3783   { "Jolla", 0x2931, "Sailfish (ID3)", 0x0a07,
 3784       DEVICE_FLAGS_ANDROID_BUGS },
 3785 
 3786   /*
 3787    * TCL? Alcatel?
 3788    */
 3789   { "TCL", 0x0451, "Alcatel one touch 986+", 0xd108,
 3790       DEVICE_FLAGS_ANDROID_BUGS },
 3791 
 3792   /*
 3793    * Garmin
 3794    */
 3795   { "Garmin", 0x091e, "Monterra", 0x2585, DEVICE_FLAGS_ANDROID_BUGS },
 3796   /* https://sourceforge.net/p/libmtp/bugs/1779/ */
 3797   { "Garmin", 0x091e, "Forerunner 645 Music", 0x4b48, DEVICE_FLAGS_ANDROID_BUGS },
 3798   { "Garmin", 0x091e, "D2 Air", 0x488b, DEVICE_FLAGS_ANDROID_BUGS },
 3799   /* https://github.com/libmtp/libmtp/issues/15 */
 3800   { "Garmin", 0x091e, "Fenix 5/5S/5X Plus", 0x4b54, DEVICE_FLAGS_ANDROID_BUGS },
 3801   /* https://sourceforge.net/p/libmtp/feature-requests/271/ */
 3802   { "Garmin", 0x091e, "Vivoactive 3", 0x4bac, DEVICE_FLAGS_ANDROID_BUGS },
 3803   { "Garmin", 0x091e, "Vivoactive 3 Music LTE", 0x4bfa, DEVICE_FLAGS_ANDROID_BUGS },
 3804   /* https://sourceforge.net/p/libmtp/bugs/1884/ */
 3805   { "Garmin", 0x091e, "Forerunner 245 Music ", 0x4c05, DEVICE_FLAGS_ANDROID_BUGS },
 3806   { "Garmin", 0x091e, "Forerunner 945", 0x4c29, DEVICE_FLAGS_ANDROID_BUGS },
 3807   { "Garmin", 0x091e, "D2 Delta/Delta S/Delta PX", 0x4c7c, DEVICE_FLAGS_ANDROID_BUGS },
 3808   { "Garmin", 0x091e, "Vivoactive 4S", 0x4c98, DEVICE_FLAGS_ANDROID_BUGS },
 3809   /* https://github.com/libmtp/libmtp/issues/51 */
 3810   { "Garmin", 0x091e, "Vivoactive 4", 0x4c99, DEVICE_FLAGS_ANDROID_BUGS },
 3811   /* https://sourceforge.net/p/libmtp/bugs/1864/ */
 3812   { "Garmin", 0x091e, "Venu", 0x4c9a, DEVICE_FLAGS_ANDROID_BUGS },
 3813   { "Garmin", 0x091e, "MARQ", 0x4cae, DEVICE_FLAGS_ANDROID_BUGS },
 3814   { "Garmin", 0x091e, "MARQ Aviator", 0x4caf, DEVICE_FLAGS_ANDROID_BUGS },
 3815   { "Garmin", 0x091e, "Descent Mk2/Mk2i", 0x4cba, DEVICE_FLAGS_ANDROID_BUGS },
 3816   { "Garmin", 0x091e, "Fenix 6S Pro/Sapphire", 0x4cd8, DEVICE_FLAGS_ANDROID_BUGS },
 3817   /* https://sourceforge.net/p/libmtp/bugs/1852/ */
 3818   { "Garmin", 0x091e, "Fenix 6 Pro/Sapphire", 0x4cda, DEVICE_FLAGS_ANDROID_BUGS },
 3819   { "Garmin", 0x091e, "Fenix 6X Pro/Sapphire", 0x4cdb, DEVICE_FLAGS_ANDROID_BUGS },
 3820   /* https://sourceforge.net/p/libmtp/bugs/1887/ */
 3821   { "Garmin", 0x091e, "Zumo XT", 0x4d9c, DEVICE_FLAGS_ANDROID_BUGS },
 3822   { "Garmin", 0x091e, "Rey", 0x4daa, DEVICE_FLAGS_ANDROID_BUGS },
 3823   { "Garmin", 0x091e, "Darth Vader", 0x4dab, DEVICE_FLAGS_ANDROID_BUGS },
 3824   { "Garmin", 0x091e, "Captain Marvel", 0x4dac, DEVICE_FLAGS_ANDROID_BUGS },
 3825   { "Garmin", 0x091e, "First Avenger", 0x4dad, DEVICE_FLAGS_ANDROID_BUGS },
 3826   { "Garmin", 0x091e, "Forerunner 745", 0x4e05, DEVICE_FLAGS_ANDROID_BUGS },
 3827   { "Garmin", 0x091e, "Venu Sq Music", 0x4e0c, DEVICE_FLAGS_ANDROID_BUGS },
 3828   { "Garmin", 0x091e, "Descent Mk2/Mk2i (APAC)", 0x4e76, DEVICE_FLAGS_ANDROID_BUGS }, /* APAC version */
 3829   { "Garmin", 0x091e, "Venu Mercedes-Benz Collection", 0x4e9C, DEVICE_FLAGS_ANDROID_BUGS },
 3830 
 3831   /*
 3832    * Wacom
 3833    */
 3834   { "Wacom", 0x0531, "Cintiq Companion Hybrid (MTP+ADB)", 0x2001,
 3835       DEVICE_FLAGS_ANDROID_BUGS },
 3836 
 3837   /*
 3838    * Kurio
 3839    */
 3840   { "Kurio", 0x1f3a, "7S", 0x1006,
 3841       DEVICE_FLAGS_ANDROID_BUGS },
 3842   /* https://sourceforge.net/p/libmtp/bugs/1521/ */
 3843   { "iRulu", 0x1f3a, "X1s", 0x1007,
 3844       DEVICE_FLAGS_ANDROID_BUGS },
 3845   /* https://sourceforge.net/p/libmtp/bugs/1245/ */
 3846   { "DigiLand", 0x1f3a, "DL701Q", 0x0c02,
 3847       DEVICE_FLAGS_ANDROID_BUGS },
 3848 
 3849   /*
 3850    * bq
 3851    * https://sourceforge.net/p/libmtp/feature-requests/128/
 3852    */
 3853   { "bq", 0x2a47, "Krillin (MTP+ADB)", 0x0c02,
 3854       DEVICE_FLAGS_ANDROID_BUGS },
 3855   { "bq", 0x2a47, "Krillin (MTP)", 0x2008,
 3856       DEVICE_FLAGS_ANDROID_BUGS },
 3857   /* https://sourceforge.net/p/libmtp/feature-requests/163/ */
 3858   { "bq", 0x2a47, "Aquaris M10 (MTP)", 0x200d,
 3859       DEVICE_FLAGS_ANDROID_BUGS },
 3860   /* https://sourceforge.net/p/libmtp/bugs/1558/ */
 3861   { "bq", 0x2a47, "Avila Cooler (MTP)", 0x201d,
 3862       DEVICE_FLAGS_ANDROID_BUGS },
 3863   /* https://sourceforge.net/p/libmtp/support-requests/224/ */
 3864   { "bq", 0x2a47, "Aquaris X5 (MTP)", 0x3003,
 3865       DEVICE_FLAGS_ANDROID_BUGS },
 3866   /* https://sourceforge.net/p/libmtp/support-requests/284/ */
 3867   { "bq", 0x2a47, "Aquaris X2 (MTP)", 0x4ee1,
 3868       DEVICE_FLAGS_ANDROID_BUGS },
 3869   /* https://sourceforge.net/p/libmtp/bugs/1311/ */
 3870   { "bq", 0x2a47, "Aquarius E5-4G", 0x7f10,
 3871       DEVICE_FLAGS_ANDROID_BUGS },
 3872   /* https://sourceforge.net/p/libmtp/feature-requests/181/ */
 3873   { "bq", 0x2a47, "Aquarius X5 (MTP) (ID2)", 0x7f11,
 3874       DEVICE_FLAGS_ANDROID_BUGS },
 3875   /* https://sourceforge.net/p/libmtp/bugs/1541/ */
 3876   { "bq", 0x2a47, "Aquarius M5.5", 0x901b,
 3877       DEVICE_FLAGS_ANDROID_BUGS },
 3878   /* https://sourceforge.net/p/libmtp/support-requests/269/ */
 3879   { "bq", 0x2a47, "Aquarius U", 0x9039,
 3880       DEVICE_FLAGS_ANDROID_BUGS },
 3881   /* https://sourceforge.net/p/libmtp/bugs/1874/ */
 3882   { "bq", 0x2a47, "Aquarius U (2nd id)", 0x903a,
 3883       DEVICE_FLAGS_ANDROID_BUGS },
 3884   /* https://sourceforge.net/p/libmtp/feature-requests/231/ */
 3885   { "bq", 0x2a47, "U Plus", 0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 3886 
 3887   /* https://sourceforge.net/p/libmtp/bugs/1292/ */
 3888   { "Prestigio", 0x29e4, "5505 DUO ", 0x1103, DEVICE_FLAGS_ANDROID_BUGS },
 3889   /* https://sourceforge.net/p/libmtp/support-requests/260/ */
 3890   { "MediaTek", 0x29e4, "5508 DUO", 0x1201, DEVICE_FLAGS_ANDROID_BUGS },
 3891   /* https://sourceforge.net/p/libmtp/bugs/1243/ */
 3892   { "Prestigio", 0x29e4, "5504 DUO ", 0x1203, DEVICE_FLAGS_ANDROID_BUGS },
 3893   /* https://sourceforge.net/p/libmtp/feature-requests/141/ */
 3894   { "Prestigio", 0x29e4, "3405 DUO ", 0x3201, DEVICE_FLAGS_ANDROID_BUGS },
 3895   /* https://sourceforge.net/p/libmtp/support-requests/287/ */
 3896   { "Prestigio", 0x29e4, "Multipad Color 8", 0xb001, DEVICE_FLAGS_ANDROID_BUGS },
 3897   /* https://sourceforge.net/p/libmtp/feature-requests/148/ */
 3898   { "Prestigio", 0x29e4, "Multipad Color 7.0", 0xb003, DEVICE_FLAGS_ANDROID_BUGS },
 3899 
 3900   /* https://sourceforge.net/p/libmtp/bugs/1283/ */
 3901   { "Megafon", 0x201e, "MFLogin3T", 0x42ab, DEVICE_FLAGS_ANDROID_BUGS },
 3902   /* https://sourceforge.net/p/libmtp/support-requests/208/ */
 3903   { "Haier", 0x201e, "CT715", 0xa0c1, DEVICE_FLAGS_ANDROID_BUGS },
 3904 
 3905   /* https://sourceforge.net/p/libmtp/bugs/1287/ */
 3906   { "Gensis", 0x040d, "GT-7305 ", 0x885c, DEVICE_FLAGS_ANDROID_BUGS },
 3907 
 3908   /* https://sourceforge.net/p/libmtp/support-requests/182/ */
 3909   { "Oppo", 0x22d9, "Find 5", 0x2764, DEVICE_FLAGS_ANDROID_BUGS },
 3910   /* https://sourceforge.net/p/libmtp/bugs/1207/ */
 3911   { "Oppo", 0x22d9, "Find 7 (ID 1)", 0x2765, DEVICE_FLAGS_ANDROID_BUGS },
 3912   /* https://sourceforge.net/p/libmtp/bugs/1277/ */
 3913   { "Oppo", 0x22d9, "X9006", 0x2773, DEVICE_FLAGS_ANDROID_BUGS },
 3914   /* https://sourceforge.net/p/libmtp/support-requests/129/ */
 3915   { "Oppo", 0x22d9, "Find 7 (ID 2)", 0x2774, DEVICE_FLAGS_ANDROID_BUGS },
 3916 
 3917   /* https://sourceforge.net/p/libmtp/bugs/1273/ */
 3918   { "Gigabyte", 0x0414, "RCT6773W22 (MTP+ADB)", 0x0c02, DEVICE_FLAGS_ANDROID_BUGS },
 3919   { "Gigabyte", 0x0414, "RCT6773W22 (MTP)", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 3920 
 3921   /* https://sourceforge.net/p/libmtp/bugs/1264/ */
 3922   { "Meizu", 0x2a45, "MX Phone (MTP)", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 3923   /* https://sourceforge.net/p/libmtp/bugs/1263/ */
 3924   { "Meizu", 0x2a45, "MX Phone (MTP+ADB)", 0x0c02, DEVICE_FLAGS_ANDROID_BUGS },
 3925 
 3926   /* https://sourceforge.net/p/libmtp/bugs/1201/ */
 3927   { "Caterpillar", 0x04b7, "Cat S50", 0x88a9, DEVICE_FLAGS_ANDROID_BUGS },
 3928   /* https://sourceforge.net/p/libmtp/bugs/1525/ */
 3929   { "Caterpillar", 0x04b7, "Cat S50 (2nd ID)", 0x88aa, DEVICE_FLAGS_ANDROID_BUGS },
 3930   /* https://sourceforge.net/p/libmtp/bugs/1603/ */
 3931   { "Caterpillar", 0x04b7, "Cat S40", 0x88b0, DEVICE_FLAGS_ANDROID_BUGS },
 3932   /* https://sourceforge.net/p/libmtp/support-requests/253/ */
 3933   { "Caterpillar", 0x04b7, "Cat S30", 0x88b9, DEVICE_FLAGS_ANDROID_BUGS },
 3934   /* https://sourceforge.net/p/libmtp/feature-requests/176/ */
 3935   { "Caterpillar", 0x04b7, "Cat S60", 0x88c0, DEVICE_FLAGS_ANDROID_BUGS },
 3936   /* https://sourceforge.net/p/libmtp/bugs/1850/ */
 3937   { "Caterpillar", 0x04b7, "Cat S60 (2nd ID)", 0x88c1, DEVICE_FLAGS_ANDROID_BUGS },
 3938   /* https://sourceforge.net/p/libmtp/bugs/1757/ */
 3939   { "Caterpillar", 0x04b7, "Cat S41", 0x88c6, DEVICE_FLAGS_ANDROID_BUGS },
 3940   /* https://sourceforge.net/p/libmtp/feature-requests/260/ */
 3941   { "Caterpillar", 0x04b7, "Cat S31", 0x88d0, DEVICE_FLAGS_ANDROID_BUGS },
 3942   /* https://sourceforge.net/p/libmtp/bugs/1814/ */
 3943   { "Caterpillar", 0x04b7, "Cat S61", 0x88d6, DEVICE_FLAGS_ANDROID_BUGS },
 3944 
 3945   /* https://sourceforge.net/p/libmtp/bugs/682/ */
 3946   { "Pegatron", 0x1d4d, "Chagall (ADB)", 0x5035, DEVICE_FLAGS_ANDROID_BUGS },
 3947   { "Pegatron", 0x1d4d, "Chagall", 0x5036, DEVICE_FLAGS_ANDROID_BUGS },
 3948   /* https://sourceforge.net/p/libmtp/feature-requests/115/ */
 3949   { "Pegatron", 0x1d4d, "Hudl 2", 0x504a, DEVICE_FLAGS_ANDROID_BUGS },
 3950 
 3951   /* https://sourceforge.net/p/libmtp/support-requests/127/ */
 3952   { "Yota", 0x2916, "Phone C9660", 0x9039, DEVICE_FLAGS_ANDROID_BUGS },
 3953   /* https://sourceforge.net/p/libmtp/bugs/1661/ */
 3954   { "Yota", 0x2916, "Phone", 0x9139, DEVICE_FLAGS_ANDROID_BUGS },
 3955   /* https://sourceforge.net/p/libmtp/bugs/1229/ */
 3956   { "Yota", 0x2916, "Phone 2", 0x914d, DEVICE_FLAGS_ANDROID_BUGS },
 3957   /* https://sourceforge.net/p/libmtp/bugs/1267/ */
 3958   { "Yota", 0x2916, "Phone 2 (ID2)", 0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 3959 
 3960   /* https://sourceforge.net/p/libmtp/bugs/1212/ */
 3961   { "Fly", 0x2970, "Evo Tech 4", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 3962   /* https://sourceforge.net/p/libmtp/bugs/1865/ */
 3963   { "Fly", 0x2970, "5S ", 0x4002, DEVICE_FLAGS_ANDROID_BUGS },
 3964 
 3965   /* https://sourceforge.net/p/libmtp/bugs/1720/ */
 3966   { "Wileyfox", 0x2970, "Spark Plus", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 3967 
 3968   /* https://sourceforge.net/p/libmtp/feature-requests/289/ */
 3969   { "Wileyfox", 0x2970, "Spark", 0x201d, DEVICE_FLAGS_ANDROID_BUGS },
 3970 
 3971   /* https://sourceforge.net/p/libmtp/feature-requests/146/ */
 3972   { "Wileyfox", 0x2970, "Swift", 0x2281, DEVICE_FLAGS_ANDROID_BUGS },
 3973   /* https://sourceforge.net/p/libmtp/feature-requests/159/ */
 3974   { "Wileyfox", 0x2970, "Swift 2", 0x2282, DEVICE_FLAGS_ANDROID_BUGS },
 3975 
 3976   /* https://sourceforge.net/p/libmtp/bugs/1554/ */
 3977   { "Kazam", 0x2970, "Trooper 650 4G", 0x9039, DEVICE_FLAGS_ANDROID_BUGS },
 3978 
 3979   /* https://sourceforge.net/p/libmtp/bugs/1303/ */
 3980   { "Megafon", 0x1271, "Login+", 0x2012, DEVICE_FLAGS_ANDROID_BUGS },
 3981 
 3982   /* https://sourceforge.net/p/libmtp/bugs/1127/ */
 3983   { "Fly", 0x2970, "iq4415 era style 3", 0x0c02, DEVICE_FLAGS_ANDROID_BUGS },
 3984   /* https://sourceforge.net/p/libmtp/bugs/1082/ */
 3985   { "Fly", 0x1782, "iq449", 0x4001, DEVICE_FLAGS_ANDROID_BUGS },
 3986 
 3987   /*
 3988   * YU Yureka.
 3989   */
 3990   { "YU Yureka", 0x1ebf, "Vodafone smart turbo 4", 0x7f29, DEVICE_FLAGS_ANDROID_BUGS },
 3991 
 3992   /* https://sourceforge.net/p/libmtp/feature-requests/249/ */
 3993   { "Coolpad", 0x1ebf, "801ES", 0x7029, DEVICE_FLAGS_ANDROID_BUGS },
 3994 
 3995   /* https://sourceforge.net/p/libmtp/bugs/1314/ */
 3996   { "BenQ", 0x1d45, "F5", 0x459d, DEVICE_FLAGS_ANDROID_BUGS },
 3997 
 3998   /* https://sourceforge.net/p/libmtp/bugs/1362/ */
 3999   { "TomTom", 0x1390, "Rider 40", 0x5455, DEVICE_FLAGS_ANDROID_BUGS },
 4000 
 4001   /* https://sourceforge.net/p/libmtp/feature-requests/135/. guessed android. */
 4002   { "OUYA", 0x2836, "Videogame Console", 0x0010, DEVICE_FLAGS_ANDROID_BUGS },
 4003 
 4004   /* https://sourceforge.net/p/libmtp/bugs/1383/ */
 4005   { "BLU", 0x0e8d, "Studio HD", 0x2008, DEVICE_FLAGS_ANDROID_BUGS },
 4006 
 4007   /* https://sourceforge.net/p/libmtp/feature-requests/161/ */
 4008   { "Cubot", 0x0e8d, "X17", 0x201d, DEVICE_FLAGS_ANDROID_BUGS },
 4009 
 4010   /* https://sourceforge.net/p/libmtp/bugs/1423/ */
 4011   { "OnePlus", 0x2a70, "ONE A2001", 0x9011, DEVICE_FLAGS_ANDROID_BUGS },
 4012   /* https://sourceforge.net/p/libmtp/bugs/1450/ */
 4013   { "OnePlus", 0x2a70, "OnePlus 2 A2005", 0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 4014 
 4015   /* https://sourceforge.net/p/libmtp/bugs/1436/ */
 4016   { "Parrot", 0x19cf, "Bebop Drone", 0x5038, DEVICE_FLAGS_ANDROID_BUGS },
 4017 
 4018 #ifndef _GPHOTO2_INTERNAL_CODE
 4019   /* gphoto lists them in its library.c */
 4020   /*
 4021    * GoPro Action Cams.
 4022    */
 4023   { "GoPro" , 0x2672, "HERO3+ Black", 0x0011, DEVICE_FLAG_NONE },
 4024   { "GoPro" , 0x2672, "HERO", 0x000c, DEVICE_FLAG_NONE },
 4025   { "GoPro" , 0x2672, "HERO4 Silver", 0x000d, DEVICE_FLAG_NONE },
 4026   { "Gopro" , 0x2672, "HERO4 Black", 0x000e, DEVICE_FLAG_NONE },
 4027   { "GoPro" , 0x2672, "HERO4 Session", 0x000f, DEVICE_FLAG_NONE },
 4028   { "GoPro" , 0x2672, "HERO+", 0x0021, DEVICE_FLAG_NONE },
 4029   { "GoPro" , 0x2672, "HERO5 Black", 0x0027, DEVICE_FLAG_NONE },
 4030   { "GoPro" , 0x2672, "HERO5 Session", 0x0029, DEVICE_FLAG_NONE },
 4031   { "GoPro" , 0x2672, "HERO 2018", 0x002d, DEVICE_FLAG_NONE },
 4032   { "GoPro" , 0x2672, "FUSION (back)", 0x0032, DEVICE_FLAG_NONE },
 4033   { "GoPro" , 0x2672, "FUSION (front)", 0x0035, DEVICE_FLAG_NONE },
 4034   { "GoPro" , 0x2672, "HERO6 Black", 0x0037, DEVICE_FLAG_NONE },
 4035   { "GoPro" , 0x2672, "HERO7 Silver", 0x0043, DEVICE_FLAG_NONE },
 4036   { "GoPro" , 0x2672, "HERO7 Black", 0x0047, DEVICE_FLAG_NONE },
 4037   { "GoPro" , 0x2672, "HERO8 Black", 0x0049, DEVICE_FLAG_NONE },
 4038   { "GoPro" , 0x2672, "HERO9 Black", 0x004d, DEVICE_FLAG_NONE },
 4039 #endif
 4040 
 4041   /* These Ricoh Theta cameras run Android but seem to work
 4042    * without DEVICE_FLAGS_ANDROID_BUGS.
 4043    */
 4044   { "Ricoh", 0x05ca, "Theta V (MTP)", 0x0368, DEVICE_FLAG_NONE },
 4045   { "Ricoh", 0x05ca, "Theta Z1 (MTP)", 0x036d, DEVICE_FLAG_NONE },
 4046 
 4047   /* https://sourceforge.net/p/libmtp/bugs/1490/ */
 4048   { "Marshall" , 0x2ad9, "London", 0x000b, DEVICE_FLAG_NONE },
 4049 
 4050   /* https://sourceforge.net/p/libmtp/feature-requests/257/ */
 4051   { "Fairphone" , 0x2ae5, "Fairphone 2 (ID2)", 0x6764, DEVICE_FLAGS_ANDROID_BUGS },
 4052   /* https://sourceforge.net/p/libmtp/support-requests/202/ */
 4053   { "Fairphone" , 0x2ae5, "Fairphone 2", 0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 4054   /* https://sourceforge.net/p/libmtp/support-requests/214/ */
 4055   { "Fairphone" , 0x2ae5, "Fairphone 2 OS", 0x9039, DEVICE_FLAGS_ANDROID_BUGS },
 4056 
 4057   /* https://sourceforge.net/p/libmtp/bugs/1700/ */
 4058   { "BLUE" , 0x271d, "Vivo XL", 0x4008, DEVICE_FLAGS_ANDROID_BUGS },
 4059   /*  https://sourceforge.net/p/libmtp/bugs/1512/ */
 4060   { "Allview" , 0x271d, "Energy P5", 0x4016, DEVICE_FLAGS_ANDROID_BUGS },
 4061   /* https://sourceforge.net/p/libmtp/feature-requests/177/ */
 4062   { "BLU" , 0x271d, "Studio Energy X 2 Phone", 0x4016, DEVICE_FLAGS_ANDROID_BUGS },
 4063   /* https://sourceforge.net/p/libmtp/bugs/1575/ */
 4064   { "BLU" , 0x271d, "Studio Energy 2", 0x4017, DEVICE_FLAGS_ANDROID_BUGS },
 4065 
 4066 
 4067   /* https://sourceforge.net/p/libmtp/bugs/1545/ */
 4068   { "Zuk" , 0x2b4c, "Z1", 0x1004, DEVICE_FLAGS_ANDROID_BUGS },
 4069   /* https://sourceforge.net/p/libmtp/bugs/1596/ */
 4070   { "Zuk" , 0x2b4c, "Z1 (2nd ID)", 0x1005, DEVICE_FLAGS_ANDROID_BUGS },
 4071 
 4072   /* https://sourceforge.net/p/libmtp/support-requests/250/ */
 4073   { "Zuk" , 0x2b4c, "Z2 Pro", 0x1013, DEVICE_FLAGS_ANDROID_BUGS },
 4074   /* https://sourceforge.net/p/libmtp/bugs/1782/ */
 4075   { "Zuk" , 0x2b4c, "Z2", 0x101a, DEVICE_FLAGS_ANDROID_BUGS },
 4076 
 4077   /* https://sourceforge.net/p/libmtp/bugs/1574/ */
 4078   { "Letv" , 0x2b0e, "X5001s", 0x1700, DEVICE_FLAGS_ANDROID_BUGS },
 4079   /* https://sourceforge.net/p/libmtp/support-requests/210/ */
 4080   { "Letv" , 0x2b0e, "1s", 0x1704, DEVICE_FLAGS_ANDROID_BUGS },
 4081   /* https://sourceforge.net/p/libmtp/bugs/1805/ */
 4082   { "LeMobile" , 0x2b0e, "Le 2", 0x1714, DEVICE_FLAGS_ANDROID_BUGS },
 4083   /* https://sourceforge.net/p/libmtp/support-requests/274/ */
 4084   { "LeMobile" , 0x2b0e, "Le 2 (ID2)", 0x171b, DEVICE_FLAGS_ANDROID_BUGS },
 4085   /* https://sourceforge.net/p/libmtp/support-requests/241/ */
 4086   { "Letv" , 0x2b0e, "Leeco Le 1s", 0x1768, DEVICE_FLAGS_ANDROID_BUGS },
 4087   /* https://sourceforge.net/p/libmtp/support-requests/241/ */
 4088   { "Letv" , 0x2b0e, "Leeco Le 2 Pro", 0x1778, DEVICE_FLAGS_ANDROID_BUGS },
 4089   /* https://sourceforge.net/p/libmtp/support-requests/220/ */
 4090   { "Letv" , 0x2b0e, "X800 (ID1)", 0x182c, DEVICE_FLAGS_ANDROID_BUGS },
 4091   { "Letv" , 0x2b0e, "X800 (ID2)", 0x1830, DEVICE_FLAGS_ANDROID_BUGS },
 4092 
 4093   /* https://sourceforge.net/p/libmtp/bugs/1716/ */
 4094   { "Letv" , 0x2b0e, "Le Max2", 0x1840, DEVICE_FLAGS_ANDROID_BUGS },
 4095   /* https://sourceforge.net/p/libmtp/bugs/1768/ */
 4096   { "Letv" , 0x2b0e, "Le Max2 (ID2)", 0x1844, DEVICE_FLAGS_ANDROID_BUGS },
 4097 
 4098   /* https://sourceforge.net/p/libmtp/bugs/1606/ */
 4099   { "TP-Link" , 0x2357, "Neffos C5 (MTP)", 0x0314, DEVICE_FLAGS_ANDROID_BUGS },
 4100   /* https://sourceforge.net/p/libmtp/feature-requests/197/ */
 4101   { "TP-Link" , 0x2357, "Neffos C5 MAX (MTP)", 0x031a, DEVICE_FLAGS_ANDROID_BUGS },
 4102   /* https://sourceforge.net/p/libmtp/feature-requests/196/ */
 4103   { "TP-Link" , 0x2357, "Neffos Y5L (MTP)", 0x0320, DEVICE_FLAGS_ANDROID_BUGS },
 4104   /* https://sourceforge.net/p/libmtp/feature-requests/195/ */
 4105   { "TP-Link" , 0x2357, "Neffos Y5 (MTP)", 0x0328, DEVICE_FLAGS_ANDROID_BUGS },
 4106   /* https://sourceforge.net/p/libmtp/support-requests/240/ */
 4107   { "TP-Link" , 0x2357, "Neffos X1 (MTP)", 0x033c, DEVICE_FLAGS_ANDROID_BUGS },
 4108   /* https://sourceforge.net/p/libmtp/bugs/1844/ */
 4109   { "TP-Link" , 0x2357, "Neffos Y5s (MTP)", 0x038c, DEVICE_FLAGS_ANDROID_BUGS },
 4110 
 4111   /* https://sourceforge.net/p/libmtp/bugs/1570/ */
 4112   { "Recon Instruments" , 0x2523, "Jet", 0xd209, DEVICE_FLAGS_ANDROID_BUGS },
 4113   /* https://sourceforge.net/p/libmtp/bugs/1571/ */
 4114   { "Recon Instruments" , 0x2523, "Snow2 HUD", 0xd109, DEVICE_FLAGS_ANDROID_BUGS },
 4115 
 4116   /* https://sourceforge.net/p/libmtp/bugs/1663/ */
 4117   { "Nextbit" , 0x2c3f, "Robin", 0x0001, DEVICE_FLAGS_ANDROID_BUGS },
 4118 
 4119   /* https://sourceforge.net/p/libmtp/feature-requests/240/ */
 4120   { "Spreadtrum" , 0x1782, "STK Storm 2e Pluz", 0x4002, DEVICE_FLAGS_ANDROID_BUGS },
 4121 
 4122   /* https://sourceforge.net/p/libmtp/support-requests/258/ */
 4123   { "Essential Phone" , 0x2e17, "PH-1a", 0xc030, DEVICE_FLAGS_ANDROID_BUGS },
 4124   /* https://sourceforge.net/p/libmtp/feature-requests/242/ */
 4125   { "Essential Phone" , 0x2e17, "PH-1", 0xc033, DEVICE_FLAGS_ANDROID_BUGS },
 4126 
 4127   /* https://sourceforge.net/p/libmtp/feature-requests/247/ */
 4128   { "VEGA" , 0x10a9, "R3", 0x1105, DEVICE_FLAGS_ANDROID_BUGS },
 4129 
 4130   /* https://sourceforge.net/p/libmtp/bugs/1764/ */
 4131   { "O&P Innovations" , 0x0746, "XDP-100R", 0xa003, DEVICE_FLAGS_ANDROID_BUGS },
 4132   /* https://sourceforge.net/p/libmtp/feature-requests/278/ */