The uMTP-Responder allows files to be transferred to and from devices through the devices USB port.
-
Implemented in C.
-
Lightweight implementation.
-
User space implementation.
-
As few dependencies as possible.
-
Hook to the Gadget FS Linux layer.
-
Dynamic handles allocation (No file-system pre-scan).
-
(Optional) Syslog support.
-
Folder listing.
-
Folder creation.
-
Files & Folders upload.
-
Files & Folders download.
-
Files & Folders deletion.
-
Up to 16 storage instances supported.
- libcomposite support.
Any board with a USB device port should be compatible. The only requirement is to have the USB Gadget FS support enabled in your Linux kernel.
-
Atmel Sama5D2 Xplained.
-
Raspberry PI Zero (W).
-
BeagleBone Black.
-
Allwinner SoC based board.
- Windows 7, Windows 10, Linux.
A simple "make" should be enough. If you are using a cross-compile environment, set the "CC" variable to your GCC cross compiler.
A config file should copied into the folder /etc/umtprd/umtprd.conf This file defines the storage entries (host path and name), the MTP device name, the USB vendor & product IDs and the USB device configuration. Check the file umtprd.conf file for details on available options.
Once you have configured the correct settings in umtprd.conf, you can use umtprd.sh to launch it or use udev to launch the deamon when the usb device port is connected.
This project is licensed under the GNU General Public License version 3 - see the LICENSE file for details