Unofficial CVS branch relative to v1.00

Petter Reinholdtsen (pere@hungry.com)
Wed, 24 Feb 1999 20:16:27 +0100

As it seems to be a while until the SANE maintainer David
Mosberger-Tang finds time to release a new version on SANE, I sat down
this evening to collect (hopefully) all the (usefull) patches which
has passed by the mailingslist. If someone is missing, please reply
to this message on the list.

I included the changes into a branch in the CVS repository. The
changes should now be available from the public repository. To fetch
this version of the source, do the following in a bourne-shell
compatible shell.

export CVSROOT=:pserver:anoncvs@anoncvs.hungry.com:/cvsroot
cvs login
[password "anoncvs"]
cvs co -r BRANCH_1_00_pere sane

To extract the current official release, remove '-r BRANCH_1_00_pere'
from the above instructions.

Remember that this is not the official distribution, but a version
hacked together by me!

I was able to find the following changes, which I have included:

Patch dated 1999-01-18 to HP backend to prevent the button "scan from ADF"
to appear for HP PhotoSmart PhotoScanner. Fetched patch from
<URL:http://www.kirchgessner.net/>.

Updated HP backend to v0.80 released 1999-01-10. Fetched source from
<URL:http://www.kirchgessner.net/>.

Check for jconfig.h to find JPEG library.

Patch from Michael Sweet <mike@easysw.com>.
The IRIX SCSI support didn't handle misaligned SCSI buffers. The new
version here copies everything to and from aligned buffers to prevent
problems. This appears only to be an issue with older SGI machines
(Indigo, Indigo2, etc.) and not with any of the newer "O" series

Patch from Michael Sweet <mike@easysw.com>.
The Abaton backend need the sanei_config object file.

Patch from Michael Sweet <mike@easysw.com>.
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.

Use 'inline', not '__inline', as the first one will be predefined by
"config.h" if not supported by compiler (as on HP/UX).

Test HP/UX SCSI devices for connected sanner.

Don't use MAXINT from <values.h>, use INT_MAX from <limits.h> instead.

Typo fixed. Use struct element name.

Happy hacking,

-- 
##>  Petter Reinholdtsen <##    | pere@td.org.uit.no
 O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/    | Go Mozilla, go! Go!

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