[sane-devel] LIDE 60. configure scanning prefs?
Ben Green
greenb1 at mac.com
Fri Feb 11 21:12:45 UTC 2011
Allan, Thanks very much - Following is a lot of "How to" questions?
I can't try any of this now as I have to go to work - but I'll try these suggestions later tonight -
Just to clarify (here's my programming prowess coming to the fore!) -
This is all done in terminal (not sane prefs?) --
How do I open this file : backend/genesys_devices.c ?
once i see this file - it might make it all more clear for me..
How do I set GENESYS_FLAG_NO_CALIBRATION?
How do I remove existing flags?
and how do I rebuild the backend?
once this is done, I can scan again from the TWAIN-SANE interface (without calibration)? as this code will affect the actual backend coding is that correct?
ALso - if i screw it all up, can i re-insall and start again?
Thanks a million for your help -- I'm never sure if these things work, but there's only one way to find out ..
Cheers
Ben
On 11 Feb 2011, at 20:46, m. allan noah wrote:
> I did a bit of digging in the source, and it appears that you could
> set GENESYS_FLAG_NO_CALIBRATION in the Lide60 entry in
> backend/genesys_devices.c (along with removing the existing
> calibration flags), and rebuild sane-backends. That should bypass the
> calibration code.
>
> allan
>
> On Fri, Feb 11, 2011 at 3:34 PM, m. allan noah <kitno455 at gmail.com> wrote:
>> On Fri, Feb 11, 2011 at 3:18 PM, Ben Green <greenb1 at mac.com> wrote:
>>> Fair enough Allan, it's not much use just putting out vague questions really
>>
>> <snip>
>>
>>> i'm sure its still possible, i just need to find the way!!
>>
>> You have no clue how to use the command line or write code, yet you
>> are sure this scanner is suitable :)
>>
>> Many scanners do the calibration automatically, and will choke when
>> you gut them like this. Fortunately, the Genesys chips require the
>> software to initialize the calibration, so it should be possible to
>> bypass that. Unfortunately, the data will look bad. You really need to
>> do a scan with the assembled scanner, and cache the calibration
>> values, like genesys backend does for ADF machines. Then you could
>> re-use that calibration data.
>>
>> You might have to hack some code to make these things happen.
>>
>> allan
>> --
>> "The truth is an offense, but not a sin"
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
More information about the sane-devel
mailing list