Page 1 of 1

[SOLVED]Disappeared wifi scanner

PostPosted: Dec 26th, '19, 11:52
by evaldas
Hello,

I used wifi scanner from samsung xpress m2070w and now it is gone. MCC doesn't find it, trying to add manually from MCC it is not in the list. I tryed to add in /etc/sane.d/net.conf
connect_timeout = 60
<server_ip>
EOF

however no scaner yet. Maybe someone could help?

Re: Disappeared wifi scanner

PostPosted: Jan 25th, '20, 17:31
by lancer21
Has there been an answer to that issue?

The thing is that I've been experimenting with home automation systems for a couple months in the hope that I'll soon be able to buy one of these houses in Greece and rebuild it into a fully smart home, and I've had issues with my scanner, another model by Samsung (the baseline M2070, not the -w variant). I can perfectly use it with a cable, but there's no way to get it to work with the wifi.

Re: Disappeared wifi scanner

PostPosted: Jan 26th, '20, 15:33
by mirej
Hello
I'm using an Epson scanner over WiFi. Available after editing etc/sane.d/epkowa.conf
Code: Select all
# net <IP-address|hostname> [port-number]
#
# Ask your network administrator for the device's IP address or check
# for yourself on the panel if it has one.  The port-number is very
# optional and defaults to 1865.
# Note that network attached devices are not queried unless configured
# in this file.
#
# Examples:
#
net 192.168.1.200 1865

Added line "net" is IP Scanner/Printer
on the local network.
It's not sure if it going work with Samsung.

Re: Disappeared wifi scanner

PostPosted: Jan 30th, '20, 10:11
by evaldas
I added "net" and port number but not succesfully.

Re: Disappeared wifi scanner

PostPosted: Jan 30th, '20, 11:15
by evaldas
I added
ATTRS{idProduct}=="2070", ENV{libsane_matched}="yes"
line to
59-smfp_samsung.rules
but that doesn't help.
The file
libsane-smfp.so.1.0.1
is located in
/usr/lib64/sane
and it is a link to
/opt/smfp-common/scanner/lib/libsane-smfp.so.1.0.1
. Is it correct?

Re: Disappeared wifi scanner

PostPosted: Jan 30th, '20, 16:47
by doktor5000
Can you please post the output as root of
Code: Select all
scanimage -L
sane-find-scanner


Also, what version of the Samsung unified driver did you install? Can you ping the IP of the scanner?
For further debugging and some of your questions, have a look at e.g. https://askubuntu.com/questions/969238/ ... g-in-17-10
which shows how to run scanimage in debug mode, so you can see whether the correct samsung libraries are being used or not.

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:29
by evaldas
Code: Select all
[root@localhost evaldas]# scanimage -L

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).


Code: Select all
[root@localhost evaldas]# sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x0a5c [Broadcom Corp], product=0x21f1 [BCM20702A0]) at libusb:003:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

it is strange that scanner named Broadcom

Code: Select all
ping statistics ---
55 packets transmitted, 55 received, 0% packet loss, time 139ms
rtt min/avg/max/mdev = 1.564/2.111/7.214/1.138 ms

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:40
by evaldas
Code: Select all
[evaldas@localhost ~]$ grep -n2 "libsane-smf" debug.txt
87-[dll] load: couldn't find backend `samsung' (No such file or directory)
88-[dll] load: searching backend `smfp' in `/usr/lib64/sane'
89:[dll] load: trying to load `/usr/lib64/sane/libsane-smfp.so.1'
90:[dll] load: dlopen()ing `/usr/lib64/sane/libsane-smfp.so.1'
91-[dll] init: initializing backend `smfp'
92-[dll] init: backend `smfp' is version 1.0.1

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:40
by doktor5000
So your network scanner isn't even found. The broadcom finding is a bluetooth/bumblebee adapter on what seems like an HP all in one printer which is connected directly to your box via USB, this is not your scanner.

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:41
by doktor5000
Can you please attach the file debug.txt here ?

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:47
by evaldas
tried to install recomended driver but:
Code: Select all
**** The same version of Print driver is already installed.
**** The same version of Scan driver is already installed.
**** Install finished.

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:48
by doktor5000
The samsung installer will not do anything if it detects that the driver is already installed, you have to run the uninstall script before trying to reinstall.

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 11:53
by evaldas
attached is debug file

Re: Disappeared wifi scanner

PostPosted: Jan 31st, '20, 12:10
by evaldas
It works!
I downloaded drivers, uninstalled old ones, installed new, restarted pc
Thank you