Skip to content
Permalink
Browse files
[usb_moded] Correct all faulty occurances of softconnec
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Apr 18, 2014
1 parent 5bb7c6c commit aade2b9f3c3499861bd40cb81f9d305f03fd52f9
@@ -11,5 +11,5 @@ sysfs_value = rndis,adb
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
softconnect_disconnect = 0
idProduct = 0A03
@@ -8,6 +8,6 @@ sysfs_value = acm
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
softconnect_disconnect = 0
android_extra_sysfs_path = /sys/class/android_usb/android/f_acm/acm_transports
android_extra_sysfs_value = tty
@@ -8,6 +8,6 @@ sysfs_value = serial
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
softconnect_disconnect = 0
android_extra_sysfs_path = /sys/class/android_usb/android0/f_serial/transports
android_extra_sysfs_value = smd,tty
@@ -11,6 +11,6 @@ sysfs_value = rndis
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
softconnect_disconnect = 0
idProduct = 0A02
nat = 1
@@ -8,5 +8,4 @@ sysfs_value = mtp
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0

softconnect_disconnect = 0
@@ -8,5 +8,5 @@ sysfs_value = ffs,obex
sysfs_reset_value = none
softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
softconnect_disconnect = 0
idProduct = 0A05
@@ -38,7 +38,7 @@
#define MODE_SYSFS_VALUE "sysfs_value"
#define MODE_SYSFS_RESET_VALUE "sysfs_reset_value"
#define MODE_SOFTCONNECT "softconnect"
#define MODE_SOFTCONNECT_DISCONNECT "softconnec_disconnect"
#define MODE_SOFTCONNECT_DISCONNECT "softconnect_disconnect"
#define MODE_SOFTCONNECT_PATH "softconnect_path"
/* Instead of hard-coding values that never change or have only one option,
android engineers prefered to have sysfs entries... go figure... */

0 comments on commit aade2b9

Please sign in to comment.