sane-backends/sane-backends-1.0.18-udev-new-kernels.patch

15 lines
674 B
Diff

--- sane-backends-1.0.18/tools/sane-desc.c.udev-new-kernels 2007-07-24 18:34:10.000000000 +0200
+++ sane-backends-1.0.18/tools/sane-desc.c 2007-07-24 18:37:08.000000000 +0200
@@ -3173,7 +3173,10 @@ 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\", GOTO=\"libsane_rules\"\n");
+ printf ("SUBSYSTEM==\"usb_device\", GOTO=\"libsane_rules\"\n\n");
+ printf ("GOTO=\"libsane_rules_end\"\n\n");
+ printf ("LABEL=\"libsane_rules\"\n\n");
while (usbid)
{
manufacturer_model_type * name = usbid->name;