Jens Luedicke schrieb:
> On 8/15/05, Pierre Willenbrock <pie...@pirsoft.dnsalias.org> wrote:
> 
>>Hi
>>
>>[proposed changes to slope generation]
>>
>>I attached the code i am using.
>>
> 
> Could you create a patch for use with current CVS?
> 
> I tried to apply your code, but some things don't work out for me and
> I'm not a developer and not familiar with the API + changes.
> 

With anonymous cvs working again i can now provide a patch against
current cvs.

genesys_slope.diff.gz (gzipped) contains the changes to slope
generation(against current cvs).

If you want to test on a gl646 based scanner, you will probably need to
(largely) tweak the values in the motor structs in genesys_devices.c to
get it to work(if you get it to work at all, the exposure time and
assumed step count in gl646 code may be completely wrong).
I was unable to derive good numbers from the code alone. All step times
are for full steps, even when used for half or quarter step mode. The
code currently does the needed shifting for times and step count.
I did not change anything inside genesys_gl646.c, mainly because i do
not own a scanner with this chip.

The attached code in my last mail was not meant to be complete, i
attached it for clarification.

For a partly working Canon LiDE 35 you will need to apply
genesys_gl841.diff.gz (gzipped) to experimental cvs. The patch already
contains the slope generation code. Only color mode is working
currently. And not even bugfree.

Regards,
  Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genesys_slope.diff.gz
Type: application/x-gzip
Size: 3980 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050819/a3ddd7f8/genesys_slope.diff-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genesys_gl841.diff.gz
Type: application/x-gzip
Size: 31784 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050819/a3ddd7f8/genesys_gl841.diff-0001.bin
From kenwh...@21cn.com  Fri Aug 19 10:29:15 2005
From: kenwh...@21cn.com (kenwhale)
Date: Fri Aug 19 02:36:32 2005
Subject: [sane-devel] About dll backend
In-Reply-To: <yb949180976987.16...@receive3.inner-21cn.com>
References: <yb949180976987.16...@receive3.inner-21cn.com>
Message-ID: <4305b47b.60...@21cn.com>

 >>Nicer (and the default) is the case where the dll backend is linked as
 >>a shared library to the frontend and the dll backend loads backends
 >>with dlopen (on demand). This way you just have to add your backend
 >>library to /usr/lib/sane (or whereever it's found) and add the name of
 >>your backend to dll.conf.
 >>Bye,
 >>  Henning
        So,Is there any dll backend I can link to?Or I need write it myself?
        If there are some dll backend which can open all available backends on 
runtime,how can they do this ? Open every backend and call it's 
sane_get_devices() ?
        Thanks a lot.....

Reply via email to