From patchwork Wed Dec 5 13:58:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Grawert X-Patchwork-Id: 203874 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id CF8F72C00BD for ; Thu, 6 Dec 2012 00:58:26 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TgFUN-0002GS-GV; Wed, 05 Dec 2012 13:58:15 +0000 Received: from mail-ee0-f49.google.com ([74.125.83.49]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TgFUL-0002GI-9t for kernel-team@lists.ubuntu.com; Wed, 05 Dec 2012 13:58:13 +0000 Received: by mail-ee0-f49.google.com with SMTP id c4so3386073eek.8 for ; Wed, 05 Dec 2012 05:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:subject:from:to:date:content-type:x-mailer :mime-version; bh=iLGrx/Wad6vyJYBeNKYeULKbPN21wph7z9N/42K+9rg=; b=iyiFnjaH8kNjaanEN5joW7r+tm/a4GZ7yifJzL1A4OwGXm4yoF7h/ieDo5w43Xs/l0 W1RrdRRK42J7DAmKSmrrCqpX4ZJReI8pXppIi7MrmphUp49njFOcSS+MylBR8QorEv/S 9CdgeUphAHQWze4HxEBjK6lkaHyX1Fio5cvnDSrjMPapYyIIstGDbohLc+MwYTE7eRxl 1kdnYtXDyPKI6QoHRSrkSOQfw2Xzs1j3ZTPYhhNtI9RGdrCMbDytrYIvRSjvK1NLPGIU Z5+jqIVzMICefAGVUDFodKnNsz9cuzskKvzOoDwwtrlwSpZeGxcg84Cn617Nz26oTkiS U1yw== Received: by 10.14.221.9 with SMTP id q9mr61543082eep.3.1354715893136; Wed, 05 Dec 2012 05:58:13 -0800 (PST) Received: from [192.168.2.91] (p5098ed03.dip0.t-ipconnect.de. [80.152.237.3]) by mx.google.com with ESMTPS id b49sm9341579eem.16.2012.12.05.05.58.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Dec 2012 05:58:11 -0800 (PST) Message-ID: <1354715896.23768.7.camel@anubis> Subject: [Raring] enable g_serial gadget by default on nexus7 From: Oliver Grawert To: kernel-team@lists.ubuntu.com Date: Wed, 05 Dec 2012 14:58:16 +0100 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com 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