usbmuxd.1 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. .SH DESCRIPTION
  8. usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
  9. multiplexing connections over USB to an iOS device. To users, it means
  10. you can sync your music, contacts, photos, etc. over USB. To developers, it
  11. means you can connect to any listening localhost socket on the device. usbmuxd
  12. is not used for tethering data transfer which uses a dedicated USB interface as
  13. a virtual network device. Multiple connections to different TCP ports can happen
  14. in parallel. The higher-level layers are handled by libimobiledevice.
  15. When usbmuxd is running (normally started, or stopped as a result of "udev"
  16. auto-insertion messages or by systemd) it provides a socket interface in
  17. "/var/run/usbmuxd" that is designed to be compatible with the socket interface
  18. that is provided on Mac OS X.
  19. You should also create a "usbmux" user that has access to USB devices on your
  20. system. Alternatively, you can pass a different username using the -U argument.
  21. Due to iOS 7 the daemon now also manages pairing records with iOS devices and
  22. the host in "/var/lib/lockdown" (Linux) or "/var/db/lockdown" (Mac OS X).
  23. Ensure proper permissions are setup for the daemon to access the directory.
  24. .SH OPTIONS
  25. .TP
  26. .B \-U, \-\-user USER
  27. Change to this user after startup (needs USB privileges).
  28. .TP
  29. .B \-f, \-\-foreground
  30. Do not daemonize (implies one -v).
  31. .TP
  32. .B \-n, \-\-disable-hotplug
  33. Disables automatic discovery of devices on hotplug. Starting another instance
  34. will trigger discovery instead.
  35. .TP
  36. .B \-z, \-\-enable-exit
  37. Enable "--exit" request from other instances and exit automatically if no
  38. device is attached.
  39. .TP
  40. .B \-u, \-\-udev
  41. Run in udev operation mode (implies -n and -z).
  42. .TP
  43. .B \-s, \-\-systemd
  44. Run in systemd operation mode (implies -z and -f).
  45. .TP
  46. .B \-x, \-\-exit
  47. Notify a running instance to exit if there are no devices connected (sends
  48. SIGUSR1 to running instance) and exit.
  49. .TP
  50. .B \-X, \-\-force-exit
  51. Notify a running instance to exit even if there are still devices connected
  52. (always works) and exit.
  53. .TP
  54. .B \-v, \-\-verbose
  55. be verbose (use twice or more to increase verbose level).
  56. .TP
  57. .B \-V, \-\-version
  58. print version information and exit.
  59. .TP
  60. .B \-h, \-\-help
  61. prints usage information.
  62. .SH AUTHOR
  63. The first usbmuxd daemon implementation was authored by Hector Martin.
  64. Now mainly developed by Nikias Bassen, Martin Szulecki and contributors (see AUTHORS file).
  65. .SH SEE ALSO
  66. http://www.libimobiledevice.org
  67. http://github.com/libimobiledevice/usbmuxd/
  68. idevice_id(1), iproxy(1).