Re: Umax 1200S on LinuxPPC R5

Douglas Gilbert (dgilbert@interlog.com)
Sun, 27 Jun 1999 14:29:17 -0400

Simon Piette wrote:
>
> Douglas Gilbert wrote:
>
> > >
> > > Ok, so it looks like a problem with the scsi-card or driver or the sg driver.
> > > I don`t know if the umax backend is ever tested on a big endian machine,
> > > but if the inquiry command returns with an error I don't think it is a problem
> > > with the umax backend.
> > >
> >
> > As I posted recently, if a problem with the sg driver is
> > suspected then the user should download the utility and
> > test program tarball from:
> > http://www.torque.net/sg
> >
> > and run "sg_scan -i". This goes through ever SCSI
> > device mapped to /dev/sg* and sends an INQUIRY command
> > to it and outputs the result. That program should work
> > on any linux kernel from from 2.0 to 2.3.8 .
>
> OK. Here is the results from sg_scan -i:
>
> /dev/sga: scsi0, channel=0, id=0, lun=0, type=0
> QUANTUM FIREBALL ST2.1S 0F0C, byte_7=0x1a
> /dev/sgb: scsi0, channel=0, id=2, lun=0, type=0
> QUANTUM FIREBALL ST2100S 0F0D, byte_7=0x1a
> /dev/sgc: scsi0, channel=0, id=3, lun=0, type=5
> PIONEER CD-ROM DR-U10X 1.07, byte_7=0x10
> /dev/sgd: scsi0, channel=0, id=4, lun=0, type=0
> QUANTUM FIREBALL ST2100S 0F0J, byte_7=0x1a
> /dev/sge: scsi1, channel=0, id=2, lun=0, type=0
> SyQuest EZ135S 1_13, byte_7=0x18
> /dev/sgf: scsi1, channel=0, id=5, lun=0, type=6
> UMAX Astra 1200S V1.3, byte_7=0x0
>
> The output is very similar to ./tools/findscanner:
>
> # ./find-scanner
> find-scanner: found scanner "UMAX Astra 1200S V1.3" at device
> /dev/scanner
> find-scanner: found scanner "UMAX Astra 1200S V1.3" at device /dev/sg5
> find-scanner: found scanner "UMAX Astra 1200S V1.3" at device /dev/sgf
>

So the sg device on your box has no trouble handling SCSI
INQUIRY commands. You may like to try "sginfo -a /dev/sgf"
to see if mode page info comes out ok. My 1220S only
defines a few mode pages. "sginfo" is in the same tarball
referred to above (it is a "sg" equivalent of Eric Youngdale's
scsiinfo program). You may also find "sginfo -l" interesting.

BTW Could someone tell me if scanners generally support
the READ BUFFER command. If so the test program "sg_rbuf"
from the same tarball could be very useful.

Doug Gilbert

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com