Commit a833f39a authored by spiiroin's avatar spiiroin

Merge branch 'jb27650_mtp_mode' into 'master'

Add mtp_mode-android-ffs configuration



See merge request !13
parents 5c753e8a d580e69c
[mode]
name = mtp_mode
module = none
[options]
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 || :
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/mtp_mode-android.ini
%files mtp-mode-android-ffs
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/mtp_mode-android-ffs.ini
%files pc-suite-mode-android
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/pc_suite-android.ini
......
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