no_disconnects flag defers disconnect till the actual descriptors
are written.
Bug: 72869030
Test: adb root with diag enabled succeeds on windows machine
Change-Id: I1a144a8d612bc2fd93fc72c4c40762257d52407f
Ptp is now mounted in its own directory so the
mtp endpoint does not need to be closed to write
the ptp descriptors.
Bug: 72877174
Test: switch config to mtp/ptp
Change-Id: I9cec66eeb882fbf23851cdaf2e3906e8b3150b0a
(cherry-pick of commit: e9af4669659c306a9c9b1a1ae3a1313a7631357d)
Bug: 63669128
Test: Tested USB gadget configurations and verified
that they enumerated.
Change-Id: If0f98697488f6c7cfe335d4c292acebaaba6c20f
RNDIS kernel driver will expose itself as
USB_CLASS_WIRELESS_CONTROLLER 0xe0, SubClass:01, Protocol:03
to work on Linux, MacOS and Windows.
Bug: 66725783
Change-Id: I8534dee9077e9f5a939d6964e4d25f9e4ad05d58
Signed-off-by: Thierry Strudel <tstrudel@google.com>
From a qualcomm diag composition has idVendor 0x05c6,
the other Google USB composition change does not work properly
That's because this configfs.rc file change only idProduct.
Add Google's vendor id 0x18d1 to each composition.
Bug: 63056085
Change-Id: I2e45fe2176ad4601b23b33edeb5d6dbee5111242
Signed-off-by: seokjeong.hong <seokjeong.hong@lge.com>
NAK'ed OUT transfers never complete once the usb controller enters
L1 LPM. The issue was rootcaused to the usb controller not performing
remote wakeup when it enters L1 and a trasaction is queued.
Since, this is entirely controlled by controller's hardware,
disable L1 lpm to prevent transfer failure.
Also, init already has the required sepolicy to write to sysfs nodes.
Bug: 62038982
Test: Transfers happen with Broadwell chromebooks
Change-Id: Ibb13b5b79e1aa6a5d35ddcaffece4ef4942920b7
Property triggers duplicate functionality in
init.configfs.rc.
The ffs_aliases line is for android.c devices only.
Test: usb works.
Change-Id: Iae477f00671068a0628972feb69af7df1092c604
bcdDevice and bcdUSB were set to incorrect values causing windows
machine's usb state machine to reset once after the initial exchange
of descriptors. This was causing an additional delay for the Android
device to show up as media device when configured in MTP mode.
Bug: 35857451
Test: Manually test mtp enumeration
Change-Id: Icd8ac8235ccfa70202a0601fc4ef56a158d3a2f3