diff options
author | Nikias Bassen | 2023-07-21 00:36:04 +0700 |
---|---|---|
committer | Nikias Bassen | 2023-07-21 00:36:04 +0700 |
commit | 61b99ab5c25609c11369733a0df97c03a0581a56 (patch) | |
tree | f5ee31c8f853cb0eef35eb17f1b8dfdd84f62b10 /udev | |
parent | 01c94c77f59404924f1c46d99c4e5e0c7817281b (diff) | |
download | usbmuxd-61b99ab5c25609c11369733a0df97c03a0581a56.tar.gz usbmuxd-61b99ab5c25609c11369733a0df97c03a0581a56.tar.bz2 |
udev: Make sure iBridge (T1) doesn't end up in an unconfigured state
Diffstat (limited to 'udev')
-rw-r--r-- | udev/39-usbmuxd.rules.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/udev/39-usbmuxd.rules.in b/udev/39-usbmuxd.rules.in index 7175903..ac15593 100644 --- a/udev/39-usbmuxd.rules.in +++ b/udev/39-usbmuxd.rules.in @@ -4,7 +4,10 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/190[1-5]/*|5ac/8600/*", TAG+="systemd" # Initialize iOS devices into "deactivated" USB configuration state and activate usbmuxd -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/190[1-5]/*|5ac/8600/*", ACTION=="add", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", @udev_activation_rule@ +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/190[1-5]/*", ACTION=="add", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", @udev_activation_rule@ +# but make sure iBridge (T1) doesn't end up in an unconfigured state +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/8600/*", ACTION=="add", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="1", OWNER="usbmux", @udev_activation_rule@ + # Make sure properties don't get lost when bind action is called SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/190[1-5]/*|5ac/8600/*", ACTION=="bind", ENV{USBMUX_SUPPORTED}="1", OWNER="usbmux" |