LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Mint doesn't recognise scanner (https://www.linuxquestions.org/questions/linux-newbie-8/linux-mint-doesnt-recognise-scanner-4175441170/)

Melvyn Gattinoni 12-12-2012 12:24 PM

Linux Mint doesn't recognise scanner
 
Hi,
I have just switched from Ubuntu 12.10 to Linux Mint. I have an Epson Stylus SX218 all-in-one. The printer works fine but neither Simple Scan nor Xsane recognise the scanner. I have spent hours in forums, followed numerous instructions but I just can't get the scanner to work. It worked OK with Ubuntu but I remember having the same problem and had to scout around a lot before I could get it to work. Problem is, I can't remember where I found the right instructions!
I've downloaded and installed the drivers from the Epson website and I'm in the scanner group.
If anyone had the same problem, and solved it, please let me know how you did it.
Thanks!

markush 12-12-2012 01:01 PM

Hello Melvyn Gattinoni, welcome to LQ,

often it's a problem with the permissions. At first check if you're really using the correct driver. Use the command
Code:

sudo scanimage -L
this should list the available devices.

Next thing to do ist checking the groups, users who are permitted to scan must be member of the scanner group and if there is a lp group also member of the lp group. You can check this as the normal user with
Code:

groups
in a terminal.

There's also the command
Code:

sudo sane-find-scanner
which could be useful.

Markus

Melvyn Gattinoni 12-13-2012 06:01 AM

Hi Markus and thanks for your quick reply.

Te result of sudo scanimage -L is:
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 checked about groups and I'm in there for scanners.

As for sudo 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.

found USB scanner (vendor=0x04b8, product=0x0865) at libusb:001: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.

The system seems to detect a scanner but not quite!

Tnaks again,

Melvyn

markush 12-13-2012 06:06 AM

What happens when you in a terminal as root try to execute xsane?
Code:

su
xsane

I've seen that sane comes with a tool "sane-config", maybe you should try
Code:

sudo sane-config
but I've never used this tool.

Markus

markush 12-13-2012 06:07 AM

Ah, and please check if there's a group "lpadmin", or "lp" if yes, add your user to these or one of them!

Recently we had this thread http://www.linuxquestions.org/questi...em-4175439814/ there it was Ubuntu, but it should be similar.

Markus

Melvyn Gattinoni 12-14-2012 05:23 AM

Thanks again Markus,

When I do
"su
xsane" I get
WARNING: "gnome-keyring:: couldn't connect to: /tmp/keyring-xxxxxx/xxxxx: Aucun fichier ou dossier de ce type" (the latter meaning "No file or folder of this kind"). Note: I've replace the name of the key ring bi x's for security reasons.

When I do

"sudo sane-config" I get:
"Usage:
sane-config --version - show installed script and SANE version
sane-config --ldflags - linker flags required to link with SANE
sane-config --libs - libraries required to link with SANE
sane-config --cflags - compiler flags required to find SANE headers
sane-config --help - show usage info (this message)
sane-config --help SUBCOMMAND - show help for SUBCOMMAND
sane-config --prefix - prefix used during SANE compile
sane-config --exec-prefix - exec-prefix used during SANE compile"

Cheers,



Melvyn

markush 12-14-2012 06:36 AM

Does your /etc/groups file have a group lpadmin?

Markus

Melvyn Gattinoni 12-15-2012 03:31 AM

Yep. And I'm in there too.

markush 12-15-2012 03:37 AM

Then you should check if you really have installed the correct drivers.

Could you explain, which drivers you're using and how you have them installed?

Markus

Edit: you should take a look at the output of lsusb.

Melvyn Gattinoni 12-17-2012 08:56 AM

Hi Markus,

I installed the drivers for this specific multifunction printer/scanner downloaded from EPSON website. I actually tried two drivers: epson-inkjet-printer-workforce-320-sx218-1.0.0.1lsb3.2_i386.deb and epson-inkjet-printer-escpr_1.2.2-1lsb3.2_i386.deb

Both seem to have installed properly.

Thanks.

markush 12-17-2012 09:02 AM

Could you please post the output of lsusb?

Markus

Melvyn Gattinoni 12-18-2012 03:49 AM

Certainly. Here goes:

melvyn@melvyn-Dimension-C521 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0644:0200 TEAC Corp. All-In-One Multi-Card Reader CA200/B/S
Bus 002 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 002 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse

markush 12-18-2012 05:38 AM

I meant to execute lsusb when the scanner/printer is connected and running.

Markus

Melvyn Gattinoni 12-19-2012 04:33 AM

Sorry about that Markus. Here it is:

melvyn@melvyn-Dimension-C521 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0644:0200 TEAC Corp. All-In-One Multi-Card Reader CA200/B/S
Bus 002 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 002 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 005: ID 04b8:0865 Seiko Epson Corp.

markush 12-19-2012 06:00 AM

Well, the device is recognized by the system but the appropriate drivers are missing.
Quote:

Originally Posted by Melvyn Gattinoni
I installed the drivers for this specific multifunction printer/scanner downloaded from EPSON website. I actually tried two drivers: epson-inkjet-printer-workforce-320-sx218-1.0.0.1lsb3.2_i386.deb and epson-inkjet-printer-escpr_1.2.2-1lsb3.2_i386.deb

this looks somewhat like a printer driver.

It seems they have a special scanner driver here http://download.ebz.epson.net/dsc/se...h/searchModule you should download and install it.

Markus


All times are GMT -5. The time now is 01:28 PM.