[sane-devel] BenQ Scanner 5150C

Andrew Walrond andrew at walrond.org
Fri Dec 2 19:36:50 UTC 2005


Hello list,

I have a Benq 5150C USB scanner, which I have managed to get almost working.

Using the december 2nd snapshot of sane-backends, sane-find-scanner reports

	found USB scanner (vendor=0x04a5, product=0x2137) at libusb:002:007

scanimage -L reports

	device `snapscan:libusb:002:007' is a Acer FlatbedScanner40 flatbed scanner

(I am using this firmware from the latest windoze driver: u55v009.bin)

But if I try to scan with scanimage, it just hangs until I unplug the scanner.

A little googling turned up this thread from last December:
http://lists.alioth.debian.org/pipermail/sane-devel/2004-December/012758.html

Consequently, I found that if I apply this patch:

diff -Naur sane-backends/backend/snapscan.h 
sane-backends-htx/backend/snapscan.h
--- sane-backends/backend/snapscan.h    2005-10-31 21:08:47.000000000 +0000
+++ sane-backends-htx/backend/snapscan.h        2005-12-02 15:18:54.000000000 
+0000
@@ -172,7 +172,7 @@
     {"FlatbedScanner23",    PRISA4300_2},
     {"FlatbedScanner24",    PRISA5300},
     {"FlatbedScanner25",    PRISA5000E},/* 5000E/5000U */
-    {"FlatbedScanner40",    PRISA5000}, /* 5250C */
+    {"FlatbedScanner40",    PRISA5300}, /* 5250C */
     {"FlatbedScanner42",    PRISA5000}, /* 5000 */
     {"SNAPSCAN 1212U",      SNAPSCAN1212U},
     {"SNAPSCAN 1212U_2",    SNAPSCAN1212U},

then scanimage seems to work:
	$ sudo scanimage > image.pnm
	[snapscan] Scanner warming up - waiting 3 seconds.
	[snapscan] Scanner warming up - waiting 3 seconds.

The image is recognisable, but has vertical colour bars all the way across it. 
(*For reference, a test scan is attached, so you can see what I mean)

I would dearly love to get this working; Can anyone suggest a way forward? 
I'll gladly help/test etc etc.

Thanks!

Andrew Walrond

* ML bounces the bziped image as malware; I can send direct to anyone 
interested in seeing it. 



More information about the sane-devel mailing list