Add "iscan" configuration to Jockey

Bug #940063 reported by quequotion
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Jockey
Invalid
Undecided
Unassigned
sane-backends (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I was trying to access my all-in-one Epson EP804AW's scanner through a WiFi network.

This does not work out of the box.

I had found instructions for generically enabling scan over WifI for epson by adding, in /etc/sane.d/epson2.conf:
net 255.255.255.255 # using the printer's IP

This is INCORRECT for the EP804AW.

It caused Simple Scan and xsane to crash (hence the sane-backends bug report).
It also locked up the EP804AW, which had to be power-cycled and recalibrated.

I found the correct method in this guide:

http://edgar.tumblr.com/post/1425668485/scanning-over-wifi-from-an-epson-tx550w-using-ubuntu

This procedure could be simplified by installing the avasys "iscan" drivers from jockey.

Jockey already provides installation options for avasys's printer drivers.

Please include this in Jockey to improve user experience and prevent possible damage to hardware.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: sane-utils 1.0.22-7ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
Date: Fri Feb 24 12:35:43 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/scanimage
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcCmdline: scanimage -L
SegvAnalysis:
 Segfault happened at: 0x7fe5047f07e0: mov 0x8(%rsi),%rax
 PC (0x7fe5047f07e0) ok
 source "0x8(%rsi)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: sane-backends
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
 ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
 ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
 ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
 ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
Title: scanimage crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
mtime.conffile..etc.default.saned: 2012-02-14T15:31:24.882599

Revision history for this message
quequotion (quequotion) wrote :
Revision history for this message
quequotion (quequotion) wrote :

Notes:

1. "iscan" depends on the libltdl3, which was phased out after hardy.
This package still installs in 12.04 without any apparent complications.

2. Once configured, the scanner should work with any scanning software; not only iscan.
Unfortunately Simple Scan isn't working, but xsane is.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _dbus_list_unlink (list=0x7fe4fc000c20, link=0x0) at ../../dbus/dbus-list.c:510
 _dbus_message_remove_counter (message=0x7fe4fc000bb0, counter=0x113bd90, link_return=0x7fff2930ecc8) at ../../dbus/dbus-message.c:302
 _dbus_connection_message_sent (connection=0x113bc80, message=0x7fe4fc000bb0) at ../../dbus/dbus-connection.c:650
 do_writing (transport=<optimized out>) at ../../dbus/dbus-transport-socket.c:680
 do_writing (transport=0x113b590) at ../../dbus/dbus-transport-socket.c:494

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in sane-backends (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
quequotion (quequotion)
visibility: private → public
Revision history for this message
quequotion (quequotion) wrote :

I've been digging a little deeper.

"iscan" is freely downloadable from here:
http://linux.avasys.jp/drivers/iscan/2.28.1/

The source code is also available, and the readme clearly states that this software is GNU GPL2

If you take a look, there's even an updated version that depends on libltdl7 (available in 12.04):
iscan_2.28.1-3.ltdl7*

I don't know why avasys has not updated their site to distribute this version.

Jockey added the driver repository in /etc/apt/sources.list.d/jockey.list:
deb http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/debian/ lsb3.2 main

I don't know why avasys has not made a repository for other packages like iscan.

Updated procedure to enable scan over Wifi for Ubuntu 12.04(+):

1. Use jockey to install the ESC/PR driver (enables print over Wifi, installs device, etc)
2. Download the following (for amd64, use i386 for legacy systems):
http://linux.avasys.jp/drivers/iscan/2.28.1/iscan_2.28.1-3.ltdl7_amd64.deb
http://linux.avasys.jp/drivers/iscan-data/1.13.0/iscan-data_1.13.0-1_all.deb
http://linux.avasys.jp/drivers/scanner-plugins/iscan-network-nt/1.1.0/iscan-network-nt_1.1.0-2_amd64.deb
3. Install those with dpkg
sudo dpkg -i iscan*
4a. Add this line to /etc/sane.d/epkowa.conf (use your printer's IP)
net 255.255.255.255
4b. Another, untested, possibility:
net autodiscovery
5. Comment out this line in /etc/sane.d/epson2.conf (just in case)
#net autodiscovery
6. Restart saned
sudo /etc/init.d/saned restart

Revision history for this message
quequotion (quequotion) wrote :

Only "iscan-network-nt" has neither distributed source code nor a license statement.

This may be what iscan's readme refers to by "exceptions...for...several non-free plugins".

This plugin is free, but probably requires proprietary licensing agreement.

quequotion (quequotion)
description: updated
Revision history for this message
Patrick J. LoPresti (lopresti) wrote :

The current "Jockey" repository has moved to download.ebz.epson.net, so the /etc/apt/souces.list.d/jockey.list file you want is:

deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main

This has more recent versions than the repository at linux.avasys.jp. See http://download.ebz.epson.net/faq/linux/faq_li_00027.html

Also, the current version of iscan is 2.29.1, but I have only been able to download it via http://download.ebz.epson.net/dsc/search/01/search/ (select "Linux" for the OS and then enter any Epson printer model, e.g. NX110)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sane-backends (Ubuntu):
status: New → Confirmed
Revision history for this message
Michel-Ekimia (michel.ekimia) wrote :

What is the satus on this ?

in 2014 , epson scanners are still not Plug n play on Ubuntu althought supported by ( for most of them ) the opensoucre epson2 backend.

Is there a master Bug for this ?

Revision history for this message
David Ward (dpward) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in jockey:
status: New → Incomplete
Changed in sane-backends (Ubuntu):
status: Confirmed → Incomplete
Changed in jockey:
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sane-backends (Ubuntu) because there has been no activity for 60 days.]

Changed in sane-backends (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.