# # uMTP Responder config file # Must be copied to /etc/umtprd/umtprd.conf # # Loop / daemon mode # Set to 1 to don't shutdown uMTPrd when the link is disconnected. loop_on_disconnect 1 #storage command : Create add a storage entry point. Up to 16 entry points supported #Syntax : storage "PATH" "NAME" storage "/storage/roms" "Roms" # Set the USB manufacturer string manufacturer "Jelos" # Set the USB Product string product "Jelos Device" # Set the USB Serial number string serial "00000001" # Set the USB interface string. Should be always "MTP" interface "MTP" # Set the USB Vendor ID, Product ID and class usb_vendor_id 0x1D6B # Linux Foundation usb_product_id 0x0100 # PTP Gadget usb_class 0x6 # Image usb_subclass 0x1 # Still Imaging device usb_protocol 0x1 # # Device version usb_dev_version 0x3008 # inotify support # If you want disable the events support (beta), uncomment the following line : # no_inotify 0x1 # # USB gadget device driver path # ######################################################################## # # -- Generic FunctionFS Mode -- # ######################################################################## usb_functionfs_mode 0x1 usb_dev_path "/dev/ffs-umtp/ep0" usb_epin_path "/dev/ffs-umtp/ep1" usb_epout_path "/dev/ffs-umtp/ep2" usb_epint_path "/dev/ffs-umtp/ep3" usb_max_packet_size 0x200 ######################################################################## # # -- GadgetFS Mode : Atmel Sama5D2Xplained board -- # ######################################################################## #usb_functionfs_mode 0x0 #usb_dev_path "/dev/gadget/atmel_usba_udc" #usb_epin_path "/dev/gadget/ep1" #usb_epout_path "/dev/gadget/ep2" #usb_epint_path "/dev/gadget/ep3" # Max USB packet size #usb_max_packet_size 0x200 ######################################################################## # # -- GadgetFS Mode : Raspberry PI Zero / Raspberry PI Zero W Boards -- # ######################################################################## #usb_functionfs_mode 0x0 #usb_dev_path "/dev/gadget/20980000.usb" #usb_epin_path "/dev/gadget/ep1in" #usb_epout_path "/dev/gadget/ep2out" #usb_epint_path "/dev/gadget/ep3in" # Max USB packet size #usb_max_packet_size 0x200