1 --- foo2zjs/hplj1000~ 2011-11-30 13:46:32.000000000 +0100
2 +++ foo2zjs/hplj1000 2011-11-30 13:47:15.427823974 +0100
4 rm -f /etc/udev/rules.d/*hpmud*laserjet_${model}*
5 rm -f /etc/udev/rules.d/*hpmud_support.rules
8 -# The special command line argument "install-usermap" will install
9 -# the proper entry into the /etc/hotplug/usb.usermap file
13 - if [ "$USB2" != "" ]; then
14 - if [ -w /etc/hotplug/usb.usermap ]; then
15 - USERMAP=/etc/hotplug/usb.usermap
16 - elif [ -d /etc/hotplug/usb/ ]; then
17 - USERMAP=/etc/hotplug/usb/foo2zjs.usermap
18 - if [ ! -s $USERMAP ]; then
22 - log "No /etc/hotplug usermap!"
26 - ex - $USERMAP <<-EOF
29 - hplj$MODEL 0x0003 $USB1 $USB2 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
35 - log "I don't know the USB info for this model yet. Please run"
36 - log "usb_printerid on the usb device and send the output to:"
37 - log "rick.richardson@comcast.net"
42 - for f in /etc/modprobe.d/blacklist*; do
43 - if grep -s -q usblp $f; then
45 - g/^blacklist.*usblp/d
50 - /sbin/modprobe usblp
58 # Procedures to load a single device with firmware