]> code.delx.au - gnu-emacs/commitdiff
* tramp.texi (External methods): Explain user name and host name
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 1 Mar 2013 21:14:59 +0000 (22:14 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 1 Mar 2013 21:14:59 +0000 (22:14 +0100)
specification for "adb".

doc/misc/ChangeLog
doc/misc/tramp.texi

index ef8a401bc1108e3eba67b03554c44d7d53b6155f..b256bac417fbc726fa1eacf75a8d9becb0379017 100644 (file)
@@ -2,7 +2,8 @@
 
        * tramp.texi (Inline methods): Remove "ssh1", "ssh2", "plink1"
        and "plink2" entries.  "plink2" is obsolete for a long time.
-       (External methods): Remove "scp1" and "scp2" entries.
+       (External methods): Remove "scp1" and "scp2" entries.  Explain
+       user name and host name specification for "adb".
 
 2013-02-28  Michael Albinus  <michael.albinus@gmx.de>
 
index 6ddd88a8ce8992caaf89d14f9a6fa3ff3420434a..84eee0c43197879b0fe00352b792de47b1f9d9ac 100644 (file)
@@ -1005,6 +1005,18 @@ can be installed as part of the Android SDK.  If @command{adb} is not
 found via the @code{$PATH} environment variable, the variable
 @var{tramp-adb-program} must point to its absolute path.
 
+Usually, the @command{adb} method does not need any user name.  It
+runs under the permissions of the @command{adbd} process on the
+Android device.  If a user name is specified, @value{tramp} applies an
+@command{su} on the device.  This does not work with all Android
+devices, especially with nonrooted ones.  In that case, an error
+message is displayed.
+
+If there is exactly one Android device connected to the local machine,
+a host name is not needed.  The shortest @value{tramp} name to be used
+is @file{@trampfn{adb, , ,}} therefore.  Otherwise, one could find
+potential host names with the shell command @command{adb devices}.
+
 @end table