You are not logged in.
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
Are you using Hotplug...?
Are your config files set up for your scanner....?
Have you got permissions sorted ?
HTH
Mr Green
Mr Green
Offline
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
In /etc/rc.local
chown -R <yourusername>.users /proc/bus/usb/*
HTH
Mr Green
Mr Green
Offline
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
Mr Green
Offline
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
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
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
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
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
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
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
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
AKA uknowme
I am not your friend
Offline
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
Mr Green
Offline
Posted: Thu Jun 24, 2004 1:00 am Post subject:
http://www.sane-project.org/man/sane-epson.5.htmlHTH
Mr Green
No solution in this document :?
Offline
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 )
Mr Green
Offline
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
what does
scanimage -L
give you ?
take a look at
man sane-epson
Mr Green
Mr Green
Offline
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:
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
Mr green,
[root@famjong allemaal]# scanimage -L
device `epson:libusb:002:004' is a Epson GT-7000 flatbed scanner
Offline
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
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
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