kopia lustrzana https://gitlab.com/sane-project/backends
Unbreak udev rules
We switched from SYSFS{} to ATTR{} and that should really be ATTRS{}. Slightly different behaviour and all hell breaks loose.merge-requests/1/head
rodzic
1541ad928f
commit
79e6e5c420
|
@ -1,3 +1,7 @@
|
|||
2009-05-06 Julien Blache <jb@jblache.org>
|
||||
* tools/sane-desc.c: unbreak udev rules, use ATTRS instead of ATTR
|
||||
for USB devices.
|
||||
|
||||
2009-05-05 Julien Blache <jb@jblache.org>
|
||||
* doc/backend-writing.txt, doc/releases.txt: update for the switch
|
||||
to git.
|
||||
|
|
|
@ -3475,7 +3475,7 @@ print_udev (void)
|
|||
}
|
||||
}
|
||||
printf ("\n");
|
||||
printf ("ATTR{idVendor}==\"%s\", ATTR{idProduct}==\"%s\", MODE=\"%s\", GROUP=\"%s\", ENV{libsane_matched}=\"yes\"\n",
|
||||
printf ("ATTRS{idVendor}==\"%s\", ATTRS{idProduct}==\"%s\", MODE=\"%s\", GROUP=\"%s\", ENV{libsane_matched}=\"yes\"\n",
|
||||
usbid->usb_vendor_id + 2, usbid->usb_product_id + 2, DEVMODE, DEVGROUP);
|
||||
usbid = usbid->next;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue