[Raring] enable g_serial gadget by default on nexus7

Oliver Grawert ogra at ubuntu.com
Wed Dec 5 13:58:16 UTC 2012


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.

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20121205/ade3ff0c/attachment.sig>


More information about the kernel-team mailing list