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

283 wiersze
10 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="Gregory Gulik (greg@gulik.org)">
<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 14:36:19 2001" -->
<!-- isoreceived="20010206223619" -->
<!-- sent="Tue, 06 Feb 2001 16:35:56 -0600" -->
<!-- isosent="20010206223556" -->
<!-- name="Gregory Gulik" -->
<!-- email="greg@gulik.org" -->
<!-- subject="Re: Setting up HP ScanJet 5P on Solaris 8 SPARC" -->
<!-- id="3A807C4C.5583EF59@gulik.org" -->
<!-- inreplyto="3A80701F.F6D2AE53@agen.ufl.edu" -->
<STRONG>From:</STRONG> Gregory Gulik (<A HREF="mailto:greg@gulik.org?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A807C4C.5583EF59@gulik.org&gt;"><EM>greg@gulik.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Feb 06 2001 - 14:35:56 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0052.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0050.html">Oliver Neukum: "Re: Microtek X6, USB and slackware problems"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0048.html">John Craig: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0052.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0052.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#51">[ date ]</A>
<A HREF="index.html#51">[ thread ]</A>
<A HREF="subject.html#51">[ subject ]</A>
<A HREF="author.html#51">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
John Craig wrote:
<BR>
<EM>&gt; I have some ideas that may or may not help much, but at least I have a
</EM><BR>
<EM>&gt; scanner that somewhat works on a Sun sparc. You will not see a device similar
</EM><BR>
<EM>&gt; to scg0e in /dev. If the generic driver is set up properly, you will just see
</EM><BR>
<EM>&gt; /dev/scg0, however, you have to specify something like /dev/scg0x in your
</EM><BR>
<EM>&gt; hp.conf file. The x is replaced by a letter &quot;a&quot; if the scanner is scsi id 0,
</EM><BR>
<EM>&gt; &quot;b&quot; if it is scsi id 1, etc. In my case, I have a scanner on scsi id 4, so
</EM><BR>
<EM>&gt; the device is /dev/scg0e. Of course, you have to make sure it is not
</EM><BR>
<EM>&gt; conflicting with any other device on your scsi chain, and adjust the scsi id
</EM><BR>
<EM>&gt; setting accordingly. In my case, the default scsi id for the scanner was 6,
</EM><BR>
<EM>&gt; but that conflicted with the cdrom, so I changed the setting to 4.
</EM><BR>
<P>John,
<BR>
<P>Thanks for offering to help. I'm just about to give up on this whole
<BR>
idea and just keep using xvscan.
<BR>
<P>What do you mean by your scanner &quot;somewhat&quot; working???
<BR>
&nbsp;
<BR>
<EM>&gt; How can you tell the scsi id (or scsi target) settings of your drives? I am
</EM><BR>
<EM>&gt; running Solaris7, but as far as I know the only way to get a printout of the
</EM><BR>
<EM>&gt; scsi devices on a Solaris box is to halt the operating system with a &quot;Stop a&quot;
</EM><BR>
<EM>&gt; and type &quot;probe-scsi&quot; at the ok prompt, and they recommend you reboot after
</EM><BR>
<EM>&gt; doing that. Unfortunately, there is no /proc/scsi on Solaris like there is on
</EM><BR>
<EM>&gt; Linux.
</EM><BR>
<P>This is from a very recent &quot;probe-scsi&quot;, nothing has changed hardware
<BR>
wise since then:
<BR>
<P>ok probe-scsi
<BR>
Primary UltraSCSI bus:
<BR>
Target 1
<BR>
&nbsp;&nbsp;Unit 0 Disk SEAGATE ST318416W 0010
<BR>
Target 3
<BR>
&nbsp;&nbsp;Unit 0 Disk SEAGATE ST39173LW 6246
<BR>
Target 4
<BR>
&nbsp;&nbsp;Unit 0 Removable Tape Seagate STT20000N 6A51
<BR>
Target 6
<BR>
&nbsp;&nbsp;Unit 0 Removable Read Only device PLEXTOR CD-R PX-W124TS1.05
<BR>
<P>Removeable-Media/External SCSI bus:
<BR>
Target 2
<BR>
&nbsp;&nbsp;Unit 0 Processor HP C5110A 3701
<BR>
Target 4
<BR>
&nbsp;&nbsp;Unit 0 Removable Disk iomega jaz 1GB J.83
<BR>
ok
<BR>
<P><P>I know it's target two which means the trailing letter should be a 'c'.
<BR>
I've tried using /dev/sg0c as well as /dev/sg1c with no difference.
<BR>
<P><P><EM>&gt; If you can see the scanner on the probe-scsi listing, you can then get the
</EM><BR>
<EM>&gt; &quot;Target&quot; number and set up the device setting is
</EM><BR>
<EM>&gt; /usr/local/etc/sane.d/hp.conf, an make sure hp is not commented in dll.conf.
</EM><BR>
<EM>&gt; If all that is done, you should see the scanner when you type &quot;scanimage -L&quot;
</EM><BR>
<EM>&gt; If so, let me know. I have other problems with my setup, maybe you can help
</EM><BR>
<EM>&gt; me with them.
</EM><BR>
<P>I check dll.conf and hp is in there and not commented out.
<BR>
My hp.conf file currently contains:
<BR>
scsi HP
<BR>
/dev/scg1c
<BR>
<P><P>I've also tried /dev/scg0c. With the above scanimage -L gives me:
<BR>
# scanimage -L
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_scsi] sanei_scsi_open: open of `/dev/sga' failed: No such file or
<BR>
directory
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_scsi] sanei_scsi_open: open of `option dump 1' failed: No such file or
<BR>
directory
<BR>
[sanei_scsi] sanei_scsi_find_devices: not implemented for this platform
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_scsi] sanei_scsi_open: open of `option dump 1' failed: No such file or
<BR>
directory
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of hp to 16.
<BR>
[hp] init called
<BR>
[hp] get_devices called
<BR>
[hp] hp_read_config: hp backend v0.88 starts reading config file
<BR>
[hp] hp_read_config: processing line &lt;scsi HP&gt;
<BR>
[hp] hp_read_config: processing line &lt;/dev/scg1c&gt;
<BR>
[hp] hp_read_config: attach scsi HP
<BR>
[hp] hp_read_config: attach /dev/scg1c
<BR>
[hp] hp_get_dev: New device /dev/scg1c, connect-scsi, scsi-request=1
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_scsi] sanei_scsi_open: open of `/dev/scg1c' failed: No such file or
<BR>
directory
<BR>
[hp] scsi_new: open failed (Invalid argument)
<BR>
[hp] /dev/scg1c: Can't open scsi device
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_scsi] sanei_scsi_open: open of `/dev/camera' failed: No such file or
<BR>
directory
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 16.
<BR>
[hp] exit called
<BR>
#
<BR>
<P><P>This is getting really frustrating. According to the SANE docs both Solaris
<BR>
and the HP 5P are supported, I just don't understand why it just won't work!
<BR>
<P>If you notice above, scanimage still thinks the file /dev/scg1c should
<BR>
exist when everybody tells me the last letter is just used by the program
<BR>
to determine which SCSI id should be used on that SCSI bus.
<BR>
<P><P><P><PRE>
--
Greg Gulik <A HREF="http://www.drivingevents.com/">http://www.drivingevents.com/</A>
<A HREF="mailto:greg@gulik.org?Subject=Re:%20Setting%20up%20HP%20ScanJet%205P%20on%20Solaris%208%20SPARC&In-Reply-To=&lt;3A807C4C.5583EF59@gulik.org&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;3A807C4C.5583EF59@gulik.org&gt;">greg@gagme.com</A> <A HREF="http://www.gagme.com/~greg/">http://www.gagme.com/~greg/</A>
<P>--
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;3A807C4C.5583EF59@gulik.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0052.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0050.html">Oliver Neukum: "Re: Microtek X6, USB and slackware problems"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0048.html">John Craig: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0052.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0052.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#51">[ date ]</A>
<A HREF="index.html#51">[ thread ]</A>
<A HREF="subject.html#51">[ subject ]</A>
<A HREF="author.html#51">[ 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 - 14:36:47 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>