kopia lustrzana https://gitlab.com/sane-project/website
140 wiersze
6.8 KiB
HTML
140 wiersze
6.8 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: Microtek, Net, NetBSD</TITLE>
|
|
<META NAME="Author" CONTENT="abel deuring (adeuring@gmx.net)">
|
|
<META NAME="Subject" CONTENT="Re: Microtek, Net, NetBSD">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Microtek, Net, NetBSD</H1>
|
|
<!-- received="Mon May 28 15:28:58 2001" -->
|
|
<!-- isoreceived="20010528222858" -->
|
|
<!-- sent="Tue, 29 May 2001 00:47:40 +0200" -->
|
|
<!-- isosent="20010528224740" -->
|
|
<!-- name="abel deuring" -->
|
|
<!-- email="adeuring@gmx.net" -->
|
|
<!-- subject="Re: Microtek, Net, NetBSD" -->
|
|
<!-- id="3B12D58C.868CEC@gmx.net" -->
|
|
<!-- inreplyto="20010528104927.G24516@busa.lionking.org" -->
|
|
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:adeuring@gmx.net?Subject=Re:%20Microtek,%20Net,%20NetBSD&In-Reply-To=<3B12D58C.868CEC@gmx.net>"><EM>adeuring@gmx.net</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon May 28 2001 - 15:47:40 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0414.html">Aristide Aragon: "Re: Microtek, Net, NetBSD"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0412.html">Tim Waugh: "Re: [parport] Use of inb/out in backends..."</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0400.html">Aristide Aragon: "Microtek, Net, NetBSD"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0414.html">Aristide Aragon: "Re: Microtek, Net, NetBSD"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0414.html">Aristide Aragon: "Re: Microtek, Net, NetBSD"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#413">[ date ]</A>
|
|
<A HREF="index.html#413">[ thread ]</A>
|
|
<A HREF="subject.html#413">[ subject ]</A>
|
|
<A HREF="author.html#413">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Aristide Aragon wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hello
|
|
</EM><BR>
|
|
<EM>> I have a Microtek ScanMaker II scanner that I've been using successfuly under SuSE Linux 6.3 with the shipped sane.
|
|
</EM><BR>
|
|
<EM>> I wanted to make a 'scanning server' with an old Sun SPARCStation IPC that I have and that is running NetBSD 1.3, so I downloded the latest sane-backends, compiled and installed (actually the ports collection did that for me).
|
|
</EM><BR>
|
|
<EM>> When I type "scanimage" the scanner (which is a 3 pass scanner) gives one pass and returns, and when it reaches the initial position, I get an error "scanimage: sane_start: Invalid argument"
|
|
</EM><BR>
|
|
<EM>> I also set up saned in that machine to be able to scan through the network. When I set up my SuSE's sane to search that host for scanners, everytme I ran sane (for instance sane --list-devices) produced a segmentation fault (after the Sun machine reported a connection from the other host). I decided to upgrade to the latest sane veion, so I uninstalled the RPM sane that came with my SuSE, downloaded, compiled and installed the latest sane-backends (which should be the same version the Sun machine has, since I installed it there only yesterday) and configured net.conf again. Now everytime I type scanimage I get no devices found. (or no scanners were identified...)
|
|
</EM><BR>
|
|
<EM>> Um... Help?
|
|
</EM><BR>
|
|
<EM>> The Sun does't have a mouse, so I can't try any UI other than scanimage, but I don't think it's scanimage's fault anyway.
|
|
</EM><BR>
|
|
<P>As I remember (long time ago that I used a Scanmaker II, so I can of
|
|
<BR>
|
|
course be wrong with this guess), the scanner is quite slow, especially
|
|
<BR>
|
|
with color scans. Perhaps you are getting a timeout for the first
|
|
<BR>
|
|
command needed for thew second pass. The parts of sanei_scsi.for BSD
|
|
<BR>
|
|
seems to use a timeout value for SCSI command of 1 minute, while Linux
|
|
<BR>
|
|
uses 10 minutes. Line 2294 of sanei_scsi.c (Sane 1.0.4, for USE ==
|
|
<BR>
|
|
BSD_INTERFAC) reads:
|
|
<BR>
|
|
<P> hdr.timeout = 60000; /* 1 minute timeout */
|
|
<BR>
|
|
<P><P>and line 2386 (for USE == FREEBSD_CAM_INTERFACE):
|
|
<BR>
|
|
<P> cam_fill_csio(&ccb->csio,
|
|
<BR>
|
|
/* retries */ 1,
|
|
<BR>
|
|
/* cbfncp */ NULL,
|
|
<BR>
|
|
/* flags */ ccb_flags,
|
|
<BR>
|
|
/* tag_action */ MSG_SIMPLE_Q_TAG,
|
|
<BR>
|
|
/* data_ptr */ (u_int8_t *)data_buf,
|
|
<BR>
|
|
/* dxfer_len */ data_len,
|
|
<BR>
|
|
/* sense_len */ SSD_FULL_SIZE,
|
|
<BR>
|
|
/* cdb_len */ cmd_size,
|
|
<BR>
|
|
/* timeout */ 60 * 1000);
|
|
<BR>
|
|
<P>So, if the Scanmaker II needs more than one minute for a command
|
|
<BR>
|
|
(perhaps the one to change the light filter), you will get an error
|
|
<BR>
|
|
under BSD (and also with many other operating systems supported by Sane
|
|
<BR>
|
|
that use too a timeout of 1 minute).
|
|
<BR>
|
|
<P>Abel
|
|
<BR>
|
|
<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:%20Microtek,%20Net,%20NetBSD&In-Reply-To=<3B12D58C.868CEC@gmx.net>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0414.html">Aristide Aragon: "Re: Microtek, Net, NetBSD"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0412.html">Tim Waugh: "Re: [parport] Use of inb/out in backends..."</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0400.html">Aristide Aragon: "Microtek, Net, NetBSD"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0414.html">Aristide Aragon: "Re: Microtek, Net, NetBSD"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0414.html">Aristide Aragon: "Re: Microtek, Net, NetBSD"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#413">[ date ]</A>
|
|
<A HREF="index.html#413">[ thread ]</A>
|
|
<A HREF="subject.html#413">[ subject ]</A>
|
|
<A HREF="author.html#413">[ 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>Mon May 28 2001 - 15:29:15 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|