Commit d580e69c authored by spiiroin's avatar spiiroin

[usb-moded] Add mtp_mode-android-ffs configuration. JB#27650

Existing configuration files do not cover case where android kernel
is used to implement just mtp functionality using ffs based userspace
code - mtp_mode-android uses "mtp" instead of "ffs" and pc_suite-android
activates both mtp and obex support.

Add mtp_mode-android-ffs.ini that is identical with pc_suite-android.ini
except for the mode name which is "mtp" instead of "pc_suite".
parent 5c753e8a
name = mtp_mode
module = none
sysfs_path = /sys/class/android_usb/android0/functions
sysfs_value = ffs
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnect_disconnect = 0
idProduct = 0A07
......@@ -169,6 +169,20 @@ system bus.
This package contains the mtp mode config.
%package mtp-mode-android-ffs
Summary: USB mode controller - droid mtp mode config
Group: Config
%description mtp-mode-android-ffs
Usb_moded is a daemon to control the USB states. For this
it loads unloads the relevant usb gadget modules, keeps track
of the filesystem(s) and notifies about changes on the DBUS
system bus.
This package contains the mtp mode config for devices that
have android kernel but still implement mtp functionality
via ffs.
%package pc-suite-mode-android
Summary: USB mode controller - android pc suite mode config
Group: Config
......@@ -427,6 +441,10 @@ systemctl daemon-reload || :
%files mtp-mode-android-ffs
%files pc-suite-mode-android
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment