Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 12-09-2003, 08:47 PM   #1
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 31
canoscan n670u device read error

i, im having some problems with using my canon canoscan
n670u on slack 9.1 kernel 2.4.22. im using xsane and the error i get is:

Error during read: Error during device I/O

importantly, xsane *finds* the device but i get that error when
previewing/scanning. the same error i get with scanimage.

also importantly, this scanner did work a few days ago! i did the same thing
with xsane and it was fine!

to me it seems as if everything is ok and yet i get I/O errors (tried as root btw)
scanimage -L finds the scanner sane-find-scanner finds it
and the scanner starts making noises for about a second, then waiting for
a few seconds, and then i get an error. please help. thanks.

shellcode@ph33r:~$ dmesg
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:1f.2
PCI: Sharing IRQ 11 with 02:0b.0
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0xef80, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
i810_rng hardware driver 0.9.8 loaded
hub.c: new USB device 00:1f.2-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x220d) is not claimed by any active driver.
usb.c: registered new driver usbscanner
scanner.c: USB scanner device (0x04a9/0x220d) now attached to scanner0
scanner.c: 0.4.13:USB Scanner Driver
ident: nic h/w: id=0x800c 1.0.0
ident: pri f/w: id=0x15 1.0.7
ident: sta f/w: id=0x1f 1.3.6
shellcode@ph33r:~$ /sbin/lsmod
Module Size Used by Not tainted
snd-pcm-oss 37252 0
snd-mixer-oss 11992 0 [snd-pcm-oss]
scanner 10488 0
i810_rng 2656 0 (unused)
uhci 24496 0 (unused)
usbcore 58400 1 [scanner uhci]
prism2_plx 61020 2
p80211 18456 0 [prism2_plx]
snd-ens1371 11596 0
gameport 1452 0 [snd-ens1371]
snd-pcm 55904 0 [snd-pcm-oss snd-ens1371]
snd-timer 13252 0 [snd-pcm]
snd-page-alloc 6004 0 [snd-pcm]
snd-rawmidi 12512 0 [snd-ens1371]
snd-seq-device 3920 0 [snd-rawmidi]
snd-ac97-codec 37240 0 [snd-ens1371]
snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 3332 6 [snd]
pcmcia_core 40032 0
ide-scsi 9424 0
agpgart 39576 0 (unused)

shellcode@ph33r:~$ cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=ef80
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04a9 ProdID=220d Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usbscanner
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=16ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

shellcode@ph33r:~$ 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.

found USB scanner (vendor=0x04a9, product=0x220d) at /dev/usb/scanner0
found USB scanner (vendor=0x04a9, product=0x220d) at libusb:001: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.

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

shellcode@ph33r:~$ scanimage -L
device `plustek:/dev/usb/scanner0' is a Canon N670U/N676U/LiDE20 USB flatbed scanner

shellcode@ph33r:~$ cat /etc/sane.d/plustek.conf
[usb] 0x04a9 0x220d
device /dev/usb/scanner0

thank's for the help.
Old 08-16-2004, 07:22 AM   #2
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
i had the same problem with xsane 0.91..
my OS: Suse Linux 9.0
Kernel: 2.4
Scanner: Epson Perfection 1260/Photo
Old 09-18-2004, 02:53 PM   #3
LQ Newbie
Registered: Apr 2003
Location: near Hamburg
Distribution: SuSE 9.0
Posts: 18

Rep: Reputation: 0
Me too. Exactly the same problem with
Suse Linux 9.0
Kernel 2.4.21-202-athlon
Scanner Canon CanoScan 1240U (Vendor Id: 04a9 Product Id: 220e)

Problem occurred after running YOU (Suse Yast Online Update). Not sure if this accidently was the cause, but no other explanation.
Old 09-19-2004, 01:20 AM   #4
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Reboot your system...
it helps to me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Can't read Pilot device in FC4 rwillard Linux - General 3 12-02-2005 10:06 AM
fsck error (read from fs resulted in short read) NeoKaiserSigma Linux - General 0 04-05-2005 06:24 PM
Canon N670U scanner FC2 Help required themacmeister Linux - Hardware 0 02-07-2005 06:52 AM
Allow apache2 to read from mounted device suit4 Linux - Software 3 02-16-2004 09:06 AM

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration