[4940] in linux-scsi channel archive
Re: ncr53c8xx 3.0 & scanner
daemon@ATHENA.MIT.EDU (Peter Daum)
Sun Oct 18 00:59:01 1998
Date: Sat, 17 Oct 1998 21:00:08 +0200 (MET DST)
To: Gerard Roudier <groudier@club-internet.fr>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.981017172522.941A-100000@localhost>
From: "Peter Daum" <gator@cs.tu-berlin.de>
Reply-To: <gator@cs.tu-berlin.de>
Hi,
On Sat, 17 Oct 1998, Gerard Roudier wrote:
[...]
> Looking into the sg driver code, it seems O_RDWR is required. This should
> explain the problem.
[...]
> For once, I trust 100% Adaptec. ;-)
> But I want to be 100%++ sure that the INQUIRY data are not the cause of
> the problem.
>
> I could only enable tags for Hard Disks as previous driver versions do,
> but there is nowadays other SCSI devices that are fast and may gain
> advantages of using tagged commands.
>
> If you hack linux/drivers/scsi/sg.c so that it will accept a O_RDONLY
> open(), then this should be enough for scsiinfo to use SCSI ioctls and
> to retrieve the INQUIRY data from the device.
> (search "open" and comment the check against O_RDWR)
indeed, that did the trick :-) So here's the inquiry data:
Inquiry command
---------------
Relative Address 0
Wide bus 32 0
Wide bus 16 0
Synchronous neg. 0
Linked Commands 0
Command Queueing 0
SftRe 0
Device Type 6
Peripheral Qualifier 0
Removable? 0
Device Type Modifier 14
ISO Version 0
ECMA Version 0
ANSI Version 2
AENC 0
TrmIOP 0
Response Data Format 2
Vendor: UMAX
Product: Astra 1200S
Revision level: V1.1b
In case that this is of interest, too,
"cat /proc/scsi/ncr53c8xx/1" says:
General information:
Chip NCR53C810, device id 0x1, revision id 0x2
IO port address 0xb800, IRQ number 9
Using memory mapped IO at virtual address 0xc8089000
Synchronous period factor 25, max commands per lun 4
Regards,
Peter
--
| Peter Daum (gator@cs.tu-berlin.de) __o (+49 30)
| http://www.cs.tu-berlin.de/~gator _'\<_ 691 46 35
| pgp messages welcome! _(_)/(_) ___________
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu