[v2] device/linaro/beagleboard: Make adbd listen on network interface

Message ID AANLkTikpAo06XOKmv5Garhmg17dGk_SvpJ+J+1G0cV+Q@mail.gmail.com
State New
Headers show

Commit Message

Jeremy Chang Feb. 18, 2011, 3:19 p.m.
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 <jeremy.chang@linaro.org>
---
 init.rc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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