summaryrefslogtreecommitdiffstats
path: root/source/l/libgpod/libgpod-udev.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libgpod/libgpod-udev.patch')
-rw-r--r--source/l/libgpod/libgpod-udev.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/l/libgpod/libgpod-udev.patch b/source/l/libgpod/libgpod-udev.patch
new file mode 100644
index 000000000..42b762b67
--- /dev/null
+++ b/source/l/libgpod/libgpod-udev.patch
@@ -0,0 +1,15 @@
+--- ./tools/90-libgpod.rules.in.orig 2011-07-24 06:03:29.000000000 -0500
++++ ./tools/90-libgpod.rules.in 2023-12-02 14:01:52.672726550 -0600
+@@ -16,10 +16,10 @@
+
+
+ # "iPods" using the afc protocol (iPhone, iPod Touch, ...)
+-ACTION=="add|change", ENV{USBMUX_SUPPORTED}=="1", IMPORT{program}+="@udevdir@/iphone-set-info", GOTO="libgpod_end"
++ACTION=="add|change", ENV{USBMUX_SUPPORTED}=="1", IMPORT{program}=="@udevdir@/iphone-set-info", GOTO="libgpod_end"
+ # with a new enough usbmuxd, the rule below is not useful since it will
+ # take care of setting USBMUX_SUPPORTED for all supported devices. Keep
+ # this rule for now until distros ship a new enough usbmuxd
+-ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", IMPORT{program}+="@udevdir@/iphone-set-info"
++ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", IMPORT{program}=="@udevdir@/iphone-set-info"
+
+ LABEL="libgpod_end"