mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-02-01 07:40:34 +00:00
usb: modify the initial_descriptor_timeout to 500ms
If the enumeration is too long, it may trigger the watchdog mechanism to cause device reset. Therefore, this patch will modify the timeout. Bug: 282876796 Test: build pass and the value is set to 500. Change-Id: Ib54d8ff5a1e680fc86f2b89ee0d02d63ee5741d8
This commit is contained in:
@@ -151,6 +151,8 @@ on early-boot
|
||||
setprop vendor.usb.functions.ready 1
|
||||
|
||||
on boot
|
||||
# Set USB timeout
|
||||
write sys/module/usbcore/parameters/initial_descriptor_timeout 500
|
||||
# Use USB Gadget HAL
|
||||
setprop sys.usb.configfs 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user