[SOLVED] Epson Stylus SX125 scanner function problem.
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
[SOLVED] Epson Stylus SX125 scanner function problem.
Hi
I didn't saw a forum for presentations, so I introduce myself here.
First of all, I want to thank all the work to the Debian community,
My name is Albert and I'm from Barcelona (Spain). I've always been a Ubuntu user, and now, I'm starting with Debian.
I am really excited about that because Debian is hard stuff for me. Until now I did well.
I installed Debian 6.0.4 (amd64) on an Asus 1001P dualbooted with Windows 7 Ultimate x64 without any problems (tested first on VBox ). My idea is to remove Windows when I get my needs replaced
Wi-fi and Sound was auto-detected and working properly
I also installed non-free flash, Google Chrome, VLC, all perfect
My trouble is with a multifunction device: Epson Stylus SX125:
I'm succeeded installing the printer, but not the scanner.
Connected through USB interface (the only way)
I tried with Simple Scan (when I try to scan it says "Unable to connect to scanner").
With Image Scan! for Linux (downloaded from http://download.ebz.epson.net/dsc/du/02 ... 7403a4c878)
and it says "Could not send command to scanner. Check the scanner's status"
With XSane found the device but says "Failed to open device `epkowa:usb:002:002': Access to resource has been denied"
I don't know what to do, is it possible to solve this?
Thanks!
I didn't saw a forum for presentations, so I introduce myself here.
First of all, I want to thank all the work to the Debian community,
My name is Albert and I'm from Barcelona (Spain). I've always been a Ubuntu user, and now, I'm starting with Debian.
I am really excited about that because Debian is hard stuff for me. Until now I did well.
I installed Debian 6.0.4 (amd64) on an Asus 1001P dualbooted with Windows 7 Ultimate x64 without any problems (tested first on VBox ). My idea is to remove Windows when I get my needs replaced
Wi-fi and Sound was auto-detected and working properly
I also installed non-free flash, Google Chrome, VLC, all perfect
My trouble is with a multifunction device: Epson Stylus SX125:
I'm succeeded installing the printer, but not the scanner.
Connected through USB interface (the only way)
I tried with Simple Scan (when I try to scan it says "Unable to connect to scanner").
With Image Scan! for Linux (downloaded from http://download.ebz.epson.net/dsc/du/02 ... 7403a4c878)
and it says "Could not send command to scanner. Check the scanner's status"
With XSane found the device but says "Failed to open device `epkowa:usb:002:002': Access to resource has been denied"
I don't know what to do, is it possible to solve this?
Thanks!
Last edited by AlbertRJulia on 2012-02-13 12:26, edited 1 time in total.
Re: Epson Stylus SX125 scanner function problem.
what is the output from
?
Code: Select all
scanimage -L
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
Re: Epson Stylus SX125 scanner function problem.
Hi, this is the output:
scanimage -L
device `v4l:/dev/video0' is a Noname USB2.0 UVC VGA WebCam virtual device
device `epkowa:usb:002:002' is a Epson Stylus SX125/NX125/NX127/TX120/ME 320/330 Series flatbed scanner
scanimage -L
device `v4l:/dev/video0' is a Noname USB2.0 UVC VGA WebCam virtual device
device `epkowa:usb:002:002' is a Epson Stylus SX125/NX125/NX127/TX120/ME 320/330 Series flatbed scanner
Re: Epson Stylus SX125 scanner function problem.
have you tried something like
? what happens when you scan as root, and what as someone else?
Code: Select all
scanimage >somescan.tiff
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
Re: Epson Stylus SX125 scanner function problem.
As root:
As a normal user:
Code: Select all
root@unknown:/home/aros# scanimage > somescan.tiff
scanimage: sane_start: Invalid argument
Code: Select all
aros@unknown:~$ scanimage > somescan.tiff
bash: somescan.tiff: Permission denied
Re: Epson Stylus SX125 scanner function problem.
so we have two problems, one with sane, and one with the permissions. lat's take up the first one first: it may have to do with that webcam of yours, and if so we'll have to tell sane which device to use.
a) does /etc/xinetd contain the following verses:
b) have you run sane-find-scanner? if not, do so, then try scanning again.
a) does /etc/xinetd contain the following verses:
Code: Select all
service sane-port
{
port = 6566
socket_type = stream
wait = no
user = saned
group = saned
server = /usr/sbin/saned
}
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
Re: Epson Stylus SX125 scanner function problem.
/etc/xinetd does not exist:
sane-find-scanner:
Tried to scan again but same error:
Code: Select all
root@unknown:/etc# cat /etc/xinetd
cat: /etc/xinetd: No such file or directory
Code: Select all
root@unknown:/etc# sane-find-scanner
# 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.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x04b8 [EPSON], product=0x085c [EPSON Epson Stylus SX125 Series]) at libusb:002:002
# 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.
Code: Select all
root@unknown:/etc# scanimage > somescan.tiff
scanimage: sane_start: Invalid argument
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
Re: Epson Stylus SX125 scanner function problem.
if it isn't installed, leave it for now. i thought it would have been automatically selected. and: my fault, the filename is xinetd.conf.AlbertRJulia wrote:I have to install xinetd?
there should exist a file named libsane.rules on /etc/udev. this is how it looks at my system:
Code: Select all
# Brother
SYSFS{idVendor}=="04f9", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
Re: Epson Stylus SX125 scanner function problem.
OMG My system does not have anything!
/etc/xinetd.conf does not exist:
And there is no libsane.rules, this is what I have:
/etc/xinetd.conf does not exist:
Code: Select all
root@unknown:/etc# cat /etc/xinetd.conf
cat: /etc/xinetd.conf: No such file or directory
Code: Select all
root@unknown:/etc# ls -la /etc/udev
total 36
drwxr-xr-x 4 root root 4096 Feb 12 03:40 .
drwxr-xr-x 122 root root 12288 Feb 13 12:35 ..
drwxr-xr-x 2 root root 4096 Dec 13 2010 .dev
-rw-r--r-- 1 root root 92 Nov 2 2008 hdparm.rules
-rw-r--r-- 1 root root 281 Dec 13 2010 links.conf
drwxr-xr-x 2 root root 4096 Feb 12 03:40 rules.d
-rw-r--r-- 1 root root 218 Dec 13 2010 udev.conf
Re: Epson Stylus SX125 scanner function problem.
just create the libsane.rules file. before udev knows your scanner and creates the appropriate device, saned can't work.AlbertRJulia wrote:OMG My system does not have anything!
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain
Re: Epson Stylus SX125 scanner function problem.
Solved!!!!
I created the file libsane.rules with the content you posted modifying the number "04f9" for "04b8".
Then I tried to restart sane service but it says:
I edited /etc/default/saned:
Changing RUN=no for RUN=yes
Then allowed me to start the service and now ALL THE SCANNING PROGRAMS ARE WORKING!!
Thank you so much! these things help me and motivate me to keep using Debian
I created the file libsane.rules with the content you posted modifying the number "04f9" for "04b8".
Then I tried to restart sane service but it says:
Code: Select all
root@unknown:/etc# /etc/init.d/saned restart
saned disabled; edit /etc/default/saned
Code: Select all
# Defaults for the saned initscript, from sane-utils
# Set to yes to start saned
RUN=no
# Set to the user saned should run as
RUN_AS_USER=saned
Then allowed me to start the service and now ALL THE SCANNING PROGRAMS ARE WORKING!!
Thank you so much! these things help me and motivate me to keep using Debian
Re: [SOLVED] Epson Stylus SX125 scanner function problem.
every day a good deed! that's debian policy, didn't you know?
-
- Posts: 9
- Joined: 2012-02-13 09:15
- Location: Barcelona, Spain