[sane-devel] SANE 1.0.27 on Linux Mint 19.1 - Problem with scanner Canon MF3010

Hi Tech MasterTonLab mastertonlab at yandex.ru
Mon Feb 25 17:13:13 GMT 2019


Hi all SANE-project Team!

You make a cool Linux software!

But I ran into a problem that I have not been able to solve for several days.
I need your help.

So, my problem is connecting the scanner to the laptop. More precisely in the scanning process.
The scanner is connected and working. Those scan turns out. But after some time, it becomes unavailable and get the error:
"Failed to scan, Unable to connect to scanner"

All details below.

-------------------------------------------------------------------------------
My system:
uname -a
Linux LenovoG50 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

DE: Cinnamon 4.0.9
CPU: Intel Celeron N2820 @ 2x 2.3994GHz [50.0°C]
GPU: Mesa DRI Intel(R) Bay Trail
-------------------------------------------------------------------------------

Installed pakages for scan:
libsane1_1.0.27+git20190221-bionic0_amd64.deb
libsane-common_1.0.27+git20190221-bionic0_all.deb
libsane-dev_1.0.27+git20190221-bionic0_amd64.deb
sane-backends_1.0.27.orig.tar.gz
sane-utils_1.0.27+git20190221-bionic0_amd64.deb
xsane_0.999-5ubuntu2_amd64.deb
xsane-common_0.999-5ubuntu2_all.deb

Driver for Canon i-SENSYS MF3010 from official site.
linux-UFRII-drv-v370-uken-05.tar.gz
-------------------------------------------------------------------------------

lsusb
Bus 001 Device 007: ID 04a9:2759 Canon, Inc.

sudo sane-find-scanne
found USB scanner (vendor=0x04a9 [Canon Inc], product=0x2759 [MF3010]) at libusb:001:007
found USB scanner (vendor=0x0bda [Generic], product=0x0129 [USB2.0-CRW]) at libusb:001:005
Second device - web-camera on my laptop.

scanimage -L
sane_get_devices: found 1 devices
device `pixma:04A92759_111CH002AEB0' is a CANON Canon i-SENSYS MF3010 multi-function peripheral

Work correctly:
scanimage --help --device-name=pixma:04A92759_111CH002AEB0

scanimage --device-name=pixma:04A92759_111CH002AEB0 -p --resolution 150 > test01.png
scanimage: sane_read: Error during device I/O

scanimage -l 0 -t 0 -x 215 -y 297 --resolution 150 > mytestimage.ppm
[sanei_debug] Setting debug level of dll to 4.
........................................................
[dll] sane_start(handle=0x55e138c3ad60)
[pixma] Reader task started
[pixma]
[pixma] pixma_scan(): start
[pixma] line_size=3840 image_size=6735360 channels=3 depth=8
[pixma] dpi=150x150 offset=(0,0) dimension=1270x1754
[pixma] gamma_table=0x55e138c346b8 source=0
[pixma] threshold=127 threshold_curve=0
[pixma] adf-wait=0
[pixma] ADF page count: 0
[pixma] Reader task id=139846504470272 (threaded)
[dll] sane_get_parameters(handle=0x55e138c3ad60,params=0x7ffdf46a6e70)
[dll] sane_read(handle=0x55e138c3ad60,data=0x55e138c0cbe0,maxlen=32768,lenp=0x7ffdf46a6e64)
[pixma] *sane_read***** Warning: padding may cause incomplete scan results
[pixma] raw_width = 1280
[pixma] No response yet. Timed out in 2 sec.
[pixma] No response yet. Timed out in 1 sec.
[pixma] WARNING: Error in response phase. cmd:f320
[pixma] If the scanner hangs, reset it and/or unplug the USB cable.
[pixma] WARNING: Resend first USB command after timeout!
[pixma] No response yet. Timed out in 8 sec.
[pixma] No response yet. Timed out in 7 sec.
[pixma] No response yet. Timed out in 6 sec.
[pixma] No response yet. Timed out in 5 sec.
[pixma] No response yet. Timed out in 4 sec.
[pixma] No response yet. Timed out in 3 sec.
[pixma] No response yet. Timed out in 2 sec.
[pixma] No response yet. Timed out in 1 sec.
[pixma] WARNING: Error in response phase. cmd:f320
[pixma] If the scanner hangs, reset it and/or unplug the USB cable.
[pixma] pixma_scan() failed ETIMEDOUT
[pixma] Reader task terminated: ETIMEDOUT
[pixma] read_image():reader task closed the pipe:0 bytes received, 6735360 bytes expected
scanimage: sane_read: Error during device I/O
[dll] sane_cancel(handle=0x55e138c3ad60)
[dll] sane_close(handle=0x55e138c3ad60)
[pixma] pixma_close(): Canon i-SENSYS MF3010
[dll] sane_exit: exiting


What could be the problem? How to fix it?




More information about the sane-devel mailing list