SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

[Solved] Samsung M2875FD not detected on Fedora 25

Started by kgeiger, October 12, 2016, 14:46:55

Previous topic - Next topic



I'm currently testing Fedora 25 Beta, but scanning with my M2875FD does not work, because the device is not found. I tried the driver, that I used successfully before on Fedora 24. Additionally I tried 1.00.29 which worked on F23 and F24, but this one also fails on F25.

On F24:
# scanimage -L
device `smfp:net;' is a Samsung M267x 287x Series on Scanner

On F25 Beta:
# 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).

I used Wireshark to compare what's different on F24 and F25: On 24, snmp packages are sent to the device during the discovery, while this does not happen on F25.

If I run the "smfpnetdiscovery" command from the install directory:  It finds the device in the network. The output of the command is the same on F24 and F25:
# x86_64/smfpnetdiscovery
network socket:// "Samsung M267x 287x Series" "Samsung M267x 287x Series on" "MFG:Samsung;CMD:PCL6,URF,FAX,FWV,PIC,SPDS,EXT;MDL:M267x 287x Series;CLS:PRINTER;CID:SA_PCL6_BW;MODE:FAX3,SCN,SPL3,R000105,SCP;"
network ipp:// "Samsung M267x 287x Series" "Samsung M267x 287x Series on" "MFG:Samsung;CMD:PCL6,URF,FAX,FWV,PIC,SPDS,EXT;MDL:M267x 287x Series;CLS:PRINTER;CID:SA_PCL6_BW;MODE:FAX3,SCN,SPL3,R000105,SCP;"

There is no local firewall installed, nor between the computer and the M2875FD. Both devices are in the same subnet.

Please let me know if I can provide any further debug information.



I figured out what the problem was and how to get the scanner work on F25: The libusb package was missing. After installing the package, the scanner is detected and works perfectly.

Maybe it helps someone to debug similar problems - that's how I figured it out what was missing:
* Run scanimage in debug mode and redirect the output to a file:
  # SANE_DEBUG_DLL=128 scanimage -L > output.txt 2>&1

* In the output.txt, you see the problem where the "smfp" back end is loaded:
  [dll] load: searching backend `smfp' in `/usr/lib64/sane'
  [dll] load: trying to load `/usr/lib64/sane/'
  [dll] load: dlopen()ing `/usr/lib64/sane/'
  [dll] load: dlopen() failed ( cannot open shared object file: No such file or directory)

* Look up which package provides the missing file:
  # dnf provides */
  libusb-1:0.1.5-7.fc25.i686 : A library which allows userspace access to USB devices
  Quelle      : Fedora



Thanks for sharing.  Now that libusb-0.1 is no longer standard in the newest distributions, I will make a note that it needs to be explicitly installed for the driver to work.

Repository Information Legal Contact Alternative Drivers