You are not logged in.

#1 2004-06-23 11:10:09

blabla
Member
Registered: 2004-06-22
Posts: 39

no luck with epson usb scanner [solved]

Hi,

I´ve tried to set up my epson usb scanner (GT7000U/636U) with this howto: [http://www.freecolormanagement.com/sane/libusb.html]  using archlinux 0.6 and kernel 2.6.7. Added module ohci_hcd (found by hwd) to rc.conf.

This is what happens :

[root@famjong allemaal]# sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a 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=0x0101 [Scanner GT-7000]) 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.
[root@famjong allemaal]# scanimage -L
device `epson:libusb:002:002' is a Epson GT-7000 flatbed scanner
[root@famjong allemaal]# scanimage
scanimage: sane_start: Error during device I/O

This also happens when using xsane.
This is what my fstab looks like:

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb usbdevfs  defaults,devmode=0666            0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/crdoms/cdrom1     /mnt/cdr  iso9660   ro,user,noauto,unhide   0      0   
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part3 / ext3 defaults 0 1
/dev/discs/disc0/part1 /boot ext2 defaults 0 1
/dev/discs/disc0/part2 swap swap defaults 0 0

This is the modules section in rc.conf:

MODULES=(ide-scsi snd-pcm-oss snd-intel8x0 lp ohci-hcd)

The Wiki howto didn´t work and i couldn´t find a solution in this forum either, and.............
I really need to scan!! My mother in law is going to kill me if i don´t mail some photo´s of our last week born daughter!! So pls help me to get this thing working!! (I really like Arch and don´t want to install another distro or windows). Btw i´m a newbie.

Offline

#2 2004-06-23 12:02:21

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]

Are you using Hotplug...?

Are your config files set up for your scanner....?

Have you got permissions sorted ?

HTH

Mr Green


Mr Green

Offline

#3 2004-06-23 12:37:50

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

I am using hotplug.

Commented everything out except ¨usb¨ in /etc/sane.d/epson.conf
Commented everything out except ¨epson¨ in /etc/sane.d/dll.conf

I set permissions as told in

http://www.freecolormanagement.com/sane/libusb.html

I should be able to scan as root, even without the permissions setup right?
Or am i wrong?

Offline

#4 2004-06-23 13:00:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]

In /etc/rc.local

chown -R <yourusername>.users /proc/bus/usb/*

HTH

Mr Green


Mr Green

Offline

#5 2004-06-23 16:26:37

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Mr Green, thanx for your quick reply, but..........
still no luck.
Running xsane as user or root still give me the I/O error when i try to scan.
When i do file-> info it displays the correct scanner info though.

I´m not so sure if this hotplugging thing is configured correctly.

Have you got any other suggestion???

Offline

#6 2004-06-23 16:40:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]


Mr Green

Offline

#7 2004-06-23 17:07:27

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: no luck with epson usb scanner [solved]

try disabling hotplug and make sure your scanner is plugged in while booting - report if it's still erroring

check also dmesg and the logs


The impossible missions are the only ones which succeed.

Offline

#8 2004-06-23 21:00:54

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Do i have to recompile the kernel for disabling hotplug or is there another way?
As a newbie i have not much experience with recompiling.

Offline

#9 2004-06-23 21:13:37

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: no luck with epson usb scanner [solved]

no you don't have to disable hotplug per se. as root issue the command:

chown -R <yourusername>.users /proc/bus/usb/002/*

then as root:

scanimage -L

if everything is working then you should get some meaningful output.

keep that same line in your rc.local until you sort out hotplug (which theoretically should work).


AKA uknowme

I am not your friend

Offline

#10 2004-06-23 21:34:10

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: no luck with epson usb scanner [solved]

blabla wrote:

Do i have to recompile the kernel for disabling hotplug or is there another way?
As a newbie i have not much experience with recompiling.

no, i meant just disable the daemon (! it from DAEMONS() in rc.conf)

if you also do not have success scanning the usb-bus for scanners as root, then it's probably not the permissions


The impossible missions are the only ones which succeed.

Offline

#11 2004-06-23 21:43:16

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Like this?

[root@famjong allemaal]# chown -R allemaal.users /proc/bus/usb/002/*
[root@famjong allemaal]# scanimage -L
device `epson:libusb:002:002' is a Epson GT-7000 flatbed scanner

so far so good, but then:


[root@famjong allemaal]# scanimage
scanimage: sane_start: Error during device I/O

still the same   :cry:

Offline

#12 2004-06-23 23:44:50

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: no luck with epson usb scanner [solved]

sarah31 wrote:

chown -R <yourusername>.users /proc/bus/usb/002/*

While I hate this method of permission setting, I still feel compelled to point out the problem with this command.  It'll only work if the scanner is on the 2nd usb bus.  To make sure you get all the usb devices you'd want to use the path /proc/bus/usb .


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#13 2004-06-24 00:48:44

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: no luck with epson usb scanner [solved]

I had a weird problem with my scanner, not working and I fixed it, commenting out epson in /etc/sane.d/dll.conf


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#14 2004-06-24 01:00:02

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: no luck with epson usb scanner [solved]

Xentac wrote:
sarah31 wrote:

chown -R <yourusername>.users /proc/bus/usb/002/*

While I hate this method of permission setting, I still feel compelled to point out the problem with this command.  It'll only work if the scanner is on the 2nd usb bus.  To make sure you get all the usb devices you'd want to use the path /proc/bus/usb .


that is where his scanner is  wink


AKA uknowme

I am not your friend

Offline

#15 2004-06-24 02:01:08

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

dp,

i disabled the daemon, but still the same result  :cry:

as root :
- sane-find-scanner finds the scanner
- scanimage -L gives the right scanner info
- xsane File-> Info gives the right scanner info
- when i try to scan or preview scan xsane is busy for 1-2 minutes, then gives the ¨error during device I/O¨

Btw, this scanner used to work perfectly with the 2.4 kernels.

Offline

#16 2004-06-24 07:00:21

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]


Mr Green

Offline

#17 2004-06-24 07:15:45

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Posted: Thu Jun 24, 2004 1:00 am    Post subject:
http://www.sane-project.org/man/sane-epson.5.html

HTH

Mr Green

No solution in this document   :?

Offline

#18 2004-06-24 08:08:25

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]

http://www.meier-geinitz.de/sane/sts/

Your scanner is detected ... but if your front/back ends are not set up then that may be the problem...

Try the program above it may help.....

have you got libusb installed ?


HTH

Mr Green

(I had the same problems with my scanner stick with it smile )


Mr Green

Offline

#19 2004-06-24 12:13:36

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Mr. Green,

The story continues...................

libusb is installed.
The program did not find any errors (couldn´t check usb setup, because it´s not implemented yet).

I´m getting desperate!!!

:x

Offline

#20 2004-06-24 12:28:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]

what does

scanimage -L 

give you ?

take a look at

 man sane-epson 

Mr Green


Mr Green

Offline

#21 2004-06-24 12:49:26

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: no luck with epson usb scanner [solved]

blabla wrote:

dp,

i disabled the daemon, but still the same result  :cry:

as root :
- sane-find-scanner finds the scanner
- scanimage -L gives the right scanner info
- xsane File-> Info gives the right scanner info
- when i try to scan or preview scan xsane is busy for 1-2 minutes, then gives the ¨error during device I/O¨

Btw, this scanner used to work perfectly with the 2.4 kernels.

... and now you are using 2.6.x kernel with libusb now, right? - make sure your libusb is updated and check what the kernel tells over dmesg about this

have also a look at the comment of kakabaratruskia:

kakabaratruskia wrote:

I had a weird problem with my scanner, not working and I fixed it, commenting out epson in /etc/sane.d/dll.conf

i don't have an epson, but a canon scanner over usb and as it had problems with 2.4 with 2.6.x kernel it works fine - so i do not know much about trouble with epson thingens but maybe the tip from kakabaratruskia can help

good luck


The impossible missions are the only ones which succeed.

Offline

#22 2004-06-24 12:55:11

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Mr green,


[root@famjong allemaal]# scanimage -L
device `epson:libusb:002:004' is a Epson GT-7000 flatbed scanner

Offline

#23 2004-06-24 13:03:23

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

DP,

[root@famjong allemaal]# pacman -S libusb
:: libusb-0.1.8-2: is up to date.  Upgrade anyway? [Y/n]

It is installed, so it´s being used too (?)


have also a look at the comment of kakabaratruskia:

Already did that  :cry:

Offline

#24 2004-06-24 13:11:10

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: no luck with epson usb scanner [solved]

your system is finding your scanner thats clear...

But is sane set up correctly ?

What happens when you do xsane....does sane find your scanner...?

Mr Green


Mr Green

Offline

#25 2004-06-24 13:19:17

blabla
Member
Registered: 2004-06-22
Posts: 39

Re: no luck with epson usb scanner [solved]

Mr Green,

see my earlier reply to DP:

as root :
- sane-find-scanner finds the scanner
- scanimage -L gives the right scanner info
- xsane File-> Info gives the right scanner info
- when i try to scan or preview scan xsane is busy for 1-2 minutes, then gives the ¨error during device I/O¨

Btw, this scanner used to work perfectly with the 2.4 kernels.

Offline

Board footer

Powered by FluxBB