Patchwork UBUNTU: [Config] Enable USB Gadget for Android (needed by adb)

login
register
mail settings
Submitter Ricardo Salveti de Araujo
Date May 17, 2013, 3:28 a.m.
Message ID <1368761301-17465-1-git-send-email-ricardo.salveti@canonical.com>
Download mbox | patch
Permalink /patch/244472/
State New
Headers show

Comments

Ricardo Salveti de Araujo - May 17, 2013, 3:28 a.m.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
---
 debian.manta/config/config.common.ubuntu | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Tim Gardner - May 17, 2013, 1:20 p.m.

Patch

diff --git a/debian.manta/config/config.common.ubuntu b/debian.manta/config/config.common.ubuntu
index 9b35686..07be65b 100644
--- a/debian.manta/config/config.common.ubuntu
+++ b/debian.manta/config/config.common.ubuntu
@@ -2258,6 +2258,7 @@  CONFIG_USB_ACM=y
 # CONFIG_USB_ADUTUX is not set
 # CONFIG_USB_ALI_M5632 is not set
 # CONFIG_USB_AN2720 is not set
+CONFIG_USB_ANDROID_RNDIS_DWORD_ALIGNED=y
 CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 # CONFIG_USB_APPLEDISPLAY is not set
 CONFIG_USB_ARCH_HAS_EHCI=y
@@ -2309,6 +2310,7 @@  CONFIG_USB_GADGET_VBUS_DRAW=500
 # CONFIG_USB_GPIO_VBUS is not set
 # CONFIG_USB_GSPCA is not set
 # CONFIG_USB_G_ACM_MS is not set
+CONFIG_USB_G_ANDROID=y
 # CONFIG_USB_G_DBGP is not set
 # CONFIG_USB_G_HID is not set
 # CONFIG_USB_G_MULTI is not set
@@ -2386,7 +2388,7 @@  CONFIG_USB_PRINTER=y
 # CONFIG_USB_RTL8150 is not set
 # CONFIG_USB_S2255 is not set
 # CONFIG_USB_S3C_HSOTG is not set
-CONFIG_USB_S3C_OTGD=m
+CONFIG_USB_S3C_OTGD=y
 CONFIG_USB_SERIAL=y
 # CONFIG_USB_SERIAL_AIRCABLE is not set
 # CONFIG_USB_SERIAL_ARK3116 is not set