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