diff options
author | Linus Walleij <triad@df.lth.se> | 2011-10-22 14:34:32 +0200 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2011-10-22 14:34:32 +0200 |
commit | 2d1953547268fbea9b2157d56ce4794e1f336355 (patch) | |
tree | bac003f6e614ba303afee269de207768c6d0ec46 /util | |
parent | 7cf3d3fd2222addb374ab405a7293614ac106dfc (diff) | |
download | libmtp-2d1953547268fbea9b2157d56ce4794e1f336355.tar.gz |
Avoid autoprobing color adjustment devices - some of them
don't like this AT ALL. Move default libmtp udev rules to
be 60-libmtp.rules, 10 steps before 70-acl.rules
Signed-off-by: Linus Walleij <triad@df.lth.se>
Diffstat (limited to 'util')
-rw-r--r-- | util/mtp-hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mtp-hotplug.c b/util/mtp-hotplug.c index b3be909..41619e7 100644 --- a/util/mtp-hotplug.c +++ b/util/mtp-hotplug.c @@ -242,7 +242,7 @@ int main (int argc, char **argv) * every USB device that is either PTP or vendor specific */ printf("\n# Autoprobe vendor-specific, communication and PTP devices\n"); - printf("ENV{ID_MTP_DEVICE}!=\"1\", ATTR{bDeviceClass}==\"00|02|06|ef|ff\", PROGRAM=\"%smtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}\", RESULT==\"1\", %s", mtp_probe_dir, action); + printf("ENV{ID_MTP_DEVICE}!=\"1\", ENV{COLOR_MEASUREMENT_DEVICE}!=\"1\", ATTR{bDeviceClass}==\"00|02|06|ef|ff\", PROGRAM=\"%smtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}\", RESULT==\"1\", %s", mtp_probe_dir, action); if (udev_group != NULL) printf(", GROUP=\"%s\"", udev_group); if (udev_mode != NULL) printf(", MODE=\"%s\"", udev_mode); printf("\n"); |