summaryrefslogtreecommitdiff
path: root/rootdir/init.usb.rc
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2014-09-05 11:10:09 -0700
committerBadhri Jagan Sridharan <badhri@google.com>2014-09-05 12:33:46 -0700
commit97b536f1fbfd1fa711833b7dc92aed902dea4bdf (patch)
tree8e2b3c7a6b1729bc8944e8322abb742da4f1c9be /rootdir/init.usb.rc
parent3c8e92cebe9f5246f502d9e82d16f9621ac0bed7 (diff)
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
Diffstat (limited to 'rootdir/init.usb.rc')
-rw-r--r--rootdir/init.usb.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.usb.rc b/rootdir/init.usb.rc
index 15467cc21..e290ca47f 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