sane-backends/sane-backends-1.0.18-udev-new-kernels.patch
2007-07-22 21:26:51 +00:00

12 lines
532 B
Diff

--- sane-backends-1.0.18/tools/sane-desc.c.udev-new-kernels 2007-07-22 23:22:21.000000000 +0200
+++ sane-backends-1.0.18/tools/sane-desc.c 2007-07-22 23:23:51.000000000 +0200
@@ -3173,7 +3173,7 @@ print_udev (void)
print_udev_header ();
printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
- printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
+ printf ("SUBSYSTEM!=\"usb|usb_device\", GOTO=\"libsane_rules_end\"\n\n");
while (usbid)
{
manufacturer_model_type * name = usbid->name;