Patchwork [Raring] enable g_serial gadget by default on nexus7

login
register
mail settings
Submitter Oliver Grawert
Date Dec. 5, 2012, 1:58 p.m.
Message ID <1354715896.23768.7.camel@anubis>
Download mbox | patch
Permalink /patch/203874/
State New
Headers show

Comments

Oliver Grawert - Dec. 5, 2012, 1:58 p.m.
since we would like to offer a debugging shell on the nexus7 so that
devs do not always need to install openssh-server. 

switching the android gadget over to g_serial and providing a serial
console upstart job for it will make serial support work via the USB
cable, so please ajdust the nexus7 config according to the diff
below ...

the necessary upstart job will be shipped by the ubuntu-defaults-nexus7
package.
Tim Gardner - Dec. 5, 2012, 3:52 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Test booted and uploaded linux-nexus7_3.1.10-8.16

- -- 
Tim Gardner tim.gardner@canonical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBCgAGBQJQv23CAAoJED12yEX6FEfK+ygQAKk/O+0uU7Rz4k/JdsCh17Sd
zM/qfa5woKG7jCAE78yr4ov/FRQjBQ3Uga/QfITAHvZXUN0yUllh77WPdggZ3J3A
Czx0YfgyydVSR4qIAYtPh6vaZGV3dGZRgma8GcQo7pt1SbexX7bRyP2W6Krcz7+V
gIxGohkz13PY3WIvUQMhR2xZT6Xklh9aynmPwnPNq/EkDkQJPON8mP5JwAbswt4U
/ZCAZvZ8l+8SQb9u407JkI+MUtlh5vSZvv4t1hPRc6A3KRD+1isZdNH56NkZix+S
eFjHb/Z+i1rseBrVmR/zvG3Af6uk4cqvn867ueKIFgVKuJ8OaTJiTQuEHnJlkPLf
xOn+bm8cDSg1m4jgN2Vuk0W1or+MSWfl5BOIPZpnz8nlKsWbjpIxUiPQ+WH8KpsU
M4dpTQC0rQoB3X3amvPPFwngx6m0He8mPerIO1gK1NMwPvuO27/o6tI2w3wbBOi8
PvhqhJeBf2SzO6tzZcO5H1dzVuNf+o7W8A61BfyQSSSTShTC4uKOXnZb/kbpvk2/
VbX/eQaT/uTAU5OBA/NJn8cNqJD6BKpE0TZ1DmEylal9STdrh+4GcQdftnh8a9b1
6fYfGnGgWHBN08fFMBBp0yrC4wUN5sOrb2G01YabAFp13tA8fMFnFifqtZTcMniM
j+dFx0D3Wc5VL+1Tghml
=Kj4N
-----END PGP SIGNATURE-----

Patch

diff -ruN ../debian.linaro/config/config.common.ubuntu
debian.linaro/config/config.common.ubuntu
--- ../debian.linaro/config/config.common.ubuntu	2012-12-05 10:54:27.132307727 +0100
+++ debian.linaro/config/config.common.ubuntu	2012-12-05 11:30:36.992366789 +0100
@@ -2523,13 +2523,13 @@ 
 # CONFIG_USB_GOKU is not set
 # CONFIG_USB_GPIO_VBUS is not set
 # CONFIG_USB_GSPCA is not set
-CONFIG_USB_G_ANDROID=y
+# CONFIG_USB_G_ANDROID is not set
 # CONFIG_USB_G_DBGP is not set
 # CONFIG_USB_G_HID is not set
 # CONFIG_USB_G_MULTI is not set
 # CONFIG_USB_G_NCM is not set
 # CONFIG_USB_G_PRINTER is not set
-# CONFIG_USB_G_SERIAL is not set
+CONFIG_USB_G_SERIAL=y
 # CONFIG_USB_G_WEBCAM is not set
 CONFIG_USB_HID=y
 # CONFIG_USB_HIDDEV is not set