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