Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.
Bug: 225789036
Test: build pass
Change-Id: I42299d30df5343f06be810870c61c5cff3e41df2
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.
Bug: 206902205
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
This reverts commit bdd4728a17.
Reason for revert: original issue is fixed.
Bug: 206902205
Test: adb work without the error of gadget hal.
Change-Id: I3b7ab36f93e8bb7d6c23d53d4a12ed95d441fede
This among other things greatly increases tethering performance.
Bug: 202103325
Test: tput improved
(synced from commit f9e02b98b8243d2db566df16d4e763250ac9efaf)
Change-Id: I19b22d748352eb04bc27d85c0f69fa2571b63d53
uwb needs ACM port, create this function combination.
Bug: 209568585
Test: ACM port can be enabled.
Change-Id: I06107cc6ee42fc6b622a1aff25cbdd54b479ea0f
init.usb.configfs.rc has the same trigger condition of midi function.
Rename the config name to "charger" to avoid triggerring twice of the
midi function.
Bug: 188744218
Test: USB enumerated in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Ica112fb4be66356901f6d5f21b79b9e648d49f35
It needs a USB function in charger mode to set the charging current to
500mA/900mA.
Bug: 188744218
Test: charging at 900mA in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I95c98ecec30dd4394228f7290412c303771a3158
Currently, the property 'sys.usb.configfs' is set to 2, these settings
are not needed.
Bug: 209568585
Test: build pass
Change-Id: Icbf24f621e1d20ffc86228fc6d936cb9a1a7c4e5
The cancelling behavior in MTP has two behaviors.
1. cancel requests one by one
2. batch cancel all requests
This patch will set the property to true to enable
batch cancel all requests.
Bug: 181729410
Test: build pass
Change-Id: I546dad88e5e0c72c9bafdaded8e9026deccfbb88
Currently, USB gadgdet hal couldn't access configfs nodes during
device booting. The permission of configfs nodes are root as default,
and they are modified to system by init process. Therefore, USB
gadget HAL can't access them before permission changes completely.
The patch will modify permission of USB gadget hal so that it can
access configfs nodes without permission change.
Bug: 204378488
Test: check connection time
Change-Id: I97f5446a51183225227744043e4a6e0088fecf0b
A cherry pick from 49a13bf for gs101
Bug: 199252036
Test: Boot to home and usb hal bring up normally
Change-Id: Ia4e344aa9cf7762b71cbfe35ff9cbcccb4474b11