[sane-devel] Canon MX 725 network problems
Rolf Bensch
rolf at bensch-online.de
Mon Aug 25 16:09:39 UTC 2014
Now with files ;-)
Am 25.08.2014 um 18:07 schrieb Rolf Bensch:
> However, it seems that your scanner needs more time for calibration now.
> Patch1 doubles wait time.
>
> If this won't help, we need to accept a new ready flag (command 'da20'
> normally is waiting for 0x01 in byte 8 of the response; now we also try
> to accept 0x02). For this I prepared patch2.
>
> If both patches won't help, you can reopen bug #314787. It's much easier
> to exchange log files via the bug tracker.
>
> Cheers,
> Rolf
>
>
>
> Am 23.08.2014 um 15:04 schrieb HelpHelp:
>> Hello Luis,
>>
>> this Problem occurred with xsane too.
>> The last logs I have put in the email, were made with xsane.
>>
>> Is that enough? Or do you need it with scanimage?
>> Regards
>>
>> On 23.08.2014 15:02, Louis Lagendijk wrote:
>>> On Fri, 2014-08-22 at 22:59 +0200, HelpHelp wrote:
>>>> Hello Louis,
>>>>
>>>> your were absolutely right. I tried it out with usb, and there it is
>>>> the
>>>> same. So it might be a problem
>>>> with the pixma driver in general.
>>>> Should I open a new bug report, or could we solve the problem here?
>>>>
>>>> you can find the logs here
>>>>
>>>> sane-usb:
>>>> https://dl.dropboxusercontent.com/u/12003240/logs/sane-usb.log
>>>> sane-lan:
>>>> https://dl.dropboxusercontent.com/u/12003240/logs/sane.network.log
>>>>
>>>> Thank you!
>>>>
>>>> Regards
>>> I had a look at the previous trace again. I wonder whether this is a
>>> backend problem or an issue with gscan2pdf. Can you reproduce the
>>> problem with scanimage?
>>>
>>> The reason I suspect gscan2pdf is that the exceptions it throws suggest
>>> that it may not yet be setup properly before you start a scan. Can you
>>> please test with scanimage?
>>> Maybe Rolf can have a look at the traces as well
>>> Thanks
>>> Louis
>>>
>>>
>>
>>
-------------- next part --------------
--- ./pixma_mp150.c 2014-08-25 17:46:17.861150594 +0200
+++ ../sane-backends/backend/pixma_mp150.c 2014-08-25 17:52:21.585953001 +0200
@@ -995,7 +995,7 @@
wait_until_ready (pixma_t * s)
{
mp150_t *mp = (mp150_t *) s->subdriver;
- int error, tmo = 60;
+ int error, tmo = 120;
RET_IF_ERR ((mp->generation >= 3) ? query_status_3 (s)
: query_status (s));
@@ -1198,7 +1198,9 @@
/* And exceptions to be added here */
if (s->cfg->pid == MP140_PID)
mp->generation = 2;
-
+
+ PDBG (pixma_dbg (3, "*mp150_open***** This is a generation %d scanner. *****\n", mp->generation));
+
/* TPU info data setup */
mp->tpu_datalen = 0;
-------------- next part --------------
--- ./pixma_mp150.c 2014-08-25 17:55:24.604253761 +0200
+++ ../sane-backends/backend/pixma_mp150.c 2014-08-25 17:55:34.691498526 +0200
@@ -427,7 +427,7 @@
mp150_t *mp = (mp150_t *) s->subdriver;
if (mp->generation >= 3)
{
- return ((mp->current_status[0] & 0x01) == 1);
+ return ((mp->current_status[0] & 0x01) == 1 || (mp->current_status[0] & 0x02) == 2);
}
if (mp->generation == 1)
{
More information about the sane-devel
mailing list