Subject: kern/7991: UMAX Astra 1220s scanner scsi quirk update
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-bugs
Date: 07/14/1999 14:32:22
>Number:         7991
>Category:       kern
>Synopsis:       UMAX scanner scsi quirk entry missing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 14 14:05:00 1999
>Last-Modified:
>Originator:     
>Organization:

>Release:        1.4<NetBSD-current source date>
>Environment:
	
System: NetBSD cowboy-burt 1.4 NetBSD 1.4 (COWBOY-BURT) #7: Wed Jul 14 16:34:06 EDT 1999 dan@cowboy-burt:/usr/src/sys/arch/sparc/compile/COWBOY-BURT sparc


>Description:

The scsi quirk table entry for the UMAX Astra 1220s scsi scanner only lists v1.2 of the scanner
but v1.3 scanners are available.

v1.3, like v1.2 needs the SDEV_NOLUNS entry in the scsi quirk table.

	
>How-To-Repeat:
attach v1.3 of UMAX Astra 1220s scsi scanner and see the following complaints:

  ss0 at scsibus0 targ 2 lun 0: <UMAX, Astra 1220S, V1.3> SCSI2 6/scanner
  fixedprobe(esp0:2:1):  Check Condition on CDB: 0x12 20 00 00 2c 00
      SENSE KEY:  Illegal Request
       ASC/ASCQ:  Logical Unit Not Supported

	
>Fix:

take out the version number in the scsi quirk table:
This patch is against
/*      $NetBSD: scsiconf.c,v 1.122 1998/12/10 18:13:29 mjacob Exp $    */


--- ./sys/dev/scsipi/scsiconf.c.orig    Tue Jun 29 22:23:38 1999
+++ ./sys/dev/scsipi/scsiconf.c Wed Jul 14 16:32:03 1999
@@ -559,5 +559,5 @@
         "UMAX    ", "Astra 1200S     ", "V2.9"}, SDEV_NOLUNS},
        {{T_SCANNER, T_FIXED,
-        "UMAX    ", "Astra 1220S     ", "V1.2"}, SDEV_NOLUNS},
+        "UMAX    ", "Astra 1220S     ", ""}, SDEV_NOLUNS},
        {{T_SCANNER, T_FIXED,
         "UMAX    ", "UMAX S-6E       ", "V2.0"}, SDEV_NOLUNS},


	
>Audit-Trail:
>Unformatted: