[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-05-02 Thread Rolf Bensch
Hi Matthias, Am 02.05.2014 18:40, schrieb Matthias Peter Walther: > [...] > > But I think there are still issues. I scanned 3 pages. And if I cause a > paper input error for example by holding it back with my hand, I can > press cancel and OK on the scanner, restart scanimage and it will work. >

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-05-02 Thread Matthias Peter Walther
Hello Rolf, I'm sorrry, that this took so long time, but I replaced my pc and restarted from zero. That's why I used the wrong library version last time. But I think there are still issues. I scanned 3 pages. And if I cause a paper input error for example by holding it back with my hand, I can pr

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-04-21 Thread Rolf Bensch
Hi Matthias, You don't use lastest Sane code. "[pixma] pixma version 0.17.0" should be "[pixma] pixma version 0.17.6"! Please check your installation (as described in README.linux). Cheers, Rolf Am 21.04.2014 16:23, schrieb Matthias Peter Walther: > Hallo Rolf, > > I'm sorry I couldn't answer

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-04-21 Thread Matthias Peter Walther
Hallo Rolf, I'm sorry I couldn't answer earlier. That patch screwed it, no scans possible. Gr??e Matthias On 03.04.2014 20:47, Rolf Bensch wrote: > Hi All, > > It seems that ADF out of paper issue is fixed now. > > Please test attached final patch, which is based on latest git sources. > > Plea

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-04-03 Thread Rolf Bensch
Hi All, It seems that ADF out of paper issue is fixed now. Please test attached final patch, which is based on latest git sources. Please confirm that this patch fixes ADF out of paper issue for your particular scanner. I'll commit this patch and some document updates after your confirmation.

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-04-02 Thread Matthias Peter Walther
Hello Rolf, here the requested logfile. Bye Matthias On 26.03.2014 17:22, Rolf Bensch wrote: > Hi Matthias, > > I prepared a patch for the "stopped the 2nd paper by hand" issue. The > patch is based on patch4. > > Please revert this patch: pixma_common.c.patch4. With this patch my > system has t

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-26 Thread Rolf Bensch
Hi Matthias, I prepared a patch for the "stopped the 2nd paper by hand" issue. The patch is based on patch4. Please revert this patch: pixma_common.c.patch4. With this patch my system has too fast timeouts, and without this patch the timeouts take 1 sec. Please try to fix this by yourself. On the

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-23 Thread Matthias Peter Walther
Hello Rolf, I created three more logs. And the timeouts are not fixed. In fact it's gotten even worse, scanimage is captured in an (infinite(?)) loop of timeouts of which each loop takes several minuites. Watch log "3rd_try". Bye Matthias On 21.03.2014 18:21, Rolf Bensch wrote: > Hi Matthias, >

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-21 Thread Rolf Bensch
Hi Matthias, I need a new log file for this issue: >>> And in the debug level 11 Iog I stopped the 2nd paper by hand. >>> Scanner and sane aborts. But after removing the paper and pressing >>> ok on the device, nothing happens anymore. and the 2nd patch is for this issue: >>> By the way. The ti

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-21 Thread Matthias Peter Walther
Hello, I'm not sure if I did this right. I installed the two patches shipped with your last email and used this command: $ export SANE_DEBUG_PIXMA=11 $ scanimage -x 100 -y 100 > test.png 2> Scanimage_Debug_11_patch1+2+3new+4+Pressed_cancel_after_device_started.txt After the scanner started, I pr

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-20 Thread Rolf Bensch
Hi Matthias, Please don't mix different testings in one log file and at the same time. Please keep them in mind and let us go step by step. I assume that "normal" ADF scanning works with new patch 3. Am 19.03.2014 19:46, schrieb Matthias Peter Walther: > > Standard debug level 4 scan, the last

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-19 Thread Rolf Bensch
Hi, Am 19.03.2014 00:12, schrieb Matthias Peter Walther: > Hallo Rolf, > > that one screwed it. The scanner scans the first page, starts loading > the second one and aborts. See the attached log. I inserted 3 papers as > usual. > This was my fault. Please try attached patch as replacement for

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-19 Thread Matthias Peter Walther
Hallo Rolf, that one screwed it. The scanner scans the first page, starts loading the second one and aborts. See the attached log. I inserted 3 papers as usual. The image size is 638x1050 (standard resolution, I think that is 75 or 150(?)). The image is in relation much higher than wide as a stan

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-18 Thread Rolf Bensch
Hi, Am 18.03.2014 00:16, schrieb Matthias Peter Walther: > > scan passes through, and it is possible to do multiple scans in a row. > Also tested with resolution 300. > This is a good message. > Two issues: > > - image is too width (binary detects page width somehow automatically) It seems

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-17 Thread Rolf Bensch
Hi, As you can see on the log file, the backend doesn't start a new scan after page 3 has been scanned. Due to this the scanner cannot handle the scan commands and a timeout raises. I prepared a patch with a new adf state variable. This patch is based on the latest git sources and patch1. Please

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-17 Thread Matthias Peter Walther
Hello All, I had some trouble to apply the new patch, but Rolf helped me to fix it. Here comes the result with git + patch pixma_mp150.c.patch1, 3 pages in ADF. It works correct, but the timeout at the end acts weird. In the log it counts down 8 7 6...but between each line it pauses around 15-20

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-15 Thread Rolf Bensch
Hi All, Now we have Matthias on board with his MX375. Please don't use the old patches. I started changing code in pixma.c where we might get problems with other scanners, e.g. with the Imageclass sub-backend. So, we should find a fix which affects pixma_mp150.c only. We should start at the begi

[sane-devel] Canon MX430 / MX510 / MX925 - does not recover when ADF out of paper

2014-03-01 Thread Rolf Bensch
Hi All, Now we have 3 threads active in the mailing list with the same ADF empty issue. We should bundle debugging in this new thread. The bug affects MX430, MX510, MX925 and all other ADF scanners in the Pixma MP150 backend. Everybody who likes to join debugging should start to understand the s