You are not logged in.

#1 2009-01-17 14:09:04

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Scanner fails with I/O error

Hello,

When I try to start the Scanner (an Epson RX425), I get the following message:

"Failed to start scanner: error during device I/O"

It worked fine a couple of days ago, so I can only imagine it has something to do with this morning's system upgrade (sorry, can't remember what was updated, apart from a new kernel, but it was a substantial number of packages). Sane-find-scanner seems to work:

bash-3.2# 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.

found USB scanner (vendor=0x04b8 [EPSON], product=0x080f [USB MFP]) at libusb:002:009
  # 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.

but scanimage -L doesn't:

bash-3.2# scanimage -L

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).
bash-3.2#

Can anyone help me with this really annoying problem?

Thanks very much.

Offline

#2 2009-01-17 14:26:48

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Scanner fails with I/O error

I got an epson scanner. It is quite special, because it 'needs all my love'. What I did was to remove all unneded entries from /etc/sane.d/dll.conf leaving those relative to epson scanners only. Then I added the 'usb vendor product' to the respective backends.

According to what you have posted:

found USB scanner (vendor=0x04b8 [EPSON], product=0x080f [USB MFP]) at libusb:002:009

I would add

usb 04b8 080f

to /etc/sane.d/epson{,2}.conf and retry the scanimage -L

Luck with it!

Last edited by kjon (2009-01-17 14:27:31)


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#3 2009-01-17 14:45:16

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Re: Scanner fails with I/O error

Thanks for your reply. I did what you suggest, but to no avail.

In the meantime, I found something that might be interesting here: https://bugs.launchpad.net/ubuntu/+sour … +bug/55272

Apparently, unloading ehci_hcd might help. But I have no idea how to do this. Can anyone enlighten me?

Offline

#4 2009-01-17 14:51:55

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Scanner fails with I/O error

It looks a feasible workaround, but a very ugly one for my taste. You might want to add

MODULES=( ... !ehci_hcd ...)

to your rc.conf to avoid module loading.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#5 2009-01-17 15:19:46

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Re: Scanner fails with I/O error

Thanks very much once again for your help. I've tried what you suggested, but still no joy. Is there some sort of journal so that I can look back to see what packages were updated this morning? That might help to identify the problem.

Offline

#6 2009-01-17 17:03:13

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Scanner fails with I/O error

cat /var/log/pacman.log | less

that will show you pacman's activity. To escape from the pager, press Q.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#7 2009-01-17 21:40:41

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Re: Scanner fails with I/O error

OK, I've done that but I didn't see anything that could account for the problem. One thing though: I read through the Wiki (again!) and apparently I should get the details of the device in /proc/bus/usb. I don't:

bash-3.2# cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory
bash-3.2# ls -lR /proc/bus/usb
/proc/bus/usb:
total 0

Last edited by Flapjack (2009-01-17 21:40:54)

Offline

#8 2009-01-17 23:08:21

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Scanner fails with I/O error

mhhhh.
try

mount none /proc/bus/usb -t usbfs

that will solve your /proc/bus/usb issue.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#9 2009-01-18 08:13:56

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Re: Scanner fails with I/O error

OK, done that. Still nothing! Grrrrr!

Offline

#10 2009-01-18 10:12:43

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Re: Scanner fails with I/O error

Thanks very much for all your help kjon. But now I'm adopting the radical solution: ie, I'm going to install Ubuntu (groan!) I've been using Archlinux for nearly a year now, and I love it very much, but right now I just don't have the time to sort out these sorts of problems. Perhaps I'll come back later.
Thanks again.

Offline

#11 2009-01-18 14:32:02

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Scanner fails with I/O error

@ Flapjack: please look at this bug report: http://bugs.archlinux.org/task/12640

Offline

#12 2009-01-18 14:42:26

Flapjack
Member
Registered: 2008-05-08
Posts: 33

Re: Scanner fails with I/O error

Ah yes, it looks very similar. Anyway, I've got Ubuntu up and running now and I have my scanner back.

Offline

#13 2009-01-18 18:22:53

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Scanner fails with I/O error

After reading this here i test my Epson Perfection 3170 Photo and recognized that "scanimage -L" or iscan do nothing but the problem is that they acts only very much slower as before. After some time (1-2 min) i got the message that there be two devices but the last time that i used it was only one device.

# scanimage -L
device `epkowa:usb:001:005' is a Epson (unknown model) flatbed scanner
device `epkowa:interpreter:001:005' is a Epson Perfection 3170 flatbed scanner

And i have a new line in the logfile which i haven't had before:

/var/log/localmessages.log:
load-modules.sh: 'usb:v04B8p0116d0100dcFFdscFFdpFFicFFiscFFipFF' is not a valid module or alias name

Has anyone else this line too?

@Flapjack Info about mounting /proc/bus/usb: I put my user in a new group "usb" (gid=120) and have this line in my /etc/fstab:

none  /proc/bus/usb usbfs  defaults,devgid=120,devmode=0664  0 0

Offline

#14 2009-01-18 19:50:16

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Scanner fails with I/O error

about running away to ubuntu, I guess it's a valid choice here. I have one of my desktops running ubuntu 'just in case'. Although, I've been running arch since 2007 (or it was 2006?) so I've spent some time understanding the inner ways that arch uses to tick (and say hi!, or ... to show you that you definetly screwed up your system) big_smile

Whatever choice you pick, Luck with it!.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#15 2009-01-18 20:43:19

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Scanner fails with I/O error

i also have this issue and when if i pull out the cord and put it back in again i get this:
$ scanimage -L
device `epson:libusb:002:008' is a Epson CX6000 flatbed scanner
$ scanimage -L

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

and then i have to repeat the process if i want scanimage -L to see it tongue same when running as sudo/root. This might work for scanning aswell but i don't have time to try it right now..

I tried to build it from cvs in aur and from abs but the build errors on me..

as a side not why is dmesg and /var/log/messages.log different? argh..

Last edited by test1000 (2009-01-18 20:44:07)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#16 2009-01-18 20:56:40

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Scanner fails with I/O error

i'm pretty sure this is a kernel interfacing sane/sane interfacing kernel issue. just posting this here because i have to go out as a future note and as help for others


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#17 2009-01-19 05:03:05

timbosa
Member
From: Australia
Registered: 2007-02-25
Posts: 21

Re: Scanner fails with I/O error

test1000 wrote:

i'm pretty sure this is a kernel interfacing sane/sane interfacing kernel issue.

Yes. Kernel 2.6.28.1 from testing fixed this for me.

Offline

#18 2009-01-19 09:13:35

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Scanner fails with I/O error

yup. fixed it for me too. Maybe kernel bugfixing doesn't go that slow..(?)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#19 2009-01-23 18:44:22

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Scanner fails with I/O error

this should probably be marked solved so that others can find the solution easier.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB