Lexmark MX310 built-in scanner not detected

I’m running Ubuntu Mate 16.04 on all my computers. I have this multifunction laser printer from Lexmark, including a scanner, but I haven’t been using the scanner in ages - probably not since I’ve been running 16.04
Now I urgently need to get a pile of paperwork scanned, and I’ve realized it doesn’t work at all. While the printer works just OK - connected via USB cable - neither Simple Scan nor XSANE manage to detect the scanner as such. They tell me there’s no device connected they can use.
I tried installing this driver from Lexmark, which appeared to be the closest match: it doesn’t seem to make any difference.

Any idea what else I could try?

Lexmark tech support pointed me at SANE documentation, but I’ll confess feeling quite lost in it.

When I run XSANE it says “no devices available”. Running it as root user, same result (after the scare dialog).

This is the output for same-find-scanner, as a regular user and then as root:

rafu@Anatrone:~$ 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.

could not open USB device 0x8087/0x0020 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x275d/0x0ba6 at 001:003: Access denied (insufficient permissions)
found USB scanner (vendor=0x043d [Lexmark], product=0x0227 [Lexmark MX310dn]) at libusb:001:004
could not open USB device 0x8087/0x0020 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
# 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.

# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.

rafu@Anatrone:~$ sudo sane-find-scanner
[sudo] password for rafu:

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

found USB scanner (vendor=0x043d [Lexmark], product=0x0227 [Lexmark MX310dn]) at libusb:001:004
# 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.

1 Like

Hi @Rafu

Looking at your check with and without sudo it found your scanner:

I had the same issue and solved it now - via logsearch and reinstalling the printer.
But I use an HP and could simply call the hp-setup utility.

Can you open another terminal window, start journalctl (like following)

journalctl -f | grep scan

then start xsane? What does it say?




For me it printed something about missing attributes:

simple-scan[12975]: io/hpmud/model.c 532: no tosmart_plus_b210_series attributes found in /usr/share/hplip/data/models/models.dat

Reinstalling helped in my case.

Hope that helps.
Greetings

Thank you for your interest!

Everything I’ve tried so far can be seen in this (Italian language) forum thread, starting on page 3 (I piggybacked on another user posting about apparently the same problem on a different version of Ubuntu):
https://forum.ubuntu-it.org/viewtopic.php?f=9&t=630885&start=40
(command line input and output doesn’t care what language you speak, right?)

Hi mate,

Not sure if you have successfully solved the scanning problem with your Lexmark. By the way, I have EXACTLY the same issue with my Lexmark MX410de which can NOT scan but instead prints only on Ubuntu 18.0.4. I have tried installed the recommended drivers from Lexmark site for this particular Ubuntu version but no success. No scan utility application will detect my Lexmark as scanner and it will pop out message 'No scanners detected.

However, after downloading all recommended Lexmark Network and Scan driver 64-bit/32-bit Linux distributions with Debian based packaging from the Lexmark site, I figured out that there is NO support for the latest Ubuntu platforms. That is, I read the supported platforms text file for each package on the files I downloaded which say that the support is until Ubuntu version 12.04, 12.10.

Just read the supported platforms text file as follows


Lexmark Network and USB Scan Drivers for Linux Systems

Supported operating systems are listed in the table below. Make sure you
are running one of these systems before you use this application.

Linux Operating System Versions Hardware


Debian GNU/Linux 5.0,6.0,7.0 Intel (IA-32/64)

Fedora 17,18,19 Intel (IA-32/64)

Linpus LINUX Desktop 9.6 Intel (IA-32/64)

Mint 10,11,12,13 Intel (IA-32/64)

openSUSE Linux 11.4,12.1,12.2 Intel (IA-32/64)

PCLinuxOS 2011.9 Intel (IA-32/64)

Red Flag Linux Desktop 6.0 Intel (IA-32/64)

Red Hat Enterprise Linux WS 4,5,6 Intel (IA-32/64)

SuSE Linux Enterprise Desktop 10.0,11.0 Intel (IA-32/64)

Ubuntu 12.04,12.10 Intel (IA-32/64)


Thus I do NOT think there is a point make the Lexmark MX310 work as a scanner whereas it works fine as a printer! Also have a a look at this old link which shows particular Lexmark scanners supported which does NOT Include your model

Lexmark Supported Models for Ubuntu

Good luck and success if you have not achieved any progress so far.