Am Donnerstag, 8. September 2005 17:40 schrieb Henning Meier-Geinitz:
> Hi,
>
> On Thu, Sep 08, 2005 at 03:36:44PM +0200, Mario Goppold wrote:
> > i've work on a patch to support duplex scan with the scanimage frontend.
> > The patch also implements a progress info for use with externel programs
> > (like dialog o.s.).
> > It works since backend-1.0.8 with several FUJITSU backends but i think it
> > is backend independent. The patch is actually against backend-1.0.15.
> >
> > I've mailed the patch to Andreas Beck but he isn't the maintainer for
> > scanimage.c anymore.
> >
> > Is there anyone interested in this patch?
>
> If it's smaller than 50 kb (gzipped), please send it to this list.
> Otherwise, could you place it somewhere on the web and send a link?
>
> Thanks,
>   Henning

Ok, here it is ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-backends-1.0.15-scanimage.dif
Type: text/x-diff
Size: 10610 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050909/57f11c56/sane-backends-1.0.15-scanimage-0001.bin
From [email protected]  Fri Sep  9 08:17:54 2005
From: [email protected] (Gerhard Jaeger)
Date: Fri Sep  9 08:18:08 2005
Subject: Bug#327043: [sane-devel] LiDE 25 issues
In-Reply-To: <[email protected]>
References: <[email protected]>
        <[email protected]>
        <[email protected]>
Message-ID: <[email protected]>

Hi, 

On Thursday 08 September 2005 18:46, Julien BLACHE wrote:
> Rogier Wolff <[email protected]> wrote:
> > One of you needs to help me a bit in how to easily and quickly compile
> > and test a new version.
> >
> > I have the debian sources in ~/xxx/sane-backends-1.0.16 and when I
> > typed something like "debbuild" I got a libsane_1.0.16-1_i386.deb
> > . However, I have the impression that if I go and change a source file
> > in there, and do the "debbuild" again, it will untar and patch the
>
> debuild builds the sources it finds in the current directory, and
> doesn't proceed to untarring + patching the sources, so your
> modifications are safe.
>
> > source files again, and undo my changes. Moreover, the build takes
> > quite a while, even though I have a reasonably powerful
> > workstation. So I would like to do "make" somewhere, so that "make"
>
> You can edit debian/rules and add BACKENDS=plustek just before
> ./configure (on the same line). Only the plustek backend will be
> built, which will considerably speed up the build :)
>
> > will figure out that only backends/plustek-usb.c has been changed, and
> > that it only needs to rebuild from there. I'm happy then manuall
> > copying over the ".so" file into my system directory.
>
> cd backend && make ;) Be aware that most backends #include other .c
> files, and the Makefiles currently don't take that into account. In
> this case, you need to manually touch the main source file for the
> backend (plustek.c in this case).
>
> > Tell me which parameters are most likely to need tweaking....
>
> I'll leave that part up to Gerhard :)

he,he...

I'm currently in a hurry (have to paint my new house, do some other "real"
work before moving next saturday), but let's try to give some instructions:

find the file plustek-usbdevs.c
find the entries for LiDE25 (static HWDef Hw0x04A9_0x2220 around line 2308
and the masterclock divider settings for various scan resolutions:
MODEL_CANON1200, 8, 51, 3, around line 2575 ).

- you might want to tweak the overall maxMotorSpeed and/or maxMoveSpeed
- or you check first which resolutions didn't work correctly and tweak the
  mclk for this resolution.
- always try to scan somewhere in the middle of the area to check that the
  movement works
- for these tests you might want to use calibration-cache to speed up the
  show a bit

NOTE: before compiling, always do a touch backend/plustek.c to make sure
      the backend gets compiled...

I hope I'll find some time to recheck your efforts/questions the next days.
Please be patient with me, I hope to be really online again in late
september...

Good luck
Gerhard

Reply via email to