From 97b536f1fbfd1fa711833b7dc92aed902dea4bdf Mon Sep 17 00:00:00 2001 From: Badhri Jagan Sridharan Date: Fri, 5 Sep 2014 11:10:09 -0700 Subject: [PATCH] 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 --- rootdir/init.usb.rc | 6 +++--- 1 file 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