diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2011-04-03 10:51:10 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2011-04-03 10:51:10 +0000 |
commit | 231f6fefb2b6d2d16ccbe62011efc7968be08622 (patch) | |
tree | 13a91f569a44c930a2226d60b0d482a3d043298e | |
parent | 739e6e9c6f9d7fcd404bebf4e8cc7292b28413e8 (diff) | |
download | libgphoto2-231f6fefb2b6d2d16ccbe62011efc7968be08622.tar.gz |
merged from libmtp
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@13584 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/ptp2/device-flags.h | 67 | ||||
-rw-r--r-- | camlibs/ptp2/music-players.h | 147 |
2 files changed, 145 insertions, 69 deletions
diff --git a/camlibs/ptp2/device-flags.h b/camlibs/ptp2/device-flags.h index 44090328b..e8bb6cbed 100644 --- a/camlibs/ptp2/device-flags.h +++ b/camlibs/ptp2/device-flags.h @@ -3,7 +3,7 @@ * Special device flags to deal with bugs in specific devices. * * Copyright (C) 2005-2007 Richard A. Low <richard@wentnet.com> - * Copyright (C) 2005-2007 Linus Walleij <triad@df.lth.se> + * Copyright (C) 2005-2011 Linus Walleij <triad@df.lth.se> * Copyright (C) 2006-2007 Marcus Meissner * Copyright (C) 2007 Ted Bullock * @@ -35,12 +35,12 @@ /** * This means that the PTP_OC_MTP_GetObjPropList is broken * in the sense that it won't return properly formatted metadata - * for ALL files on the device when you request an object + * for ALL files on the device when you request an object * property list for object 0xFFFFFFFF with parameter 3 likewise - * set to 0xFFFFFFFF. Compare to + * set to 0xFFFFFFFF. Compare to * DEVICE_FLAG_BROKEN_MTPGETOBJECTPROPLIST which only signify * that it's broken when getting metadata for a SINGLE object. - * A typical way the implementation may be broken is that it + * A typical way the implementation may be broken is that it * may not return a proper count of the objects, and sometimes * (like on the ZENs) objects are simply missing from the list * if you use this. Sometimes it has been used incorrectly to @@ -52,14 +52,14 @@ */ #define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL 0x00000001 /** - * This means that under Linux, another kernel module may - * be using this device's USB interface, so we need to detach + * This means that under Linux, another kernel module may + * be using this device's USB interface, so we need to detach * it if it is. Typically this is on dual-mode devices that * will present both an MTP compliant interface and device * descriptor *and* a USB mass storage interface. If the USB * mass storage interface is in use, other apps (like our * userspace libmtp through libusb access path) cannot get in - * and get cosy with it. So we can remove the offending + * and get cosy with it. So we can remove the offending * application. Typically this means you have to run the program * as root as well. */ @@ -72,17 +72,17 @@ #define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST 0x00000004 /** * This means the device doesn't send zero packets to indicate - * end of transfer when the transfer boundary occurs at a - * multiple of 64 bytes (the USB 1.1 endpoint size). Instead, - * exactly one extra byte is sent at the end of the transfer - * if the size is an integer multiple of USB 1.1 endpoint size + * end of transfer when the transfer boundary occurs at a + * multiple of 64 bytes (the USB 1.1 endpoint size). Instead, + * exactly one extra byte is sent at the end of the transfer + * if the size is an integer multiple of USB 1.1 endpoint size * (64 bytes). * - * This behaviour is most probably a workaround due to the fact - * that the hardware USB slave controller in the device cannot - * handle zero writes at all, and the usage of the USB 1.1 - * endpoint size is due to the fact that the device will "gear - * down" on a USB 1.1 hub, and since 64 bytes is a multiple of + * This behaviour is most probably a workaround due to the fact + * that the hardware USB slave controller in the device cannot + * handle zero writes at all, and the usage of the USB 1.1 + * endpoint size is due to the fact that the device will "gear + * down" on a USB 1.1 hub, and since 64 bytes is a multiple of * 512 bytes, it will work with USB 1.1 and USB 2.0 alike. */ #define DEVICE_FLAG_NO_ZERO_READS 0x00000008 @@ -97,7 +97,7 @@ * flag on won't hurt anything, just that the check against * filename extension will be done for files of "unknown" type. * If the player does not even know (reports) that it supports - * ogg even though it does, please use the stronger + * ogg even though it does, please use the stronger * OGG_IS_UNKNOWN flag, which will forcedly support ogg on * anything with the .ogg filename extension. */ @@ -127,7 +127,7 @@ * contain junk. This is breaking the PTP/MTP spec but works * on Windows anyway, probably because the Windows implementation * does not check that these bytes are valid. To interoperate - * with devices like this, we need this flag to emulate the + * with devices like this, we need this flag to emulate the * Windows bug. */ #define DEVICE_FLAG_IGNORE_HEADER_ERRORS 0x00000080 @@ -141,11 +141,11 @@ #define DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST 0x00000100 /** * The Samsung YP-T10 think Ogg files shall be sent with - * the "unknown" (PTP_OFC_Undefined) file type, this gives a - * side effect that is a combination of the iRiver Ogg Alzheimer + * the "unknown" (PTP_OFC_Undefined) file type, this gives a + * side effect that is a combination of the iRiver Ogg Alzheimer * problem (have to recognized Ogg files on file extension) * and a need to report the Ogg support (the device itself does - * not properly claim to support it) and need to set filetype + * not properly claim to support it) and need to set filetype * to unknown when storing Ogg files, even though they're not * actually unknown. Later iRivers seem to need this flag since * they do not report to support OGG even though they actually @@ -209,36 +209,36 @@ /** * Devices that send "ObjectDeleted" events after deletion - * of images. (libgphoto2) - */ + * of images. (libgphoto2) + */ #define DEVICE_FLAG_DELETE_SENDS_EVENT 0x00020000 /** * Cameras that can capture images. (libgphoto2) - */ + */ #define DEVICE_FLAG_CAPTURE 0x00040000 /** * Cameras that can capture images. (libgphoto2) - */ + */ #define DEVICE_FLAG_CAPTURE_PREVIEW 0x00080000 /** * Nikon broken capture support without proper ObjectAdded events. * (libgphoto2) - */ + */ #define DEVICE_FLAG_NIKON_BROKEN_CAPTURE 0x00100000 /** * Broken capture support where cameras do not send CaptureComplete events. * (libgphoto2) - */ + */ #define DEVICE_FLAG_NO_CAPTURE_COMPLETE 0x00400000 /** * Direct PTP match required. * (libgphoto2) - */ + */ #define DEVICE_FLAG_MATCH_PTP_INTERFACE 0x00800000 /** * This flag is like DEVICE_FLAG_OGG_IS_UNKNOWN but for FLAC @@ -255,3 +255,14 @@ * device to switch from USB mass storage to MTP mode we think. */ #define DEVICE_FLAG_SWITCH_MODE_BLACKBERRY 0x04000000 +/** + * This flag indicates that the device need an extra long + * timeout on some operations. + */ +#define DEVICE_FLAG_LONG_TIMEOUT 0x08000000 +/** + * This flag indicates that the device need an explicit + * USB reset after each connection. Some devices don't + * like this, so it's not done by default. + */ +#define DEVICE_FLAG_FORCE_RESET_ON_CLOSE 0x10000000 diff --git a/camlibs/ptp2/music-players.h b/camlibs/ptp2/music-players.h index b225c4b82..8ed55b795 100644 --- a/camlibs/ptp2/music-players.h +++ b/camlibs/ptp2/music-players.h @@ -3,7 +3,7 @@ * List of music players as USB ids. * * Copyright (C) 2005-2007 Richard A. Low <richard@wentnet.com> - * Copyright (C) 2005-2010 Linus Walleij <triad@df.lth.se> + * Copyright (C) 2005-2011 Linus Walleij <triad@df.lth.se> * Copyright (C) 2006-2007 Marcus Meissner * Copyright (C) 2007 Ted Bullock * @@ -217,6 +217,11 @@ { "Samsung", 0x04e8, "YP-R0", 0x5125, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_PLAYLIST_SPL_V1 | DEVICE_FLAG_UNIQUE_FILENAMES | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, + // From Manuel Carro + // Copied from Q2 + { "Samsung", 0x04e8, "YP-Q3", 0x5130, DEVICE_FLAG_UNLOAD_DRIVER | + DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | + DEVICE_FLAG_PLAYLIST_SPL_V1 }, // From a rouge .INF file // this device ID seems to have been recycled for: // the Samsung SGH-A707 Cingular cellphone @@ -228,7 +233,7 @@ // From Santi Béjar <sbejar@gmail.com> - not sure this is MTP... // { "Samsung", 0x04e8, "E250 Mobile Phone", 0x663e, DEVICE_FLAG_UNLOAD_DRIVER }, // From an anonymous SF user - { "Samsung", 0x04e8, "M7600 Beat/GT-S8300T", 0x6642, + { "Samsung", 0x04e8, "M7600 Beat/GT-S8300T/SGH-F490", 0x6642, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_BATTERY_LEVEL }, // From Lionel Bouton { "Samsung", 0x04e8, "X830 Mobile Phone", 0x6702, DEVICE_FLAG_UNLOAD_DRIVER }, @@ -244,11 +249,16 @@ // Added by Greg Fitzgerald <netzdamon@gmail.com> { "Samsung", 0x04e8, "SAMSUNG Trance", 0x6763, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAG_PLAYLIST_SPL_V1 }, + // From anonymous sourceforge user + // Guessing on .spl flag, maybe needs NO_ZERO_READS, whatdoIknow + { "Samsung", 0x04e8, "GT-S8500", 0x6819, + DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_PLAYLIST_SPL_V1 }, // From: Erik Berglund <erikjber@users.sourceforge.net> // Logs indicate this needs DEVICE_FLAG_NO_ZERO_READS + // No Samsung platlists on this device. // https://sourceforge.net/tracker/?func=detail&atid=809061&aid=3026337&group_id=158745 { "Samsung", 0x04e8, "Galaxy S GT-I9000", 0x6877, DEVICE_FLAG_UNLOAD_DRIVER | - DEVICE_FLAG_PLAYLIST_SPL_V1 }, + DEVICE_FLAG_LONG_TIMEOUT }, // From: John Gorkos <ab0oo@users.sourceforge.net> and Akos Maroy <darkeye@users.sourceforge.net> { "Samsung", 0x04e8, "Vibrant SGH-T959", 0x68a9, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_PLAYLIST_SPL_V1 }, @@ -267,8 +277,10 @@ { "Microsoft", 0x045e, "Windows MTP Simulator", 0x0622, DEVICE_FLAG_NONE }, // Reported by Edward Hutchins (used for Zune HDs) { "Microsoft", 0x045e, "Zune HD", 0x063e, DEVICE_FLAG_NONE }, + // Reported by anonymous sourceforge user + { "Microsoft", 0x045e, "Kin 1", 0x0640, DEVICE_FLAG_NONE }, // Reported by Farooq Zaman (used for all Zunes) - { "Microsoft", 0x045e, "Zune", 0x0710, DEVICE_FLAG_NONE }, + { "Microsoft", 0x045e, "Zune", 0x0710, DEVICE_FLAG_NONE }, /* * JVC @@ -322,7 +334,7 @@ { "Philips", 0x0471, "GoGear SA1VBE08KX/78", 0x208e, DEVICE_FLAG_UNLOAD_DRIVER }, // From Anonymous SourceForge User - { "Philips", 0x0471, "GoGear VIBE SA2VBE16K/02", 0x20b7, + { "Philips", 0x0471, "GoGear VIBE SA2VBE[08|16]K/02", 0x20b7, DEVICE_FLAG_UNLOAD_DRIVER }, // from XNJB user { "Philips", 0x0471, "PSA235", 0x7e01, DEVICE_FLAG_NONE }, @@ -408,16 +420,27 @@ { "SanDisk", 0x0781, "Sansa Fuze", 0x74c0, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR | + DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED }, // Harry Phillips <tuxcomputers@users.sourceforge.net> { "SanDisk", 0x0781, "Sansa Fuze v2", 0x74c2, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR | + DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED }, // Reported by anonymous SourceForge user + // Need BROKEN_SET_SAMPLE_DIMENSIONS accordning to + // Michael <mpapet@users.sourceforge.net> { "SanDisk", 0x0781, "Sansa Clip+", 0x74d0, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR | + DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS | + DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED}, + // Reported by anonymous SourceForge user + { "SanDisk", 0x0781, "Sansa Fuze+", 0x74e0, + DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | + DEVICE_FLAG_NO_RELEASE_INTERFACE | DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR | + DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS | DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED}, @@ -648,19 +671,6 @@ { "Sirius", 0x18f6, "Stiletto 2", 0x0110, DEVICE_FLAG_NONE }, /* - * Canon - * These are actually cameras, but they have a Microsoft device descriptor - * and reports themselves as supporting the MTP extension. - */ - { "Canon", 0x04a9, "Ixus Digital 700 (PTP/MTP mode)", 0x30f2, - DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL }, - { "Canon", 0x04a9, "PowerShot A640 (PTP/MTP mode)", 0x3139, - DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL }, - // From Peter <pjeremy@users.sourceforge.net> - { "Canon", 0x04a9, "PowerShot SX20IS (PTP/MTP mode)", 0x31e4, - DEVICE_FLAG_NONE }, - - /* * Nokia * Please verify the low device IDs here, I suspect these might be for * things like USB storage or modem mode actually, whereas the higher @@ -721,6 +731,8 @@ { "Nokia", 0x0421, "E63", 0x0179, DEVICE_FLAG_NONE }, // From an anonymous SourceForge user { "Nokia", 0x0421, "E71x", 0x01a1, DEVICE_FLAG_NONE }, + // From Ser <ser@users.sourceforge.net> + { "Nokia", 0x0421, "E52", 0x01cf, DEVICE_FLAG_NONE }, // From Marcus Meissner { "Nokia", 0x0421, "3710", 0x01ee, DEVICE_FLAG_NONE }, // From: AxeL <axel__17@users.sourceforge.net> @@ -737,10 +749,16 @@ { "Nokia", 0x0421, "N97 mini", 0x026b, DEVICE_FLAG_NONE }, // From: Alexander Kojevnikov <alex-kay@users.sourceforge.net> { "Nokia", 0x0421, "6600i", 0x0297, DEVICE_FLAG_NONE }, + // From: Karthik Paithankar <whyagain2005@users.sourceforge.net> + { "Nokia", 0x0421, "2710", 0x02c1, DEVICE_FLAG_NONE }, + // From: Anonymous sourceforge user + { "Nokia", 0x0421, "5230", 0x02e2, DEVICE_FLAG_NONE }, // From: Lan Liu at Nokia <lan.liu@nokia.com> { "Nokia", 0x0421, "N8", 0x02fe, DEVICE_FLAG_NONE }, // From: Lan Liu at Nokia <lan.liu@nokia.com> { "Nokia", 0x0421, "N8 (Ovi mode)", 0x0302, DEVICE_FLAG_NONE }, + // From: Raul Metsma <raul@innovaatik.ee> + { "Nokia", 0x0421, "E7", 0x0335, DEVICE_FLAG_NONE }, // https://sourceforge.net/tracker/index.php?func=detail&aid=2692473&group_id=8874&atid=358874 { "Nokia", 0x0421, "5200", 0x0421, DEVICE_FLAG_NONE }, // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_3250_WMP10_driver.inf @@ -839,8 +857,9 @@ { "TrekStor", 0x0402, "i.Beat Sweez FM", 0x0611, DEVICE_FLAG_UNLOAD_DRIVER }, // Reported by Fox-ino <fox-ino@users.sourceforge.net> - { "ALi Corp.", 0x0402, "MPMAN 2GB", 0x5668, - DEVICE_FLAG_UNLOAD_DRIVER }, + // No confirmation that this is really MTP so commented it out. + // { "ALi Corp.", 0x0402, "MPMAN 2GB", 0x5668, + // DEVICE_FLAG_UNLOAD_DRIVER }, // Reported by Anonymous SourceForge user {"TrekStor", 0x1e68, "i.Beat Organix 2.0", 0x0002, DEVICE_FLAG_UNLOAD_DRIVER }, @@ -953,96 +972,125 @@ { "Sony", 0x054c, "Walkman NWZ-A815/NWZ-A818", 0x0325, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by anonymous Sourceforge user. { "Sony", 0x054c, "Walkman NWZ-S516", 0x0326, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Endre Oma <endre.88.oma@gmail.com> { "Sony", 0x054c, "Walkman NWZ-S615F/NWZ-S616F/NWZ-S618F", 0x0327, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Jean-Marc Bourguet <jm@bourguet.org> { "Sony", 0x054c, "Walkman NWZ-S716F", 0x035a, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Anon SF User / Anthon van der Neut <avanderneut@avid.com> { "Sony", 0x054c, "Walkman NWZ-A826/NWZ-A828/NWZ-A829", 0x035b, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Niek Klaverstijn <niekez@users.sourceforge.net> { "Sony", 0x054c, "Walkman NWZ-A726/NWZ-A728/NWZ-A768", 0x035c, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Mehdi AMINI <mehdi.amini - at - ulp.u-strasbg.fr> { "Sony", 0x054c, "Walkman NWZ-B135", 0x036e, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by <tiagoboldt@users.sourceforge.net> { "Sony", 0x054c, "Walkman NWZ-E436F", 0x0385, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Michael Wilkinson { "Sony", 0x054c, "Walkman NWZ-W202", 0x0388, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Ondrej Sury <ondrej@sury.org> { "Sony", 0x054c, "Walkman NWZ-S739F", 0x038c, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Marco Filipe Nunes Soares Abrantes Pereira <marcopereira@ua.pt> { "Sony", 0x054c, "Walkman NWZ-S638F", 0x038e, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Elliot <orwells@users.sourceforge.net> { "Sony", 0x054c, "Walkman NWZ-X1050B/NWZ-X1060B", 0x0397, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Silvio J. Gutierrez <silviogutierrez@users.sourceforge.net> { "Sony", 0x054c, "Walkman NWZ-X1051/NWZ-X1061", 0x0398, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Gregory Boddin <gregory@siwhine.net> { "Sony", 0x054c, "Walkman NWZ-B142F", 0x03d8, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Rick Warner <rick@reptileroom.net> { "Sony", 0x054c, "Walkman NWZ-E344", 0x03fc, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Jonathan Stowe <gellyfish@users.sourceforge.net> { "Sony", 0x054c, "Walkman NWZ-E445", 0x03fd, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Anonymous SourceForge user { "Sony", 0x054c, "Walkman NWZ-S545", 0x03fe, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, { "Sony", 0x054c, "Walkman NWZ-A845", 0x0404, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, + { "Sony", 0x054c, "Walkman NWZ-B153F", 0x04be, + DEVICE_FLAG_UNLOAD_DRIVER | + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, + { "Sony", 0x054c, "Walkman NWZ-E354", 0x04cb, + DEVICE_FLAG_UNLOAD_DRIVER | + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, // Reported by Anonymous SourceForge user { "Sony", 0x054c, "DCR-SR75", 0x1294, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | - DEVICE_FLAG_UNIQUE_FILENAMES }, + DEVICE_FLAG_UNIQUE_FILENAMES | + DEVICE_FLAG_FORCE_RESET_ON_CLOSE }, /* @@ -1083,7 +1131,8 @@ { "SonyEricsson", 0x0fce, "W995", 0x0112, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, // Reported by anonymous SourceForge user { "SonyEricsson", 0x0fce, "U5", 0x0133, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, - + // Reported by Flo <lhugsereg@users.sourceforge.net> + { "SonyEricsson", 0x0fce, "U8i", 0x013a, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, // Reported by Jonas Nyrén <spectralmks@users.sourceforge.net> { "SonyEricsson", 0x0fce, "W302", 0x10c8, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, @@ -1105,6 +1154,12 @@ DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, + // Reported by anonymous user + { "Motorola", 0x22b8, "DROID2", 0x42a7, + DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | + DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL | + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, // Reported by Marcus Meissner to libptp2 { "Motorola", 0x22b8, "K1", 0x4811, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST }, // Reported by Hans-Joachim Baader <hjb@pro-linux.de> to libptp2 @@ -1116,7 +1171,11 @@ // Reported by anonymous user { "Motorola", 0x22b8, "RAZR2 V8/U9/Z6", 0x6415, DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST }, - + // Reported by Google Inc's Yavor Goulishev <yavor@google.com> + { "Motorola", 0x22b8, "Xoom (ID 1)", 0x70a8, + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, + { "Motorola", 0x22b8, "Xoom (ID 2)", 0x70a9, + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, /* * Media Keg @@ -1172,6 +1231,8 @@ DEVICE_FLAG_BROKEN_BATTERY_LEVEL | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST }, + // Reported by anonymous user + { "Conceptronic", 0x1e53, "CMTD2", 0x0005, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, // Reported by Demadridsur <demadridsur@gmail.com> { "O2 Sistemas", 0x1e53, "ZoltarTV", 0x0006, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST }, // Reported by da-beat <dabeat@gmail.com> @@ -1197,6 +1258,10 @@ */ { "Coby", 0x1e74, "COBY MP705", 0x6512, DEVICE_FLAG_NONE }, + // Reported by anonymous SourceForge user + { "Curitel Communications, Inc.", 0x106c, + "Verizon Wireless Device", 0x3215, DEVICE_FLAG_NONE }, + /* * Other strange stuff. */ |