[sane-devel] Scanner Benq 7650T

Ady Deac ady at mikesnet.ro
Fri Nov 16 01:02:42 UTC 2007

Hi all,

Any chance we can get this to work? The scanner is working with SANE, 
but I can only scan 1/4 (top left corner) of the whole A4 document. I 
know I have used it before - I guess about 1 or 2 years, and was working 
great, but I don't remember the version of SANE.

Also, are there any chances for the transparency adapter to work also?

Any work that is needed (and I can do it) I am willing to do it! Please 
use me! :D

Thank you,

Ady Deac wrote:
> Hi Oliver, Hi Everybody,
> Sorry for the long delay with my reply, got so many things to do and
> this scanner was the lowest priority of all. But here we are, I need
> this baby running, and I am ready to do whatever it takes.
> I got some output only with PRISA5150. The scan is not full, I only got
> a quarter of the page while trying to scan the whole page - the left-top
> corner.
> # SANE_DEBUG_SNAPSCAN=255 scanimage -L > /tmp/scan
> [sanei_debug] Setting debug level of snapscan to 255.
> [snapscan] sane_snapscan_init
> [snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
> [snapscan] add_usb_device(libusb:002:038)
> [snapscan] add_usb_device: Detected (kind of) an USB device
> [snapscan] snapscani_usb_open(libusb:002:038)
> [snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor ID
> [snapscan] snapscani_check_device()
> [snapscan] mini_inquiry
> [snapscan] snapscan_cmd
> [snapscan]
> snapscani_usb_cmd(0,0x7fff9b1356b0,6,0x7fff9b135680,0x7fff9b1356a8 (36))
> [snapscan]
> atomic_usb_cmd(0,0x7fff9b1356b0,6,0x7fff9b135680,0x7fff9b1356a8 (36))
> [snapscan] usb_cmd(0,0x7fff9b1356b0,6,0x7fff9b135680,0x7fff9b1356a8 (36))
> [snapscan] usb_cmd: cmdlen=6, datalen=0
> [snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
> [snapscan] Written 6 bytes
> [snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> [snapscan] Read 8 bytes
> [snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x66 0x00 0x00 0x00
> 0x43 0x6f ...
> [snapscan] Read 36 bytes
> [snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> [snapscan] Read 8 bytes
> [snapscan] snapscani_check_device: Is vendor "Color" model
> "FlatbedScanner41" a supported scanner?
> [snapscan] snapscani_get_model_id(FlatbedScanner41, 0, 2)
> [snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x2119.
> [snapscan] snapscani_check_device: Autodetected driver: Benq 5150 / 5250
> [snapscan] snapscani_usb_close(0)
> [snapscan] 1st read 3 write 1
> [snapscan] snapscani_usb_cmd(0,0x7fff9b135730,6,0x0,0x0 (0))
> [snapscan] atomic_usb_cmd(0,0x7fff9b135730,6,0x0,0x0 (0))
> [snapscan] usb_cmd(0,0x7fff9b135730,6,0x0,0x0 (0))
> [snapscan] usb_cmd: cmdlen=6, datalen=0
> [snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
> [snapscan] Written 6 bytes
> [snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> [snapscan] Read 8 bytes
> [snapscan] 2nd read 4 write 2
> [snapscan] snapscani_init_device_structure()
> [snapscan] sane_snapscan_get_devices (0x7fff9b136890, 0)
> [snapscan] sane_snapscan_exit
> Any other debugs you wish me to do? Where and how.
> If you wish, I can grant you full access to this scanner, and you could
> play with it, but I'll be more than happy to be able to help you out.
> Regards,
> Adrian
> Oliver Schwartz wrote:
>> Hi,
>> this scanner may work with the snapscan backend, but not out of the 
>> box. Here are some steps to try it:
>> - Get the latest windows driver from here:
>>   http://benq-eu.com/products/Scanner/?product=583&page=downloads&dType=D
>> - Extract it. In the subdir "BIN" are two firmware files, 2119v035.bin 
>> and 2119v036.bin, these are probably the firmware files for your scanner.
>> - Get the SANE sources from http://www.sane-project.org/source.html
>> - In snapscan.h of the SANE sources find the struct 
>> SnapScan_Model_desc and add a line
>> {"FlatbedScanner41", PRISA5300}
>> You may have to repeat the following steps and also try PRISA5000 or 
>> PRISA5150 in the above line.
>> - Build and install SANE. Make sure to uninstall any precompiled SANE 
>> that comes with your linux distribution before you install your 
>> self-compiled SANE.
>> - In snapscan.conf (found in /usr/local/etc/sane.d if you use the 
>> default settings for configure) add a line
>> usb 0x04a5 0x2119. At the beginning of the file, change the firmware 
>> file entry to the fully qualified path to the firmware file 
>> (2119v035.bin or 2119v036.bin).
>> Afterwards your scanner should be found by "scanimage -L". If you're 
>> lucky you can also use it with scanimage.
>> If you get stuck at some stage, don't hesistate to contact me (and 
>> also if you have any success). In case of problems send me a debug 
>> log, e.g. by running
>> SANE_DEBUG_SNAPSCAN=255 scanimage -L   or
>> Regards,
>> Oliver

More information about the sane-devel mailing list