Commit graph

8 commits

Author SHA1 Message Date
Avichal Rakesh
9f58739630 usb gadget: Add config for UVC in init
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>
2023-09-06 20:53:58 +00:00
Petri Gynther
c8abdf6bb7 usb: dp: add exynos_drm:dp_enabled toggling
Bug: 286459987
Change-Id: If4a6e71bc3ce342af8a0201b4727bdc4666cf8f0
2023-06-08 18:02:44 -07:00
Jimmy Hu
3d72a5b29f Disable USB contaminant detection when the disable flag is true
(ported from 6b1106498e1164f46b9a895ed2258a20a0c7a7b5)

Bug: 263916675
Bug: 264231895
Test: setprop vendor.usb.contaminantdisable true
Change-Id: I57ea8280e4af3720dce9d9174b1cc24066c5324e
Signed-off-by: Jimmy Hu <hhhuuu@google.com>
2023-05-23 07:01:33 +00:00
Ray Chi
8ee17b3a8f 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
2023-05-16 14:44:57 +08:00
Badhri Jagan Sridharan
2173dc37da usb: Expose persistent vendor property for USB-C Dp Alt Mode
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>
2023-04-08 01:01:12 +00:00
Ray Chi
c730457151 conf: remove the bcdDevice control
bcdDevice will use the kernel version as default, so this patch will
remove it.

Bug: 260539020
Test: build pass
Change-Id: I2f51533e76775707b96cc13a6b29e5500b2ce4dd
2022-11-28 15:03:42 +08:00
Kyle Tso
0524f3112d usb: Modify the controller name
The name is 11210000.dwc3.

Bug: 242013445
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I49809ebfc6027b650fbea0df643ab1900a538d17
2022-08-10 16:42:16 +08:00
Aaron Ding
66befd88e3 Create device Ripcurrent on Zuma platform
s/cloudripper/ripcurrent
s/gs201/zuma
s/pantah/ripcurrent

Bug: 229340586
Change-Id: Ic5dffbbfadbb1eb8479587b95222801426bba35e
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:55:56 +08:00
Renamed from conf/init.gs201.usb.rc (Browse further)