Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|