You are not logged in.

#1 2021-09-29 02:08:55

ekiim
Member
Registered: 2014-06-30
Posts: 4

Sane Timeout when attempting to scan.

I got a Canon ImageClass D1150/MF6680 Printer/Scanner, and I've been delighted with it's printing, but I haven't been able to scan anything on my Linux machine.

I've tried several GUI programs and the `scanimage` command also.

I've made sure to have the `libsane-pixma` installed and I had no luck with it.

When ever I try to scan something, it supposedly connects to the scanner but, after that, the scanner leaves it hanging.

Does anyone has this kind of problem?, from what I understand this particular scanner is not sported by this lib, but does anyone know if there is actual support for it?

I can share here one attempt where it kept haning

$ SANE_DEBUG_DLL=3 scanimage --verbose --device 'pixma:04A926FA_13B253RL0073' --format=png --output-file test.png --progress

[18:56:54.859991] [sanei_debug] Setting debug level of dll to 3.
[18:56:54.860237] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.32
[18:56:54.860353] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[18:56:54.860517] [dll] add_backend: adding backend `airscan'
[18:56:54.860697] [dll] add_backend: adding backend `net'
[18:56:54.860753] [dll] add_backend: adding backend `abaton'
[18:56:54.860808] [dll] add_backend: adding backend `agfafocus'
[18:56:54.860961] [dll] add_backend: adding backend `apple'
[18:56:54.861038] [dll] add_backend: adding backend `artec'
[18:56:54.861096] [dll] add_backend: adding backend `artec_eplus48u'
[18:56:54.861155] [dll] add_backend: adding backend `as6e'
[18:56:54.861203] [dll] add_backend: adding backend `avision'
[18:56:54.861260] [dll] add_backend: adding backend `bh'
[18:56:54.861312] [dll] add_backend: adding backend `canon'
[18:56:54.861359] [dll] add_backend: adding backend `canon630u'
[18:56:54.861409] [dll] add_backend: adding backend `canon_dr'
[18:56:54.861457] [dll] add_backend: adding backend `canon_lide70'
[18:56:54.861518] [dll] add_backend: adding backend `cardscan'
[18:56:54.861566] [dll] add_backend: adding backend `coolscan'
[18:56:54.861620] [dll] add_backend: adding backend `coolscan3'
[18:56:54.861674] [dll] add_backend: adding backend `dell1600n_net'
[18:56:54.861725] [dll] add_backend: adding backend `dmc'
[18:56:54.861781] [dll] add_backend: adding backend `epjitsu'
[18:56:54.861837] [dll] add_backend: adding backend `epson2'
[18:56:54.861886] [dll] add_backend: adding backend `epsonds'
[18:56:54.861941] [dll] add_backend: adding backend `escl'
[18:56:54.861984] [dll] add_backend: adding backend `fujitsu'
[18:56:54.862021] [dll] add_backend: adding backend `genesys'
[18:56:54.862060] [dll] add_backend: adding backend `gt68xx'
[18:56:54.862098] [dll] add_backend: adding backend `hp'
[18:56:54.862140] [dll] add_backend: adding backend `hp3500'
[18:56:54.862187] [dll] add_backend: adding backend `hp3900'
[18:56:54.862253] [dll] add_backend: adding backend `hp4200'
[18:56:54.862395] [dll] add_backend: adding backend `hp5400'
[18:56:54.862666] [dll] add_backend: adding backend `hp5590'
[18:56:54.862853] [dll] add_backend: adding backend `hpljm1005'
[18:56:54.862974] [dll] add_backend: adding backend `hpsj5s'
[18:56:54.863093] [dll] add_backend: adding backend `hs2p'
[18:56:54.863226] [dll] add_backend: adding backend `ibm'
[18:56:54.863359] [dll] add_backend: adding backend `kodak'
[18:56:54.863509] [dll] add_backend: adding backend `kodakaio'
[18:56:54.863672] [dll] add_backend: adding backend `kvs1025'
[18:56:54.863866] [dll] add_backend: adding backend `kvs20xx'
[18:56:54.864024] [dll] add_backend: adding backend `kvs40xx'
[18:56:54.864092] [dll] add_backend: adding backend `leo'
[18:56:54.864177] [dll] add_backend: adding backend `lexmark'
[18:56:54.864396] [dll] add_backend: adding backend `ma1509'
[18:56:54.864624] [dll] add_backend: adding backend `magicolor'
[18:56:54.864976] [dll] add_backend: adding backend `matsushita'
[18:56:54.865241] [dll] add_backend: adding backend `microtek'
[18:56:54.865449] [dll] add_backend: adding backend `microtek2'
[18:56:54.865612] [dll] add_backend: adding backend `mustek'
[18:56:54.866010] [dll] add_backend: adding backend `mustek_usb'
[18:56:54.866172] [dll] add_backend: adding backend `mustek_usb2'
[18:56:54.866283] [dll] add_backend: adding backend `nec'
[18:56:54.866346] [dll] add_backend: adding backend `niash'
[18:56:54.866427] [dll] add_backend: adding backend `pie'
[18:56:54.866487] [dll] add_backend: adding backend `pieusb'
[18:56:54.866541] [dll] add_backend: adding backend `pint'
[18:56:54.866625] [dll] add_backend: adding backend `pixma'
[18:56:54.866679] [dll] add_backend: adding backend `plustek'
[18:56:54.866737] [dll] add_backend: adding backend `qcam'
[18:56:54.866811] [dll] add_backend: adding backend `ricoh'
[18:56:54.866870] [dll] add_backend: adding backend `ricoh2'
[18:56:54.866929] [dll] add_backend: adding backend `rts8891'
[18:56:54.866986] [dll] add_backend: adding backend `s9036'
[18:56:54.867038] [dll] add_backend: adding backend `sceptre'
[18:56:54.867093] [dll] add_backend: adding backend `sharp'
[18:56:54.867148] [dll] add_backend: adding backend `sm3600'
[18:56:54.867204] [dll] add_backend: adding backend `sm3840'
[18:56:54.867268] [dll] add_backend: adding backend `snapscan'
[18:56:54.867325] [dll] add_backend: adding backend `sp15c'
[18:56:54.867421] [dll] add_backend: adding backend `tamarack'
[18:56:54.867495] [dll] add_backend: adding backend `teco1'
[18:56:54.867563] [dll] add_backend: adding backend `teco2'
[18:56:54.867621] [dll] add_backend: adding backend `teco3'
[18:56:54.867674] [dll] add_backend: adding backend `u12'
[18:56:54.867728] [dll] add_backend: adding backend `umax'
[18:56:54.867792] [dll] add_backend: adding backend `umax1220u'
[18:56:54.867853] [dll] add_backend: adding backend `v4l'
[18:56:54.867918] [dll] add_backend: adding backend `xerox_mfp'
[18:56:54.868127] [dll] sane_open: trying to open `pixma:04A926FA_13B253RL0073'
[18:56:54.868227] [dll] load: searching backend `pixma' in `/usr/lib/sane'
[18:56:54.868331] [dll] load: dlopen()ing `/usr/lib/sane/libsane-pixma.so.1'
[18:56:54.869480] [dll] init: initializing backend `pixma'
[18:56:55.606985] [dll] sane_open: open successful
[18:56:55.607091] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=0)
[18:56:55.607146] [dll] sane_control_option(handle=0x5646fd41e8f0,option=0,action=0,value=0x7ffeab11566c,info=(nil))
[18:56:55.607229] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=0)
[18:56:55.607300] [dll] sane_control_option(handle=0x5646fd41e8f0,option=0,action=0,value=0x7ffeab115570,info=(nil))
[18:56:55.607390] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=1)
[18:56:55.607468] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=2)
[18:56:55.607553] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=3)
[18:56:55.607618] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=4)
[18:56:55.607677] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=5)
[18:56:55.607735] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=6)
[18:56:55.607793] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=7)
[18:56:55.607843] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=8)
[18:56:55.607902] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=9)
[18:56:55.607965] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=10)
[18:56:55.608030] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=11)
[18:56:55.608096] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=12)
[18:56:55.608159] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=13)
[18:56:55.608224] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=14)
[18:56:55.608288] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=15)
[18:56:55.608352] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=16)
[18:56:55.608416] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=17)
[18:56:55.608481] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=18)
[18:56:55.608548] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=19)
[18:56:55.608614] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=20)
[18:56:55.608678] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=21)
[18:56:55.608742] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=22)
[18:56:55.608805] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=23)
[18:56:55.608869] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=24)
[18:56:55.608936] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=25)
[18:56:55.609001] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=26)
[18:56:55.609065] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=27)
[18:56:55.609167] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=28)
[18:56:55.609236] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=29)
[18:56:55.609304] [dll] sane_control_option(handle=0x5646fd41e8f0,option=13,action=0,value=0x5646fc4b63a0,info=(nil))
[18:56:55.609374] [dll] sane_control_option(handle=0x5646fd41e8f0,option=11,action=0,value=0x7ffeab115574,info=(nil))
[18:56:55.609442] [dll] sane_control_option(handle=0x5646fd41e8f0,option=14,action=0,value=0x5646fc4b63a4,info=(nil))
[18:56:55.609513] [dll] sane_control_option(handle=0x5646fd41e8f0,option=12,action=0,value=0x7ffeab115574,info=(nil))
[18:56:55.609611] [dll] sane_control_option(handle=0x5646fd41e8f0,option=11,action=0,value=0x7ffeab1156a0,info=(nil))
[18:56:55.609684] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=13)
[18:56:55.609747] [dll] sane_control_option(handle=0x5646fd41e8f0,option=13,action=1,value=0x7ffeab1156c0,info=0x7ffeab115584)
[18:56:55.609818] [dll] sane_control_option(handle=0x5646fd41e8f0,option=12,action=0,value=0x7ffeab1156a0,info=(nil))
[18:56:55.609888] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=14)
[18:56:55.609953] [dll] sane_control_option(handle=0x5646fd41e8f0,option=14,action=1,value=0x7ffeab1156c0,info=0x7ffeab115584)
[18:56:55.610023] [dll] sane_get_option_descriptor(handle=0x5646fd41e8f0,option=2)
[18:56:55.610088] [dll] sane_control_option(handle=0x5646fd41e8f0,option=2,action=0,value=0x7ffeab115580,info=(nil))
[18:56:55.610678] [dll] sane_start(handle=0x5646fd41e8f0)
[18:56:55.611137] [dll] sane_get_parameters(handle=0x5646fd41e8f0,params=0x7ffeab1156a0)
scanimage: scanning image of size 640x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
[18:56:55.611366] [dll] sane_read(handle=0x5646fd41e8f0,data=0x5646fd420880,maxlen=32768,lenp=0x7ffeab115674)

Offline

#2 2022-01-05 19:51:36

farside268
Member
Registered: 2022-01-05
Posts: 1

Re: Sane Timeout when attempting to scan.

With the d1150, you have to manually recompile the sane backend because it doesn't identify the device correctly. You can mostly follow these instructions: https://help.ubuntu.com/community/CompileSaneFromSource. Once you git the backends, edit the imageclass.c file before configuring and switch the USB addresses that end in 2686 and 26fa. I've been dealing with it for years.

Offline

Board footer

Powered by FluxBB