diff options
| author | 2014-10-14 03:42:39 +0200 | |
|---|---|---|
| committer | 2014-10-14 03:42:39 +0200 | |
| commit | f06c3a6cc2c811ef4c9199c82c170b91a5f292fd (patch) | |
| tree | 8ea63ab1f56a8a261875192b87e5082d655c2c7e | |
| parent | ff5d94de0ffda3f04cb05095f6495299d9ed8440 (diff) | |
| download | usbmuxd-f06c3a6cc2c811ef4c9199c82c170b91a5f292fd.tar.gz usbmuxd-f06c3a6cc2c811ef4c9199c82c170b91a5f292fd.tar.bz2 | |
Add man page for usbmuxd daemon
| -rw-r--r-- | Makefile.am | 4 | ||||
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | docs/Makefile.am | 3 | ||||
| -rw-r--r-- | docs/usbmuxd.1 | 67 |
4 files changed, 74 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 789b9b0..a5c0fa5 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | AUTOMAKE_OPTIONS = foreign | 1 | AUTOMAKE_OPTIONS = foreign |
| 2 | ACLOCAL_AMFLAGS = -I m4 | 2 | ACLOCAL_AMFLAGS = -I m4 |
| 3 | SUBDIRS = src $(UDEV_SUB) $(SYSTEMD_SUB) | 3 | SUBDIRS = src $(UDEV_SUB) $(SYSTEMD_SUB) docs |
| 4 | |||
| 5 | EXTRA_DIST = docs | ||
| 4 | 6 | ||
| 5 | DISTCHECK_CONFIGURE_FLAGS = \ | 7 | DISTCHECK_CONFIGURE_FLAGS = \ |
| 6 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ | 8 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
diff --git a/configure.ac b/configure.ac index cd43a97..b89b286 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -144,6 +144,7 @@ Makefile | |||
| 144 | src/Makefile | 144 | src/Makefile |
| 145 | udev/Makefile | 145 | udev/Makefile |
| 146 | systemd/Makefile | 146 | systemd/Makefile |
| 147 | docs/Makefile | ||
| 147 | ]) | 148 | ]) |
| 148 | 149 | ||
| 149 | echo -n " | 150 | echo -n " |
diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..12e0e57 --- /dev/null +++ b/docs/Makefile.am | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | man_MANS = usbmuxd.1 | ||
| 2 | |||
| 3 | EXTRA_DIST = $(man_MANS) | ||
diff --git a/docs/usbmuxd.1 b/docs/usbmuxd.1 new file mode 100644 index 0000000..cfea4f7 --- /dev/null +++ b/docs/usbmuxd.1 | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | .TH "usbmuxd" 1 | ||
| 2 | .SH NAME | ||
| 3 | usbmuxd \- Expose a socket to multiplex connections from and to iOS devices. | ||
| 4 | .SH SYNOPSIS | ||
| 5 | .B usbmuxd | ||
| 6 | [OPTIONS] | ||
| 7 | |||
| 8 | .SH DESCRIPTION | ||
| 9 | |||
| 10 | usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of | ||
| 11 | multiplexing connections over USB to an iOS device. To users, it means | ||
| 12 | you can sync your music, contacts, photos, etc. over USB. To developers, it | ||
| 13 | means you can connect to any listening localhost socket on the device. usbmuxd | ||
| 14 | is not used for tethering data transfer which uses a dedicated USB interface as | ||
| 15 | a virtual network device. Multiple connections to different TCP ports can happen | ||
| 16 | in parallel. The higher-level layers are handled by libimobiledevice. | ||
| 17 | |||
| 18 | When usbmuxd is running (normally started, or stopped as a result of "udev" | ||
| 19 | auto-insertion messages or by systemd) it provides a socket interface in | ||
| 20 | "/var/run/usbmuxd" that is designed to be compatible with the socket interface | ||
| 21 | that is provided on Mac OS X. | ||
| 22 | |||
| 23 | You should also create a "usbmux" user that has access to USB devices on your | ||
| 24 | system. Alternatively, you can pass a different username using the -U argument. | ||
| 25 | |||
| 26 | Due to iOS 7 the daemon now also manages pairing records with iOS devices and | ||
| 27 | the host in "/var/lib/lockdown" (Linux) or "/var/db/lockdown" (Mac OS X). | ||
| 28 | Ensure proper permissions are setup for the daemon to access the directory. | ||
| 29 | |||
| 30 | .SH OPTIONS | ||
| 31 | .TP | ||
| 32 | .B \-U, \-\-user USER | ||
| 33 | change to this user after startup (needs USB privileges). | ||
| 34 | .TP | ||
| 35 | .B \-u, \-\-udev | ||
| 36 | run in udev operation mode (USB hotplug will be signaled to the daemon using udev). | ||
| 37 | .TP | ||
| 38 | .B \-x, \-\-exit | ||
| 39 | tell a running instance to exit if there are no devices connected. | ||
| 40 | .TP | ||
| 41 | .B \-X, \-\-force-exit | ||
| 42 | tell a running instance to exit, even if there are still devices connected (always works). | ||
| 43 | .TP | ||
| 44 | .B \-f, \-\-foreground | ||
| 45 | do not daemonize (implies one -v). | ||
| 46 | .TP | ||
| 47 | .B \-v, \-\-verbose | ||
| 48 | be verbose (use twice or more to increase verbose level). | ||
| 49 | .TP | ||
| 50 | .B \-V, \-\-version | ||
| 51 | print version information and exit. | ||
| 52 | .TP | ||
| 53 | .B \-h, \-\-help | ||
| 54 | prints usage information. | ||
| 55 | |||
| 56 | .SH AUTHOR | ||
| 57 | The first usbmuxd daemon implementation was authored by Hector Martin. | ||
| 58 | |||
| 59 | Now mainly developed by Nikias Bassen, Martin Szulecki and contributors (see AUTHORS file). | ||
| 60 | |||
| 61 | .SH SEE ALSO | ||
| 62 | |||
| 63 | http://www.libimobiledevice.org | ||
| 64 | |||
| 65 | http://github.com/libimobiledevice/usbmuxd/ | ||
| 66 | |||
| 67 | idevice_id(1), iproxy(1). | ||
