The UVC gadget requires some setup in configfs before it can be used by
the gadget HAL. This CL adds that setup to usb specific init.rc file.
Currently, UVC is setup to advertise mjpeg streams at 720p and 1080p.
Bug: 242344221
Test: Manually tested that UVC is correctly set up on boot.
Merged-In: I71cf4727fb23744c5aef368c1750784a19ba8c5d
Change-Id: I71cf4727fb23744c5aef368c1750784a19ba8c5d
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
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
The change exposes persist.vendor.usb.displayport.enabled
to enable/disable USB-C Dp Alt Mode i.e. DisplayPort over USB-C.
By default persist.vendor.usb.displayport.enabled is to 0 in
user builds and 1 in all other build variants.
Bug: 277107943
Change-Id: I596d3af52f2a813f5f78c4f9b77b6ae3dd8a161b
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
bcdDevice will use the kernel version as default, so this patch will
remove it.
Bug: 260539020
Test: build pass
Change-Id: I2f51533e76775707b96cc13a6b29e5500b2ce4dd