Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make diag mode also have adb at the same time, add acm mode
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Jul 19, 2013
1 parent 85c1774 commit e7605f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions config/dyn-modes/android_acm.ini
@@ -0,0 +1,13 @@
[mode]
name = acm_mode
module = none

[options]
sysfs_path = /sys/class/android_usb/android0/functions
sysfs_value = acm
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
android_extra_sysfs_path = /sys/class/android_usb/android/f_acm/acm_transports
android_extra_sysfs_value = tty
2 changes: 1 addition & 1 deletion config/dyn-modes/diag_mode.ini
Expand Up @@ -5,7 +5,7 @@ appsync = 1

[options]
sysfs_path = /sys/class/android_usb/android0/functions
sysfs_value = diag
sysfs_value = adb,diag
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
Expand Down

0 comments on commit e7605f7

Please sign in to comment.