LinuxQuestions.org
Help answer threads with 0 replies.
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 04-28-2014, 06:46 AM   #1
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 163

Rep: Reputation: 51
Epson DX4400 scanner poor quality on Slack 14.1


I'm not using the printer part of the DX4400 but I know that works ok having tested it previously.

Scanner is detected with "sane-find-scanner":

Quote:
found USB scanner (vendor=0x04b8 [Language Error], product=0x083f [Language Error]) at libusb:002:013
And "scanimage -L" gives the following output:

Quote:
device `snapscan:libusb:002:013' is a Acer Color MFP01 flatbed scanner
xsane allows me to preview and scan, but the output is pretty much inverted, save that although the background is black, foreground objects are all the same shade of green.

I'm assuming at this stage it's a driver issue given the "Acer" model detected above.

I've tried installing the iscan-proprietary-drivers and iscan-firmware SlackBuilds for 14.1, and editing "/etc/sane.d/dll.conf", commenting out "epson, epson2" and inserting "epkowa". But it doesn't appear to load the other drivers.

At one point I did get "invalid argument" when trying to use the epkowa backend.

I'm just wondering whether using a older version of Slackware might work (12.2 for example)?

There are numerous examples online of people using this MFP - it's listed as supported and I've made various adjustments suggested online via other forums (which, to be fair, were usually other distros such as Ubuntu or Arch).

Anyone had success using the DX4400 on up-to-date Slack?

Last edited by commandlinegamer; 04-28-2014 at 06:53 AM.
 
Old 04-28-2014, 08:11 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
From /lib/udev/rules.d/80-libsane.rules
Quote:
# EPSON Stylus CX4300 | EPSON Stylus CX4400 | EPSON Stylus CX5500
# EPSON Stylus CX5600 | EPSON Stylus DX4400
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083f", MODE="0660", GROUP="lp", ENV{libsane_matched}="yes"
So your device should be correctly recognised.
Do you have any custom udev rules in /etc/udev/rules.d/ that are overriding the default udev rules?
 
Old 04-28-2014, 08:52 AM   #3
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 163

Original Poster
Rep: Reputation: 51
Only the rules 70-persistent-net and -cd.
 
Old 04-28-2014, 09:13 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Perhaps try editing out snapscan in /etc/sane.d/dll.conf.

With my Brother scanner, sane-find-scanner fails but scanimage -L works.
I have never had an Epson scanner, so I think I should butt out here.
 
Old 04-29-2014, 04:54 AM   #5
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 163

Original Poster
Rep: Reputation: 51
Disabling the snapscan backend simply results in it not finding the scanner at all. Thanks for your suggestion though.
 
Old 04-29-2014, 07:31 PM   #6
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
According to http://www.sane-project.org/sane-mfgs.html and http://www.sane-project.org/lists/sa....html#S-EPKOWA your scanner will not work with any Sane-provided backend, and must use the Epson "epkowa" backend. (I have no idea why the "snapscan" backend is being selected, but it obviously doesn't work.)

If I remember right, the iscan packages from Epson includes both a scanning application (iscan), and a backend/device driver (epkowa). If you like using Sane's xscan or scanimage, you can use them with the epkowa backend; if you want to try a "simpler" interface, you can use iscan.

Did you try the iscan program itself? It might be a good test. If it does work, but you don't like it, you can then work on getting the epkowa driver it includes working with Sane.

I'm running Slackware 14.1, and although my Epson scanner works fine with Sane's own drivers, it is supported by iscan, so I think I'll give it a try and see what happens.
 
Old 04-30-2014, 06:31 PM   #7
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
To follow up, I built (from source) and installed Epson's scanner support: iscan-2.29.3-1 and iscan-data_1.28.0-2, under Slackware 14.1. It does work with my Epson scanner - both using iscan and xsane. It should work with your scanner too.

To correct one thing I wrote above, though, I found that iscan required setting up SANE (/etc/sane.d/dll.conf and /etc/sane.d/epkowa.conf) before it would work. So forget about trying iscan first, then "you can work on getting the epkowa driver it includes working with Sane" as I wrote above.
 
Old 05-04-2014, 07:40 AM   #8
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 163

Original Poster
Rep: Reputation: 51
Got a bit further by building the iscan core (required a patch) and data packages, and installing the CX4400 plugin.

Scanner detected now as

Quote:
device `epkowa:usb:005:003' is a Epson (unknown model) flatbed scanner
Trying "scanimage >out.pnm" seems to result in the scanner turning off after 20-30 seconds.

My epkowa.conf is simply:

Quote:
usb 0x04b8 0x83f
I've tried changing it to:

Quote:
interpreter usb 0x04b8 0x83f /usr/lib/iscan/libesint7E
But when I do that the scanner is no longer detected. The mystery continues...

Last edited by commandlinegamer; 05-04-2014 at 08:05 AM.
 
Old 01-08-2020, 07:43 PM   #9
agalgo
LQ Newbie
 
Registered: Jan 2006
Location: Mexico City
Distribution: debian lenny
Posts: 21

Rep: Reputation: 0
Epson Stylus CX-4300 CX-4400 CX-4450 CX-5500 CX-5600 DX-4400 DX-4450

Hi guys,

I've been all around with this issue. I downloaded the latest Epson drivers and installed them in the specific indicated order.

https://epson.com.ar/Soporte/Impreso...w-filter=Linux

In a first run I was able to get xsane working, but crashed as I tried to get a preview. After googling a lot, making a lot of changes to dll.conf, epkowa.conf, adding libsane.rules (even a crontab) nothing really changed.

I uninstalled and deleted all modifications at some point and tried a fresh installation of the Epson drivers, sane and xsane.

I decided to work on the new installation "as was" and found that I could get the scanner to be recognized and to actually scan (if just once).

After each run of xsane and consequent crash, I had to plug and unplug the scanner (sometimes turn it off and back on again) to get xsane up.

These are just some links to suggested solutions (none of them have worked for me).

https://forums.linuxmint.com/viewtopic.php?t=272238
https://ubuntusp.com/questions/29298...cta-el-escaner
https://bugs.launchpad.net/ubuntu/+s...12/comments/25
https://ubuntuforums.org/archive/ind.../t-908443.html
https://bluegehena.blogspot.com/2011...cx5600-en.html
https://askubuntu.com/questions/1276...ner%20-working

After a lot of fiddling around, I tried two things:

sudo ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane

which, simply, made sense to me, that is, to have the drivers where they should be sought for...

As I said, I've been working on the files "as are" after installation, consequently, the entry epkowa is not in dll.conf. Rather than that, the entry epson2 is the one active, since it was there by default. No rules, no other additional modifications.

$lsusb
Bus 001 Device 007: ID 04b8:083f Seiko Epson Corp. Stylus CX4300/CX4400/CX5500/CX5600/DX4400/DX4450

$sane-find-scanner -q
found USB scanner (vendor=0x04b8 [Language Error], product=0x083f [Language Error]) at libusb:001:007

$scanimage -L
device `epkowa:interpreter:001:010' is a Epson Stylus CX4300/CX4400/CX5500/CX5600/DX4400 flatbed scanner

or

$scanimage -L
device `epkowa:interpreter:001:010' is a Epson (unknown model) flatbed scanner

randomly

I actually get it to scan on this configuration, one out of twenty tries. After the first scan, when trying a second preview, xsane, simply crashes and it's plugging and unplugging and turning off and on all over again.

I'm stuck here and really don't know where to go. If anyone has some answers, I'd appreciate the advice.
 
  


Reply



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
please help -- unable to print epson dx4400 terry1982 Linux - Newbie 1 02-16-2009 01:46 PM
Only low and high scanner resolutions displayed for epson V200 scanner liutabme Linux - Hardware 2 02-19-2008 01:11 PM
installing Epson DX4400 in OpenSuSE 10.3 theolis Linux - Newbie 0 12-09-2007 04:01 PM
Looking for epson DX4400 drivers TheHighwayman Linux - Software 4 11-14-2007 02:50 AM
Slack 9.1, kernel 2.6.3-r3, Epson Scanner and libusb no worky for Joe user. finegan Slackware 1 02-16-2004 12:49 AM

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

All times are GMT -5. The time now is 03:50 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