tweak udev rules generation (#244444)

This commit is contained in:
Nils Philippsen 2007-07-22 21:26:51 +00:00
parent 60539e0773
commit e2ae888bfe
4 changed files with 33 additions and 3157 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
--- sane-backends-1.0.18/tools/udev/libsane.rules.udev-new-kernels 2007-07-22 22:49:51.000000000 +0200 --- 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/udev/libsane.rules 2007-07-22 22:49:52.000000000 +0200 +++ sane-backends-1.0.18/tools/sane-desc.c 2007-07-22 23:23:51.000000000 +0200
@@ -15,7 +15,7 @@ @@ -3173,7 +3173,7 @@ print_udev (void)
#
ACTION!="add", GOTO="libsane_rules_end" print_udev_header ();
-SUBSYSTEM!="usb_device", GOTO="libsane_rules_end" printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
+SUBSYSTEM!="usb|usb_device", GOTO="libsane_rules_end" - printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
+ printf ("SUBSYSTEM!=\"usb|usb_device\", GOTO=\"libsane_rules_end\"\n\n");
# Hewlett-Packard ScanJet 4100C while (usbid)
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0101", SYMLINK+="scanner-%k" {
manufacturer_model_type * name = usbid->name;

File diff suppressed because it is too large Load Diff

View File

@ -249,7 +249,7 @@ rm -rf %{buildroot}
%changelog %changelog
* Sun Jul 22 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-10 * Sun Jul 22 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-10
- reorder udev rules tweaking (#244444) - tweak udev rules generation (#244444)
* Fri Jul 20 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-9 * Fri Jul 20 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-9
- don't tweak device names in device configuration files anymore (obsolete) - don't tweak device names in device configuration files anymore (obsolete)