forked from linux-usb-gadgets/ptp-gadget
-
Notifications
You must be signed in to change notification settings - Fork 0
moved original repository from http://git.denx.de/ptp-gadget.git/
License
tretter/ptp-gadget
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ptp-gadget This is a device-side implementation of the PTP (Picture Transfer Protocol) / PIMA-15740 standard for Linux. It allows a Linux system with a USB device hardware to present itself to a USB host as a still camera with PTP support. This is an open-source project, licensed under GPL v3, hence the author is hoping, that it will be useful to others, and that others will contribute to it, eventually making it a complete implementation of the standard. The driver works completely in user-space and uses functionfs to communicate with USB gadget hardware. As of v0.2 only the minimal compulsory set of PTP requests, as specified in the standard, is supported. Supported are downloading of images and generation of thumbnails, using the "convert" utility from the ImageMagick package. Several popular image formats are supported, but currently only TIFF and JPEG images are processed. Thumbnails are created as compressed 160x120 pixel JFIF images and are stored under /var/cache/ptp/thumb/, so this directory must exist and be writable by the ptp-gadget user. The program takes one compulsory parameter - the path to the directory, in which images are stored. Optionally, "-v" switches can be used to increment verbosity level of the program. Known problems: not yet working with MS Windows Vista. To contact developers of this software please write to the Linux USB mailing list at <[email protected]> and (optionally) CC the original author as specified in the ptp.c file. See file COPYING for a copy of the GPL v3 license. The initial development has been financed by TQS (http://www.tqs.de/) and accomplished by DENX (http://www.denx.de/).
About
moved original repository from http://git.denx.de/ptp-gadget.git/
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 97.7%
- M4 1.9%
- Makefile 0.4%