[sane-devel] Epson Perfection 2450 and Transparency Unit
John Cotter
john.cotter at phonecoop.coop
Tue Apr 28 08:08:16 UTC 2009
Hello,
Can you please take me off your distribution list manually? I get about 30
of these per day. The unsubscribe option below does not seem to be working
fully. Regards John
John Cotter
Lowestoft
Suffolk
United Kingdom
-----Original Message-----
From: sane-devel-bounces+john.cotter=phonecoop.coop at lists.alioth.debian.org
[mailto:sane-devel-bounces+john.cotter=phonecoop.coop at lists.alioth.debian.or
g] On Behalf Of Marc Deslauriers
Sent: 22 April 2009 21:25
To: perelet at yahoo.com
Cc: sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Epson Perfection 2450 and Transparency Unit
On Wed, 2009-04-22 at 10:47 -0700, Oleg Perelet wrote:
> I had to change couple of places in epson2 driver to make it work on
> Epson v700 with transparency unit. One of them is timeout on warm up
> and other with TPU detection.
>
> Your log looks like warm up timeout (maybe not), bellow are fixes that
> worked for me.
>
> There are few places in code that check explicitly for model name:
>
> In your log internal name for 2450 name is:
> [epson2] model name : GT-9700
>
> In my case for v700
> [epson2] model name : GT-X900
>
> I do not do CVS (neither do active development, just use sane), bellow
> fixes that I had to do. You can just go manually over epson2.c code and
add
> || e2_model(s, "GT-9700") to few "if"s in the code.
>
>
> diff epson2.c org/epson2.c.org
> 743d742
> < * - Epson Perfection v700 Photo / GT-X900
> 755c754
> < || e2_model(s, "GT-X700") || e2_model(s, "GT-X900")) {
> ---
> > || e2_model(s, "GT-X700")) {
> 1041c1040
> < if (e2_model(s, "GT-X800") || e2_model(s, "GT-X900")) {
> ---
> > if (e2_model(s, "GT-X800")) {
> 3873c3872
> < if (e2_model(s, "GT-X800") || e2_model(s, "GT-X900")) {
> ---
> > if (e2_model(s, "GT-X800")) {
>
>
Thank you Oleg! That did the trick! My Transparency Adapter is now working.
This is the patch that works for me:
diff -urNad sane-backends-1.0.19~/backend/epson2.c
sane-backends-1.0.19/backend/epson2.c
--- sane-backends-1.0.19~/backend/epson2.c 2009-04-22
14:26:02.000000000
-0400
+++ sane-backends-1.0.19/backend/epson2.c 2009-04-22
14:27:47.000000000
-0400
@@ -3845,7 +3845,7 @@
* Scanner sometimes report "Fatal error" in status in
informationblock when
* lamp warm up. Solution send FS G one more time.
*/
- if (e2_model(s, "GT-X800")) {
+ if (e2_model(s, "GT-X800") || e2_model(s, "GT-9700")) {
SANE_Status status2;
DBG(1, "%s: Epson Perfection 4990 lamp warm up problem \n",
Marc.
--
sane-devel mailing list: sane-devel at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-request at lists.alioth.debian.org
More information about the sane-devel
mailing list