tweak udev rules generation (#244444)
This commit is contained in:
parent
60539e0773
commit
e2ae888bfe
File diff suppressed because it is too large
Load Diff
@ -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/udev/libsane.rules 2007-07-22 22:49:52.000000000 +0200
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
--- 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/sane-desc.c 2007-07-22 23:23:51.000000000 +0200
|
||||
@@ -3173,7 +3173,7 @@ print_udev (void)
|
||||
|
||||
ACTION!="add", GOTO="libsane_rules_end"
|
||||
-SUBSYSTEM!="usb_device", GOTO="libsane_rules_end"
|
||||
+SUBSYSTEM!="usb|usb_device", GOTO="libsane_rules_end"
|
||||
|
||||
# Hewlett-Packard ScanJet 4100C
|
||||
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0101", SYMLINK+="scanner-%k"
|
||||
print_udev_header ();
|
||||
printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
|
||||
- printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
|
||||
+ printf ("SUBSYSTEM!=\"usb|usb_device\", GOTO=\"libsane_rules_end\"\n\n");
|
||||
while (usbid)
|
||||
{
|
||||
manufacturer_model_type * name = usbid->name;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -249,7 +249,7 @@ rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
- don't tweak device names in device configuration files anymore (obsolete)
|
||||
|
Loading…
Reference in New Issue
Block a user