Re: [sane-devel] scanbd occasionally ignores scanner button presses

2014-05-17 Thread Milan Knížek
Hallo Wilhelm,

Wilhelm píše v Pá 16. 05. 2014 v 14:08 +0200:
 Hi Milan,
 
 Am 16.05.2014 09:38, schrieb Milan Knížek:
  
  I have yet to confirm it by further testing, but it seems that I can
  trigger the stale status of the scanbd by repeatedly pressing the
  scanner button (e.g. the PDF merge button, which does not really scan
  anything) in a quick sequence.
  

Well, it seems I can reproduce it reliably by repeatedly pressing a
button on my CanoScan 9000F before the child (action) process exits. I
do not have access to another scanner to test if this is a common
behaviour or not.
  
  Is there any SIGNAL I could send to scanbd process to refresh itself
  without the need to restart scanbd.service?
 
 Try to send SIGUSR1 to stop all polling and then SIGUSR2 to restart all
 polling.

The signals were caught by the process and it responded as described,
however, it did not resolve the bug.

I will report this behaviour in the Discussion forum of
Sourceforge.net / scanbd so that it does not get lost.

regards,
Milan


-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] Pixma: ADF paper empty patch for Canon Pixma MX???

2014-05-17 Thread Matthias Peter Walther
Hallo Rolf,

I'm sorry, I couldn't reply earlier. I had some issues with my pc, hdd
crash.

I pulled the patch from the git and I can't get higher resolutions than
75 anymore while using the ADF. It resets the resolution back to 75 all
the time.

But the out-of-paper issues works great and the scaner recovers
perfectly from the error state now.

Could you look into that resolution issue please?

===
$ scanimage --resolution 300 --batch=test%02db.pnm --source Automatic
Document Feeder
[sanei_debug] Setting debug level of pixma to 4.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.8
[pixma] pixma_collect_devices() found Canon PIXMA MX370 Series at
libusb:001:008
[pixma] pixma_find_scanners() found 1 devices
[pixma] pixma_collect_devices() found Canon PIXMA MX370 Series at
libusb:001:008
[pixma] pixma_open(): Canon PIXMA MX370 Series
Scanning -1 pages, incrementing by 1, numbering from 1
Scanning page 1
[pixma] Reader task started
[pixma] Reader task id=14058523264 (threaded)
[pixma]
[pixma] pixma_scan(): start
[pixma]   line_size=1914 image_size=2009700 channels=3 depth=8
[pixma]   dpi=75x75 offset=(0,0) dimension=638x1050
[pixma]   gamma_table=0x24e6ea0 source=1
[pixma]   threshold=127 threshold_curve=0
[pixma]   ADF page count: 0
[pixma] Current status: paper=1 cal=0 lamp=0 busy=0
[pixma] No paper in ADF. Timed out in 9 sec.
[pixma] No paper in ADF. Timed out in 8 sec.
[pixma] No paper in ADF. Timed out in 7 sec.
[pixma] No paper in ADF. Timed out in 6 sec.
[pixma] No paper in ADF. Timed out in 5 sec.
[pixma] No paper in ADF. Timed out in 4 sec.
[pixma] No paper in ADF. Timed out in 3 sec.
[pixma] No paper in ADF. Timed out in 2 sec.
[pixma] No paper in ADF. Timed out in 1 sec.
[pixma] No paper in ADF. Timed out in 0 sec.
[pixma] pixma_scan() failed ENO_PAPER
[pixma] read_image():reader task closed the pipe:0 bytes received,
2009700 bytes expected
[pixma] Reader task terminated: ENO_PAPER
scanimage: sane_read: Document feeder out of documents
Scanned page 1. (scanner status = 7)
[pixma] pixma_close(): Canon PIXMA MX370 Series
===

Grüße
Matthias

On 08.05.2014 20:30, Rolf Bensch wrote:
 Hi All,

 I just committed a 'ADF paper empty' patch for Canon Pixma MX???
 scanners to git.

 It has been successfully tested with MX375.

 Please report any further problems.

 Cheers,
 Rolf



-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org