ports/162313: print/foo2zfs: example devd rules
Robert Millan
rmh at FreeBSD.org
Sat Nov 5 17:00:41 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list