Merge "usb: modify the initial_descriptor_timeout to 500ms" into udc-d1-dev
This commit is contained in:
commit
d4138f4461
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ on early-boot
|
||||||
setprop vendor.usb.functions.ready 1
|
setprop vendor.usb.functions.ready 1
|
||||||
|
|
||||||
on boot
|
on boot
|
||||||
|
# Set USB timeout
|
||||||
|
write sys/module/usbcore/parameters/initial_descriptor_timeout 500
|
||||||
# Use USB Gadget HAL
|
# Use USB Gadget HAL
|
||||||
setprop sys.usb.configfs 2
|
setprop sys.usb.configfs 2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue