Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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#
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
[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).
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 :-(
Ok. 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.