commit c1c7e12ec21e64e5c94d7f44a64cd75feab40bb7
Author: Christophe Fergeau <[email protected]>
Date: Sun Apr 4 23:17:22 2010 +0200
make udev rule iPad-ready
It's just for the udev callout to fire for an iPad, so far the iPad
is untested with libgpod ;)
tools/80-libgpod.rules.in | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/tools/80-libgpod.rules.in b/tools/80-libgpod.rules.in
index 0cc477a..2c312bb 100644
--- a/tools/80-libgpod.rules.in
+++ b/tools/80-libgpod.rules.in
@@ -6,4 +6,10 @@
ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem",
ENV{DEVTYPE}=="partition", ATTRS{idVendor}=="05ac", ENV{ID_MODEL}=="iPod",
IMPORT{program}="@udevdir@/ipod-set-info $tempnode $attr{busnum} $attr{devnum}"
# "iPods" using the afc protocol (iPhone, iPod Touch, ...)
-ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac",
ATTR{idProduct}=="129[0-9]", IMPORT{program}+="@udevdir@/iphone-set-info"
+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"
+
+LABEL="libgpod_end"
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2