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.