usbmuxd icon indicating copy to clipboard operation
usbmuxd copied to clipboard

Support usbmuxd on Windows

Open qmfrederik opened this issue 9 years ago • 3 comments

This PR adds support for usbmuxd on Windows.

In short, the following changes were required:

  • Compatibility with winsock2 for sockets
  • The "set configuration" command is not implemented by libusb on Windows, but it is supported by libusb-win32 (if you also use the libusb-win32 driver). So libusb-win32 is used on Windows to set the configuraton
  • The polling sockets for usb devices are not available on libusb on Windows
  • Some fixes to make the code play nice with the Visual C++ compiler

As always, feedback is welcome.

qmfrederik avatar May 13 '16 21:05 qmfrederik

Needs a rebase.

neheb avatar Jan 30 '20 07:01 neheb

did you test if it works at all?

old apple driver uses ioctl, new apple driver is based on winusb, does ubsmuxd communicate with this devices trough driver at all?

mexmer avatar Jan 31 '20 12:01 mexmer

The PR is based on libusb-win32 and the libusb-win32 driver. It works/worked, though on Windows, you're probably better off just using the Apple Mobile Device Service unless you have a good reason not to.

qmfrederik avatar Jan 31 '20 13:01 qmfrederik