diff options
| author | Michael Albinus | 2013-03-01 22:14:59 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-03-01 22:14:59 +0100 |
| commit | c9400cdf0e70cc9d14fd7296e3e77d985db56fb9 (patch) | |
| tree | 57028cfe628bf36965997deab5c3f7d0cb66935e | |
| parent | 7d11fc276327b0d2bd5045a03a1ca7f7f437e393 (diff) | |
| download | emacs-c9400cdf0e70cc9d14fd7296e3e77d985db56fb9.tar.gz emacs-c9400cdf0e70cc9d14fd7296e3e77d985db56fb9.zip | |
* tramp.texi (External methods): Explain user name and host name
specification for "adb".
| -rw-r--r-- | doc/misc/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index ef8a401bc11..b256bac417f 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -2,7 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | * tramp.texi (Inline methods): Remove "ssh1", "ssh2", "plink1" | 3 | * tramp.texi (Inline methods): Remove "ssh1", "ssh2", "plink1" |
| 4 | and "plink2" entries. "plink2" is obsolete for a long time. | 4 | and "plink2" entries. "plink2" is obsolete for a long time. |
| 5 | (External methods): Remove "scp1" and "scp2" entries. | 5 | (External methods): Remove "scp1" and "scp2" entries. Explain |
| 6 | user name and host name specification for "adb". | ||
| 6 | 7 | ||
| 7 | 2013-02-28 Michael Albinus <michael.albinus@gmx.de> | 8 | 2013-02-28 Michael Albinus <michael.albinus@gmx.de> |
| 8 | 9 | ||
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 6ddd88a8ce8..84eee0c4319 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -1005,6 +1005,18 @@ can be installed as part of the Android SDK. If @command{adb} is not | |||
| 1005 | found via the @code{$PATH} environment variable, the variable | 1005 | found via the @code{$PATH} environment variable, the variable |
| 1006 | @var{tramp-adb-program} must point to its absolute path. | 1006 | @var{tramp-adb-program} must point to its absolute path. |
| 1007 | 1007 | ||
| 1008 | Usually, the @command{adb} method does not need any user name. It | ||
| 1009 | runs under the permissions of the @command{adbd} process on the | ||
| 1010 | Android device. If a user name is specified, @value{tramp} applies an | ||
| 1011 | @command{su} on the device. This does not work with all Android | ||
| 1012 | devices, especially with nonrooted ones. In that case, an error | ||
| 1013 | message is displayed. | ||
| 1014 | |||
| 1015 | If there is exactly one Android device connected to the local machine, | ||
| 1016 | a host name is not needed. The shortest @value{tramp} name to be used | ||
| 1017 | is @file{@trampfn{adb, , ,}} therefore. Otherwise, one could find | ||
| 1018 | potential host names with the shell command @command{adb devices}. | ||
| 1019 | |||
| 1008 | @end table | 1020 | @end table |
| 1009 | 1021 | ||
| 1010 | 1022 | ||