summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Actually commit necessary changes to configuredbus-daemonPhilipp Schmidt2013-07-153-1/+64
|
* Update makefile to link udev, compile fixesPhilipp Schmidt2013-07-154-30/+42
|
* Add udev listener to makefilePhilipp Schmidt2013-07-153-2/+6
|
* Implement udev listener.Philipp Schmidt2013-07-153-1/+202
|
* Initial daemon code, alter gdbus-codegen call, add interfacePhilipp Schmidt2013-07-143-8/+390
|
* Initial skeleton for the DBus daemon by Philip LangdalePhilipp Schmidt2013-06-264-0/+109
|
* devices devicesLinus Walleij2013-06-153-11/+968
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Nexus S etcLinus Walleij2013-06-142-1/+483
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Lots of new devicesLinus Walleij2013-06-141-5/+18
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Desire X logLinus Walleij2013-06-141-0/+614
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Motorola XT897Linus Walleij2013-06-141-0/+474
|
* xperia go logLinus Walleij2013-06-141-0/+557
|
* Acro HDLinus Walleij2013-05-011-1/+7
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* XO learning tabletLinus Walleij2013-05-011-0/+8
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* PATCH: avoid unconditional clear_haltMarcus Meissner2013-05-012-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Hi, During debugging weird "access only possible once" scenarios, on Raspberry Pi and also on regular Linux with USB 3.0 controllers, I found that clearing halt on a endpoint which is not stalled will confuse the (kernel) driver and device and make them really stall until resetted. This is probably a Kernel bug. So do not do a unconditional clear_halt. I am leaving the conditional clear_stall in, as it queries the status before. This might need testing. Ciao, Marcus Signed-off-by: Marcus Meissner <marcus@jet.franken.de> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Add capability to check for capabilitiesLinus Walleij2013-04-292-1/+65
| | | | | | | This adds and API to check a device for specific capabilities, when need be. Signed-off-by: Linus Walleij <triad@df.lth.se>
* API per-device cacheLinus Walleij2013-04-291-0/+9
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* quick noteLinus Walleij2013-04-221-1/+2
|
* Support GetObject for large (>4GB) files.Philip Langdale2013-04-183-9/+9
| | | | | | | | | | | | | | | | | | | | | | In general, GetObject for large files is much like SendObject; you keep trying to transfer data until the sender stops. The existing code does almost everything you need, except it doesn't use a sufficient condition to detect the case. While you might think that a large transfer would be signaled with a containerLength of 0xFFFFFFFF - this has not proven the case in my testing; what I see is the file size truncated to 32bits. This makes the existing condition ineffectual. An alternative condition, suggested by Han-Wen, is to simply always use the sender-limited transfer pattern if the transfer is larger than one packet. This means that the containerLength is ignored for any transfer over 512 bytes, but it works, and it's really the only way to handle the corner case where the large file size truncates to a small value < 512. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
* libmtp: Support > 4GB file transfersPhilip Langdale2013-04-091-2/+6
| | | | | | | | The libmtp specific piece of supporting > 4GB file transfers was missing. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
* ptp: Apply missing changes to support > 4GB transfers.Philip Langdale2013-04-093-3/+3
| | | | | | | | Not sure why, but these changes were dropped when the original patchset was applied. The rest of the changes to ptp made it in. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Xperia PLAY ADB modeLinus Walleij2013-03-181-0/+2
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* New LTE HTCLinus Walleij2013-03-171-0/+2
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* A new LGLinus Walleij2013-03-171-4/+3
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Fix building libmtp with older GCC versions / non GCC compilersBrad Smith2013-03-161-8/+19
| | | | | | Here is an updated diff also build tested with gcc 4.6. Signed-off-by: Brad Smith <brad@comstyle.com>
* Bump interface versionlibmtp-1-1-6Linus Walleij2013-03-152-4/+4
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* More devicesLinus Walleij2013-03-156-35/+3951
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Ogg/Flac flags for all Samsung Android typesLinus Walleij2013-03-151-3/+9
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Extend Samsung Galaxy MTP device flagsChow Loong Jin2013-03-151-1/+3
| | | | | | | | The Samsung Galaxy S3 which is 04e8:6860 supports FLAC and OGG files, even if it doesn't report its support, so add these two flags to music-players.h. Signed-off-by: Chow Loong Jin <hyperair@debian.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
* New devices galoreLinus Walleij2013-03-153-9/+1137
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Added new nVidiaLinus Walleij2013-03-131-0/+1
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Fix a leak in LIBMTP_Release_Device().Lei Zhang2013-03-121-0/+1
| | | | | Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Fix some leaks in common code paths.Lei Zhang2013-03-122-1/+13
| | | | | Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Check for failures from libusb_init() in the libusb-1.0 glue code.Lei Zhang2013-03-121-6/+19
| | | | | Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Remove the Nexus S from the list of known MTP devices.Lei Zhang2013-03-121-3/+1
| | | | | | | Stock Nexus S devices are mass storage and not MTP. Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Check for NULL descriptor in the input to parse_extension_descriptor.Lei Zhang2013-03-121-0/+4
| | | | | Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Check if PTP operations are supported before calling them.Lei Zhang2013-03-121-34/+39
| | | | | Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Fix a few minor build issues.Lei Zhang2013-03-122-2/+3
| | | | | Signed-off-by: Lei Zhang <thestig@google.com> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Add Sony Xperia Tablet Z to USB idsToby Collett2013-03-111-12/+24
| | | | | | Also remove incorrect model number from some Sony entries Signed-off-by: Linus Walleij <triad@df.lth.se>
* Propagate StoreRemoved, ObjectAdded and ObjectRemoved events.Philip Langdale2013-03-112-0/+9
| | | | | | | | | | | | | These events, along with the previously exposed StoreAdded event, are the most frequently implemented events on MTP devices. In the case of Google's Android MTP stack, they are the only events exposed. In the case of StoreRemoved, the param value is the storage ID and in the case of ObjectAdded/Removed, it is the entity ID. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Move object handlers into the right groupLinus Walleij2013-03-061-8/+7
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Expose libptp methods for android read/write extensions.Philip Langdale2013-03-053-0/+121
| | | | | | | | This change just adds simple libmtp wrappers for the libptp methods that in turn expose the android in-place read/write extensions. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Fix signature of ptp_usb_senddata() to be 64bit.Linus Walleij2013-03-053-3/+3
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Properly update to the latest gphoto2 code, and update theLinus Walleij2013-03-054-34/+172
| | | | | | script grabbing out the source code... Signed-off-by: Linus Walleij <triad@df.lth.se>
* More devices.Linus Walleij2013-03-052-3/+576
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Some README updateLinus Walleij2013-03-051-2/+18
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Synchronize to upstream libgphoto2.Linus Walleij2013-03-052-5/+62
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Add Sony Xperia Z and ZL to USB idsToby Collett2013-02-241-0/+12
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Misc device updatesLinus Walleij2013-02-241-3/+7
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>
* Motorola AtrixLinus Walleij2013-02-242-0/+524
| | | | Signed-off-by: Linus Walleij <triad@df.lth.se>