Maybe I would not wrote this post, if network scanning would not work at least of my PC with OpenSUSE Tumbleweed.
I moving configurations from one laptop to another (so when I buy new, I move my root, home, etc.). Problem was, configure my printer to work via network thanks to WPS. I got surprised, once realized I can also scan via network. But on other PC’s I can only print via network. Scanner are not visible.
Output from PC, where everything worked:
> SANE_DEBUG_DLL=5 scanimage -L
[20:10:12.102649] [sanei_debug] Setting debug level of dll to 5.
[20:10:12.102741] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.2.1
[20:10:12.102761] [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[20:10:12.102780] [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[20:10:12.102801] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[20:10:12.102827] [dll] sane_init/read_dlld: done.
[20:10:12.102849] [dll] sane_init/read_config: reading dll.conf
[20:10:12.102880] [dll] add_backend: adding backend `lexmark'
[20:10:12.102900] [dll] add_backend: adding backend `LexmarkLegacy_1_0_0'
[20:10:12.102921] [dll] sane_get_devices
[20:10:12.102933] [dll] load: searching backend `LexmarkLegacy_1_0_0' in `/usr/lib64/sane'
[20:10:12.102943] [dll] load: trying to load `/usr/lib64/sane/libsane-LexmarkLegacy_1_0_0.so.1'
[20:10:12.102964] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-LexmarkLegacy_1_0_0.so.1'
[20:10:12.105207] [dll] init: initializing backend `LexmarkLegacy_1_0_0'
[20:10:12.105238] [dll] init: backend `LexmarkLegacy_1_0_0' is version 1.0.1
[20:10:22.123787] [dll] load: searching backend `lexmark' in `/usr/lib64/sane'
[20:10:22.123828] [dll] load: trying to load `/usr/lib64/sane/libsane-lexmark.so.1'
[20:10:22.123864] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-lexmark.so.1'
[20:10:22.124133] [dll] init: initializing backend `lexmark'
[20:10:22.133330] [dll] init: backend `lexmark' is version 1.0.32
[20:10:22.133411] [dll] sane_get_devices: found 1 devices
device `LexmarkLegacy_1_0_0:libnet/002000AAC12A' is a Lexmark Pro200-S500 Series Scanner
[20:10:22.133430] [dll] sane_exit: exiting
[20:10:22.133439] [dll] sane_exit: calling backend `LexmarkLegacy_1_0_0's exit function
[20:10:22.133575] [dll] sane_exit: calling backend `lexmark's exit function
[20:10:22.133903] [dll] sane_exit: finished
Output from laptop, where thinks goes wrong.
> SANE_DEBUG_DLL=5 scanimage -L
[20:16:03.085804] [sanei_debug] Setting debug level of dll to 5.
[20:16:03.086001] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.2.1
[20:16:03.086059] [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[20:16:03.086137] [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[20:16:03.086218] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[20:16:03.086303] [dll] sane_init/read_dlld: done.
[20:16:03.086423] [dll] sane_init/read_config: reading dll.conf
[20:16:03.086507] [dll] add_backend: adding backend `net'
[20:16:03.086551] [dll] add_backend: adding backend `lexmark'
[20:16:03.086598] [dll] add_backend: adding backend `LexmarkLegacy_1_0_0'
[20:16:03.086634] [dll] add_backend: adding backend `lexmark_nscan'
[20:16:03.086713] [dll] sane_get_devices
[20:16:03.086756] [dll] load: searching backend `lexmark_nscan' in `/usr/lib64/sane'
[20:16:03.086788] [dll] load: trying to load `/usr/lib64/sane/libsane-lexmark_nscan.so.1'
[20:16:03.086848] [dll] load: couldn't open `/usr/lib64/sane/libsane-lexmark_nscan.so.1' (No such file or directory)
[20:16:03.086888] [dll] load: couldn't find backend `lexmark_nscan' (No such file or directory)
[20:16:03.086924] [dll] load: searching backend `LexmarkLegacy_1_0_0' in `/usr/lib64/sane'
[20:16:03.086960] [dll] load: trying to load `/usr/lib64/sane/libsane-LexmarkLegacy_1_0_0.so.1'
[20:16:03.087027] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-LexmarkLegacy_1_0_0.so.1'
[20:16:03.090508] [dll] init: initializing backend `LexmarkLegacy_1_0_0'
[20:16:03.090582] [dll] init: backend `LexmarkLegacy_1_0_0' is version 1.0.1
[20:16:03.090951] [dll] load: searching backend `lexmark' in `/usr/lib64/sane'
[20:16:03.090990] [dll] load: trying to load `/usr/lib64/sane/libsane-lexmark.so.1'
[20:16:03.091066] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-lexmark.so.1'
[20:16:03.091485] [dll] init: initializing backend `lexmark'
[20:16:03.100830] [dll] init: backend `lexmark' is version 1.0.32
[20:16:03.100983] [dll] load: searching backend `net' in `/usr/lib64/sane'
[20:16:03.101020] [dll] load: trying to load `/usr/lib64/sane/libsane-net.so.1'
[20:16:03.101079] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-net.so.1'
[20:16:03.104386] [dll] init: initializing backend `net'
[20:16:03.126175] [dll] init: backend `net' is version 1.2.1
[20:16:03.126234] [dll] sane_get_devices: found 0 devices
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[20:16:03.126328] [dll] sane_exit: exiting
[20:16:03.126398] [dll] sane_exit: calling backend `LexmarkLegacy_1_0_0's exit function
[20:16:03.126613] [dll] sane_exit: calling backend `lexmark's exit function
[20:16:03.126979] [dll] sane_exit: calling backend `net's exit function
[20:16:03.129817] [dll] sane_exit: finished
As you can see, on one laptop everything works, but not on other.
load: trying to load `/usr/lib64/sane/libsane-lexmark_nscan.so.1'
[20:16:03.086848] [dll] load: couldn't open `/usr/lib64/sane/libsane-lexmark_nscan.so.1' (No such file or directory)
Did you check that the Lexmark scanner package was installed properly? Any errors reported at that time? Show us the steps you used to install it.
Further to the above, did you install the same driver package? Note the difference with the Lexmark backend configured in /etc/sane.d/dll.conf between the working and non-working systems.
I have a similar problem. My printer is a Canon TS3122 and I am able to print from it but when I try to scan from Document Scanner (simple-scan), it tells me no scanners detected.
You have a different problem as you are using a Canon instead of a Lexmark as the TO. Please don’t hijack threads. It is better to open an own thread with clear failure description to get help specially for your problem…
There are two scanners and some URI. The state is on computer, where network scanning works. On computers with problem, Yast detects three drivers and no associated scanners.
I was trying to find where sane store configuration for particular scanners, so I can read scanner model and put the same on edit/add button, but cannot found these files or info, where it was stored.
It sounds to me like it’s a driver issue. Have you installed the drivers for your printer? When I search on my system I do not see your Lexmark model which makes me believe you need to find the appropriate driver from Lexmark’s website.
Yes. I have installed the driver from printer vendor on both systems. I also install network scanning driver from vendor on system, where network scanning comes with trouble.
Back to my second and third posts. You have not compared/posted the dll.conf file entries as requested. SANE uses that file to determine which user-space drivers (SANE backends) are available. It does not need this for the included drivers, but does consult it for added (vendor-supplied) drivers. We may also need to establish if the driver package installed properly as already hinted at.
BTW, the YaST scanner module is not required at all for scanner configuration.
Returning to the opening post with respect to the laptop. Open dll.conf for editing (as root)…
sudo nano /etc/sane.d/dll.conf
and locate the ‘lexmark_nscan’ entry (likely towards then end of the entries). Comment it out with a ‘#’ character (or remove it entirely), and save when done. That will get rid of the error you encountered.
I note that the scanimage output also loads the ‘net’ backend, which shouldn’t be required here either, unless you are trying to reach the scanner connected to a remote host with a scanner attached. You might need to explain your setup a little more thoroughly. If your multifunction device is on the same network in its own right then it should be possible for SANE to find it. You might need to adjust the firewall to allow detection if it is network-connected. For test purposes stop the active firewall before running ‘scanimage -L’.
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# The next line enables the network backend; comment it out if you don't
# need to use a remote SANE scanner over the network -- see sane-net(5)
# and saned(8) for details.
#net
#abaton
#agfafocus
#apple
#artec
#artec_eplus48u
#as6e
#avision
#bh
#canon
#canon630u
#canon_dr
#canon_lide70
#canon_pp
#cardscan
#coolscan
#coolscan2
#coolscan3
#dc210
#dc240
#dc25
#dell1600n_net
#dmc
#epjitsu
#epson
#epson2
#epsonds
#escl
#fujitsu
#genesys
#gphoto2
#gt68xx
#hp
#hp3500
#hp3900
#hp4200
#hp5400
#hp5590
#hpljm1005
#hpsj5s
#hs2p
#ibm
#kodak
#kodakaio
#kvs1025
#kvs20xx
#kvs40xx
#leo
lexmark
#ma1509
#magicolor
#matsushita
#microtek
#microtek2
#mustek
#mustek_pp
#mustek_usb
#mustek_usb2
#nec
#niash
#p5
#pie
#pieusb
#pint
#pixma
#plustek
#plustek_pp
#pnm
#qcam
#ricoh
#ricoh2
#rts8891
#s9036
#sceptre
#sharp
#sm3600
#sm3840
#snapscan
#sp15c
#st400
#stv680
#tamarack
#teco1
#teco2
#teco3
#test
#u12
#umax
#umax1220u
#umax_pp
#v4l
#xerox_mfp
LexmarkLegacy_1_0_0
UP code: Computer, where sane works. I will try to comment lines on problematic laptop.