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

131 wiersze
5.3 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! (a few extra data)</TITLE>
<META NAME="Author" CONTENT="John Coppens (jcoppens@linux2.uccor.edu.ar)">
<META NAME="Subject" CONTENT="Re: Snapscan.... Help! (a few extra data)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Snapscan.... Help! (a few extra data)</H1>
<!-- received="Wed Dec 20 06:58:06 2000" -->
<!-- isoreceived="20001220145806" -->
<!-- sent="Wed, 20 Dec 2000 12:12:02 -0300" -->
<!-- isosent="20001220151202" -->
<!-- name="John Coppens" -->
<!-- email="jcoppens@linux2.uccor.edu.ar" -->
<!-- subject="Re: Snapscan.... Help! (a few extra data)" -->
<!-- id="200012201511.MAA10012@linux2.uccor.edu.ar" -->
<!-- inreplyto="Springmail.105.977247363.0.82695700@www.springmail.com" -->
<STRONG>From:</STRONG> John Coppens (<A HREF="mailto:jcoppens@linux2.uccor.edu.ar?Subject=Re:%20Snapscan....%20Help!%20(a%20few%20extra%20data)&In-Reply-To=&lt;200012201511.MAA10012@linux2.uccor.edu.ar&gt;"><EM>jcoppens@linux2.uccor.edu.ar</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Dec 20 2000 - 07:12:02 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0238.html">Oliver Rauch: "Re: xsane-win32 0.67 and copy mode works"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0236.html">John Coppens: "Re: Snapscan.... Help!"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0233.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<!-- nextthread="start" -->
<LI><STRONG>Reply:</STRONG> <A HREF="0239.html">Steve Underwood: "Re: Snapscan.... Help! (a few extra data)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#237">[ date ]</A>
<A HREF="index.html#237">[ thread ]</A>
<A HREF="subject.html#237">[ subject ]</A>
<A HREF="author.html#237">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Chris.
<BR>
<P>A few (possibly) hints...
<BR>
<P>I've been checking the debug log and found a few strange things.
<BR>
<P>- Says buffer is size = 31725 bytes, 55 lines. At 1269 bytes/lines this
<BR>
can't be (should be 25). I checked the source code and found:
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;DBG (DL_DATA_TRACE,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;%s: effective buffer size = %lu bytes, %lu lines\n&quot;,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;me,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(u_long) pss-&gt;buf_sz,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(u_long) (pss-&gt;buf_sz ? pss-&gt;buf_sz / pss-&gt;lines : 0));
<BR>
<P>&nbsp;&nbsp;I suppose this should be / pss-&gt;bytes_per_line
<BR>
<P>- A bit before that, it says : set_window: bits-per-pixel set to 30
<BR>
<P>&nbsp;&nbsp;How can this result in 3 bytes/pixel afterwards? I couldn't find
<BR>
how the extra 2 bits (*3) are sent... Are they packed in another block?
<BR>
<P>- The 'sleep' button doesn't work after using xsane... The light does
<BR>
&nbsp;&nbsp;switch off after some 10-15 mins.
<BR>
<P>- Changing the buffer size gives a Segmentation error (when scanning
<BR>
fullsize. Preview works though). Tested size was 33000.
<BR>
<P>Cheers
<BR>
<P>John
<BR>
<P>On Tue, 19 Dec 2000 12:36:03 -0500 <A HREF="mailto:cbagwell@sprynet.com?Subject=Re:%20Snapscan....%20Help!%20(a%20few%20extra%20data)&In-Reply-To=&lt;200012201511.MAA10012@linux2.uccor.edu.ar&gt;">cbagwell@sprynet.com</A> wrote/El dddd&gt; Have you downloaded and installed the snapscan driver from
<BR>
<EM>&gt; sourceforge? It corrects a few known color-scanning issues.
</EM><BR>
<EM>&gt; <A HREF="http://sourceforge.net/projects/snapscan">http://sourceforge.net/projects/snapscan</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Also, you might try changing the snapscan.h file to different
</EM><BR>
<EM>&gt; types of scanners for your 1212U (ie, tell its a SNAPSCAN300
</EM><BR>
<EM>&gt; or a SNAPSCAN600 or a PRISA640, etc).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Chris
</EM><BR>
<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!%20(a%20few%20extra%20data)&In-Reply-To=&lt;200012201511.MAA10012@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="0238.html">Oliver Rauch: "Re: xsane-win32 0.67 and copy mode works"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0236.html">John Coppens: "Re: Snapscan.... Help!"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0233.html">cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"</A>
<!-- nextthread="start" -->
<LI><STRONG>Reply:</STRONG> <A HREF="0239.html">Steve Underwood: "Re: Snapscan.... Help! (a few extra data)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#237">[ date ]</A>
<A HREF="index.html#237">[ thread ]</A>
<A HREF="subject.html#237">[ subject ]</A>
<A HREF="author.html#237">[ 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>Wed Dec 20 2000 - 07:01:34 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>