• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * \file music-players.h
3  * List of music players as USB ids.
4  *
5  * Copyright (C) 2005-2007 Richard A. Low <richard@wentnet.com>
6  * Copyright (C) 2005-2009 Linus Walleij <triad@df.lth.se>
7  * Copyright (C) 2006-2007 Marcus Meissner
8  * Copyright (C) 2007 Ted Bullock
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the
22  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23  * Boston, MA 02111-1307, USA.
24  *
25  * This file is supposed to be included within a struct from both libmtp
26  * and libgphoto2.
27  *
28  * Information can be harvested from Windows driver .INF files, see:
29  * http://msdn.microsoft.com/en-us/library/aa973606.aspx
30  */
31 /*
32  * MTP device list, trying real bad to get all devices into
33  * this list by stealing from everyone I know.
34  * Some devices taken from the Rockbox device listing:
35  * http://www.rockbox.org/twiki/bin/view/Main/DeviceDetection
36  */
37 
38   /*
39    * Creative Technology and ZiiLABS
40    * Initially the Creative devices was all we supported so these are
41    * the most thoroughly tested devices. Presumably only the devices
42    * with older firmware (the ones that have 32bit object size) will
43    * need the DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL flag. This bug
44    * manifest itself when you have a lot of folders on the device,
45    * some of the folders will start to disappear when getting all objects
46    * and properties.
47    */
48   { "Motorola", 0x22b8, "Xoom", 0x70a9, DEVICE_FLAG_NONE },
49   { "Motorola", 0x22b8, "Xoom", 0x70a8 , DEVICE_FLAG_NONE},
50   { "Creative", 0x041e, "ZEN Vision", 0x411f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
51   { "Creative", 0x041e, "Portable Media Center", 0x4123, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
52   { "Creative", 0x041e, "ZEN Xtra (MTP mode)", 0x4128, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
53   { "Dell", 0x041e, "DJ (2nd generation)", 0x412f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
54   { "Creative", 0x041e, "ZEN Micro (MTP mode)", 0x4130, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
55   { "Creative", 0x041e, "ZEN Touch (MTP mode)", 0x4131, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
56   { "Dell", 0x041e, "Dell Pocket DJ (MTP mode)", 0x4132, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
57   { "Creative", 0x041e, "ZEN Sleek (MTP mode)", 0x4137, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
58   { "Creative", 0x041e, "ZEN MicroPhoto", 0x413c, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
59   { "Creative", 0x041e, "ZEN Sleek Photo", 0x413d, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
60   { "Creative", 0x041e, "ZEN Vision:M", 0x413e, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
61   // Reported by marazm@o2.pl
62   { "Creative", 0x041e, "ZEN V", 0x4150, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
63   // Reported by danielw@iinet.net.au
64   // This version of the Vision:M needs the no release interface flag,
65   // unclear whether the other version above need it too or not.
66   { "Creative", 0x041e, "ZEN Vision:M (DVP-HD0004)", 0x4151,
67       DEVICE_FLAG_NO_RELEASE_INTERFACE |
68       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL},
69   // Reported by Darel on the XNJB forums
70   { "Creative", 0x041e, "ZEN V Plus", 0x4152,
71       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
72   { "Creative", 0x041e, "ZEN Vision W", 0x4153,
73       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
74   // Don't add 0x4155: this is a Zen Stone device which is not MTP
75   // Reported by Paul Kurczaba <paul@kurczaba.com>
76   { "Creative", 0x041e, "ZEN", 0x4157, DEVICE_FLAG_IGNORE_HEADER_ERRORS |
77     DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS |
78       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
79   // Reported by Ringofan <mcroman@users.sourceforge.net>
80   { "Creative", 0x041e, "ZEN V 2GB", 0x4158,
81       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
82   // Reported by j norment <stormzen@gmail.com>
83   { "Creative", 0x041e, "ZEN Mozaic", 0x4161,
84       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
85   // Reported by Aaron F. Gonzalez <sub_tex@users.sourceforge.net>
86   { "Creative", 0x041e, "ZEN X-Fi", 0x4162,
87       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
88   // Reported by Todor Gyumyushev <yodor1@users.sourceforge.net>
89   { "ZiiLABS", 0x041e, "Zii EGG", 0x6000,
90       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
91 
92   /*
93    * Samsung
94    * We suspect that more of these are dual mode.
95    * We suspect more of these might need DEVICE_FLAG_NO_ZERO_READS
96    * We suspect more of these might need DEVICE_FLAG_PLAYLIST_SPL_V1
97    *  or DEVICE_FLAG_PLAYLIST_SPL_V2 to get playlists working.
98    * YP-NEU, YP-NDU, YP-20, YP-800, YP-MF Series, YP-100, YP-30
99    * YP-700 and YP-90 are NOT MTP, but use a Samsung custom protocol.
100    */
101   // From anonymous SourceForge user, not verified
102   { "Samsung", 0x04e8, "YP-900", 0x0409, DEVICE_FLAG_NONE },
103   // From MItch <dbaker@users.sourceforge.net>
104   { "Samsung", 0x04e8, "I550W Phone", 0x04a4, DEVICE_FLAG_NONE },
105   // From Gabriel Nunes <gabrielkm1@yahoo.com.br>
106   { "Samsung", 0x04e8, "YH-920 (501d)", 0x501d, DEVICE_FLAG_UNLOAD_DRIVER },
107   // From Soren O'Neill
108   { "Samsung", 0x04e8, "YH-920 (5022)", 0x5022, DEVICE_FLAG_UNLOAD_DRIVER },
109   // Contributed by aronvanammers on SourceForge
110   { "Samsung", 0x04e8, "YH-925GS", 0x5024, DEVICE_FLAG_NONE },
111   // From libgphoto2, according to tests by Stephan Fabel it cannot
112   // get all objects with the getobjectproplist command..
113   { "Samsung", 0x04e8, "YH-820", 0x502e, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
114   // Contributed by polux2001@users.sourceforge.net
115   { "Samsung", 0x04e8, "YH-925(-GS)", 0x502f, DEVICE_FLAG_UNLOAD_DRIVER |
116       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
117   // Contributed by anonymous person on SourceForge
118   { "Samsung", 0x04e8, "YH-J70J", 0x5033, DEVICE_FLAG_UNLOAD_DRIVER },
119   // From XNJB user
120   // Guessing on .spl flag
121   { "Samsung", 0x04e8, "YP-Z5", 0x503c, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_PLAYLIST_SPL_V1 },
122   // Don't add 0x5041 as this is YP-Z5 in USB mode
123   // Contributed by anonymous person on SourceForge
124   { "Samsung", 0x04e8, "YP-T7J", 0x5047, DEVICE_FLAG_UNLOAD_DRIVER },
125   // Reported by cstrickler@gmail.com
126   { "Samsung", 0x04e8, "YP-U2J (YP-U2JXB/XAA)", 0x5054, DEVICE_FLAG_UNLOAD_DRIVER },
127   // Reported by Andrew Benson
128   { "Samsung", 0x04e8, "YP-F2J", 0x5057, DEVICE_FLAG_UNLOAD_DRIVER },
129   // Reported by Patrick <skibler@gmail.com>
130   // Just guessing but looks like .spl v1 http://www.anythingbutipod.com/forum/showthread.php?t=14160
131   { "Samsung", 0x04e8, "YP-K5", 0x505a, DEVICE_FLAG_UNLOAD_DRIVER |
132       DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_PLAYLIST_SPL_V1 },
133   // From dev.local@gmail.com - 0x4e8/0x507c is the UMS mode, apparently
134   // do not add that device.
135   // From m.eik michalke
136   // This device does NOT use the special SPL playlist according to sypqgjxu@gmx.de.
137   { "Samsung", 0x04e8, "YP-U3", 0x507d, DEVICE_FLAG_UNLOAD_DRIVER },
138   // Reported by Matthew Wilcox <matthew@wil.cx>
139   // Sergio <sfrdll@tiscali.it> reports this device need the BROKEN ALL flag.
140   // Guessing on .spl flag
141   { "Samsung", 0x04e8, "YP-T9", 0x507f, DEVICE_FLAG_UNLOAD_DRIVER |
142       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL | DEVICE_FLAG_PLAYLIST_SPL_V1 },
143   // From Paul Clinch
144   // Just guessing but looks like .spl v1 http://www.anythingbutipod.com/forum/showthread.php?t=14160
145   // Some versions of the firmware reportedly support OGG, reportedly only the
146   // UMS versions, so MTP+OGG is not possible on this device.
147   { "Samsung", 0x04e8, "YP-K3", 0x5081, DEVICE_FLAG_UNLOAD_DRIVER |
148       DEVICE_FLAG_PLAYLIST_SPL_V1 },
149   // From XNJB user
150   // From Alistair Boyle, .spl v2 required for playlists
151   // According to the device log it properly supports OGG
152   { "Samsung", 0x04e8, "YP-P2", 0x5083, DEVICE_FLAG_UNLOAD_DRIVER |
153       DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_PLAYLIST_SPL_V2 },
154   // From Paul Clinch
155   // Guessing on .spl flag
156   { "Samsung", 0x04e8, "YP-T10", 0x508a, DEVICE_FLAG_UNLOAD_DRIVER |
157       DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
158       DEVICE_FLAG_PLAYLIST_SPL_V1 | DEVICE_FLAG_NO_ZERO_READS },
159   // From Wim Verwimp <wimverwimp@gmail.com>
160   // Not sure about the Ogg and broken proplist flags here. Just guessing.
161   // Guessing on .spl flag
162   { "Samsung", 0x04e8, "YP-S5", 0x508b, DEVICE_FLAG_UNLOAD_DRIVER |
163       DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
164       DEVICE_FLAG_PLAYLIST_SPL_V1 },
165   // From Ludovic Danigo
166   // Guessing on .spl flag
167   { "Samsung", 0x04e8, "YP-S3", 0x5091, DEVICE_FLAG_UNLOAD_DRIVER |
168       DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
169       DEVICE_FLAG_PLAYLIST_SPL_V1 },
170   // From Adrian Levi <adrian.levi@gmail.com>
171   // Guessing on .spl flag
172   // This one supports OGG properly through the correct MTP type.
173   { "Samsung", 0x04e8, "YP-U4", 0x5093, DEVICE_FLAG_UNLOAD_DRIVER },
174   // From Anonymous SourceForge user, NOT VERIFIED TO BE MTP
175   // Guessing on .spl flag
176   { "Samsung", 0x04e8, "YP-Q1", 0x5115, DEVICE_FLAG_UNLOAD_DRIVER |
177       DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
178       DEVICE_FLAG_PLAYLIST_SPL_V1 },
179   // From Anonymous SourceForge user
180   // Guessing on .spl flag
181   { "Samsung", 0x04e8, "YP-P3", 0x511a, DEVICE_FLAG_UNLOAD_DRIVER |
182      DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
183      DEVICE_FLAG_PLAYLIST_SPL_V1 },
184   // From Anonymous SourceForge user
185   // Guessing on .spl flag
186   { "Samsung", 0x04e8, "YP-Q2", 0x511d, DEVICE_FLAG_UNLOAD_DRIVER |
187       DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
188       DEVICE_FLAG_PLAYLIST_SPL_V1 },
189   // From Marco Pizzocaro <mpizzocaro@users.sourceforge.net>
190   // Guessing on .spl flag
191   { "Samsung", 0x04e8, "YP-U5", 0x5121,
192      DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_PLAYLIST_SPL_V1 },
193   // From a rouge .INF file,
194   // this device ID seems to have been recycled for:
195   // the Samsung SGH-A707 Cingular cellphone
196   // the Samsung L760-V cellphone
197   // the Samsung SGH-U900 cellphone
198   { "Samsung", 0x04e8, "YH-999 Portable Media Center/SGH-A707/SGH-L760V/SGH-U900", 0x5a0f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
199   // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP...
200   // { "Samsung", 0x04e8, "Z170 Mobile Phone", 0x6601, DEVICE_FLAG_UNLOAD_DRIVER },
201   // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP...
202   // { "Samsung", 0x04e8, "E250 Mobile Phone", 0x663e, DEVICE_FLAG_UNLOAD_DRIVER },
203   // From Lionel Bouton
204   { "Samsung", 0x04e8, "X830 Mobile Phone", 0x6702, DEVICE_FLAG_UNLOAD_DRIVER },
205   // From James <jamestech@gmail.com>
206   { "Samsung", 0x04e8, "U600 Mobile Phone", 0x6709, DEVICE_FLAG_UNLOAD_DRIVER },
207   // From Cesar Cardoso <cesar@cesarcardoso.tk>
208   // No confirmation that this is really MTP.
209   { "Samsung", 0x04e8, "F250 Mobile Phone", 0x6727, DEVICE_FLAG_UNLOAD_DRIVER },
210   // From Charlie Todd  2007-10-31
211   { "Samsung", 0x04e8, "Juke (SCH-U470)", 0x6734, DEVICE_FLAG_UNLOAD_DRIVER},
212   // Reported by Tenn
213   { "Samsung", 0x04e8, "GT-B2700", 0x6752, DEVICE_FLAG_UNLOAD_DRIVER },
214   // Added by Greg Fitzgerald <netzdamon@gmail.com>
215   { "Samsung", 0x04e8, "SAMSUNG Trance", 0x6763, DEVICE_FLAG_UNLOAD_DRIVER |
216       DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_PLAYLIST_SPL_V1 },
217   // From anonymous Sourceforge user
218   { "Samsung", 0x04e8, "GT-S5230", 0xe20c, DEVICE_FLAG_NONE },
219 
220 
221 
222   /*
223    * Intel
224    */
225   { "Intel", 0x045e, "Bandon Portable Media Center", 0x00c9, DEVICE_FLAG_NONE },
226   // Reported by Tadimarri Sarath <sarath.tadi@gmail.com>
227   // No idea why this use an Intel PID, perhaps a leftover from
228   // the early PMC development days when Intel and Microsoft were
229   // partnering.
230   { "Microsoft", 0x045e, "Windows MTP Simulator", 0x0622, DEVICE_FLAG_NONE },
231 
232   /*
233    * JVC
234    */
235   // From Mark Veinot
236   { "JVC", 0x04f1, "Alneo XA-HD500", 0x6105, DEVICE_FLAG_NONE },
237 
238   /*
239    * Philips
240    */
241   { "Philips", 0x0471, "HDD6320/00 or HDD6330/17", 0x014b, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
242   // Anonymous SourceForge user
243   { "Philips", 0x0471, "HDD14XX,HDD1620 or HDD1630/17", 0x014c, DEVICE_FLAG_NONE },
244   // from discussion forum
245   { "Philips", 0x0471, "HDD085/00 or HDD082/17", 0x014d, DEVICE_FLAG_NONE },
246   // from XNJB forum
247   { "Philips", 0x0471, "GoGear SA9200", 0x014f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
248   // From John Coppens <jcoppens@users.sourceforge.net>
249   { "Philips", 0x0471, "SA1115/55", 0x0164, DEVICE_FLAG_NONE },
250   // From Gerhard Mekenkamp
251   { "Philips", 0x0471, "GoGear Audio", 0x0165, DEVICE_FLAG_NONE },
252   // from David Holm <wormie@alberg.dk>
253   { "Philips", 0x0471, "Shoqbox", 0x0172, DEVICE_FLAG_ONLY_7BIT_FILENAMES },
254   // from npedrosa
255   { "Philips", 0x0471, "PSA610", 0x0181, DEVICE_FLAG_NONE },
256   // From libgphoto2 source
257   { "Philips", 0x0471, "HDD6320", 0x01eb, DEVICE_FLAG_NONE },
258   // From Detlef Meier <dm@emlix.com>
259   { "Philips", 0x0471, "GoGear SA6014/SA6015/SA6024/SA6025/SA6044/SA6045", 0x084e, DEVICE_FLAG_UNLOAD_DRIVER },
260   // From anonymous Sourceforge user SA5145/02
261   { "Philips", 0x0471, "GoGear SA5145", 0x0857, DEVICE_FLAG_UNLOAD_DRIVER },
262   // From a
263   { "Philips", 0x0471, "GoGear SA6125/SA6145/SA6185", 0x2002, DEVICE_FLAG_UNLOAD_DRIVER },
264   // From anonymous Sourceforge user, not verified to be MTP!
265   { "Philips", 0x0471, "GoGear SA3345", 0x2004, DEVICE_FLAG_UNLOAD_DRIVER },
266   // From Roberto Vidmar <rvidmar@libero.it>
267   { "Philips", 0x0471, "SA5285", 0x2022, DEVICE_FLAG_UNLOAD_DRIVER },
268   // From Elie De Brauwer <elie@de-brauwer.be>
269   { "Philips", 0x0471, "GoGear ViBE SA1VBE04", 0x2075,
270     DEVICE_FLAG_UNLOAD_DRIVER },
271   // From Elie De Brauwer <elie@de-brauwer.be>
272   { "Philips", 0x0471, "GoGear ViBE SA1VBE08", 0x207b,
273     DEVICE_FLAG_UNLOAD_DRIVER },
274   // From josmtx <josmtx@users.sourceforge.net>
275   { "Philips", 0x0471, "GoGear Aria", 0x207c,
276     DEVICE_FLAG_UNLOAD_DRIVER },
277   // from XNJB user
278   { "Philips", 0x0471, "PSA235", 0x7e01, DEVICE_FLAG_NONE },
279 
280 
281   /*
282    * SanDisk
283    * several devices (c150 for sure) are definately dual-mode and must
284    * have the USB mass storage driver that hooks them unloaded first.
285    * They all have problematic dual-mode making the device unload effect
286    * uncertain on these devices.
287    *
288    * All older devices seem to need DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL.
289    * Old chipsets: e200/c200 use PP5024 from Nvidia (formerly PortalPlayer).
290    * m200 use TCC770 from Telechips.
291    *
292    * The newer Sansa v2 chipset, AD3525 from Austriamicrosystems (AMS) found
293    * in e280 v2 c200 v2, Clip, Fuze etc require DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST
294    * and DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR to work properly.
295    *
296    * For more info see: http://daniel.haxx.se/sansa/v2.html
297    */
298   // Reported by Brian Robison
299   { "SanDisk", 0x0781, "Sansa m230/m240", 0x7400,
300     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
301     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
302   // From Rockbox device listing
303   { "SanDisk", 0x0781, "Sansa m200-tcc (MTP mode)", 0x7401,
304     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
305     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
306   // Reported by tangent_@users.sourceforge.net
307   { "SanDisk", 0x0781, "Sansa c150", 0x7410,
308     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
309     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
310   // From libgphoto2 source
311   // Reported by <gonkflea@users.sourceforge.net>
312   // Reported by Mike Owen <mikeowen@computerbaseusa.com>
313   { "SanDisk", 0x0781, "Sansa e200/e250/e260/e270/e280", 0x7420,
314     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
315     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
316   // Don't add 0x7421 as this is e280 in MSC mode
317   // Reported by XNJB user
318   { "SanDisk", 0x0781, "Sansa e260/e280 v2", 0x7422,
319     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
320     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
321     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
322   // Reported by XNJB user
323   { "SanDisk", 0x0781, "Sansa m240/m250", 0x7430,
324     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
325     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
326   // Reported by Eugene Brevdo <ebrevdo@princeton.edu>
327   { "SanDisk", 0x0781, "Sansa Clip", 0x7432,
328     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
329     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
330     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
331   // Reported by HackAR <hackar@users.sourceforge.net>
332   { "SanDisk", 0x0781, "Sansa Clip v2", 0x7434,
333     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
334     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
335     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED},
336   // Reported by anonymous user at sourceforge.net
337   { "SanDisk", 0x0781, "Sansa c240/c250", 0x7450,
338     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
339     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
340   // Reported by anonymous SourceForge user
341   { "SanDisk", 0x0781, "Sansa c250 v2", 0x7452,
342     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
343     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
344   // Reported by Troy Curtis Jr.
345   { "SanDisk", 0x0781, "Sansa Express", 0x7460,
346     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
347     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
348   // Reported by XNJB user, and Miguel de Icaza <miguel@gnome.org>
349   // This has no dual-mode so no need to unload any driver.
350   // This is a Linux based device!
351   { "SanDisk", 0x0781, "Sansa Connect", 0x7480, DEVICE_FLAG_NONE },
352   // Reported by anonymous SourceForge user
353   { "SanDisk", 0x0781, "Sansa View", 0x74b0,
354     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
355     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
356   // Reported by Patrick <skibler@gmail.com>
357   // There are apparently problems with this device.
358   { "SanDisk", 0x0781, "Sansa Fuze", 0x74c0,
359     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
360     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
361     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
362   // Harry Phillips <tuxcomputers@users.sourceforge.net>
363   { "SanDisk", 0x0781, "Sansa Fuze v2", 0x74c2,
364     DEVICE_FLAG_UNLOAD_DRIVER |  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
365     DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR |
366     DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED },
367 
368   /*
369    * iRiver
370    * we assume that PTP_OC_MTP_GetObjPropList is essentially
371    * broken on all iRiver devices, meaning it simply won't return
372    * all properties for a file when asking for metadata 0xffffffff.
373    * Please test on your device if you believe it isn't broken!
374    */
375   { "iRiver", 0x1006, "H300 Series MTP", 0x3004,
376     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
377     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
378   { "iRiver", 0x1006, "Portable Media Center", 0x4002,
379     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
380     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
381   { "iRiver", 0x1006, "Portable Media Center", 0x4003,
382     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
383     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
384   // From [st]anislav <iamstanislav@gmail.com>
385   { "iRiver", 0x1042, "T7 Volcano", 0x1143, DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
386   // From an anonymous person at SourceForge, uncertain about this one
387   { "iRiver", 0x4102, "iFP-880", 0x1008,
388     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
389     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
390   // 0x4102, 0x1042 is a USB mass storage mode for E100 v2/Lplayer
391   // From libgphoto2 source
392   { "iRiver", 0x4102, "T10", 0x1113,
393     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
394     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
395   { "iRiver", 0x4102, "T20 FM", 0x1114,
396     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
397     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
398   // This appears at the MTP-UMS site
399   { "iRiver", 0x4102, "T20", 0x1115,
400     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
401     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
402   { "iRiver", 0x4102, "U10", 0x1116,
403     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
404     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
405   { "iRiver", 0x4102, "T10a", 0x1117,
406     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
407     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
408   { "iRiver", 0x4102, "T20", 0x1118,
409     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
410     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
411   { "iRiver", 0x4102, "T30", 0x1119,
412     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
413     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
414   // Reported by David Wolpoff
415   { "iRiver", 0x4102, "T10 2GB", 0x1120,
416     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
417     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
418   // Rough guess this is the MTP device ID...
419   { "iRiver", 0x4102, "N12", 0x1122,
420     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
421     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
422   // Reported by Philip Antoniades <philip@mysql.com>
423   // Newer iriver devices seem to have shaped-up firmware without any
424   // of the annoying bugs.
425   { "iRiver", 0x4102, "Clix2", 0x1126, DEVICE_FLAG_NONE },
426   // Reported by Adam Torgerson
427   { "iRiver", 0x4102, "Clix", 0x112a,
428     DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
429   // Reported by Douglas Roth <dougaus@gmail.com>
430   { "iRiver", 0x4102, "X20", 0x1132,
431     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
432     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
433   // Reported by Robert Ugo <robert_ugo@users.sourceforge.net>
434   { "iRiver", 0x4102, "T60", 0x1134,
435     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
436     DEVICE_FLAG_IRIVER_OGG_ALZHEIMER },
437   // Reported by two anonymous SourceForge users
438   // Needs the stronger OGG_IS_UNKNOWN flag to support OGG properly,
439   // be aware of newer players that may be needing this too.
440   { "iRiver", 0x4102, "E100", 0x1141,
441     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
442     DEVICE_FLAG_OGG_IS_UNKNOWN },
443   // Reported by anonymous SourceForge user
444   // Need verification of whether this firmware really need all these flags
445   { "iRiver", 0x4102, "E100 v2/Lplayer", 0x1142,
446     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
447     DEVICE_FLAG_OGG_IS_UNKNOWN },
448   // Reported by Richard Vennemann <vennemann@users.sourceforge.net>
449   // In USB Mass Storage mode it is 0x4102/0x1047
450   // Seems to use the new shaped-up firmware.
451   { "iRiver", 0x4102, "Spinn", 0x1147, DEVICE_FLAG_NONE },
452   // Reported by Tony Janssen <tonyjanssen@users.sourceforge.net>
453   { "iRiver", 0x4102, "E50", 0x1151,
454     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
455     DEVICE_FLAG_OGG_IS_UNKNOWN },
456   // Reported by Scott Call
457   // Assume this actually supports OGG though it reports it doesn't.
458   { "iRiver", 0x4102, "H10 20GB", 0x2101,
459     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
460     DEVICE_FLAG_OGG_IS_UNKNOWN },
461   { "iRiver", 0x4102, "H10 5GB", 0x2102,
462     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
463     DEVICE_FLAG_OGG_IS_UNKNOWN },
464   // From Rockbox device listing
465   { "iRiver", 0x4102, "H10 5.6GB", 0x2105,
466     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
467     DEVICE_FLAG_OGG_IS_UNKNOWN },
468 
469 
470   /*
471    * Dell
472    */
473   { "Dell, Inc", 0x413c, "DJ Itty", 0x4500, DEVICE_FLAG_NONE },
474 
475   /*
476    * Toshiba
477    * Tentatively flagged all Toshiba devices with
478    * DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST after one of them
479    * showed erroneous behaviour.
480    */
481   { "Toshiba", 0x0930, "Gigabeat MEGF-40", 0x0009,
482     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
483   { "Toshiba", 0x0930, "Gigabeat", 0x000c,
484     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
485   // Reported by Nicholas Tripp
486   { "Toshiba", 0x0930, "Gigabeat P20", 0x000f,
487     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
488   // From libgphoto2
489   { "Toshiba", 0x0930, "Gigabeat S", 0x0010, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
490       DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
491   // Reported by Rob Brown
492   { "Toshiba", 0x0930, "Gigabeat P10", 0x0011,
493     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
494   // Reported by solanum@users.sourceforge.net
495   { "Toshiba", 0x0930, "Gigabeat V30", 0x0014,
496     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
497   // Reported by Michael Davis <slithy@yahoo.com>
498   { "Toshiba", 0x0930, "Gigabeat U", 0x0016,
499     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
500   // Reported by Devon Jacobs <devo@godevo.com>
501   { "Toshiba", 0x0930, "Gigabeat MEU202", 0x0018,
502     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
503   // Reported by Rolf <japan (at) dl3lar.de>
504   { "Toshiba", 0x0930, "Gigabeat T", 0x0019,
505     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
506   // Reported by Phil Ingram <ukpbert@users.sourceforge.net>
507   // Tentatively added - no real reports of this device ID being MTP,
508   // reports as USB Mass Storage currently.
509   { "Toshiba", 0x0930, "Gigabeat MEU201", 0x001a,
510     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
511   // Reported by anonymous SourceForge user
512   { "Toshiba", 0x0930, "Gigabeat MET401", 0x001d,
513     DEVICE_FLAG_NO_RELEASE_INTERFACE |  DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
514 
515 
516   /*
517    * Archos
518    * These devices have some dual-mode interfaces which will really
519    * respect the driver unloading, so DEVICE_FLAG_UNLOAD_DRIVER
520    * really work on these devices!
521    */
522   // Reported by Alexander Haertig <AlexanderHaertig@gmx.de>
523   { "Archos", 0x0e79, "Gmini XS100", 0x1207, DEVICE_FLAG_UNLOAD_DRIVER },
524   // Added by Jan Binder
525   { "Archos", 0x0e79, "XS202 (MTP mode)", 0x1208, DEVICE_FLAG_NONE },
526   // Reported by gudul1@users.sourceforge.net
527   { "Archos", 0x0e79, "104 (MTP mode)", 0x120a, DEVICE_FLAG_NONE },
528   // Reported by anonymous Sourceforge user.
529   { "Archos", 0x0e79, "404 (MTP mode)", 0x1301, DEVICE_FLAG_UNLOAD_DRIVER },
530   // Reported by Etienne Chauchot <chauchot.etienne@free.fr>
531   { "Archos", 0x0e79, "504 (MTP mode)", 0x1307, DEVICE_FLAG_UNLOAD_DRIVER },
532   // Reported by Kay McCormick <kaym@modsystems.com>
533   { "Archos", 0x0e79, "704 mobile dvr", 0x130d, DEVICE_FLAG_UNLOAD_DRIVER },
534   // Reported by Joe Rabinoff
535   { "Archos", 0x0e79, "605 (MTP mode)", 0x1313, DEVICE_FLAG_UNLOAD_DRIVER },
536   // Reported by Jim Krehl <jimmuhk@users.sourceforge.net>
537   { "Archos", 0x0e79, "5 (MTP mode)", 0x1331, DEVICE_FLAG_UNLOAD_DRIVER },
538   // Reported by Adrien Guichard <tmor@users.sourceforge.net>
539   { "Archos", 0x0e79, "5 (MTP mode)", 0x1333, DEVICE_FLAG_UNLOAD_DRIVER },
540 
541   /*
542    * Dunlop (OEM of EGOMAN ltd?) reported by Nanomad
543    * This unit is falsely detected as USB mass storage in Linux
544    * prior to kernel 2.6.19 (fixed by patch from Alan Stern)
545    * so on older kernels special care is needed to remove the
546    * USB mass storage driver that erroneously binds to the device
547    * interface.
548    */
549   { "Dunlop", 0x10d6, "MP3 player 1GB / EGOMAN MD223AFD", 0x2200, DEVICE_FLAG_UNLOAD_DRIVER},
550   // Reported by Steven Black <stevenblack1956@users.sourceforge.net>
551   // Obviously this company goes by many names.
552   // This device is USB 2.0 only. Broken pipe on closing.
553   { "Memorex", 0x10d6, "MMP 8585/8586", 0x2300, DEVICE_FLAG_UNLOAD_DRIVER |
554       DEVICE_FLAG_NO_RELEASE_INTERFACE},
555 
556   /*
557    * Microsoft
558    */
559   // Reported by Farooq Zaman (used for all Zunes)
560   { "Microsoft", 0x045e, "Zune", 0x0710, DEVICE_FLAG_NONE },
561 
562   /*
563    * Sirius
564    */
565   { "Sirius", 0x18f6, "Stiletto", 0x0102, DEVICE_FLAG_NONE },
566   // Reported by Chris Bagwell <chris@cnpbagwell.com>
567   { "Sirius", 0x18f6, "Stiletto 2", 0x0110, DEVICE_FLAG_NONE },
568 
569   /*
570    * Canon
571    * This is actually a camera, but it has a Microsoft device descriptor
572    * and reports itself as supporting the MTP extension.
573    */
574   { "Canon", 0x04a9, "PowerShot A640 (PTP/MTP mode)", 0x3139,
575      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
576 
577   /*
578    * Nokia
579    * Please verify the low device IDs here, I suspect these might be for
580    * things like USB storage or modem mode actually, whereas the higher
581    * range (0x04nn) could be for MTP. Some of the devices were gathered
582    * from the Nokia WMP drivers:
583    * http://nds2.nokia.com/files/support/global/phones/software/
584    * Address was gathered from going to:
585    * nseries.com
586    * -> support
587    * -> select supported device
588    *  -> PC software
589    *    -> Music software
590    *      -> Windows Media Player 10 driver
591    */
592   // From: DoomHammer <gaczek@users.sourceforge.net>
593   { "Nokia", 0x0421, "N81 Mobile Phone", 0x000a, DEVICE_FLAG_NONE },
594   // From an anonymous SourceForge user
595   { "Nokia", 0x0421, "6120c Classic Mobile Phone", 0x002e, DEVICE_FLAG_NONE },
596   // From Stefano
597   { "Nokia", 0x0421, "N96 Mobile Phone", 0x0039, DEVICE_FLAG_NONE },
598   // From Martijn van de Streek <martijn@vandestreek.net>
599   { "Nokia", 0x0421, "6500c Classic Mobile Phone", 0x003c, DEVICE_FLAG_NONE },
600   // From: DoomHammer <gaczek@users.sourceforge.net>
601   { "Nokia", 0x0421, "3110c Mobile Phone", 0x005f, DEVICE_FLAG_NONE },
602   // From: Vasily <spc-@users.sourceforge.net>
603   { "Nokia", 0x0421, "3109c Mobile Phone", 0x0065, DEVICE_FLAG_NONE },
604   // From: <rawc@users.sourceforge.net>
605   { "Nokia", 0x0421, "5310 XpressMusic", 0x006c, DEVICE_FLAG_NONE },
606   // From: robin (AT) headbank D0Tco DOTuk
607   { "Nokia", 0x0421, "N95 Mobile Phone 8GB", 0x006e, DEVICE_FLAG_NONE },
608   // From Bastien Nocera <hadess@hadess.net>
609   { "Nokia", 0x0421, "N82 Mobile Phone", 0x0074, DEVICE_FLAG_NONE },
610   // From Martijn van de Streek <martijn@vandestreek.net>
611   { "Nokia", 0x0421, "N78 Mobile Phone", 0x0079, DEVICE_FLAG_NONE },
612   // From William Pettersson <the_enigma@users.sourceforge.net>
613   { "Nokia", 0x0421, "6220 Classic", 0x008d, DEVICE_FLAG_NONE },
614   // From kellerkev@gmail.com
615   { "Nokia", 0x0421, "N85 Mobile Phone", 0x0092, DEVICE_FLAG_NONE },
616   // From: danielw
617   { "Nokia", 0x0421, "E71", 0x00e4, DEVICE_FLAG_NONE },
618   // From: Laurent Bigonville <bigon@users.sourceforge.net>
619   { "Nokia", 0x0421, "E66", 0x00e5, DEVICE_FLAG_NONE },
620   // From: Pier <pierlucalino@users.sourceforge.net>
621   { "Nokia", 0x0421, "5320 XpressMusic", 0x00ea, DEVICE_FLAG_NONE },
622   // From: Gausie <innerdreams@users.sourceforge.net>
623   { "Nokia", 0x0421, "5800 XpressMusic", 0x0154, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
624   // From: Willy Gardiol (web) <willy@gardiol.org>
625   // Spurious errors for getting all objects, lead me to believe this flag atleast is needed
626   { "Nokia", 0x0421, "5800 XpressMusic v2", 0x0155, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
627   // From an anonymous SourceForge user
628   // Not verified to be MTP
629   { "Nokia", 0x0421, "E63", 0x0179, DEVICE_FLAG_NONE },
630   // From: FunkyPenguin <awafaa@users.sourceforge.net>
631   { "Nokia", 0x0421, "N97", 0x01f5, DEVICE_FLAG_NONE },
632   // From: Alexander Kojevnikov <alex-kay@users.sourceforge.net>
633   { "Nokia", 0x0421, "6600i", 0x0297, DEVICE_FLAG_NONE },
634   // https://sourceforge.net/tracker/index.php?func=detail&aid=2692473&group_id=8874&atid=358874
635   { "Nokia", 0x0421, "5200", 0x0421, DEVICE_FLAG_NONE },
636   // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_3250_WMP10_driver.inf
637   { "Nokia", 0x0421, "3250 Mobile Phone", 0x0462, DEVICE_FLAG_NONE },
638   // From http://nds2.nokia.com/files/support/global/phones/software/Nokia_N93_WMP10_Driver.inf
639   { "Nokia", 0x0421, "N93 Mobile Phone", 0x0478, DEVICE_FLAG_NONE },
640   // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_5500_Sport_WMP10_driver.inf
641   { "Nokia", 0x0421, "5500 Sport Mobile Phone", 0x047e, DEVICE_FLAG_NONE },
642   // From http://nds2.nokia.com/files/support/global/phones/software/Nokia_N91_WMP10_Driver.inf
643   { "Nokia", 0x0421, "N91 Mobile Phone", 0x0485, DEVICE_FLAG_NONE },
644   // From: Christian Rusa <kristous@users.sourceforge.net>
645   { "Nokia", 0x0421, "5700 XpressMusic Mobile Phone", 0x04b4, DEVICE_FLAG_NONE },
646   // From: Mitchell Hicks <mitchix@yahoo.com>
647   { "Nokia", 0x0421, "5300 Mobile Phone", 0x04ba, DEVICE_FLAG_NONE },
648   // From Christian Arnold <webmaster@arctic-media.de>
649   { "Nokia", 0x0421, "N73 Mobile Phone", 0x04d1, DEVICE_FLAG_UNLOAD_DRIVER },
650   // From Swapan <swapan@yahoo.com>
651   { "Nokia", 0x0421, "N75 Mobile Phone", 0x04e1, DEVICE_FLAG_NONE },
652   // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_N93i_WMP10_driver.inf
653   { "Nokia", 0x0421, "N93i Mobile Phone", 0x04e5, DEVICE_FLAG_NONE },
654   // From Anonymous Sourceforge User
655   { "Nokia", 0x0421, "N95 Mobile Phone", 0x04ef, DEVICE_FLAG_NONE },
656   // From: Pat Nicholls <pat@patandannie.co.uk>
657   { "Nokia", 0x0421, "N80 Internet Edition (Media Player)", 0x04f1, DEVICE_FLAG_UNLOAD_DRIVER },
658   // Reported by Richard Wall <richard@the-moon.net>
659   { "Nokia", 0x05c6, "5530 Xpressmusic", 0x0229, DEVICE_FLAG_NONE },
660   // Reported by anonymous SourceForge user
661   // One thing stated by reporter (Nokia model) another by the detect log...
662   { "Nokia/Verizon", 0x05c6, "6205 Balboa/Verizon Music Phone", 0x3196, DEVICE_FLAG_NONE },
663 
664 
665   /*
666    * LOGIK
667    * Sold in the UK, seem to be manufactured by CCTech in China.
668    */
669   { "Logik", 0x13d1, "LOG DAX MP3 and DAB Player", 0x7002, DEVICE_FLAG_UNLOAD_DRIVER },
670 
671   /*
672    * RCA / Thomson
673    */
674   // From kiki <omkiki@users.sourceforge.net>
675   { "Thomson", 0x069b, "EM28 Series", 0x0774, DEVICE_FLAG_NONE },
676   { "Thomson / RCA", 0x069b, "Opal / Lyra MC4002", 0x0777, DEVICE_FLAG_NONE },
677   { "Thomson", 0x069b, "Lyra MC5104B (M51 Series)", 0x077c, DEVICE_FLAG_NONE },
678   { "Thomson", 0x069b, "RCA H106", 0x301a, DEVICE_FLAG_UNLOAD_DRIVER },
679   // From Svenna <svenna@svenna.de>
680   // Not confirmed to be MTP.
681   { "Thomson", 0x069b, "scenium E308", 0x3028, DEVICE_FLAG_NONE },
682   // From XNJB user
683   { "Thomson / RCA", 0x069b, "Lyra HC308A", 0x3035, DEVICE_FLAG_NONE },
684 
685   /*
686    * NTT DoCoMo
687    */
688   { "FOMA", 0x04c5, "F903iX HIGH-SPEED", 0x1140, DEVICE_FLAG_NONE },
689 
690   /*
691    * Palm device userland program named Pocket Tunes
692    * Reported by Peter Gyongyosi <gyp@impulzus.com>
693    */
694   { "NormSoft, Inc.", 0x1703, "Pocket Tunes", 0x0001, DEVICE_FLAG_NONE },
695   // Reported by anonymous submission
696   { "NormSoft, Inc.", 0x1703, "Pocket Tunes 4", 0x0002, DEVICE_FLAG_NONE },
697 
698   /*
699    * TrekStor, Medion and Maxfield devices
700    * Their datasheet claims their devices are dualmode so probably needs to
701    * unload the attached drivers here.
702    */
703   // Reported by Stefan Voss <svoss@web.de>
704   // This is a Sigmatel SoC with a hard disk.
705   { "TrekStor", 0x066f, "Vibez 8/12GB", 0x842a,
706     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
707   // Reported by anonymous SourceForge user.
708   // This one done for Medion, whatever that is. Error reported so assume
709   // the same bug flag as its ancestor above.
710   { "Medion", 0x066f, "MD8333", 0x8550,
711     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
712   // Reported by anonymous SourceForge user
713   { "Medion", 0x066f, "MD8333", 0x8588,
714     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
715   // Reported by anonymous SourceForge user
716   { "Maxfield", 0x066f, "G-Flash NG 1GB", 0x846c,
717     DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
718   // Reported by Cristi Magherusan <majeru@gentoo.ro>
719   { "TrekStor", 0x0402, "i.Beat Sweez FM", 0x0611,
720     DEVICE_FLAG_UNLOAD_DRIVER },
721   // Reported by Fox-ino <fox-ino@users.sourceforge.net>
722   { "ALi Corp.", 0x0402, "MPMAN 2GB", 0x5668,
723     DEVICE_FLAG_UNLOAD_DRIVER },
724   // Reported by Anonymous SourceForge user
725   {"TrekStor", 0x1e68, "i.Beat Organix 2.0", 0x0002,
726     DEVICE_FLAG_UNLOAD_DRIVER },
727 
728   /*
729    * Disney/Tevion/MyMusix
730    */
731   // Reported by XNJB user
732   { "Disney", 0x0aa6, "MixMax", 0x6021, DEVICE_FLAG_NONE },
733   // Reported by anonymous Sourceforge user
734   { "Tevion", 0x0aa6, "MD 81488", 0x3011, DEVICE_FLAG_NONE },
735   // Reported by Peter Hedlund <peter@peterandlinda.com>
736   { "MyMusix", 0x0aa6, "PD-6070", 0x9601, DEVICE_FLAG_UNLOAD_DRIVER |
737     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
738     DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
739     DEVICE_FLAG_NO_RELEASE_INTERFACE },
740 
741   /*
742    * Cowon Systems, Inc.
743    * The iAudio audiophile devices don't encourage the use of MTP.
744    */
745   // Reported by Patrik Johansson <Patrik.Johansson@qivalue.com>
746   { "Cowon", 0x0e21, "iAudio U3 (MTP mode)", 0x0701,
747    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
748   // Reported by Kevin Michael Smith <hai-etlik@users.sourceforge.net>
749   { "Cowon", 0x0e21, "iAudio 6 (MTP mode)", 0x0711,
750    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
751   // Reported by Roberth Karman
752   { "Cowon", 0x0e21, "iAudio 7 (MTP mode)", 0x0751,
753    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
754   // Reported by an anonymous SourceForge user
755   { "Cowon", 0x0e21, "iAudio U5 (MTP mode)", 0x0761,
756    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
757   // Reported by TJ Something <tjbk_tjb@users.sourceforge.net>
758   { "Cowon", 0x0e21, "iAudio D2 (MTP mode)", 0x0801,
759    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
760   // Reported by anonymous Sourceforge user
761   { "Cowon", 0x0e21, "iAudio D2+ FW 2.x (MTP mode)", 0x0861,
762    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
763   // From Rockbox device listing
764   { "Cowon", 0x0e21, "iAudio D2+ DAB FW 4.x (MTP mode)", 0x0871,
765    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
766   // From Rockbox device listing
767   { "Cowon", 0x0e21, "iAudio D2+ FW 3.x (MTP mode)", 0x0881,
768    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
769   // From Rockbox device listing
770   { "Cowon", 0x0e21, "iAudio D2+ DMB FW 1.x (MTP mode)", 0x0891,
771    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
772   // Reported by <twkonefal@users.sourceforge.net>
773   { "Cowon", 0x0e21, "iAudio S9 (MTP mode)", 0x0901,
774    DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
775    DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
776 
777   /*
778    * Insignia, dual-mode.
779    */
780   { "Insignia", 0x19ff, "NS-DV45", 0x0303, DEVICE_FLAG_UNLOAD_DRIVER },
781   // Reported by Rajan Bella <rajanbella@yahoo.com>
782   { "Insignia", 0x19ff, "Sport Player", 0x0307, DEVICE_FLAG_UNLOAD_DRIVER },
783   // Reported by "brad" (anonymous, sourceforge)
784   { "Insignia", 0x19ff, "Pilot 4GB", 0x0309, DEVICE_FLAG_UNLOAD_DRIVER },
785 
786   /*
787    * LG Electronics
788    */
789   // Not verified - anonymous submission
790   { "LG Electronics Inc.", 0x043e, "UP3", 0x70b1, DEVICE_FLAG_NONE },
791   // Reported by Joseph Nahmias <joe@nahimas.net>
792   { "LG Electronics Inc.", 0x1004, "VX8550 V CAST Mobile Phone", 0x6010,
793       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR },
794   // Reported by Cyrille Potereau <cyrille.potereau@wanadoo.fr>
795   { "LG Electronics Inc.", 0x1004, "KC910 Renoir Mobile Phone", 0x608f,
796       DEVICE_FLAG_UNLOAD_DRIVER },
797   // Reported by anonymous sourceforge user
798   { "LG Electronics Inc.", 0x1004, "KM900", 0x6132,
799       DEVICE_FLAG_UNLOAD_DRIVER },
800 
801   /*
802    * Sony
803    * It could be that these PIDs are one-per hundred series, so
804    * NWZ-A8xx is 0325, NWZ-S5xx is 0x326 etc. We need more devices
805    * reported to see a pattern here.
806    */
807   // Reported by Alessandro Radaelli <alessandro.radaelli@aruba.it>
808   { "Sony", 0x054c, "Walkman NWZ-A815/NWZ-A818", 0x0325,
809       DEVICE_FLAG_UNLOAD_DRIVER |
810       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
811   // Reported by anonymous Sourceforge user.
812   { "Sony", 0x054c, "Walkman NWZ-S516", 0x0326, DEVICE_FLAG_UNLOAD_DRIVER |
813       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
814   // Reported by Endre Oma <endre.88.oma@gmail.com>
815   { "Sony", 0x054c, "Walkman NWZ-S615F/NWZ-S616F/NWZ-S618F", 0x0327,
816       DEVICE_FLAG_UNLOAD_DRIVER |
817       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
818   // Reported by Jean-Marc Bourguet <jm@bourguet.org>
819   { "Sony", 0x054c, "Walkman NWZ-S716F", 0x035a, DEVICE_FLAG_UNLOAD_DRIVER |
820       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
821   // Reported by Anon SF User / Anthon van der Neut <avanderneut@avid.com>
822   { "Sony", 0x054c, "Walkman NWZ-A826/NWZ-A828/NWZ-A829", 0x035b,
823       DEVICE_FLAG_UNLOAD_DRIVER |
824       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
825   // Reported by Niek Klaverstijn <niekez@users.sourceforge.net>
826   { "Sony", 0x054c, "Walkman NWZ-A726/NWZ-A728/NWZ-A768", 0x035c,
827       DEVICE_FLAG_UNLOAD_DRIVER |
828       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
829   // Reported by Mehdi AMINI <mehdi.amini - at - ulp.u-strasbg.fr>
830   { "Sony", 0x054c, "Walkman NWZ-B135", 0x036e, DEVICE_FLAG_UNLOAD_DRIVER |
831       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
832   // Reported by <tiagoboldt@users.sourceforge.net>
833   { "Sony", 0x054c, "Walkman NWZ-E436F", 0x0385, DEVICE_FLAG_UNLOAD_DRIVER |
834       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
835   // Reported by Michael Wilkinson
836   { "Sony", 0x054c, "Walkman NWZ-W202", 0x0388, DEVICE_FLAG_UNLOAD_DRIVER |
837       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
838   // Reported by Ondrej Sury <ondrej@sury.org>
839   { "Sony", 0x054c, "Walkman NWZ-S739F", 0x038c, DEVICE_FLAG_UNLOAD_DRIVER |
840       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
841   // Reported by Marco Filipe Nunes Soares Abrantes Pereira <marcopereira@ua.pt>
842   { "Sony", 0x054c, "Walkman NWZ-S638F", 0x038e, DEVICE_FLAG_UNLOAD_DRIVER |
843       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
844   // Reported by Elliot <orwells@users.sourceforge.net>
845   { "Sony", 0x054c, "Walkman NWZ-X1050B/NWZ-X1060B",
846     0x0397, DEVICE_FLAG_UNLOAD_DRIVER |
847       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
848   // Reported by Silvio J. Gutierrez <silviogutierrez@users.sourceforge.net>
849   { "Sony", 0x054c, "Walkman NWZ-X1051/NWZ-X1061", 0x0398,
850       DEVICE_FLAG_UNLOAD_DRIVER |
851       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
852 
853 
854   /*
855    * SonyEricsson
856    * These initially seemed to support GetObjPropList but later revisions
857    * of the firmware seem to have broken it, so all are flagged as broken
858    * for now.
859    */
860   // Reported by Thomas Schweitzer <thomas_-_s@users.sourceforge.net>
861   { "SonyEricsson", 0x0fce, "K550i", 0xe000, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
862   // Reported by Øyvind Stegard <stegaro@users.sourceforge.net>
863   { "SonyEricsson", 0x0fce, "K850i", 0x0075, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
864   // Reported by Michael Eriksson
865   { "SonyEricsson", 0x0fce, "W910", 0x0076, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
866   // Reported by Zack <zackdvd@users.sourceforge.net>
867   { "SonyEricsson", 0x0fce, "W890i", 0x00b3, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
868   // Reported by robert dot ahlskog at gmail
869   { "SonyEricsson", 0x0fce, "W760i", 0x00c6, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
870   // Reported by Linus Åkesson <linusakesson@users.sourceforge.net>
871   { "SonyEricsson", 0x0fce, "C902", 0x00d4, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
872   // Reported by an anonymous SourceForge user
873   { "SonyEricsson", 0x0fce, "C702", 0x00d9, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
874   // Reported by Christian Zuckschwerdt <christian@zuckschwerdt.org>
875   { "SonyEricsson", 0x0fce, "W980", 0x00da, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
876   // Reported by David Taylor <davidt-libmtp@yadt.co.uk>
877   { "SonyEricsson", 0x0fce, "C905", 0x00ef, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
878   // Reported by David House <dmhouse@users.sourceforge.net>
879   { "SonyEricsson", 0x0fce, "W595", 0x00f3,
880       DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL | DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
881   // Reported by Mattias Evensson <mevensson@users.sourceforge.net>
882   { "SonyEricsson", 0x0fce, "W902", 0x00f5, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
883   // Reported by Sarunas <sarunas@users.sourceforge.net>
884   // Doesn't need any flags according to reporter
885   { "SonyEricsson", 0x0fce, "T700", 0x00fb, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
886   // Reported by Stéphane Pontier <shadow_walker@users.sourceforge.net>
887   { "SonyEricsson", 0x0fce, "W705/W715", 0x0105, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
888   // Reported by Håkan Kvist
889   { "SonyEricsson", 0x0fce, "W995", 0x0112, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
890 
891 
892   /*
893    * Motorola
894    * Assume DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST on all of these.
895    */
896   // Reported by David Boyd <tiggrdave@users.sourceforge.net>
897   { "Motorola", 0x22b8, "V3m/V750 verizon", 0x2a65, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
898     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
899   // Reported by Marcus Meissner to libptp2
900   { "Motorola", 0x22b8, "K1", 0x4811, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
901   // Reported by Hans-Joachim Baader <hjb@pro-linux.de> to libptp2
902   { "Motorola", 0x22b8, "A1200", 0x60ca, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
903   // http://mark.cdmaforums.com/Files/Motdmmtp.inf
904   { "Motorola", 0x22b8, "MTP Test Command Interface", 0x6413, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
905   // Reported by anonymous user
906   { "Motorola", 0x22b8, "RAZR2 V8/U9/Z6", 0x6415, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
907 
908 
909   /*
910    * Media Keg
911    */
912   // Reported by Rajan Bella <rajanbella@yahoo.com>
913   { "Kenwood", 0x0b28, "Media Keg HD10GB7 Sport Player", 0x100c, DEVICE_FLAG_UNLOAD_DRIVER},
914 
915   /*
916    * Micro-Star International (MSI)
917    */
918   // Reported by anonymous sourceforge user.
919   { "Micro-Star International", 0x0db0, "P610/Model MS-5557", 0x5572, DEVICE_FLAG_NONE },
920 
921   /*
922    * FOMA
923    */
924   { "FOMA", 0x06d3, "D905i", 0x21ba, DEVICE_FLAG_NONE },
925 
926   /*
927    * Haier
928    */
929   // Both reported by an anonymous SourceForge user
930   // This is the 30 GiB model
931   { "Haier", 0x1302, "Ibiza Rhapsody", 0x1016, DEVICE_FLAG_NONE },
932   // This is the 4/8 GiB model
933   { "Haier", 0x1302, "Ibiza Rhapsody", 0x1017, DEVICE_FLAG_NONE },
934 
935   /*
936    * Panasonic
937    */
938   // Reported by dmizer
939   { "Panasonic", 0x04da, "P905i", 0x2145, DEVICE_FLAG_NONE },
940 
941   /*
942    * Polaroid
943    */
944   { "Polaroid", 0x0546, "Freescape/MPU-433158", 0x2035, DEVICE_FLAG_NONE },
945 
946   /*
947    * Pioneer
948    */
949   // Reported by Dan Allen <dan.j.allen@gmail.com>
950   { "Pioneer", 0x08e4, "XMP3", 0x0148, DEVICE_FLAG_NONE },
951 
952   /*
953    * Slacker Inc.
954    * Put in all evilness flags because it looks fragile.
955    */
956   // Reported by Pug Fantus <pugfantus@users.sourceforge.net>
957   { "Slacker Inc.", 0x1bdc, "Slacker Portable Media Player", 0xfabf,
958     DEVICE_FLAG_BROKEN_BATTERY_LEVEL | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
959     DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
960 
961   // Reported by Demadridsur <demadridsur@gmail.com>
962   { "O2 Sistemas", 0x1e53, "ZoltarTV", 0x0006, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
963 
964   // Reported by Sense Hofstede <qense@users.sourceforge.net>
965   { "Perception Digital, Ltd", 0x0aa6, "Gigaware GX400", 0x9702, DEVICE_FLAG_NONE },
966   /*
967    * Other strange stuff.
968    */
969   { "Isabella", 0x0b20, "Her Prototype", 0xddee, DEVICE_FLAG_NONE }
970