Package: foo2zjs / 20140925dfsg0-3

60-hplj1000.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Use the same firmware folder for all HP LJ printers
--- a/hplj1000
+++ b/hplj1000
@@ -89,37 +89,31 @@
     MODEL=P1005; FWMODEL=$MODEL
     USB1=0x03f0	#Vendor
     USB2=0x3d17	#Model
-    FWDIR=/usr/share/foo2xqx/firmware
     ;;
 *P1006)
     MODEL=P1006; FWMODEL=$MODEL
     USB1=0x03f0	#Vendor
     USB2=0x3e17	#Model
-    FWDIR=/usr/share/foo2xqx/firmware
     ;;
 *P1007)
     MODEL=P1007; FWMODEL=P1005		# Alias
     USB1=0x03f0	#Vendor
     USB2=0x4817	#Model
-    FWDIR=/usr/share/foo2xqx/firmware
     ;;
 *P1008)
     MODEL=P1008; FWMODEL=P1006		# Alias
     USB1=0x03f0	#Vendor
     USB2=0x4917	#Model
-    FWDIR=/usr/share/foo2xqx/firmware
     ;;
 *P1505)
     MODEL=P1505; FWMODEL=$MODEL
     USB1=0x03f0	#Vendor
     USB2=0x3f17	#Model
-    FWDIR=/usr/share/foo2xqx/firmware
     ;;
 *P1505n)
     MODEL=P1505n; FWMODEL=$MODEL
     USB1=0x03f0	#Vendor
     USB2=0x4017	#Model
-    FWDIR=/usr/share/foo2xqx/firmware
     ;;
 *1000)
     MODEL=1000; FWMODEL=$MODEL
--- a/hplj10xx.conf
+++ b/hplj10xx.conf
@@ -15,35 +15,35 @@
 attach 100 {
     match "vendor" "0x03f0";
     match "product" "0x3d17";
-    action "cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/$device-name";
+    action "cat /lib/firmware/hp/sihpP1005.dl > /dev/$device-name";
 };
 
 # Firmware download HP LaserJet P1006 printer
 attach 100 {
     match "vendor" "0x03f0";
     match "product" "0x3e17";
-    action "cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/$device-name";
+    action "cat /lib/firmware/hp/sihpP1006.dl > /dev/$device-name";
 };
 
 # Firmware download HP LaserJet P1007 printer
 attach 100 {
     match "vendor" "0x03f0";
     match "product" "0x4817";
-    action "cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/$device-name";
+    action "cat /lib/firmware/hp/sihpP1005.dl > /dev/$device-name";
 };
 
 # Firmware download HP LaserJet P1008 printer
 attach 100 {
     match "vendor" "0x03f0";
     match "product" "0x4917";
-    action "cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/$device-name";
+    action "cat /lib/firmware/hp/sihpP1006.dl > /dev/$device-name";
 };
 
 # Firmware download HP LaserJet P1505 printer
 attach 100 {
     match "vendor" "0x03f0";
     match "product" "0x3f17";
-    action "cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/$device-name";
+    action "cat /lib/firmware/hp/sihpP1505.dl > /dev/$device-name";
 };
 
 # Firmware download HP LaserJet 1000 printer