LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-15-2021, 10:00 AM   #1
linq
Member
 
Registered: May 2010
Location: Russia
Distribution: Slackware 1.0,...64-14.2..
Posts: 48

Rep: Reputation: 4
Epson Perfection V19 scanner on Slackware 14.2


Can't use Epson Perfection V19 scanner in Linux (Slackware 14.2).

Sane list of supported models says it is unsupported and indeed it doesn't work out of the box. The indicator on the scanner is always off. I have downloaded epsonscan2-bundle-6.6.2.5.x86_64.rpm.tar.gz from the epson site. I then unpacked it to find two rpms :

core/epsonscan2-6.6.2.5-1.x86_64.rpm
plugins/epsonscan2-non-free-plugin-1.0.0.5-1.x86_64.rpm

converted these rpms to txz and installed. Commented out epson, epkowa, epsonds in /etc/sane.d/dll.conf leaving only epson2 and in /etc/sane.d/epson2.conf added this :

usb 0x4b8 0x013c

Checked

# sane-find-scanner
...
found USB scanner (vendor=0x04b8 [EPSON], product=0x013c) at libusb:004:008
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# scanimage -L

device `epsonscan2:Epson Perfection V19:004:005:esci2:usb:ES010C:316' is a EPSON Epson Perfection V19:004:005 flatbed scanner

xsane now discoveres the scanner and when I select it and press OK power indicator light goes on and I hear the sound of moving gear inside but then xsane segfaults like this:

TCP: request_sock_TCP: Possible SYN flooding on port 40097. Sending cookies. Check SNMP counters.
xsane[10565]: segfault at 0 ip 00007fed441e11c4 sp 00007ffc2b5fc8c0 error 4 in libc-2.23.so[7fed44174000+1c0000]

and now scanimage -L shows this

device `epsonscan2:��̖�:004:008:esci2:usb:ES010C:316' is a EPSON ��̖�:004:008 flatbed scanner
with different 'scanner name' every time I launch scanimage

and what SYN flooding has to do with the scanner .. ?
 
Old 09-15-2021, 05:17 PM   #2
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Hi linq,

I have an Epson Perfection V39 and it now works on Slackware 14.2, after a lot of hit and miss attempts :-)

I am pretty sure that what I did should work also for a V19.

The first key for me was to go NOT with the epsonscan2-bundle but with the iscan-gt-s650-bundle from the Epson site.

I started as you did with the epsonscan2-bundle, and couldn't make sane/xsane work with the epsonscan2 sane backend with my V39 (Got the same issues including segfaults)

I then downloaded iscan-gt-s650-bundle-2.30.4.x64.deb.tar.gz from the epson site. It contains drivers with the epkowa backend.

The tar.gz contains 3 debian packages (core, data, plugins). I extracted the content the the deb packages and manually installed them. I didnt try the install.sh script (I don't have all the required commands and am not keen to even try to run it as root)

The second key was that the plugin debian package (iscan-plugin-gt-s650_1.1.1-1_amd64.deb in my case) contains a post-install script that generates a file which is mandatory for the scanner operation. This file is
Code:
/var/lib/iscan/interpreter
It contains the following that you can use directly (should work in your case, given the USB id you gave in your post):

Code:
interpreter usb 0x04b8 0x013c /usr/lib/iscan/libiscan-plugin-gt-s650 /usr/share/iscan/esfw010c.bin
interpreter usb 0x04b8 0x013d /usr/lib/iscan/libiscan-plugin-gt-s650 /usr/share/iscan/esfw010c.bin
It works fine on my PC.

The only remaining issue is that with xsane, It seems to be stuck with a minimal 300 dpi resolution which makes large jpg or pdf files for color scans.

I don't know if it is a limitation of the scanner itself, of the backend, or if I missed a config option somewhere. If you find a fix, let me know.

Hope this helps!

Phil

Last edited by philanc; 09-15-2021 at 05:33 PM.
 
Old 09-16-2021, 03:52 AM   #3
linq
Member
 
Registered: May 2010
Location: Russia
Distribution: Slackware 1.0,...64-14.2..
Posts: 48

Original Poster
Rep: Reputation: 4
Yes, it works now, thank you.
I tried this bundle earlier but without success, the solution was to add this interpreter file.
Only, in my case I had to use "lib64" :

interpreter usb 0x04b8 0x013c /usr/lib64/iscan/libiscan-plugin-gt-s650 /usr/share/iscan/esfw010c.bin

My scanner makes about 18 back and forth movements as it scans at any resolution, so the process is rather slow. Don;t know if it can be fixed.
[Edited: something happened after I have installed Slackware 15 in a separate partition but using the same /home and now scanner works without this problem ]

I have already read somewhere about this minimal 300 resolution, looks like it's an xsane problem. When I scan using gimp (iscan) it allows to use resolutions down to 50 dpi.

Last edited by linq; 09-17-2021 at 07:08 AM.
 
  


Reply

Tags
epson, scanner, segfault



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Epson Perfection 350 Scanner driver will not recognize the scanner Mikech Linux - Hardware 4 10-25-2012 12:09 PM
scanner epson perfection 1660 on fedora 3??? lnthai2002 Linux - Hardware 3 01-19-2005 03:50 PM
Epson Perfection 3170 Photo Scanner !? FreakboY Linux - Hardware 0 06-13-2004 10:47 AM
Epson Perfection 1670 USB Scanner orbiteleven Linux - Hardware 14 03-10-2004 05:59 AM
epson perfection 636 scanner... vance Linux - Hardware 1 12-15-2002 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration