sane-project-website/old-archive/2000-12/0232.html

275 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: Snapscan.... Help!</TITLE>
<META NAME="Author" CONTENT="John Coppens (jcoppens@linux2.uccor.edu.ar)">
<META NAME="Subject" CONTENT="Re: Snapscan.... Help!">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Snapscan.... Help!</H1>
<!-- received="Tue Dec 19 07:12:19 2000" -->
<!-- isoreceived="20001219151219" -->
<!-- sent="Tue, 19 Dec 2000 12:25:39 -0300" -->
<!-- isosent="20001219152539" -->
<!-- name="John Coppens" -->
<!-- email="jcoppens@linux2.uccor.edu.ar" -->
<!-- subject="Re: Snapscan.... Help!" -->
<!-- id="200012191525.MAA31674@linux2.uccor.edu.ar" -->
<!-- inreplyto="200012190423.BAA27952@linux2.uccor.edu.ar" -->
<STRONG>From:</STRONG> John Coppens (<A HREF="mailto:jcoppens@linux2.uccor.edu.ar?Subject=Re:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;"><EM>jcoppens@linux2.uccor.edu.ar</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Dec 19 2000 - 07:25:39 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0233.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0231.html">Jochen Eisinger: "Re: search engine for mail-archive..(here)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0225.html">John Coppens: "Re: Snapscan.... Help!"</A>
<!-- nextthread="start" -->
<LI><STRONG>Maybe reply:</STRONG> <A HREF="0222.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0233.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#232">[ date ]</A>
<A HREF="index.html#232">[ thread ]</A>
<A HREF="subject.html#232">[ subject ]</A>
<A HREF="author.html#232">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
A little more...
<BR>
<P>When scanning (after rebooting), the color option doesn't transfer the image. I does
<BR>
scan, but no actual data transfer takes place. This _does_ work under grayscale and
<BR>
line art. I also tried several resolutions. The progress bar in the small window doesn't
<BR>
even appear when colour is selected.
<BR>
<P>Another question... Should the preview be in color or in b/w (it's b/w here)
<BR>
<P>John
<BR>
<P>On Tue, 19 Dec 2000 01:20:34 -0300 John Coppens &lt;<A HREF="mailto:jcoppens@linux2.uccor.edu.ar?Subject=Re:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">jcoppens@linux2.uccor.edu.ar</A>&gt; wrote/El dddd&gt; Hi Chris!
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Thanks for the reply. This certainly pushed me in the right direction. I tried several combinations
</EM><BR>
<EM>&gt; of scanner/usbscanner in /dev and /dev/usb, but never hit on the correct one till your mail.
</EM><BR>
<EM>&gt; It wasn't enough though. I also had to edit manually scanimage.h to add the SNAPSCAN
</EM><BR>
<EM>&gt; 1212U_2 line. From then on things started to look up...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I tried a few scans - made a preview that came out monochrome (this normal?). Generally
</EM><BR>
<EM>&gt; the scanner seems to be slow. After hours of testing I did some social life for a while, when
</EM><BR>
<EM>&gt; I came back scanner was dead: I cannot use the 'sleep' button, and no programs run
</EM><BR>
<EM>&gt; anymore. Dmesg says:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; scanner.c: write_scanner: NAK recieved.
</EM><BR>
<EM>&gt; usb_control/bulk_msg: timeout
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; find-scanner hangs and times out after a minute or so. Same for other programs...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I rmmod and re-insmodded the scanner, no difference. Tried the same with usb-uhci,
</EM><BR>
<EM>&gt; and the scanner light went out/on/out, but still no action with the sane programs.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Suggestions?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; John
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Mon, 18 Dec 2000 16:56:25 -0500 <A HREF="mailto:cbagwell@sprynet.com?Subject=Re:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">cbagwell@sprynet.com</A> wrote/El dddd&gt; You might want to look for an email I sent out a while back on snapscan and USB gotchas.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Here are a few things about that again. If I ever get some free time, I'll clean up the USB code so its not such a problem.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; 1) Do not have a /dev/scanner link if your using USB. It just confuses to much of the current code.
</EM><BR>
<EM>&gt; &gt; 2) Make a symbolic link from /dev/usb/scanner0 to /dev/usbscanner (if your scanner is really at scanner0).
</EM><BR>
<EM>&gt; &gt; 3) Make sure you have modified your snapscan.conf file and have /dev/usbscanner listed in it.
</EM><BR>
<EM>&gt; &gt; 4) Do not run *scanimage from the backend directory (it will use the wrong snapscan.conf file).
</EM><BR>
<EM>&gt; &gt; 5) run scanimage with -d snapscan:/dev/usbscanner
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Part of the problem is that the device name /dev/usbscanner is hardcoded in parts of the scapscan USB driver. If thats not consistently used then you will see the &quot;... not in current list&quot; error.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Chris
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; <A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">sane-devel@mostang.com</A> wrote:
</EM><BR>
<EM>&gt; &gt; &gt; Thanks for replying Sebastien!
</EM><BR>
<EM>&gt; &gt; This is the debug log:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; on6jc:/usr/local/src/hardware/sane-1.0.3# scanimage -dsnapscan:/dev/usbscanner0
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of snapscan to 255.
</EM><BR>
<EM>&gt; &gt; [snapscan] sane_snapscan_init
</EM><BR>
<EM>&gt; &gt; [snapscan] add_device(/dev/usb/usbscanner0)
</EM><BR>
<EM>&gt; &gt; [snapscan] usb_open(/dev/usb/usbscanner0)
</EM><BR>
<EM>&gt; &gt; [snapscan] add_device: error opening device /dev/usb/usbscanner0: Invalid argument
</EM><BR>
<EM>&gt; &gt; [snapscan] add_device(option connect-device)
</EM><BR>
<EM>&gt; &gt; [snapscan] usb_open(option connect-device)
</EM><BR>
<EM>&gt; &gt; [snapscan] add_device: error opening device option connect-device: Invalid argument
</EM><BR>
<EM>&gt; &gt; [snapscan] sane_snapscan_open (/dev/usbscanner0, 0xbffff250)
</EM><BR>
<EM>&gt; &gt; [snapscan] find_device
</EM><BR>
<EM>&gt; &gt; [snapscan] sane_snapscan_open: device &quot;/dev/usbscanner0&quot; not in current device list.
</EM><BR>
<EM>&gt; &gt; scanimage: open of device snapscan:/dev/usbscanner0 failed: Invalid argument
</EM><BR>
<EM>&gt; &gt; [snapscan] sane_snapscan_exit
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; On 18 Dec 2000 18:53:53 +0100 Sebastien Sable wrote/El dddd&gt; John Coppens writes:
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Hi...
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; I'm near desperation. Also, I'm frustrated, as everything seems to be ok, still
</EM><BR>
<EM>&gt; &gt; &gt; &gt; I cannot scan.
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; Have you tried snapscan last version?
</EM><BR>
<EM>&gt; &gt; &gt; <A HREF="http://snapscan.sourceforge.net">http://snapscan.sourceforge.net</A>
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; what about:
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; export SANE_DEBUG_SNAPSCAN = 255
</EM><BR>
<EM>&gt; &gt; &gt; xscanimage
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; --
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; --
</EM><BR>
<EM>&gt; &gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; &gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">majordomo@mostang.com</A>
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; --
</EM><BR>
<EM>&gt; &gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; &gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">majordomo@mostang.com</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</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:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><P><PRE>
--
<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:%20Snapscan....%20Help!&In-Reply-To=&lt;200012191525.MAA31674@linux2.uccor.edu.ar&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0233.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0231.html">Jochen Eisinger: "Re: search engine for mail-archive..(here)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0225.html">John Coppens: "Re: Snapscan.... Help!"</A>
<!-- nextthread="start" -->
<LI><STRONG>Maybe reply:</STRONG> <A HREF="0222.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0233.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#232">[ date ]</A>
<A HREF="index.html#232">[ thread ]</A>
<A HREF="subject.html#232">[ subject ]</A>
<A HREF="author.html#232">[ 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 Dec 19 2000 - 07:13:44 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>