usb: modify the initial_descriptor_timeout to 500ms am: 0c3dc78fb9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20543177 Change-Id: I632cdcbff310653d210cf81f910265d229ac33ba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
360258f4c0
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ on early-boot
|
|||
|
||||
on boot
|
||||
write /config/usb_gadget/g1/bcdDevice 0x0510
|
||||
# Set USB timeout
|
||||
write sys/module/usbcore/parameters/initial_descriptor_timeout 500
|
||||
# Use USB Gadget HAL
|
||||
setprop sys.usb.configfs 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue