Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-04-2003, 12:08 PM   #1
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Rep: Reputation: 15
Question USB Scanner (vuego) (on RedHat 9) failed to open. (snapscan)

USB Scanner (vuego) (on RedHat 9) failed to open. (snapscan)

Info : KDE 3.1-10
Linux : 2.4.20-20.9 (Red Hat 9 with kernel upgraded, but problem happened before)
Machine : i686 (Athlon AMD)
Scanner : Vuego USB (unknown type)

Problem : Occasionaly (I can't predict it) the scanner will just stop working and Xsane gives me the error:
Failed to open "snapscan:/dev/usb/scanner0" : invalid argument.

If I restart (or power-down, wait and power-up) the machine the problem is still there. If I restart and boot into XP and use the scanner from there (which works every time) and then restart and boot back into Linux, the scanner is suddenly working again...? Wild but true!

No amount of rooting about at the command line has helped me. I have tried all the "scanimage" commands and man sane-xxxx and none of it helps me identify what is going on. Running Xsane as root has no effect either. Killing all the config files in ~/.sane/xsane/ to try force a 'rescan' of some kind has no effect.

Anyone out there have some clue?

Other info:
dmesg | grep USB:
ehci-hcd 00:10.3: VIA Technologies, Inc. USB 2.0
usb.c: new USB bus registered, assigned bus number 1
ehci-hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 10
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hid-core.c: USB HID support drivers
hub.c: new USB device 00:10.1-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a5/0x20b0) is not claimed by any active driver.
scanner.c: USB scanner device (0x04a5/0x20b0) now attached to scanner0
scanner.c: 0.4.12:USB Scanner Driver

Shows that the scanner is seen by linux and is set to 'scanner0' - despite this, Xsane will not work.

scanimage -L:
device `snapscan:/dev/usb/scanner0' is a Acer FlatbedScanner22 flatbed 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=0x04a5, product=0x20b0) at /dev/usb/scanner0
found USB scanner (vendor=0x04a5 [Color], product=0x20b0 [ FlatbedScanner 22]) at libusb:003:002
# A USB device was detected. This program can't be sure if it's really
# a scanner. If it is your scanner, 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.

[snapscan] download_firmware: No firmware entry found in config file snapscan.conf.
scanimage: open of device snapscan:/dev/usb/scanner0 failed: Invalid argument

#------------------------------ General -----------------------------------

# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
# firmware /path/to/your/firmware/file.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 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
Old 12-05-2003, 01:14 PM   #2
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Original Poster
Rep: Reputation: 15

Old 02-16-2004, 07:24 AM   #3
LQ Newbie
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 7

Rep: Reputation: 0
Better late than never...

Its strange that you config sometimes works and sometimes doesn't, however the error returned by scanimage seems to imply that it is looking for a 'fimware' entry in your snapscan.conf file. Have you tried adding one in to see if that puts this gremlin to rest?

Old 02-16-2004, 12:09 PM   #4
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Original Poster
Rep: Reputation: 15
silburnl - hi, I had given up on my scanner and this forum!
I eventually found a file on the cd that came with the scanner, and I got snapscan to point to it but I have had the problem regardless...

I am going to move across to Debian or Fedora in a few weeks and leave RedHat 9 behind like the steaming pile of brown stuff that it is...

I hope this problem goes away on another distro!


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
YaST2 failed to create scanner database.. john nomad SUSE / openSUSE 2 08-24-2005 05:44 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 09:46 PM
need help with lexmark x73 usb scanner in redhat 9 using xsane forrestkoch Linux - Hardware 2 03-31-2004 10:21 AM
usb agfa snapscan stoped working phil81 Linux - Hardware 5 02-16-2004 07:01 AM
Scanner driver for USB scanner rros Linux - Newbie 1 04-23-2001 01:30 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration