Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2011 16:59:51 GMT
From:      Robert Millan <rmh@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162313: print/foo2zfs: example devd rules
Message-ID:  <201111051659.pA5GxpQC012732@red.freebsd.org>
Resent-Message-ID: <201111051700.pA5H0eB4058623@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162313
>Category:       ports
>Synopsis:       print/foo2zfs: example devd rules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 05 17:00:40 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Robert Millan
>Release:        
>Organization:
>Environment:
>Description:

Hi,

Please consider including the following sample devd rules for foo2zfs.  They could be installed in /usr/local/etc/devd/foo2zfs.conf or such (see attachment).

It might also be useful if the firmware files were installed by the port as well, e.g.:

  ./getweb 1018
  arm2hpdl < sihp1018.img > /usr/local/share/foo2zjs/firmware/sihp1018.dl

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# Firmware upload for USB printers

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

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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111051659.pA5GxpQC012732>