Re: Solaris v2.6 support?

Martin Huber (hu@garfield.m.isar.de)
Sun, 6 Dec 1998 23:10:33 +0100 (MET)

>
> Hi,
>
> I have tried and tried but can't get my scanner working under Solaris with
> SANE 1.0 (I haven't tried other versions as this laptop is new to me and
> I need to get other things running within a week.)
>
> scanimage won't see the device (a HP Scanjet 5P) at all but the scanner is
> detected correctly by the findscanner tool.
>
> The SCSCI bus is correctly terminated (otherwise I would not be able to
> boot from my external SCSI CDROM at the end of the chain). And I added the
> driver as instructed in the Solaris README file. (Without it findscanner
> finds zippo so the driver seems to do it's job well.)
>
> All tests are performed as root.
>
> The dynamic libraries are stored under /usr/local/lib/sane and
> LD_LIBRARY_PATH does point to that directory as well.
>
> So finally I end up clueless as to why the scanner won't work.
>

The 5P is used with sane by many persons.

- What do you have in /opt/local/etc/sane.d/hp.conf (or /usr/local/...,
there should be a link between /usr/local and /opt/local)?
The default /dev/scanner will not work. See README.Solaris.

- Did you have installed the SCHILYscg driver *before* "./configure"
and "make" SANE?
If not, you will have no SCSI support compiled in sane, because sane
needs /usr/include/sys/scsi/targets/scgio.h to determine the type
of SCSI driver to use.

- Check if you use the correct scsi driver. Some people had one of the
scsi include files tested by the sane configure in their /usr/include
tree and did not get the correct SCSI driver compiled in without
any warning.
You can do this with gdb or "set env SANE_DEBUG_SANEI_SCSI 128" before
starting scanimage (see frontend/.gdbinit how to do this). Send me
the output you get from this if you have still problems.

--martin

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