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