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