diff options
author | Badhri Jagan Sridharan <badhri@google.com> | 2014-09-05 11:10:09 -0700 |
---|---|---|
committer | Badhri Jagan Sridharan <badhri@google.com> | 2014-09-05 12:33:46 -0700 |
commit | 97b536f1fbfd1fa711833b7dc92aed902dea4bdf (patch) | |
tree | 8e2b3c7a6b1729bc8944e8322abb742da4f1c9be | |
parent | 3c8e92cebe9f5246f502d9e82d16f9621ac0bed7 (diff) | |
download | system_core-97b536f1fbfd1fa711833b7dc92aed902dea4bdf.zip system_core-97b536f1fbfd1fa711833b7dc92aed902dea4bdf.tar.gz system_core-97b536f1fbfd1fa711833b7dc92aed902dea4bdf.tar.bz2 |
init.usb.rc: Change product id to for add only config
Change product id from D002 to 4EE7 when adb is the
only supported function
Change-Id: I8f6bcb9a1dc5ea6da0493a2dd730f9ac1f0bed24
-rw-r--r-- | rootdir/init.usb.rc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.usb.rc b/rootdir/init.usb.rc index 15467cc..e290ca4 100644 --- a/rootdir/init.usb.rc +++ b/rootdir/init.usb.rc @@ -17,12 +17,12 @@ on property:sys.usb.config=none setprop sys.usb.state ${sys.usb.config} # adb only USB configuration -# This should only be used during device bringup -# and as a fallback if the USB manager fails to set a standard configuration +# This is the fallback configuration if the +# USB manager fails to set a standard configuration on property:sys.usb.config=adb write /sys/class/android_usb/android0/enable 0 write /sys/class/android_usb/android0/idVendor 18d1 - write /sys/class/android_usb/android0/idProduct D002 + write /sys/class/android_usb/android0/idProduct 4EE7 write /sys/class/android_usb/android0/functions ${sys.usb.config} write /sys/class/android_usb/android0/enable 1 start adbd |