Xsane Error Epson ET-4500 "Failed to Start Scanner"

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Offbeatmatt

Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

I'm using Xsane 0.999 and an Epson ET-4500 printer/scanner and I'm getting an error trying to scan. When I click scan, I get the error "Failed to start scanner: Error during device I/O". The screen on my printer says "Scanning..." and it makes sounds like it's going to scan, but then it doesn't actually scan. I can still scan using Simple Scan and it works perfectly. I've already tried executing sudo xsane in the terminal, but I get the same error while running it as root. Any help to resolve this issue would be appreciated. Thanks!

[Question: would this question better be posted in Software & Applications than in Printers & Scanners? The issue seems to be Xsane as opposed to a hardware issue.]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

Does the Epson Image Scan app also fail, or didn't you download the all-in-one package from Epson and install?
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

ClixTrix wrote: Wed Jan 16, 2019 2:08 pm Does the Epson Image Scan app also fail, or didn't you download the all-in-one package from Epson and install?
I'm not sure what you mean by the Epson Image Scan app. I downloaded and installed the all-in-one scanner driver here (http://download.ebz.epson.net/dsc/searc ... archModule), but it doesn't come with its own scanning app. I actually just reinstalled it because they released a new version of the driver on 20 December 2018 and I had an older version, but I'm still getting the same error on Xsane.
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

Oh, is it this app? http://support.epson.net/linux/en/iscan_c.html

I downloaded and installed it and "Image Scan! for Linux" is listed in my programs now. When I try to open it, it just says "Could not send command to scanner. Check the scanner's status."
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

Image Scan is part of the install package. I just double-checked. The unpacked folder should have that component in the "core" subfolder.

The installed app is located in Menu - Graphics.

Also, the package has an option to install for network-based scanner in the plugins folder.

I just recently installed the same package in Mint 19 for my Epson.
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

There is an install package specific to Mint here.

http://support.epson.net/linux/en/image ... ion=1.3.40
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

ClixTrix wrote: Thu Jan 17, 2019 10:31 am Image Scan is part of the install package. I just double-checked. The unpacked folder should have that component in the "core" subfolder.

The installed app is located in Menu - Graphics.

Also, the package has an option to install for network-based scanner in the plugins folder.

I just recently installed the same package in Mint 19 for my Epson.
Thanks! I was able to reinstall the package with the network option in the plugins folder. Now when I click Image Scan in the Graphics menu, it pulls up a "Scanning Dialog" app. In the upper left corner, it says "Scanner:" then a pull-down menu where the only option is "No devices found."
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

Does either Simple Scan or XSane now work?

Edit: Which version of Mint are you running?
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

ClixTrix wrote: Thu Jan 17, 2019 11:28 am Does either Simple Scan or XSane now work?

Edit: Which version of Mint are you running?
Simple Scan was working when I posted this, but now it isn't working anymore. Maybe it stopped working when I reinstalled the drivers? When I press the scan button, my scanner makes noises, Simple Scan gives the error message "Failed to scan", then my scanner displays the message "Turn the power off and on again."

Xsane is still giving the same error message, but now when I click scan, after the scanner makes some sounds, the scanner also gives the message "Turn the power off and on again" every time.

I'm using Linux Mint 18 Cinnamon 64-bit. I've been using the Mint 18 and 64-bit options every time I install/reinstall a driver.
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

Image Scan needs network customization. Look in /etc/imagescan for imagescan.conf

Here is mine for my epson WF-2760 as an example. There is also discussion in the downloadable imagescan PDF manual for network install.

Code: Select all

# /etc/imagescan/imagescan.conf -- Image Scan configuration
# Refer to the documentation for details on the configuration options
# for the software.  Plugins should come with their own documentation
# if they have configuration options.
#
# Lines starting with a # or a ; are comments.  Comments must be on a
# line of their own.  End-of-line comments are not supported.

[devices]

; myscanner.udi    = esci:networkscan://192.168.0.2:1865
; myscanner.vendor = Epson
; myscanner.model  = DS-5500

myscanner.udi    = esci:networkscan://192.168.1.102:1865
myscanner.vendor = Epson
myscanner.model  = WF-2760

Edit: Since you're running Mint 18, there is a known bug for SYN Cookies in the UFW / Firewall that use to cause me problems with detecting my Epson scanner. If you have Firewall enabled, try disabling and reboot the system for a test.

Edit2: In order to edit that imagescan config file use the following command from Terminal.....just in case you don't know how.

Code: Select all

xed admin:///etc/imagescan/imagescan.conf
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

I'm on page 29 of the PDF manual: http://sites.math.northwestern.edu/reso ... revG_e.pdf

My etc/sane.d/dll.conf file looks like this:

Code: Select all

# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under
# /etc/sane.d/dll.d directory -- packages providing backends should drop
# a config file similar to dll.conf in this directory, named after the package.
#

# The next line enables the network backend; comment it out if you don't need
# to use a remote SANE scanner over the network - see sane-net(5) and saned(8)
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc25
#dc210
#dc240
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
fujitsu
#gphoto2
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
#umax_pp
umax1220u
v4l
xerox_mfp
hpaio
I'm not sure how to "check that the net module is enabled."

My etc/sane.d/net.conf file looks like this:

Code: Select all

# This is the net backend config file.

## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
# connect_timeout = 60

## saned hosts
# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend.  Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost
I'm not sure how to "check that the server I want to use is listed."

My etc/imagescan/imagescan.conf file looks like this:

Code: Select all

# /etc/imagescan/imagescan.conf -- Image Scan configuration
# Refer to the documentation for details on the configuration options
# for the software.  Plugins should come with their own documentation
# if they have configuration options.
#
# Lines starting with a # or a ; are comments.  Comments must be on a
# line of their own.  End-of-line comments are not supported.

[devices]

; myscanner.udi    = esci:networkscan://192.168.0.2:1865
; myscanner.vendor = Epson
; myscanner.model  = DS-5500
I already noticed for "myscanner.model" is says "DS-5500" instead of "ET-4500". Would changing it to that work? Also, do I have to change the myscanner.udi? How do I do that/find the correct one?
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

To disable the firewall, should I just execute sudo ufw disable in the Terminal?

Edit: Nevermind. I executed sudo ufw status, and it said Status: inactive.
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

I just did a test install on another system for my Epson.

If you edit that imagescan.conf appropriate to your printer name info and IP address (your address on your network), all three: Image Scan, Simple Scan, and Xsane should work. It took that simple edit to get all three for me.
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

ClixTrix wrote: Thu Jan 17, 2019 1:11 pm I just did a test install on another system for my Epson.

If you edit that imagescan.conf appropriate to your printer name info and IP address (your address on your network), all three: Image Scan, Simple Scan, and Xsane should work. It took that simple edit to get all three for me.
Am I looking for an IP address for my laptop, or my scanner? How do I find it?
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

Good question. I'm guessing you have it installed DHCP. Your Epson console (on the printer) might tell the IP address. Mine does in the Tools - Network Status.

Maybe it's in your ARP cache. From Mint, you could try running the following command from Terminal.

Code: Select all

arp -a
It should echo something like EPSONxxxxxx with the IP, if it's there. Once you have that address, you can also go to the web interface from your browser using that address.
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

Output of arp -a

Code: Select all

arp -a
? (10.0.0.134) at d8:31:34:45:ba:2c [ether] on wlo1
? (10.0.0.1) at 7c:9a:54:12:55:be [ether] on wlo1
? (10.0.0.44) at 44:d2:44:04:45:95 [ether] on wlo1
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

OK....I just did a lookup on the mac addresses from that arp.....and we have a winner!

The mac 44:d2:44:04:45:95 is registered as Seiko Epson! :D

So, you need to use IP address 10.0.0.44 in that customization. The three lines should be this.

myscanner.udi = esci:networkscan://10.0.0.44:1865
myscanner.vendor = Epson
myscanner.model = ET-4500
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

Thanks! I changed the imagescan.conf file so it says

Code: Select all

# /etc/imagescan/imagescan.conf -- Image Scan configuration
# Refer to the documentation for details on the configuration options
# for the software.  Plugins should come with their own documentation
# if they have configuration options.
#
# Lines starting with a # or a ; are comments.  Comments must be on a
# line of their own.  End-of-line comments are not supported.

[devices]

; myscanner.udi    = esci:networkscan://192.168.0.2:1865
; myscanner.vendor = Epson
; myscanner.model  = DS-5500

myscanner.udi = esci:networkscan://10.0.0.44:1865
myscanner.vendor = Epson
myscanner.model = ET-4500
When I open the Epson Image Scan App, the scanner "Epson ET-4500" appears in the drop down menu in the upper left corner, and I'm able to scan. When I open Xsane, it lets me select the option Epson ET-4500, and I'm able to scan.

However, when I try to scan with Simple Scan, it gives me a "Failed to Scan" error. When I go into the Preferences, Epson ET-4500 *is* listed as the scanner source.

I guess this partially solves my issue? 2 out of 3 of the programs are working.
ClixTrix

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by ClixTrix »

Could be problem in the Preference settings. Might try rebooting.

I tried Simple Scan on my test system with Mint 19.1 Cinnamon, as well as XSane and Image Scan. I had the UFW enabled and had to disable to get it working. Looks like a SYN Cookie problem, and the DMESG log (last entries) showed SYN flooding. Here I'd thought they'd fixed that problem with an update to UFW. :roll: At least there is a simple fix for that.
Offbeatmatt

Re: Xsane Error Epson ET-4500 "Failed to Start Scanner"

Post by Offbeatmatt »

I disabled the ufw with the command sudo ufw disable then restarted the computer. Simple scan still isn't doing anything ¯\_(ツ)_/¯

Thanks for all the help with Xsane! I'm able to scan my family photos to .png files now :)
Locked

Return to “Printers & Scanners”