Subject: kern/2663: patch to PINT for HP ScanJet 4p
To: None <gnats-bugs@NetBSD.ORG>
From: Kenneth Stailey <kstailey@dol-esa.gov>
List: netbsd-bugs
Date: 07/29/1996 23:20:24
>Number: 2663
>Category: kern
>Synopsis: patch to PINT for HP ScanJet 4p
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jul 29 23:50:01 1996
>Last-Modified:
>Originator: Kenneth Stailey
>Organization:
US DOL/ESA/DASM
>Release: 1.2_BETA
>Environment:
System: NetBSD owl 1.2_BETA NetBSD 1.2_BETA (OWL) #0: Mon Jul 15 23:55:53 EDT 1996 kstailey@owl:/usr/src/sys/arch/i386/compile/OWL i386
>Description:
PINT does not support HP ScanJet 4p due to missing strings.
>How-To-Repeat:
Attach HP ScanJet 4p, look for "not configured" message.
>Fix:
--- ss.c.DIST Mon Jul 29 22:43:34 1996
+++ ss.c Mon Jul 29 22:44:31 1996
@@ -94,6 +94,8 @@
"HP ", "C1750A ", ""},
{T_PROCESSOR, T_FIXED,
"HP ", "C2500A ", ""},
+ {T_PROCESSOR, T_FIXED,
+ "HP ", "C1130A ", ""},
};
int
--- ss_scanjet.c.DIST Mon Jul 29 22:39:34 1996
+++ ss_scanjet.c Mon Jul 29 22:40:50 1996
@@ -111,6 +111,10 @@
ss->sio.scan_scanner_type = HP_SCANJET_IIC;
printf("HP ScanJet IIcx");
}
+ if (!bcmp(sa->sa_inqbuf->product, "C1130A", 6)) {
+ ss->sio.scan_scanner_type = HP_SCANJET_IIC;
+ printf("HP ScanJet 4p");
+ }
SC_DEBUG(sc_link, SDEV_DB1, ("scanjet_attach: scanner_type = %d\n",
ss->sio.scan_scanner_type));
>Audit-Trail:
>Unformatted: