Skip to content

uMTP-Responder-v1.5.1

Compare
Choose a tag to compare
@jfdelnero jfdelnero released this 06 Dec 18:49
· 35 commits to master since this release
  • Storage : new flags and modes :

    • "locked" flag support.

    • "removable" flag support.

  • New dynamic/runtime commands (umtprd -cmd:COMMAND) :

    • "lock"/"unlock" commands to dynamically lock/unlock lockable storage.

      Examples:

      Unlock all locked storage (set with the 'locked' option in the configuration file) :

      umtprd -cmd:unlock

      Lock all lockable storage (set with the 'locked' option in the configuration file) :

      umtprd -cmd:lock
    • "addstorage"/"rmstorage" commands to dynamically add/remove storage.

      Examples:

      umtprd '-cmd:addstorage:/tmp Tmp rw'
      umtprd '-cmd:rmstorage:Tmp'

      Use double-quotes when arguments have spaces in them:

      umtprd '-cmd:addstorage:/path "My Path" rw,removable'
      umtprd '-cmd:rmstorage:"My Path"'
  • Added umask configuration entry and fix permissions on send objects.

  • USB 3.0 SuperSpeed support.

  • Supports files rename at the MTP device side.

  • New "firmware_version" configuration field : set the MTP device info value.

  • Many fixes and improvements :

    • Fix inotify for root folders when using multiple storage.

    • Add guard to avoid storage from being added twice.

    • Update the file size information to the dataset when modifying the file content.

    • Check that fs handles db is valid before using it to get entries.

    • Security fix : Fix the invalid ".." setObjectPropValue access trick.

    • Fix deadlock when SendObject / GetObjectHandles fail.

    • Fix permissions on newly created folders.

    • Configuration file : realign user usb buffers size.

    • Internal : Remove redundant code and possible double closedir issue.
      (Fix segmentation fault with uClibc).

    • Reduce the default max usb read/write buffer size to 8KB.
      (This is required by some SoCs, e.g. the iMX series)

    Many thanks to all the contributors !