[4933] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: ncr53c8xx 3.0 & scanner

daemon@ATHENA.MIT.EDU (Peter Daum)
Sat Oct 17 10:03:23 1998

Date: 	Sat, 17 Oct 1998 00:20:05 +0200 (MET DST)
To: Gerard Roudier <groudier@club-internet.fr>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.981016221114.1006A-100000@localhost>
From: "Peter Daum" <gator@cs.tu-berlin.de>
Reply-To: <gator@cs.tu-berlin.de>

Hi,

On Fri, 16 Oct 1998, Gerard Roudier wrote:

[...]
> 
> Just enter: scsiinfo -i /dev/sge
> 
> You should get an output like the following: (I got it from a hard drive)
[...]
> > opening the scsi generic devices is not allowed, no matter how
> > the file permissions are set:
> >    open("/dev/sge", O_RDONLY)              = -1 EACCES (Permission denied)

You obviously misunderstood me: All I can get from scsiinfo is a
"permission denied" message; the line above was quoted from an
strace of the command "scsiinfo -i /dev/sge". For some reason,
the "open" system call doesn't seem to work with the generic scsi
device files - cat /dev/sge provokes the same error (although the
file mode is 666)

That Adaptec utility program I was talking about probably also
uses an inquiry command to find out the device capabilities.
According to this program, the scanner itself says that tagged
command queuing is unsupported.

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

home help back first fref pref prev next nref lref last post