Discussion:
[SLE] san scanner
Illustre Orman
2003-05-17 22:54:51 UTC
Permalink
sane tools find-scanner returns this
i followed the instalatio ninstructions

yet xscanimage returns failed to open device snapscan:/dev/usbscanner:
invalid argument

any ideas?

found USB scanner (vendor=0x04a5, product=0x20b0) at /dev/usb/scanner0
found USB scanner (vendor=0x04a5, product=0x20b0) at /dev/usbscanner
found USB scanner (vendor=0x04a5 [Color], product=0x20b0 [
FlatbedScanner 22]) at libusb:001:012
# 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.

yet
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-17 23:14:15 UTC
Permalink
On 17 May 2003 18:54:51 -0400
Post by Illustre Orman
invalid argument
(1) Which model of Snapscan? Are you sure you model doesn't need to load
a firmware update?

(2) What does you /etc/sane.d/snapscan.conf look like?

Charles
--
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)
Illustre Orman
2003-05-17 23:18:09 UTC
Permalink
Post by Charles Philip Chan
Post by Illustre Orman
invalid argument
(1) Which model of Snapscan? Are you sure you model doesn't need to load
a firmware update?
well not sure which one
i looked in the cd for windows and no reference to the 4300U
Post by Charles Philip Chan
(2) What does you /etc/sane.d/snapscan.conf look like?
# 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
# Agfa 1236U
usb 0x06bd 0x0002
# Agfa 1212U
usb 0x06bd 0x0001
usb 0x06bd 0x2061
# 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
Post by Charles Philip Chan
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-17 23:52:12 UTC
Permalink
On 17 May 2003 19:18:09 -0400
Post by Illustre Orman
well not sure which one
i looked in the cd for windows and no reference to the 4300U
OK, you need to

(1) download this file:

http://snapscan.sourceforge.net/acerfirm

put it in your path and run acerfirm -q to find out which firmware
update file you need. It should be either u222v067.bin or u176v046.bin.

(2) Find the file on your Windows driver CD and put it in /usr/lib

(3) Put this line in /etc/sane.d/snapscan.conf

firmware /usr/lib/firmware.bin

substituting firmware.bin with the real name of the file.

Charles
--
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)
Illustre Orman
2003-05-17 23:56:02 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 19:18:09 -0400
Post by Illustre Orman
well not sure which one
i looked in the cd for windows and no reference to the 4300U
OK, you need to
http://snapscan.sourceforge.net/acerfirm
i had tried that [BTW as root or user}

returns this ***@linux:~> ./acerfirm -q
Can't open scanner device at ./acerfirm line 142.
as user


as root
linux:/home/illustre # ./acerfirm -q
Can't open scanner device at ./acerfirm line 142.
Post by Charles Philip Chan
put it in your path and run acerfirm -q to find out which firmware
update file you need. It should be either u222v067.bin or u176v046.bin.
(2) Find the file on your Windows driver CD and put it in /usr/lib
(3) Put this line in /etc/sane.d/snapscan.conf
firmware /usr/lib/firmware.bin
substituting firmware.bin with the real name of the file.
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-18 00:20:35 UTC
Permalink
On 17 May 2003 19:56:02 -0400
Post by Illustre Orman
as root
linux:/home/illustre # ./acerfirm -q
Can't open scanner device at ./acerfirm line 142.
What is the output of acerfirm -v -q? Also, are there anything logged
into /var/log/messages?

Charles
--
"However, complexity is not always the enemy."

-- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
Illustre Orman
2003-05-18 00:37:28 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 19:56:02 -0400
Post by Illustre Orman
as root
linux:/home/illustre # ./acerfirm -q
Can't open scanner device at ./acerfirm line 142.
What is the output of acerfirm -v -q? Also, are there anything logged
same as above
Post by Charles Philip Chan
into /var/log/messages?
scaner i seen


ay 17 20:31:44 linux kernel: hub.c: new USB device 00:1f.2-1, assigned
address 16
May 17 20:31:44 linux kernel: usb.c: USB device not accepting new
address=16 (error=-110)
May 17 20:32:18 linux kernel: hub.c: new USB device 00:1f.2-1, assigned
address 17
May 17 20:32:18 linux kernel: usb.c: USB device 17 (vend/prod
0x4a5/0x20b0) is not claimed by any active driver.
May 17 20:32:22 linux kernel: usb.c: registered new driver usbscanner
May 17 20:32:22 linux kernel: scanner.c: USB scanner device
(0x04a5/0x20b0) now attached to scanner0
May 17 20:32:22 linux kernel: scanner.c: 0.4.10:USB Scanner Driver
May 17 20:32:22 linux insmod: Using
/lib/modules/2.4.20-4GB/kernel/drivers/usb/scanner.o
May 17 20:32:22 linux insmod: Symbol version prefix '
Post by Charles Philip Chan
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-18 00:59:46 UTC
Permalink
On 17 May 2003 20:37:28 -0400
Post by Illustre Orman
Post by Charles Philip Chan
What is the output of acerfirm -v -q? Also, are there anything logged
same as above
(1) Does /dev/usb/scanner0 exist?

(2) What is the output of

acerfirm -v -q /dev/usb/scanner0

Charles
--
"I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It was very silly."
(By Matt Welsh)
Illustre Orman
2003-05-18 01:04:46 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 20:37:28 -0400
Post by Illustre Orman
Post by Charles Philip Chan
What is the output of acerfirm -v -q? Also, are there anything logged
same as above
(1) Does /dev/usb/scanner0 exist?
(2) What is the output of
acerfirm -v -q /dev/usb/scanner0
***@linux:~> ./acerfirm -v -q /dev/usb/scanner0
Scanner Information (from scanner)
Vendor: Color
Version: 0046
Model: FlatbedScanner23
Firmware date: Fri Feb 1 2002 16:08


The correct firmware file probably is

u0v???.bin

(The last three digits (???) of the filename can't be determined with
this
utility. However, the first part (u0) should be sufficient to find the
correct file.)

Please also check the filename mentioned on
http://snapscan.sourceforge.net.
Post by Charles Philip Chan
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-18 01:16:55 UTC
Permalink
On 17 May 2003 21:04:46 -0400
Post by Illustre Orman
The correct firmware file probably is
u0v???.bin
Now we are getting somewhere. Find the file on you Windows driver CD
that starts with u and end with .bin and copy it to /usr/lib.

It also look like autodetect doesn't work with your scanner. You will
need to put:

/dev/usb/scanner0 bus=usb

in your /etc/sane.d/snapscan.conf. Don't forget to put the firmware line
in too.

Charles
--
LILO, you've got me on my knees!
(from David Black, ***@pilot.njin.net, with apologies to Derek and
the
Dominos, and Werner Almsberger)
Illustre Orman
2003-05-18 01:06:26 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 20:37:28 -0400
Post by Illustre Orman
Post by Charles Philip Chan
What is the output of acerfirm -v -q? Also, are there anything logged
same as above
(1) Does /dev/usb/scanner0 exist?
(2) What is the output of
acerfirm -v -q /dev/usb/scanner0
i dont hae a driver starting with u0v
Post by Charles Philip Chan
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-18 01:20:15 UTC
Permalink
On 17 May 2003 21:06:26 -0400
Post by Illustre Orman
i dont hae a driver starting with u0v
The utility may be wrong. Just find the file that starts with u and end
with .bin on the driver CD.

Charles
--
"The world is beating a path to our door"

-- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)
Illustre Orman
2003-05-18 01:22:57 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 21:06:26 -0400
Post by Illustre Orman
i dont hae a driver starting with u0v
The utility may be wrong. Just find the file that starts with u and end
with .bin on the driver CD.
all of them start with u :-)
Post by Charles Philip Chan
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-18 01:35:13 UTC
Permalink
On 17 May 2003 21:22:57 -0400
Post by Illustre Orman
all of them start with u :-)
These two are the likely suspect for your scanner according to the
snapscan site:

u222v067.bin
u176v046.bin

Charles
Illustre Orman
2003-05-18 01:37:10 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 21:22:57 -0400
Post by Illustre Orman
all of them start with u :-)
These two are the likely suspect for your scanner according to the
u222v067.bin
u176v046.bin
itried the one for flatbed23 and is working , dontlike to much the
quality but its a start
Post by Charles Philip Chan
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Charles Philip Chan
2003-05-18 02:03:54 UTC
Permalink
On 17 May 2003 21:37:10 -0400
Post by Illustre Orman
itried the one for flatbed23 and is working , dontlike to much the
quality but its a start
I am glad that it is starting to work. You can try the other bin file
and see if there is a difference. As to frontends, xscanimage is not the
best, if you are using KDE you might want to use kooka- I personally use
it for normal scanning. For more advance stuff though, I tend to use
xsane, as it has more advanced features such as choosing white, black
and grey points.

Charles
--
"On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS."
(By Tarl Neustaedter)
Illustre Orman
2003-05-18 01:13:13 UTC
Permalink
Post by Charles Philip Chan
Post by Illustre Orman
same as above
(1) Does /dev/usb/scanner0 exist?
(2) What is the output of
acerfirm -v -q /dev/usb/scanner0
ok, got it working not totally ocnvince but at least its working
thanks
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Illustre Orman
2003-05-18 00:01:46 UTC
Permalink
Post by Charles Philip Chan
On 17 May 2003 19:18:09 -0400
Post by Illustre Orman
well not sure which one
i looked in the cd for windows and no reference to the 4300U
OK, you need to
http://snapscan.sourceforge.net/acerfirm
put it in your path and run acerfirm -q to find out which firmware
update file you need. It should be either u222v067.bin or u176v046.bin.
tried both no luck
***@linux:~> scanimage
scanimage: no SANE devices found
Post by Charles Philip Chan
(2) Find the file on your Windows driver CD and put it in /usr/lib
(3) Put this line in /etc/sane.d/snapscan.conf
firmware /usr/lib/firmware.bin
substituting firmware.bin with the real name of the file.
Charles
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Continue reading on narkive:
Loading...