am 97b536f1
: init.usb.rc: Change product id to for add only config
* commit '97b536f1fbfd1fa711833b7dc92aed902dea4bdf': init.usb.rc: Change product id to for add only config
This commit is contained in:
commit
374414967a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue