db845c: init.common.usb.rc: Add setprop sys.usb.controller to avoid picking the dummy hcd am: 50b8daeaa5 am: 90784fbfd7 am: 11b172125b
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1349264
Change-Id: I80bb382bc61e0d9668cce33980a517d604f15179
diff --git a/init.common.usb.rc b/init.common.usb.rc
index 50a4340..06ccd54 100644
--- a/init.common.usb.rc
+++ b/init.common.usb.rc
@@ -26,6 +26,8 @@
mkdir /dev/usb-ffs/ptp 0770 mtp mtp
mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
+ setprop sys.usb.controller "a600000.dwc3"
+
setprop sys.usb.mtp.device_type 3
setprop sys.usb.configfs 1
setprop sys.usb.ffs.aio_compat 1