]>
Commit | Line | Data |
---|---|---|
3b2074bb JR |
1 | diff -up hplip-3.12.4/data/rules/56-hpmud_support.rules.udev-rules hplip-3.12.4/data/rules/56-hpmud_support.rules |
2 | --- hplip-3.12.4/data/rules/56-hpmud_support.rules.udev-rules 2012-04-10 10:34:19.000000000 +0200 | |
3 | +++ hplip-3.12.4/data/rules/56-hpmud_support.rules 2012-04-12 12:31:05.120241342 +0200 | |
4 | @@ -6,6 +6,7 @@ SUBSYSTEM!="usb_device", GOTO="hpmud_rul | |
5 | ||
6 | LABEL="pid_test" | |
7 | ||
8 | +ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p" | |
9 | # Check for LaserJet products (0x03f0xx17). | |
10 | ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", ENV{hp_model}="$attrs{product}", ENV{hp_test}="yes" | |
11 | # Check for LaserJet products (0x03f0xx2a). | |
bed1bcd5 JR |
12 | diff -up hplip-3.12.4/Makefile.am.udev-rules hplip-3.12.4/Makefile.am |
13 | --- hplip-3.12.4/Makefile.am.udev-rules 2012-04-10 10:38:51.000000000 +0200 | |
14 | +++ hplip-3.12.4/Makefile.am 2012-04-12 12:36:40.806539034 +0200 | |
3b2074bb | 15 | @@ -4119,7 +4119,7 @@ cups_drv = prnt/drv/hpcups.drv |
bed1bcd5 | 16 | hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\" |
3b2074bb JR |
17 | |
18 | # hpmud.rules | |
bed1bcd5 JR |
19 | -rulesdir = /etc/udev/rules.d |
20 | +rulesdir = /lib/udev/rules.d | |
21 | dist_rules_DATA = data/rules/56-hpmud_support.rules | |
22 | dist_rules_DATA += data/rules/86-hpmud_plugin.rules | |
23 | dist_rules_DATA += data/rules/56-hpmud_add_printer.rules |