SCM

[#315721] Pixma MP270 hangs with sane 1.0.25, works with sane 1.0.23 (regression)

View Trackers | Bugs | Export CSV

Date:
2017-04-19 06:59
Priority:
3
State:
Pending
Submitted by:
Olivier Esser (diolu-guest)
Assigned to:
Rolf Bensch (roben-guest)
Category:
backends (drivers)
Group:
None
Resolution:
Fixed
Summary:
Pixma MP270 hangs with sane 1.0.25, works with sane 1.0.23 (regression)

Detailed description
I have a multifunction printer/scanner Canon Pixma MP270 connected via USB. There is a regression. With the latest sane (1.0.25, maybe 1.0.24), the scanner seems to be detected (with the command line tools) but trying to use it just hang. For example with xsane, there is a Windows "detecting device", then the windows disappear and everything hangs. Here is the output (after setting SANE_DEBUG_PIXMA=4):

[pixma] pixma version 0.17.23
[pixma] pixma_collect_devices() found Canon PIXMA MP270 at libusb:002:004
[pixma] pixma_find_scanners() found 1 devices
[pixma] pixma_collect_devices() found Canon PIXMA MP270 at libusb:002:004
[pixma] pixma_open(): Canon PIXMA MP270
[pixma] *mp150_open***** This is a generation 4 scanner. *****
[pixma] Sending time: '17/04/19 08:55'
[pixma] No response yet. Timed out in 8 sec.

It will just retry indefinitely. The scanner works fine with sane 1.0.23 (where there is no "Sending time" message). Sometimes, on a non-reproducible way, the scanner may work with sane 1.0.25 (about 1 out of 10 times with no apparent reason).

Followups: Sort comments antichronologically

Message
Date: 2017-04-27 13:05
Sender: Olaf Meeuwissen

@Olivier Do you see the same when using scanimage?

@Rolf Can you take a look?

Thanks.
Date: 2017-04-27 14:42
Sender: Olivier Esser

Same behavior with scanimage. Works fine with sane 1.0.23. With sane 1.0.25, hang indefinitely with the following output (similar to the one obtained with xsane):

[oesser@pcolivier ~]$ scanimage > test.pnm
[sanei_debug] Setting debug level of pixma to 4.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.23
[pixma] pixma_collect_devices() found Canon PIXMA MP270 at libusb:002:005
[pixma] pixma_find_scanners() found 1 devices
[pixma] pixma_collect_devices() found Canon PIXMA MP270 at libusb:002:005
[pixma] pixma_open(): Canon PIXMA MP270
[pixma] *mp150_open***** This is a generation 4 scanner. *****
[pixma] Reader task started
[pixma] Reader task id=140211824621312 (threaded)
[pixma]
[pixma] pixma_scan(): start
[pixma] line_size=1914 image_size=1678578 channels=3 depth=8
[pixma] dpi=75x75 offset=(0,0) dimension=638x877
[pixma] gamma_table=0x1696070 source=0
[pixma] threshold=127 threshold_curve=0
[pixma] ADF page count: 0
[pixma] No response yet. Timed out in 8 sec.
Date: 2017-04-27 20:12
Sender: Rolf Bensch

I already fixed this issue with pixma backend version 0.17.25.

You need to install recent sane from source as described in INSTALL.linux (http://www.sane-project.org/docs.html).

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2017-04-27 20:12roben-guest
close_dateNone2017-04-27 20:12roben-guest
ResolutionNone2017-04-27 20:12roben-guest
assigned_tonone2017-04-27 13:05olaf-guest
Powered By FusionForge