[sane-devel] Question/Bug for button Scan Pixma
Louis Lagendijk
louis at fazant.net
Fri Apr 22 19:11:05 UTC 2016
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
More information about the sane-devel
mailing list