Epson Stylus SX410 hybrid printer/scanner isn't in detected as a scanner by xsane

Bug #475185 reported by Ævar Arnfjörð Bjarmason
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xsane (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xsane

The Epson Stylus SX410 which is a cheap printer/scanner hybrid isn't recognized by sane as a scanner (see model: http://en.kioskea.net/guide/1244615-epson-stylus-sx410)

I tried a suggestion in bug 72506 but xsane still doesn't detect it: https://launchpad.net/ubuntu/+source/sane-backends/+bug/72506/comments/7

However when it's plugged in sane-find-scanner can see it:

$ sudo sane-find-scanner |grep ^found
found USB scanner (vendor=0x04b8, product=0x0851) at libusb:002:002

$ cat /etc/udev/rules.d/45-libsane.rules
# $ sudo sane-find-scanner |grep ^found
# found USB scanner (vendor=0x04b8, product=0x0851) at libusb:002:006
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0851", MODE="664", GROUP="scanner"

$ tail -n1 /etc/sane.d/epson.conf
usb 0x04b8 0x0851

I haven't found any firmware for the scanner to install as another comment in that bug suggests.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 0169f76fbe64c26c287457397cc58891
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Thu Nov 5 08:35:28 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/xsane
Package: xsane 0.996-2ubuntu1
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: xsane
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
 (gnome-settings-daemon:2114): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:2114): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2777): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2683): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:2452): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

Revision history for this message
Ævar Arnfjörð Bjarmason (avarab) wrote :
Revision history for this message
Andrew Jenner (ubuntu-akafjenner) wrote :

My Epson rx520isn't recognize either.
I have just done a clean install of 9.10 64bit (I have tried on a 32bit as well)and cannot get my Epson rx520 all-in-one to scan.
I have been using it in 9.04 and before all I had to do was to make sure that libsane-extras & sane-utils were installed then it just worked.
I have tried System-Admin-User & Groups. Ticked the boxes in "saned" properties.
I have tried System-Admin-Printers. Enabled and shared the rx520
Run ls -l /dev/usb/ to show it is connected
Checked the epson2 backend/drivers are ok for the rx520
change /etc/udev/rules.d/45-libsane.rules to read

#Epson stylus RX520
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="081a", MODE="664", GROUP="scanner"

and changed /etc/udev/rules.d/51-scanner.rules to read:-

 # libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664", GROUP="admin"

I used "sudo sane-find-scanner" which gave:-

found USB scanner (vendor=0x04b8 [EPSON], product=0x081a [USB2.0 MFP(Hi-Speed)]) at libusb:001:006
# 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.
andrew@andrew-desktop:~$ scanimage -L
WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect

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).

Revision history for this message
warnfried (warnfried) wrote :

Xsane recognises my Epson SX410 multifunctional inkjet scanner-printer-copier as a scanner-device only
if I do not install it as a printer.
Just by not installing any driver, every scanning program (Xsane, Skanlite, gscan2pdf) recognises it and I so I can use the epson stylus XS410 to scan. The scanning works fine that way.

As soon as i install a driver, Ubuntu suggests epson XS405, it will only be able to print. When I remove it as a printer, I can scan again.

So it is either scanning or printing...

Revision history for this message
Cedders (cedric-gn) wrote :

My Epson Stylus Photo RX620 is also not apparently supported by xsane although listed on the sane site as supported by epson2 ("epson" is commented out in the default /etc/sane.d/dll.conf).

On connection I get a "no devices available" warning, although xsane loads. If I run xsane from the command line I get a segfault when the printer is on. However sometimes "scanimage -d epson2" does produce output (although I can't get it in Gimp's File > Create > xsane dialogue and the scan button doesn't work) and scanimage -L also lists the device (currently more often than not). So is it more likely to be a problem with xsane than libsane?

found USB scanner (vendor=0x04b8 [EPSON], product=0x0811 [USB2.0 MFP]) at libusb:001:002

I created a /etc/udev/rules.d/45-libsane.rules with
SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0811", MODE="664", GROUP="scanner"

"man sane-dll" doesn't seem to be in the package. "man sane-epson2" is.

libsane/karmic uptodate 1.0.20-4ubuntu3
libsane-extras/karmic uptodate 1.0.20.1ubuntu1
sane-utils/karmic uptodate 1.0.20-4ubuntu3
xsane/karmic-updates uptodate 0.996-2ubuntu1.1
xsane-common/karmic-updates uptodate 0.996-2ubuntu1.1
xsane-doc/karmic-updates uptodate 0.996-2ubuntu1.1

Quite sure it's not a permissions issue - I'm a member of saned / lp / lpadmin groups and also happens as root.

I may try to get more info on the segmentation fault. I also see the "Unhandled message" warning mentioned in comment 2 above,

Revision history for this message
flrtx (fltrx) wrote :

I also have got a Epson Stylus SX410 and I'm affected by this bug, too. I'm trying to provide as much information as I can so that a developer can get this fixed.

According to the list on their website, the Sytlus SX410 is fully supported by sane.

'sane-find-scanner' seems to find the scanner: 'found USB scanner (vendor=0x04b8, product=0x0851) at libusb:002:006'. However, 'scanimage -L' identifies no scanner.

I tried to remove the printer as warnfried suggested in comment #3, but this didn't have any effect for me. I could still not scan.

I also tried the workaround suggested by pelaodiego in bug #72506, comment #7 (https://launchpad.net/ubuntu/+source/sane-backends/+bug/72506/comments/7) and adapted the IDs to the SX410 (see above). This didn't work either.

I don't get a segfault when starting xsane via the commandline as experienced by Cedders (comment #4).

I also tried the scanner using Linux Mint Elyssa and Knoppix 5.1.1 Live CDs and it didn't work in that distros either. So, this seems to be a wider known problem (although I didn't find other similar bugreports).

Is someone working on a solution for this? Do we have to send this report upstream? To which project?

I'd really appreciate if I could finally use my scanner and I'm willing to help to find a solution to this if you need more specific information.

Revision history for this message
Alver (nekerev) wrote :

I have an issue with the 64 bit version. This is my story: I run an ageeing desktop (512 MB ram, some 7 years old) in dual boot mode Win XP/9.10 32 b. The installation was uneventfull and everything runs fine. Early this year I purchased an Epson SX 410 Stylus all-in-one. It ran well out of the box, both printer and scanning functions (hurray!). Last May I upgraded to 10.04, a little boring perhaps because it took some 3.5 hours, but all went well and my all-in-one continued to perform well (hurray again!).
I recently bought a brand new Toshiba Satellite L505-10M with W7 64 bits and 6 GB ram. I installed a dual boot with 10.04 64 bits, everything went well and performs well EXCEPT the scanner portion of my all-in-one. It simply will not work. Do I have to go back to the 32 bits version? Life without a scanner is difficult for me.

Revision history for this message
flrtx (fltrx) wrote :

In the meantime, I managed to get my scanner working the help of the the sane-devel mailinglist. (Maybe they could help you too. They're great!)

I found out the issue is the following: The SX 410 is supported from sane-backends 1.21 onwards. Lucid ships with 1.20. You have to upgrade to 1.21 using this PPA (https://launchpad.net/~robert-ancell/+archive/sane-backends) for example.

Hope that helps.

Sorry for reporting back so late. I had completely forgotten about this bug.

Revision history for this message
Alver (nekerev) wrote :

Thank you for your rapid reply. I've downloaded and installed the additional software as indicated by the method. I have now the following packages installed:
sane 1.0.14-9
libsane 1.0.21-2ubuntu1
sane-utils 1.0.21-2ubuntu1
python-imaging-sane 1.1.7-1
libsane extras 1.020.1ubuntu1
xsane 0.996-2ubuntu3

Is this all that is required? Because the scanner part of my Epson Stylus SX 410 still does nof function! Any other thoughts? As you can see from the print-screen too many libsane packages may be a problem (bottom remark).

Revision history for this message
flrtx (fltrx) wrote :

If you added the PPA and the upgraded the packages instead of installing new ones, you shouldn't get more than one SANE version I think.

Quite frankly, I have to admit that I'm far from being an expert in SANE related issues so perhaps you should ask for help on their maling list (http://lists.alioth.debian.org/mailman/listinfo/sane-devel).

In the meantime, I remember one more thing I had to do: Following the advide by someone on that list, I added the following line to /etc/sane.d/epson2.conf:
usb 0x4b8 0x0851
I think this forces SANE to look specifically for the SX410 and you could try that out but again: I don't really know what I'm doing when I'm playing around with SANE so you'd better ask the experts.

Revision history for this message
Alver (nekerev) wrote :

I added the following line to /etc/sane.d/epson2.conf:

usb 0x4b8 0x0851

as indicated in your message. IT WORKS!! I have now a fully working SX 410 (hurray!)

Revision history for this message
penalvch (penalvch) wrote :

Ævar Arnfjörð Bjarmason, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases your release is EOL.

If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it.

Changed in xsane (Ubuntu):
status: New → Invalid
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.