-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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".
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters