GithubHelp home page GithubHelp logo

yuknight / usbmuxd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libimobiledevice/usbmuxd

0.0 0.0 0.0 646 KB

A socket daemon to multiplex connections from and to iOS devices

Home Page: http://www.libimobiledevice.org

License: GNU General Public License v2.0

Makefile 0.90% Shell 0.25% M4 4.28% C 94.57%

usbmuxd's Introduction

usbmuxd

About

A socket daemon to multiplex connections from and to iOS devices.

Background

usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of multiplexing connections over USB to an iOS device. To users, it means you can sync your music, contacts, photos, etc. over USB. To developers, it means you can connect to any listening localhost socket on the device. usbmuxd is not used for tethering data transfer which uses a dedicated USB interface as a virtual network device. Multiple connections to different TCP ports can happen in parallel. The higher-level layers are handled by libimobiledevice.

When usbmuxd is running (normally started or stopped as a result of udev auto-insertion messages, or by systemd) it provides a socket interface in /var/run/usbmuxd that is designed to be compatible with the socket interface that is provided on macOS.

You should also create a usbmux user that has access to USB devices on your system. Alternatively, you can pass a different username using the -U argument.

The daemon also manages pairing records with iOS devices and the host in /var/lib/lockdown (Linux) or /var/db/lockdown (macOS). Ensure proper permissions are setup for the daemon to access the directory.

Requirements

Development Packages of:

  • libimobiledevice
  • libplist
  • libusb

Software:

  • make
  • autoheader
  • automake
  • autoconf
  • libtool
  • pkg-config
  • gcc or clang
  • udev (Linux only)

Optional:

  • systemd (Linux only)

Installation

To compile run:

./autogen.sh
make
sudo make install

The daemon is automatically started by udev or systemd depending on what you have configured it on hotplug of an iOS device and exits if the last device was unplugged.

For debugging purposes it is helpful to start usbmuxd using the foreground -f argument and enable verbose mode -v to get suitable logs.

Who/What/Where?

Credits

The first usbmuxd daemon implementation was authored by Hector Martin.

Apple, iPhone, iPod, and iPod Touch are trademarks of Apple Inc. libimobiledevice is an independent software library and has not been authorized, sponsored, or otherwise approved by Apple Inc.

README Updated on: 2019-05-16

usbmuxd's People

Contributors

ailike avatar blefish avatar davidsansome avatar e7appew avatar funkym avatar gh2o avatar hadess avatar hatstand avatar jbeich avatar lekensteyn avatar macalinao avatar marcan avatar moschlar avatar nikias avatar qmfrederik avatar renaudcerrato avatar sladen avatar sohgoh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.