[sane-devel] Question/Bug for button Scan Pixma
Helmut Schiefer
Helmut at 4schiefer.de
Sat Apr 23 13:19:37 UTC 2016
Hello Louis,
thanks for changing this, now it works. It's a Pixma MG4250. I will
try to find scanbd in the internet and test your suggestion.
Thanks
Helmut
----- Message from Louis Lagendijk <louis at fazant.net> ---------
Date: Fri, 22 Apr 2016 21:11:05 +0200
From: Louis Lagendijk <louis at fazant.net>
Subject: Re: [sane-devel] Question/Bug for button Scan Pixma
To: sane-devel at lists.alioth.debian.org
> On Fri, 2016-04-22 at 20:48 +0200, Louis Lagendijk wrote:
>> On Fri, 2016-04-22 at 10:20 +0200, Helmut Schiefer wrote:
>> >
>> This may be related to the timing changes I made to the pixma network
>> code earlier this week. I works ok on my MB5050 but may be the casue
>> of
>> your problems:
>> please try to change the mimimum timing in
>> backende/pixma_bjnp_private.h on line 83:
>>
>> #define BJNP_BC_RESPONSE_TIMEOUT 500
>>
>> (500 msec) to a larger value, for example
>> #define BJNP_BC_RESPONSE_TIMEOUT 1000
>>
>> to make the timeout 1000 msec = 1 second
>> This may solve your issue.
>>
>> You did not tell us what scanner model you are using, so there may be
>> some other issues lurking in the backend proper (I had to fix the
>> button detection for my MB5050 to make the backend recognize the
>> buttons on that scanner).
>> Please note that to fully automate button controlled scanning you
>> will
>> need scanbd as well. Scanbd is a nice tool that continuously monitors
>> the buttons and starts a script to process and forward the scan
>> result
>> as required.
>>
>> Kind regards, Louis
>>
> Funny, I now managed to reproduce the problem with scanimage accessing
> the pixma backend directly. It worked before using scanbd.
> Increasing the minimum timeout to 1 sec indeed seems to fix it. I
> committed the change into git
>
> BR, Louis
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
----- End message from Louis Lagendijk <louis at fazant.net> -----
More information about the sane-devel
mailing list