sane-project-website/old-archive/2001-04/0280.html

314 wiersze
9.9 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: EPSON 640U</TITLE>
<META NAME="Author" CONTENT="tateopfr@tin.it (tateopfr@tin.it)">
<META NAME="Subject" CONTENT="Re: EPSON 640U">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: EPSON 640U</H1>
<!-- received="Thu Apr 26 10:40:29 2001" -->
<!-- isoreceived="20010426174029" -->
<!-- sent="Thu, 26 Apr 2001 19:53:20 +0200" -->
<!-- isosent="20010426175320" -->
<!-- name="tateopfr@tin.it" -->
<!-- email="tateopfr@tin.it" -->
<!-- subject="Re: EPSON 640U" -->
<!-- id="3AE86090.8CFBB47E@tin.it" -->
<!-- inreplyto="20010426132625.233593F912@specht.khk.net" -->
<STRONG>From:</STRONG> <A HREF="mailto:tateopfr@tin.it?Subject=Re:%20EPSON%20640U&In-Reply-To=&lt;3AE86090.8CFBB47E@tin.it&gt;"><EM>tateopfr@tin.it</EM></A><BR>
<STRONG>Date:</STRONG> Thu Apr 26 2001 - 10:53:20 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0281.html">Florian Friesdorf: "snapscan 1212U (not _2), Floating Point Exception"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0279.html">Victor: "Re: Problems with xsane &amp; scanner"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#280">[ date ]</A>
<A HREF="index.html#280">[ thread ]</A>
<A HREF="subject.html#280">[ subject ]</A>
<A HREF="author.html#280">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi, Karl
<BR>
<P>I have done and it works !!!
<BR>
<P>bye bye
<BR>
<P>Pierfrancesco Tateo
<BR>
<P>Karl Heinz Kremer wrote:
<BR>
<P><EM>&gt; You have to recompile the Sane package sane-backends-1.0.4
</EM><BR>
<EM>&gt; on your system. I am not familiar with Mandrake, so I can
</EM><BR>
<EM>&gt; not tell you exactly what you have to do.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I know that Mandrake is based on RPMs, so you should be able
</EM><BR>
<EM>&gt; to find the source RPM for Sane and install and build it with
</EM><BR>
<EM>&gt; the new backend from my site.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I would do it this way:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; - install source RPM
</EM><BR>
<EM>&gt; - build the sytem once using the rpm -ba &lt;path_to_sane_spec_file&gt;
</EM><BR>
<EM>&gt; - go to /usr/src/package/BUILD/sane-.../backends and replace the
</EM><BR>
<EM>&gt; epson.c and epson.h files with the ones from the from my web site
</EM><BR>
<EM>&gt; (<A HREF="http://www.freecolormanagement.com/sane">http://www.freecolormanagement.com/sane</A>)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Then just do a make in the backends directory. This will rebuild
</EM><BR>
<EM>&gt; just the EPSON backend. You can find the new one in the .libs directory.
</EM><BR>
<EM>&gt; Just copy the file .libs/libsane-epson.so.1.0.4 to the Sane library
</EM><BR>
<EM>&gt; directory (probably /usr/lib/sane).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Karl Heinz
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; <A HREF="mailto:tateopfr@tin.it?Subject=Re:%20EPSON%20640U&In-Reply-To=&lt;3AE86090.8CFBB47E@tin.it&gt;">tateopfr@tin.it</A> said:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; Hi, Karl
</EM><BR>
<EM>&gt; &gt; I'm testing using Mandrake 8.0 - libsane-epson.so.1.0.4
</EM><BR>
<EM>&gt; &gt; original library is of 76952 bytes 4 gen 2001
</EM><BR>
<EM>&gt; &gt; so is not updated
</EM><BR>
<EM>&gt; &gt; I downloaded libsane-epson.so.1.0.4.tar.gz
</EM><BR>
<EM>&gt; &gt; But how to build updated library ?
</EM><BR>
<EM>&gt; &gt; Can you send me instructions to compile or a binary version ( 586, 686 ) ?
</EM><BR>
<EM>&gt; &gt; I found a binary version of 82722 bytes ( some week ago and I forgot from
</EM><BR>
<EM>&gt; &gt; where )
</EM><BR>
<EM>&gt; &gt; but no solution
</EM><BR>
<EM>&gt; &gt; always : PREMATURE AND OF FILE
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Best regards
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Pierfrancesco Tateo
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Karl Heinz Kremer wrote:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; In your last mail you reported that this also happens with
</EM><BR>
<EM>&gt; &gt; &gt; my backend version dated 2001-03-31. I released this version
</EM><BR>
<EM>&gt; &gt; &gt; actually to fix this problem. The Perfection610/640 needs some
</EM><BR>
<EM>&gt; &gt; &gt; re-ordering of scan lines, which results in dropped lines at the
</EM><BR>
<EM>&gt; &gt; &gt; top and bottom of a scan. In older versions I got the number
</EM><BR>
<EM>&gt; &gt; &gt; of lines to drop wrong, the 3/31 version fixes this - at least
</EM><BR>
<EM>&gt; &gt; &gt; for the Perfection610. I don't have access to a 640, but so
</EM><BR>
<EM>&gt; &gt; &gt; far they proofed to be very similar.
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; Can you please verify that the problem does show up with the
</EM><BR>
<EM>&gt; &gt; &gt; latest version.
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; Thanks,
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; Karl Heinz
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; On Thu, Apr 26, 2001 at 10:49:36AM +0200, <A HREF="mailto:tateopfr@tin.it?Subject=Re:%20EPSON%20640U&In-Reply-To=&lt;3AE86090.8CFBB47E@tin.it&gt;">tateopfr@tin.it</A> wrote:
</EM><BR>
<EM>&gt; &gt; &gt; &gt; anthony coates wrote:
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; i have just bought this scanner and i can not get that far i can not
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; even scan
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; enything when i debug epson=255 scanimage -L
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; i get pnmo is a no name pnm file reader virual device and
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; i get pnm1 is a no name pnm file reader virtual device
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; what am i doing wrong if you could drop me a line i would be grateful
</EM><BR>
<EM>&gt; &gt; &gt; &gt; &gt; thanks---tony
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 1) I have used distribution with usb support : kernel &gt;= 2.2.18,
</EM><BR>
<EM>&gt; &gt; &gt; &gt; slackware 7.1, Mandrake 7.2 and 8.0
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 2) enable usb support test : ls /proc/bus/usb
</EM><BR>
<EM>&gt; &gt; &gt; &gt; give you : 001/ 002/ devices driver
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 3) cat /proc/bus/usb/devices
</EM><BR>
<EM>&gt; &gt; &gt; &gt; tell you with scanner connected to USB ( normally at the end ) :
</EM><BR>
<EM>&gt; &gt; &gt; &gt; vendor = 0x4b8 product=0x10c
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Perfection 640
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 4) lsmod to see if the module : scanner is loaded
</EM><BR>
<EM>&gt; &gt; &gt; &gt; if not you should type :
</EM><BR>
<EM>&gt; &gt; &gt; &gt; modprobe scanner vendor=0x4b8 product=0x10c
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 5) you must have device definition : /dev/usb/scanner0
</EM><BR>
<EM>&gt; &gt; &gt; &gt; to create it : mknod /dev/usbscanner0 c 180 48
</EM><BR>
<EM>&gt; &gt; &gt; &gt; chmod 666 /dev/usb/scanner0 ( max global permission depend on you
</EM><BR>
<EM>&gt; &gt; &gt; &gt; )
</EM><BR>
<EM>&gt; &gt; &gt; &gt; you can create a general link : ln -s /dev/usb/scanner0
</EM><BR>
<EM>&gt; &gt; &gt; &gt; /dev/usbscanner
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 6) you should have /etc/sane.d/epson.conf ( location depends on
</EM><BR>
<EM>&gt; &gt; &gt; &gt; distribution )
</EM><BR>
<EM>&gt; &gt; &gt; &gt; enable at the and of this file : /dev/usbscanner
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; 7) you are ready :
</EM><BR>
<EM>&gt; &gt; &gt; &gt; scanimage -d epson --mode gray &gt; gray.pnm : 10-20 second
</EM><BR>
<EM>&gt; &gt; &gt; &gt; and scanner start
</EM><BR>
<EM>&gt; &gt; &gt; &gt; scanimage -d epson --mode color &gt; color.pnm :
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; or more flexible and with preview : xscanimage
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; in both cases ( scanimage and xscanimage )
</EM><BR>
<EM>&gt; &gt; &gt; &gt; opening generated color files with
</EM><BR>
<EM>&gt; &gt; &gt; &gt; GIMP ( other programs give error too )
</EM><BR>
<EM>&gt; &gt; &gt; &gt; show a messagge : PREMATURE END OF FILE
</EM><BR>
<EM>&gt; &gt; &gt; &gt; and is not possible to see.
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Best regards
</EM><BR>
<EM>&gt; &gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; &gt; Pierfrancesco Tateo
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; ------------------------------------------------------------------------
</EM><BR>
<EM>&gt; &gt; &gt; Part 1.2Type: application/pgp-signature
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</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:%20EPSON%20640U&In-Reply-To=&lt;3AE86090.8CFBB47E@tin.it&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0281.html">Florian Friesdorf: "snapscan 1212U (not _2), Floating Point Exception"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0279.html">Victor: "Re: Problems with xsane &amp; scanner"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#280">[ date ]</A>
<A HREF="index.html#280">[ thread ]</A>
<A HREF="subject.html#280">[ subject ]</A>
<A HREF="author.html#280">[ 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>Thu Apr 26 2001 - 10:42:13 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>