kopia lustrzana https://gitlab.com/sane-project/backends
Replace the obsolete SYSFS{} key by the newer ATTR{} key in the udev output.
rodzic
4cb1d28a35
commit
e91b604df7
|
@ -1,7 +1,8 @@
|
|||
2009-01-13 Julien Blache <jb@jblache.org>
|
||||
* tools/sane-desc.c: replace opencoded device permissions and
|
||||
ownership by proper definitions. Group USB devices by vendor in
|
||||
the HAL FDI output.
|
||||
the HAL FDI output. Replace obsolete SYSFS{} key by the newer
|
||||
ATTR{} key in the udev output.
|
||||
All of the above based on a patch contributed by Dieter Jurzitza.
|
||||
|
||||
2009-01-10 m. allan noah <kitno455 a t gmail d o t com>
|
||||
|
|
|
@ -3236,7 +3236,7 @@ print_udev (void)
|
|||
}
|
||||
}
|
||||
printf ("\n");
|
||||
printf ("SYSFS{idVendor}==\"%s\", SYSFS{idProduct}==\"%s\", MODE=\"%s\", GROUP=\"%s\", ENV{libsane_matched}=\"yes\"\n",
|
||||
printf ("ATTR{idVendor}==\"%s\", ATTR{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