You are not logged in.
Pages: 1
Hi everybody.
I'm trying to configure my Epson Stylus DX4450. Printing works like a charm, but scanner is not. I tried to configure it as it was suggested on various websites. I've installed sane, xsane, iscan (from http://repo.archlinux.fr/i686) also I've downloaded iscan-plugin-cx4400 from Avasys website, extracted it with rpmextract ant put the library to /usr/lib/iscan.
When I try sane-find-scanner it shows:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04b8 [Language Error], product=0x083f [Language Error]) at libusb:002:010
# 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.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
When I try scanimage -L it's idle for about a minute and then it shows:
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).
But when I try it again it shows:
device `epkowa:libusb:002:010' is a Epson flatbed scanner
Then if I try sane-find-scanner again it will show no language errors:
found USB scanner (vendor=0x04b8, product=0x083f) at libusb:002:010
xsane will check for available devices for some time, then it shows a message, that no device is available. iscan shows a message "Could not send command to scanner. Check the scanners status". Sometimes iscan will launch, but I can't scan, because it will show me the "Could not send..." error message.
Device usually turns off when I try xsane. Two times xsane launched, but Epson turned off right after it. It also turns off sometimes when I try sane-find-scanner second time or when I try to launch iscan.
I read that there can be a conflict between sane and gphoto, moved /etc/udev/rules/54-gphoto.rules and restarted udev - still didn't work.
/etc/sane.d/dll.conf:
# enable the next line if you want to allow access through the network:
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
#canon_pp
cardscan
coolscan
coolscan2
#dc25
#dc210
#dc240
dell1600n_net
dmc
epjitsu
#epson
#epson2
epkowa
fujitsu
#gphoto2
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
leo
lexmark
ma1509
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
pie
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
#umax_pp
umax1220u
v4l
#
# The following backends are not included in the sane-backends distribution
# If you want to use them, download them from their webpages and read their
# documentation
#
# HP OfficeJet backend homepage: http://hpoj.sf.net/
# Uncomment the following line if hpoj is installed:
#hpoj
hp_rts88xx
#hpaio
/etc/sane.d/epkowa.conf:
# epkowa.conf -- sample configuration for the EPKOWA SANE backend
# Copyright (C) 2004 Olaf Meeuwissen
#
# See sane-epkowa(5), sane-scsi(5) and sane-usb(5) for details.
# SCSI scanners can be configured simply by listing the path to the
# device. For example, if your system claims to have a /dev/scanner
# SCSI device, all you have to do is uncomment the following line:
#
#/dev/scanner
#
# In the interest of maintainability, most installations would have
# /dev/scanner sym-linked to the real SCSI scanner device node.
#
# An alternative way that works for many operating systems and is a
# little bit more generic, is to have the backend probe for your SCSI
# scanner with the following configuration command:
#
#scsi EPSON
# On systems with libusb, the following line is sufficient to get the
# backend to recognise your USB scanners. It presumes, however, that
# the scanner---more precisely, it's USB product ID---is known to the
# backend.
# For all USB scanners that are officially supported by this backend,
# this presumption is true. A list of such scanners can be found in
# sane-epkowa(5).
#
usb 0x4b8 0x83f
# For any USB scanner not known to the backend (yet), you may, at your
# own peril(!!), force the backend to recognise and use it via libusb.
# You can do so by the following configuration command:
#
# usb <USB vendor ID> <USB product ID>
#
# SEIKO EPSON's USB vendor ID is '0x04b8' (without quotes). In order
# to find the USB product ID, use lsusb(1) or, on Linux systems, peek
# at the information in /proc/bus/usb/devices.
# A sample configuration for the Perfection 1650 (GT-8200), which has
# a product ID of 0x0110, would look as follows:
#
#usb 0x04b8 0x0110
# When not accessing your USB scanner via libusb, you may need to use
# one of the configuration commands below or commands that are almost
# the same. These commands typically access the scanner via a kernel
# scanner module.
#
usb /dev/usb/scanner0
usb /dev/usbscanner0
usb /dev/uscanner0
#
# Linux had a scanner module until version 2.6.2. As of version 2.6.3
# libusb is your only option. Linux' scanner module can be loaded via
# the modprobe(8) command like so:
#
# modprobe scanner vendor=<USB vendor ID> product=<USB product ID>
#
# If the scanner module already knows the vendor and product IDs, you
# do not have to specify them. If you want to have this done automa-
# tically every time you boot, you can add the above line, except for
# the modprobe command itself, to your /etc/modules file.
# Although not tested with this backend, parallel port scanners should
# be usable. You can configure them as shown below, but I do not know
# much about the details. Information is welcome.
#
#pio 0x278
#pio 0x378
#pio 0x3BC
/etc/udev/rules.d/53-sane.rules (shortened):
# This file was automatically created based on description files (*.desc)
# by sane-desc 3.3 from sane-backends 1.0.19 on Fri Mar 7 06:29:43 2008
#
# udev rules file for supported USB devices
#
# To add a USB device, add a rule to the list below between the
# LABEL="libsane_rules_begin" and LABEL="libsane_rules_end" lines.
#
# To run a script when your device is plugged in, add RUN+="/path/to/script"
# to the appropriate rule.
#
# The following list already contains a lot of scanners. If your scanner
# isn't mentioned there, add it as explained above and mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"
ENV{DEVTYPE}=="usb_device", GOTO="libsane_create_usb_dev"
SUBSYSTEM=="usb_device", GOTO="libsane_rules_begin"
SUBSYSTEM!="usb_device", GOTO="libsane_rules_end"
# Kernel >= 2.6.22 jumps here
LABEL="libsane_create_usb_dev"
# For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y
# If the following rule does not exist on your system yet, uncomment it
# ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664", OWNER="root", GROUP="root"
# Kernel < 2.6.22 jumps here
LABEL="libsane_rules_begin"
(...)
# EPSON Stylus CX4300 | EPSON Stylus CX4400 | EPSON Stylus CX5500
# EPSON Stylus CX5600 | EPSON Stylus DX4400 | Epson Stylus DX4450
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083f", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
(...)
# The following rule will disable USB autosuspend for the device
ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'test -e /sys/$env{DEVPATH}/power/level && echo on > /sys/$env{DEVPATH}/power/level'"
LABEL="libsane_rules_end"
Can anyone help with this?
Offline
Almost solved.
First I've copied files extracted from iscan-plugin-cx4400.rpm from /usr/lib/iscan to /usr/lib/sane. Didn't work.
Then I've checked version of iscan with yaourt and it appeared that aur have newer version than the one from archlinux.fr repo. I've built it, moved epkowa.conf.pacsave to epkowa.conf and it worked once.
sane-find-scanner output was the same, with language errors, but scanimage -L showed that it found my scanner (don't have the exact output - it was different than before). xsane still didn't found the device but I managed to preview and scan to file printer test page with iscan.
When I tried it for the second time, sane-find-scanner output was the same, but scanimage -L didn't recognised the scanner. iscan didn't work. Tried to restart the device - still the same.
Tried to turn off the scanner, restart udev, start scanner again. Didn't work.
Offline
Pages: 1