Re: Umax 1200S on LinuxPPC R5

Simon Piette (spiette@generation.net)
Sun, 27 Jun 1999 22:19:33 -0400

Douglas Gilbert wrote:

>
>
> 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.
>

I was unable to compile sginfo, there is an error in sginfo.c :

sginfo.c:1675: warning: comparison is always 1 due to limited range of data type

This line is while ((c = getopt(argc, argv, "agdcfisDeCXmMSRvlnLpVF:")) != EOF) {

So it is simply unable to take any arguments.

Zut!

Simon

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