File: hplj10xx.conf

package info (click to toggle)
foo2zjs 20171202dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 9,320 kB
  • sloc: ansic: 40,789; xml: 12,512; sh: 7,385; makefile: 1,705; objc: 573; tcl: 173; perl: 102; python: 8
file content (75 lines) | stat: -rw-r--r-- 2,083 bytes parent folder | download | duplicates (4)
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
# FREEBSD 8.+ - hplj10xx.conf
#
# $ man devd.conf
#
# Variables that can be used with the match statement
#      A partial list of variables and their possible values that can be used
#      together with the match statement
#
#      Variable	   Description
#          ...snip...
#      device-name   Name of attached/detached device.
#

# Firmware download HP LaserJet P1005 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x3d17";
    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 /lib/firmware/hp/sihpP1006.dl > /dev/$device-name";
};

# Firmware download HP LaserJet P1007 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x4817";
    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 /lib/firmware/hp/sihpP1006.dl > /dev/$device-name";
};

# Firmware download HP LaserJet P1505 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x3f17";
    action "cat /lib/firmware/hp/sihpP1505.dl > /dev/$device-name";
};

# Firmware download HP LaserJet 1000 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x0517";
    action "cat /usr/share/foo2zjs/firmware/sihp1000.dl > /dev/$device-name";
};

# Firmware download HP LaserJet 1005 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x1317";
    action "cat /usr/share/foo2zjs/firmware/sihp1005.dl > /dev/$device-name";
};

# Firmware download HP LaserJet 1018 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x4117";
    action "cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/$device-name";
};

# Firmware download HP LaserJet 1020 printer
attach 100 {
    match "vendor" "0x03f0";
    match "product" "0x2b17";
    action "cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/$device-name";
};