From patchwork Fri Feb 18 15:19:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 171 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:40:32 -0000 Delivered-To: patches@linaro.org Received: by 10.146.25.23 with SMTP id 23cs99362yay; Fri, 18 Feb 2011 07:20:04 -0800 (PST) Received: by 10.216.168.82 with SMTP id j60mr1675002wel.47.1298042404192; Fri, 18 Feb 2011 07:20:04 -0800 (PST) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id b47si3318879wer.75.2011.02.18.07.20.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Feb 2011 07:20:04 -0800 (PST) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by wwf26 with SMTP id 26so3748752wwf.31 for ; Fri, 18 Feb 2011 07:20:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=xCDsIwlGVXI9YT1W0F2cQtl2YjJF2QNCasjqr45ELDg=; b=Lr4nr3F+Jk9eMsg6fqZa7qVu+GRhfnU0TcGpt+E95f4FW0EktxS8F2+Qtqyy3bXnjq afwEK3DyiQN6+bxB4IvF19AGHq+VOaHHdXKrhppXhz8qdxgcjl5UEAyMwJCR9xD0yzCx pfJGK4qv6cHNRUse/K4CyrXEbecsDZoOZd0zI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=Z6rJAWPZIoIiJb1iZkPZMkw0QrnqtWGSsCvfbgUVy86IMZ10op4ZvZtGn0lraTykki 7Q1qreGosWkelOx1Q3XmblmtIMVJOSkbJygBOhQvzBqBIYk97/VoYIbeulAR7sNqbssH +tKyh1gRhj910xBKcWg70ebuW9P4W+eRY3D8U= Received: by 10.216.4.82 with SMTP id 60mr1591409wei.89.1298042403131; Fri, 18 Feb 2011 07:20:03 -0800 (PST) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.35.3 with HTTP; Fri, 18 Feb 2011 07:19:37 -0800 (PST) From: Jeremy Chang Date: Fri, 18 Feb 2011 23:19:37 +0800 X-Google-Sender-Auth: W59L-eH24-jBw6Ro0x4o5U6_xVM Message-ID: Subject: [PATCH v2] device/linaro/beagleboard: Make adbd listen on network interface To: linaro-dev@lists.linaro.org Cc: patches@linaro.org, Patrik Ryd adbd depends on this property to be capable of listening on network so that adb can connect to the device through network. Without this property set, adbd will only try to listen on the alternative usb gadget interface when it starts. Set the property 'service.adb.tcp.port' to the default port 5555 which is defined in DEFAULT_ADB_LOCAL_TRANSPORT_PORT of file system/core/adb/adb.h Signed-off-by: Jeremy Chang --- init.rc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/init.rc b/init.rc index b6a92c5..50d2dc6 100644 --- a/init.rc +++ b/init.rc @@ -181,6 +181,7 @@ on boot ifup lo hostname localhost domainname localdomain + setprop service.adb.tcp.port 5555 # set RLIMIT_NICE to allow priorities from 19 to -20 setrlimit 13 40 40