[Pkg-hpijs-devel] Bug#559289: Possible fix

Dennis 123321 dennis123321 at googlemail.com
Tue Jan 12 16:42:16 UTC 2010


This should work, though its untested by me at present. The file the
warning comes from is incredibly small, so it shouldn't take much!
The missing "s" on $attr is intentional, it is the name of the udev variable.



--- 56-original.rules	2009-12-30 13:12:13.000000000 +0000
+++ 56-hpmud_support.rules	2010-01-12 16:37:42.221416056 +0000
@@ -7,7 +7,7 @@
 LABEL="pid_test"

 # Check for LaserJet products (0x03f0xx17).
-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17",
ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes"
+ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17",
ENV{hp_model}="$attr{product}", ENV{hp_test}="yes"

 ENV{hp_test}=="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'"





More information about the Pkg-hpijs-devel mailing list