Re: Solaris v2.6 support?

Hugo van der Kooij (hvdkooij@caiw.nl)
Mon, 7 Dec 1998 00:52:44 +0100 (CET)

On Sun, 6 Dec 1998, Martin Huber wrote:

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

I know as I had it running on my Linux Alpha system for nearly a year
running various versions of sane (up to 0.74).

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

I did read the document and got the driver installed before persuing the
issue. (The lot is on /usr/local)

> - Did you have installed the SCHILYscg driver *before* "./configure"
> and "make" SANE?

Just redid it. But to no avail.

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

It's there.

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

[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: `i' is not a valid target id
device `pnm:0' is a Noname PNM file reader virtual device
device `pnm:1' is a Noname PNM file reader virtual device

I can't find related info to the mentioned target id.

Hugo.

+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)

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