# [patch] Multiple fixes for SANE 1.0

Michael Sweet (mike@easysw.com)
Thu, 10 Dec 1998 14:52:09 -0500

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: V. Doan: "Re: UMAX 1200S Astra hangs, then resumes"
- Previous message: Oliver Rauch: "pre alpha version of my new sane-frontend out"

This is a multi-part message in MIME format.
--------------C87174612DFDDE23C0EE33C6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi, All!

Well, I finally got a chance to sit down with SANE and IRIX again.
I've attached a patch file that adds/fixes the following:

- The IRIX SCSI driver now supports the "sanei_scsi_find_devices"
method so you don't need to make links to /dev/scanner.

- Fixed the DC210 backend to conditionally support 57,600 and
115,200 baud, and use the TCSBRK, TCSBRKP, or tcsendbreak()
functions to send a break. This should fix things for
Solaris, HP-UX, and Digital UNIX as well.

- Added extra serial device lines for IRIX, HP-UX, Solaris,
and Digital UNIX to the dc210.conf and dc25.conf files.

- Fixed the HP backend, which would not work on MIPS, SPARC,
or Alpha CPUs (at least). The problem was caused by the
underlying memory allocation stuff, which did not guarantee
that blocks of memory would be 64-bit aligned.

- Added support for the "scsi VENDOR MODEL" stuff to the Abaton,
HP, and Ricoh backends.

- The PNM backend uses alloca() but doesn't include <alloca.h>
as needed.

- Added appropriate "scsi VENDOR MODEL" lines to backend .conf
files (most didn't have them!)

- Added support for "+" in the saned.conf file to allow all
remote hosts to access the local scanners.

- Updated saned.conf file - wrong documentation about case
sensitive hostnames, and added "+" line.

- Updated dll.conf file to enable the "net" device and disable
the "pnm" device.

Finally, precompiled binaries for IRIX will soon be available at:

http://www.easysw.com/~mike/gimp

and:

ftp://ftp.easysw.com/pub/gimp

You will also find the needed GTK binaries, and optional GIMP binaries
here as well.

    --
    ______________________________________________________________________
    Michael Sweet, Easy Software Products                  mike@easysw.com
    Printing Software for UNIX                       http://www.easysw.com
    --------------C87174612DFDDE23C0EE33C6
    Content-Type: application/x-gzip;
     name="irix.patch.gz"
    Content-Transfer-Encoding: base64
    Content-Disposition: inline;
     filename="irix.patch.gz"

    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QPeJa7pID
    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
    Vm5ZAAA=
    --------------C87174612DFDDE23C0EE33C6--

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

     Next message: V. Doan: "Re: UMAX 1200S Astra hangs, then resumes"
     Previous message: Oliver Rauch: "pre alpha version of my new sane-frontend out"