sane-project-website/old-archive/2001-02/0048.html

274 wiersze
11 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Setting up HP ScanJet 5P on Solaris 8 SPARC</TITLE>
<META NAME="Author" CONTENT="John Craig (jcraig@agen.ufl.edu)">
<META NAME="Subject" CONTENT="Re: Setting up HP ScanJet 5P on Solaris 8 SPARC">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Setting up HP ScanJet 5P on Solaris 8 SPARC</H1>
<!-- received="Tue Feb 6 13:39:20 2001" -->
<!-- isoreceived="20010206213920" -->
<!-- sent="Tue, 06 Feb 2001 16:43:59 -0500" -->
<!-- isosent="20010206214359" -->
<!-- name="John Craig" -->
<!-- email="jcraig@agen.ufl.edu" -->
<!-- subject="Re: Setting up HP ScanJet 5P on Solaris 8 SPARC" -->
<!-- id="3A80701F.F6D2AE53@agen.ufl.edu" -->
<!-- inreplyto="3A803F3D.EFFD4A64@kirchgessner.net" -->
<STRONG>From:</STRONG> John Craig (<A HREF="mailto:jcraig@agen.ufl.edu?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A80701F.F6D2AE53@agen.ufl.edu&gt;"><EM>jcraig@agen.ufl.edu</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Feb 06 2001 - 13:43:59 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0049.html">Shea Martin: "Re: Acer 640U: is it wrecked?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0047.html">Jochen Eisinger: "Re: Problem with searchable mailing"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0045.html">Peter Kirchgessner: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0051.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0051.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#48">[ date ]</A>
<A HREF="index.html#48">[ thread ]</A>
<A HREF="subject.html#48">[ subject ]</A>
<A HREF="author.html#48">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I have some ideas that may or may not help much, but at least I have a
<BR>
scanner that somewhat works on a Sun sparc. You will not see a device similar
<BR>
to scg0e in /dev. If the generic driver is set up properly, you will just see
<BR>
/dev/scg0, however, you have to specify something like /dev/scg0x in your
<BR>
hp.conf file. The x is replaced by a letter &quot;a&quot; if the scanner is scsi id 0,
<BR>
&quot;b&quot; if it is scsi id 1, etc. In my case, I have a scanner on scsi id 4, so
<BR>
the device is /dev/scg0e. Of course, you have to make sure it is not
<BR>
conflicting with any other device on your scsi chain, and adjust the scsi id
<BR>
setting accordingly. In my case, the default scsi id for the scanner was 6,
<BR>
but that conflicted with the cdrom, so I changed the setting to 4.
<BR>
<P>How can you tell the scsi id (or scsi target) settings of your drives? I am
<BR>
running Solaris7, but as far as I know the only way to get a printout of the
<BR>
scsi devices on a Solaris box is to halt the operating system with a &quot;Stop a&quot;
<BR>
and type &quot;probe-scsi&quot; at the ok prompt, and they recommend you reboot after
<BR>
doing that. Unfortunately, there is no /proc/scsi on Solaris like there is on
<BR>
Linux.
<BR>
<P>If you can see the scanner on the probe-scsi listing, you can then get the
<BR>
&quot;Target&quot; number and set up the device setting is
<BR>
/usr/local/etc/sane.d/hp.conf, an make sure hp is not commented in dll.conf.
<BR>
If all that is done, you should see the scanner when you type &quot;scanimage -L&quot;
<BR>
If so, let me know. I have other problems with my setup, maybe you can help
<BR>
me with them.
<BR>
<P>John Craig
<BR>
<P><P><P><EM>&gt;
</EM><BR>
<EM>&gt; Gregory Gulik wrote:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Peter Kirchgessner wrote:
</EM><BR>
<EM>&gt; &gt; &gt; This error message is different. The device /dev/scg0c does not exist.
</EM><BR>
<EM>&gt; &gt; &gt; With /dev/scg0 the open worked, but the SCSI-inquire failed.
</EM><BR>
<EM>&gt; &gt; &gt; Please try again the hp.conf-file now with /dev/scg0 . You should then
</EM><BR>
<EM>&gt; &gt; &gt; see a printout like
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; [hp] hp_get_dev: New device /dev/scg0, connect-scsi, scsi-request=1
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; (note the scsi-request=1 at the end).
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Ok, I tried scanimage without the -d option:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; # scanimage
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_scsi] sanei_scsi_open: open of `/dev/sga' failed: No such file or
</EM><BR>
<EM>&gt; &gt; directo
</EM><BR>
<EM>&gt; &gt; ry
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_scsi] sanei_scsi_open: open of `option dump 1' failed: No such
</EM><BR>
<EM>&gt; &gt; file or di
</EM><BR>
<EM>&gt; &gt; rectory
</EM><BR>
<EM>&gt; &gt; [sanei_scsi] sanei_scsi_find_devices: not implemented for this platform
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_scsi] sanei_scsi_open: open of `option dump 1' failed: No such
</EM><BR>
<EM>&gt; &gt; file or di
</EM><BR>
<EM>&gt; &gt; rectory
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of hp to 16.
</EM><BR>
<EM>&gt; &gt; [hp] init called
</EM><BR>
<EM>&gt; &gt; [hp] get_devices called
</EM><BR>
<EM>&gt; &gt; [hp] hp_read_config: hp backend v0.88 starts reading config file
</EM><BR>
<EM>&gt; &gt; [hp] hp_read_config: processing line &lt;scsi HP&gt;
</EM><BR>
<EM>&gt; &gt; [hp] hp_read_config: processing line &lt;/dev/scg0&gt;
</EM><BR>
<EM>&gt; &gt; [hp] hp_read_config: attach scsi HP
</EM><BR>
<EM>&gt; &gt; [hp] hp_read_config: attach /dev/scg0
</EM><BR>
<EM>&gt; &gt; [hp] hp_get_dev: New device /dev/scg0, connect-scsi, scsi-request=1
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [hp] scsi_inquire: sending INQUIRE
</EM><BR>
<EM>&gt; &gt; [hp] scsi_inquire: inquiry failed: Operation not supported
</EM><BR>
<EM>&gt; &gt; [hp] /dev/scg0: Can't open scsi device
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_scsi] sanei_scsi_open: open of `/dev/camera' failed: No such file
</EM><BR>
<EM>&gt; &gt; or dire
</EM><BR>
<EM>&gt; &gt; ctory
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of sanei_scsi to 16.
</EM><BR>
<EM>&gt; &gt; scanimage: no SANE devices found
</EM><BR>
<EM>&gt; &gt; [hp] exit called
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; --
</EM><BR>
<EM>&gt; &gt; Greg Gulik <A HREF="http://www.drivingevents.com/">http://www.drivingevents.com/</A>
</EM><BR>
<EM>&gt; &gt; <A HREF="mailto:greg@gulik.org?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A80701F.F6D2AE53@agen.ufl.edu&gt;">greg@gulik.org</A> or <A HREF="mailto:greg@gagme.com?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A80701F.F6D2AE53@agen.ufl.edu&gt;">greg@gagme.com</A> <A HREF="http://www.gagme.com/~greg/">http://www.gagme.com/~greg/</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Peter Kirchgessner
</EM><BR>
<EM>&gt; <A HREF="http://www.kirchgessner.net">http://www.kirchgessner.net</A>
</EM><BR>
<EM>&gt; mailto:<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A80701F.F6D2AE53@agen.ufl.edu&gt;">peter@kirchgessner.net</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A80701F.F6D2AE53@agen.ufl.edu&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A80701F.F6D2AE53@agen.ufl.edu&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0049.html">Shea Martin: "Re: Acer 640U: is it wrecked?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0047.html">Jochen Eisinger: "Re: Problem with searchable mailing"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0045.html">Peter Kirchgessner: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0051.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0051.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#48">[ date ]</A>
<A HREF="index.html#48">[ thread ]</A>
<A HREF="subject.html#48">[ subject ]</A>
<A HREF="author.html#48">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Tue Feb 06 2001 - 13:40:02 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>