LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Epson Perfection 1670 USB Scanner (https://www.linuxquestions.org/questions/linux-hardware-18/epson-perfection-1670-usb-scanner-135291/)

orbiteleven 01-15-2004 10:36 PM

Epson Perfection 1670 USB Scanner
 
I (mistakenly) purchased an Epson 1670 USB scanner two months ago. I am close to giving up on it, but I can't return it. Here's the deal:

Sane recognizes the scanner using libusb.
After finally figuring out that I needed to set permissions, xsane will boot.
When trying to scan from 'scanimage' or 'xsane', It times out. Grrr.

For a while, I was getting a steady green light until I tried to scan, whereby it would flash alternately blue and green

Somewhere along the line I fubared and it now is steady blue.

Anyone with similar problems? Solutions?

Oh, yeah. I'm on Fedora Core 1 kernel 2.4.22-1.2140.nptl

Here's your code printouts:

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=0x04b8, product=0x011f) at libusb:004:004
# 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.

scanimage
scanimage: open of device snapscan:libusb:004:004 failed: Error during device I/O

dmsg | grep usb
bash: dmsg: command not found
[damon@~]: dmesg | grep usb
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 20:26:44 Jan 6 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xff80, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb-uhci.c: USB UHCI at I/O 0xff60, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: USB UHCI at I/O 0xff40, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: new USB bus registered, assigned bus number 4
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usbdevfs: remount parameter error
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB device not responding, giving up (error=-110)
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB device not responding, giving up (error=-110)
usb.c: USB device 4 (vend/prod 0x4b8/0x11f) is not claimed by any active driver.usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_BULK failed dev 4 ep 0x81 len 8 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 100 ret -110

Aussie 01-16-2004 01:07 AM

I have a 1660 photo working well with sane.
Do "lsmod" and post the usb modules loaded.

orbiteleven 01-16-2004 09:11 AM

I'm at work right now, but I'll post them over lunch. However, the 1660 (which is what I ment to buy) is VERY different from the 1670, or at least that's what I've read.

We'll give it a shot, though.

orbiteleven 01-16-2004 07:22 PM

/sbin/lsmod
Module Size Used by Not tainted
floppy 57308 0 (autoclean)
sr_mod 17400 0 (autoclean)
emu10k1 67368 1 (autoclean)
ac97_codec 16712 0 (autoclean) [emu10k1]
sound 72276 0 (autoclean) [emu10k1]
soundcore 6468 7 (autoclean) [emu10k1 sound]
agpgart 55492 0 (unused)
parport_pc 18756 1 (autoclean)
lp 8580 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 12084 0 (autoclean) (unused)
e1000 71232 1
ipt_REJECT 4216 1 (autoclean)
ipt_state 1080 1 (autoclean)
ip_conntrack 28136 1 (autoclean) [ipt_state]
iptable_filter 2444 1 (autoclean)
ip_tables 15008 3 [ipt_REJECT ipt_state iptable_filter]
microcode 4188 0 (autoclean)
ide-scsi 12016 0
scsi_mod 110280 2 [sr_mod ide-scsi]
ide-cd 34432 0
cdrom 34592 0 [sr_mod ide-cd]
keybdev 2656 0 (unused)
mousedev 5268 0 (unused)
hid 23908 0 (unused)
input 5888 0 [keybdev mousedev hid]
ehci-hcd 20008 0 (unused)
usb-uhci 26124 0 (unused)
usbcore 78752 2 [hid ehci-hcd usb-uhci]
ext3 71300 2
jbd

Any ideas?

Aussie 01-16-2004 07:48 PM

Yes, try loading the usb scanner module,
Code:

modprobe scanner

orbiteleven 01-18-2004 08:20 PM

Well, it loaded. Nothing is better, though. If I power-cycle the scanner, I can get "scanimage -L" to work 1 time, then the scanner "freezes"

Grumble, Grumble, Grumble.

BTW -
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=0x04b8, product=0x011f) at /dev/usb/scanner0
found USB scanner (vendor=0x04b8 [EPSON], product=0x011f [EPSON Scanner]) at libusb:004: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.

Aussie 01-18-2004 08:39 PM

Ok, now check /etc/sane.d/epson.conf, you need to uncomment #usb /dev/usb/scanner0, its the last entry in my copy, and this is what I get when I search,
Code:

root@grendel:/etc/sane.d# 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=0x04b8, product=0x011e) at /dev/usb/scanner0
found USB scanner (vendor=0x04b8 [EPSON], product=0x011e [EPSON Scanner]) 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.
root@grendel:/etc/sane.d# scanimage -L

device `epson:/dev/usb/scanner0' is a Epson GT-8300 flatbed scanner
root@grendel:/etc/sane.d#


orbiteleven 01-18-2004 11:56 PM

I uncommented the line in the snapscan.conf file because that is the backend that supposedly supports the 1670. It still hangs. The strange thing is that there is a blue light, and the scanner doesn't want to do anything. A check of "dmesg | grep usb" tells me "usb_control/bulk_msg: timeout"

Code:

cat /etc/sane.d/snapscan.conf
#------------------------------ General -----------------------------------
 
# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
firmware /etc/sane.d/esfw30.bin
 
# If not automatically found you may manually specify a device name.
 
# For USB scanners also specify bus=usb, e.g.
/dev/usb/scanner0 bus=usb
 
# For SCSI scanners specify the generic device, e.g. /dev/sg0 on Linux.
# /dev/sg0
 
#---------------------------------------------------------------------------
# No changes should be necessary below this line
#---------------------------------------------------------------------------
 
#-------------------------- SCSI scanners ----------------------------------
# These SCSI devices will be probed automatically
scsi AGFA * Scanner
scsi COLOR * Scanner
scsi Color * Scanner
scsi ACERPERI * Scanner
 
#--------------------------- USB scanners -----------------------------------
# These USB devices will be probed automatically
# (This will currently work only on Linux)
 
# Benq/Acer/Vuego 310U
usb 0x04a5 0x1a20
 
# Benq/Acer/Vuego 320U
usb 0x04a5 0x2022
 
# Benq/Acer/Vuego 620U / 620UT
usb 0x04a5 0x1a2a
usb 0x04a5 0x2040
 
# Benq/Acer/Vuego 640U
usb 0x04a5 0x2060
 
# Benq/Acer/Vuego 640BU
usb 0x04a5 0x207e
 
# Benq/Acer/Vuego 1240U
usb 0x04a5 0x20c0
 
# Benq/Acer/Vuego 3300 / 4300
usb 0x04a5 0x20b0
 
# Benq/Acer/Vuego 4300
usb 0x04a5 0x20de
 
# Benq/Acer/Vuego 5000
usb 0x04a5 0x20fc
 
# Benq/Acer/Vuego 5300
usb 0x04a5 0x20fe
 
# Agfa 1236U
usb 0x06bd 0x0002
 
# Agfa 1212U
usb 0x06bd 0x0001
usb 0x06bd 0x2061
 
# Agfa Snapscan e10
usb 0x06bd 0x2093
 
# Agfa Snapscan e20
usb 0x06bd 0x2091
 
# Agfa Snapscan e25
usb 0x06bd 0x2095
 
# Agfa Snapscan e26
usb 0x06bd 0x2097
 
# Agfa Snapscan e40
usb 0x06bd 0x208d
 
# Agfa Snapscan e42
usb 0x06bd 0x20ff
 
# Agfa Snapscan e50
usb 0x06bd 0x208f
 
# Agfa Snapscan e52
usb 0x06bd 0x20fd
 
# Epson Perfection 660
usb 0x04b8 0x0114
 
# Added 12 Jan 04
# Epson Perfection 1670
usb 0x04b8 0x011f


Aussie 01-18-2004 11:59 PM

Hmmm...and does anything happen if you use the epson backend? and have you tried the scanner utility from epson japan?

orbiteleven 01-19-2004 12:04 AM

Code:

[root@/etc/sane.d]: 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=0x04b8, product=0x011f) at /dev/usb/scanner0
found USB scanner (vendor=0x04b8 [EPSON], product=0x011f [EPSON Scanner]) at libusb:004:005
  # 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.
[root@/etc/sane.d]: scanimage -L
[epson] The device at /dev/usb/scanner0 is not a supported EPSON scanner (product id=0x11f)
 
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).


Aussie 01-19-2004 12:25 AM

Bummer.
Ok, you have checked the device permissions?
The Epson driver can be had here,
http://www.epkowa.co.jp/english/linux_e/index.html
Not all models are supported though.
If these last two things don't work then you may have to consider selling it to a windows friend :-(

orbiteleven 01-19-2004 10:55 AM

First off, thanks for all of your help.

I have played with device permissions.

The Epson Kiowa drivers do not support the 1670.

I found some interesting info on the sane-devel mailing list:
http://lists.alioth.debian.org/piper...er/009696.html

I really don't want to have to sell it, as I will most certainly lose $$$. Oh well.

orbiteleven 01-19-2004 11:47 AM

Ok. :newbie: error. Here's the slightly long explaination:
I had the scanner working once upon a time from sane-backends compiled from source (1.0.13 or something)
I upgraded to Fedora Core 1, and thought that the new sane-backends were installed. They were not.
I have been banging my head against this for a couple weeks, not realizing that my backend had been de-graded.

Oops. Thanks again for your help. The scanner works fine now that I upgraded the backends.

Aussie 01-19-2004 04:36 PM

lol
Your welcome :-)

tedg 03-10-2004 05:59 AM

Thanks for the post. This fix works on SuSE 8.2 and 9.0. Please remember to build the sane-backends FROM SOURCE, on SuSE the binaries will complain and if you force the install you may break other packages.

If anyone needs the firmware please email me and I will post it on my web site.

cheers ted


All times are GMT -5. The time now is 09:18 PM.