[sane-devel] Canon Pixma MP280: Error during device I/O

Lars Noschinski lars at public.noschinski.de
Sat Jan 12 18:37:53 UTC 2013

Hi everyone,

I am trying to get an Canon Pixma MP280 to scan an image. I am using  
the sane-backends-1.0.23,
(packaged for Ubuntu from  
https://launchpad.net/~nathan-renniewaldock/+archive/sane) on Ubuntu  
The scanner is detected without a problem, but if I try to scan an  
image, scanimage returns "Error during device I/O". Before this error  
occurs, I can hear that the scanner is moving its head shortly.  
Despite the error being "ETIMEDOUT", scanimage does not run for a long  
time; and most of that time is spent in device discovery.

$ scanimage --version
scanimage (sane-backends) 1.0.23; backend version 1.0.23

$ scanimage -L
device `pixma:04A91746_501A39' is a CANON Canon PIXMA MP280  
multi-function peripheral

$ SANE_DEBUG_PIXMA=3 time scanimage -d pixma:04A91746_501A39 > foo.pnm
[sanei_debug] Setting debug level of pixma to 3.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.0
[pixma] pixma_collect_devices() found Canon PIXMA MP280 at libusb:006:004
[pixma] sanei_bjnp_find_devices:
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] pixma_open(): Canon PIXMA MP280
[pixma] Reader task started
[pixma] Reader task id=139717645358848 (threaded)
[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=0xb89678 source=0
[pixma]   threshold=127 threshold_curve=0
[pixma] WARNING:Timed out in wait_until_ready()
[pixma] Current status: paper=0 cal=0 lamp=0 busy=0
[pixma] pixma_read_image() failed ETIMEDOUT
[pixma] Reader task terminated: ETIMEDOUT
[pixma] read_image():reader task closed the pipe:0 bytes received,  
1678578 bytes expected
scanimage: sane_read: Error during device I/O
[pixma] pixma_close(): Canon PIXMA MP280
Command exited with non-zero status 9
0.00user 0.00system 0:01.56elapsed 1%CPU (0avgtext+0avgdata 5744maxresident)k
0inputs+8outputs (0major+486minor)pagefaults 0swaps

If I search for ETIMEDOUT in the bugtracker, I find a few bugs which  
might be related (312918, 313894, 313952);
but none of them came to a conclusion. Please let me know whether you  
need more information or whether I should attach this information to  
one of the existing bugs.

Best regards,

More information about the sane-devel mailing list