12 lines
544 B
Diff
12 lines
544 B
Diff
--- sane-backends-1.0.18/tools/sane-desc.c.udev-098 2007-07-22 23:23:51.000000000 +0200
|
|
+++ sane-backends-1.0.18/tools/sane-desc.c 2007-07-22 23:24:37.000000000 +0200
|
|
@@ -3187,7 +3187,7 @@ print_udev (void)
|
|
name = name->next;
|
|
}
|
|
printf ("\n");
|
|
- printf ("SYSFS{idVendor}==\"%s\", SYSFS{idProduct}==\"%s\", SYMLINK+=\"scanner-%%k\"\n",
|
|
+ printf ("ATTR{idVendor}==\"%s\", ATTR{idProduct}==\"%s\", SYMLINK+=\"scanner-%%k\"\n",
|
|
usbid->usb_vendor_id + 2, usbid->usb_product_id + 2);
|
|
usbid = usbid->next;
|
|
}
|