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

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

I didn't know that the order of the flags matters. It works now, thanks
for that hint!

Bye
Matthias

On 18.05.2014 18:15, Rolf Bensch wrote:
 Hi Matthias,


 Am 17.05.2014 18:56, schrieb 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.
 OK

 Could you look into that resolution issue please?

 ===
 $ scanimage --resolution 300 --batch=test%02db.pnm --source Automatic
 Document Feeder
 You need to reorder the options of scanimage.

 'scanimage --help' tells me:
 Usage: scanimage [OPTION]...
 [...]
 --source Flatbed|Transparency Unit [Flatbed]
 Selects the scan source (such as a document-feeder). Set source
 before
 mode and resolution. Resets mode and resolution to auto values.
 [...]

 My scanner has a transparent unit and no document feeder, but the
 handling is the same.

 [...]

 $ scanimage --source Automatic Document Feeder --resolution 300
 --batch=test%02db.pnm
 should work.

 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


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

2014-05-18 Thread Rolf Bensch
Hi Matthias,


Am 17.05.2014 18:56, schrieb 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.

OK

 Could you look into that resolution issue please?

 ===
 $ scanimage --resolution 300 --batch=test%02db.pnm --source Automatic
 Document Feeder

You need to reorder the options of scanimage.

'scanimage --help' tells me:
Usage: scanimage [OPTION]...
[...]
--source Flatbed|Transparency Unit [Flatbed]
Selects the scan source (such as a document-feeder). Set source
before
mode and resolution. Resets mode and resolution to auto values.
[...]

My scanner has a transparent unit and no document feeder, but the
handling is the same.

 [...]


$ scanimage --source Automatic Document Feeder --resolution 300
--batch=test%02db.pnm
should work.

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


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


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

2014-05-08 Thread Rolf Bensch
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