# Re: Umax 1200S on LinuxPPC R5

Douglas Gilbert (dgilbert@interlog.com)
Sat, 26 Jun 1999 15:16:21 -0400

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Hugo van der Kooij: "Re: New Camera"
- Previous message: Oliver Rauch: "Re: Umax 1200S on LinuxPPC R5"
- Maybe in reply to: Simon Piette: "Umax 1200S on LinuxPPC R5"
- Next in thread: Simon Piette: "Re: Umax 1200S on LinuxPPC R5"

Oliver Rauch wrote:
>
> David Mosberger-Tang wrote:
>
> > >>>>> On Wed, 23 Jun 1999 19:24:53 -0400, Simon Piette <spiette@generation.net> said:
> >
> > Simon> Oliver Rauch wrote:
> > >> I don`t know if SANE is tested on a big endian machine. May be
> > >> there are problems too. I am not sure if the umax backend is
> > >> tested on a big endian machine. But if the inquiry command
> > >> returns with an error the problem is in the sanei/scsi or in the
> > >> sg or scsi driver.
> > >>
> >
> > Simon> This is what I am thinking. This is not the first time we
> > Simon> (linuxppc users) have that kind of problem with little/big
> > Simon> endian (eg. sound). I'll check with the Linux PowerPC team
> > Simon> ...
> >
> > Note that SANE is reported to work fine on SPARC Solaris, which is
> > big-endian.
> >
> > The only endian-issues that I'm aware of is that if you try to scan
> > with >8 bits/channel across the net-backend and the endianness between
> > the hosts differ, you'll lose. This is something that's easy to fix,
> > but I haven't had the chance to implement it yet.
> >
>
> 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 .

BTW The mapping of SCSI devices to /dev/sg* file names
is in the same order as those devices appear in
'cat /proc/scsi/scsi'.

Doug Gilbert

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

- Next message: Hugo van der Kooij: "Re: New Camera"
- Previous message: Oliver Rauch: "Re: Umax 1200S on LinuxPPC R5"
- Maybe in reply to: Simon Piette: "Umax 1200S on LinuxPPC R5"
- Next in thread: Simon Piette: "Re: Umax 1200S on LinuxPPC R5"