| Age | Commit message (Collapse) | Author | Files | Lines |
|
The internal T1 of a MacBook Pro is driven by a kernel driver that
selects its own configuration (e.g. 2 with the Linux T1 stack). The
udev rule forced configuration 1, and usbmuxd itself switched the
configuration and detached kernel drivers when it found the device.
Remove the bConfigurationValue assignment from the 8600 udev rule, and
in set_valid_configuration() only accept the currently active
configuration for an already configured 8600 device.
|
|
- Use POSIX `=` instead of `==` in test expressions
- Always recurse into udev/ and systemd/ via SUBDIRS and guard their
contents with the WANT_UDEV/WANT_SYSTEMD automake conditionals, so
that make dist keeps shipping the .in files (EXTRA_DIST is kept
outside the guards)
- Add --with-udev[=yes|no|auto] (default: auto). Auto enables udev on
non-Windows/non-macOS hosts if udev.pc is found, a udev rules
directory exists (native builds), or when cross-compiling for Linux
- Disable systemd support if no systemd unit directory can be found,
so the udev rule and HAVE_SYSTEMD no longer claim systemd activation
when no unit is installed
- Do not call pkg-config for udevdir/systemdsystemunitdir if it is
unavailable
- Report the actual activation method (systemd, udev or manual) in the
configure summary
Co-authored-by: Nikias Bassen <nikias@gmx.li>
|
|
A fully booted Apple Vision Pro (in the device setup screen) reports itself as 0x12b1.
|
|
|
|
|
|
This is the PID used by the mac studio when in recovery mode.
|
|
1904 is the M1 iMac; presumably this is now a range
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
|
|
|
|
Make sure that udev doesn't lose our properties when bind events come
in, as implemented in kernels 4.12+.
See https://github.com/systemd/systemd/issues/8221
and https://github.com/systemd/systemd/issues/7109
|
|
This fixes spontaneous USB reconfiguration causing "remove" event to be sent to
the daemon, which causes it to close itself if it did not have enough time to
connect to phone.
|
|
systemd will not restart the usbmuxd service the after the first time it
is plugged in if it does not receive the "remove" events, which also
happen to lack the idVendor and idProduct attributes, so use
ENV{PRODUCT} instead.
|
|
|
|
With the introduction of iOS 7, devices should start of in the "deactivated"
USB configuration "0" by default to not trigger a trust dialog.
Once the devices are identified, usbmuxd will set the correct USB configuration
itself and immediately run the preflight worker code to ensure a trust
relationship with the host is established. This change fixes the trust dialog
from appearing during hotplug of paired devices. The last remaining issue is
that current kernel code still sets the USB configuration to "1" by default
before the udev rules and thus causes multiple connection beeps.
|
|
To prevent the trust dialog from appearing on iOS7 devices we need to make
sure that no PTP access is happening before usbmuxd starts. So we start as
early as possible so the device will be in trusted host state.
|
|
libusbmuxd has been split off and is now managed in a separate repository.
By the time of this commit, the repository is:
git clone http://git.sukimashita.com/libusbmuxd.git
|
|
|
|
|
|
|
|
|
|
Desktop tools can now check for devices supporting the usbmux
protocol without having to maintain any usb id ranges or similar.
|
|
|
|
This reverts commit 7682ad8e1baf5ebd4ad1e30f43a267220e2adffc.
|
|
|
|
|
|
|
|
Remove use of usb_endpoint, it's gone in newer kernels.
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
The ones in /etc are supposed to be configurable ones.
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
This will make them work on non-Debian distributions.
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
This reverts commit 91fc30c3247dbc41ce2dfcedfd6086c513ffa80a.
Not working as expected.
|
|
Otherwise this only works on Debian-based systems.
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
by setting to the highest configuration value available(thanks Martin).
|
|
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
|
|
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
|
|
|
|
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|