[sane-devel] Scanner Benq 7650T

Oliver Schwartz Oliver.Schwartz at gmx.de
Sat Jul 7 13:55:02 UTC 2007


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
SANE_DEBUG_SNAPSCAN=255 xsane

Regards,

Oliver

Am 04.07.2007 um 14:56 schrieb Adrian Deac:

> Hi there, folks!
>
> Any chance someone has successfully used this mammoth?
>
> Manufacturer and model
> Benq 7650T
>
> Bus type
> USB
>
> Vendor ID
> 0x04a5
>
> Product ID
> 0x2119
>
> Output of /proc/bus/usb/devices or sane-find-scanner -v -v or lsusb  
> -vv
> # sane-find-scanner -v -v
> This is sane-find-scanner from sane-backends 1.0.18
> [...]
> <device descriptor of 0x04a5/0x2119 at 001:030 (Color   
> FlatbedScanner 22)>
> bLength               18
> bDescriptorType       1
> bcdUSB                2.00
> bDeviceClass          255
> bDeviceSubClass       255
> bDeviceProtocol       255
> bMaxPacketSize0       64
> idVendor              0x04A5
> idProduct             0x2119
> bcdDevice             1.10
> iManufacturer         1 (Color)
> iProduct              2 ( FlatbedScanner 22)
> iSerialNumber         0 ()
> bNumConfigurations    1
>  <configuration 0>
>  bLength              9
>  bDescriptorType      2
>  wTotalLength         39
>  bNumInterfaces       1
>  bConfigurationValue  1
>  iConfiguration       0 ()
>  bmAttributes         192 (Self-powered)
>  MaxPower             100 mA
>   <interface 0>
>    <altsetting 0>
>    bLength            9
>    bDescriptorType    4
>    bInterfaceNumber   0
>    bAlternateSetting  0
>    bNumEndpoints      3
>    bInterfaceClass    255
>    bInterfaceSubClass 255
>    bInterfaceProtocol 255
>    iInterface         0 ()
>     <endpoint 0>
>     bLength           7
>     bDescriptorType   5
>     bEndpointAddress  0x81 (in 0x01)
>     bmAttributes      2 (bulk)
>     wMaxPacketSize    512
>     bInterval         0 ms
>     bRefresh          0
>     bSynchAddress     0
>     <endpoint 1>
>     bLength           7
>     bDescriptorType   5
>     bEndpointAddress  0x02 (out 0x02)
>     bmAttributes      2 (bulk)
>     wMaxPacketSize    512
>     bInterval         0 ms
>     bRefresh          0
>     bSynchAddress     0
>     <endpoint 2>
>     bLength           7
>     bDescriptorType   5
>     bEndpointAddress  0x83 (in 0x03)
>     bmAttributes      3 (interrupt)
>     wMaxPacketSize    8
>     bInterval         16 ms
>     bRefresh          0
>     bSynchAddress     0
>
> <trying to find out which USB chip is used>
>     checking for GT-6801 ...
>     this is not a GT-6801 (bcdUSB = 0x200)
>     checking for GT-6816 ...
>     this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for GT-8911 ...
>     this is not a GT-8911 (check 1, bDeviceClass = 255,  
> bInterfaceClass
> = 255)
>     checking for MA-1017 ...
>     this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for MA-1015 ...
>     this is not a MA-1015 (bcdUSB = 0x200)
>     checking for MA-1509 ...
>     this is not a MA-1509 (bcdUSB = 0x200)
>     checking for LM983[1,2,3] ...
>     this is not a LM983x (bcdUSB = 0x200)
>     checking for GL646 ...
>     this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for GL646_HP ...
>     this is not a GL646_HP (bcdUSB = 0x200)
>     checking for GL660+GL646 ...
>     this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass  
> = 255)
>     checking for GL841 ...
>     this is not a GL841 (bEndpointAddress = 0x83, bmAttributes = 0x3,
> wMaxPacketSize = 0x8, bInterval = 0x10)
>     checking for ICM532B ...
>     this is not a ICM532B (check 2, bcdUSB = 0x200)
>     checking for PV8630/LM9830 ...
>     this is not a PV8630/LM9830 (bDeviceClass = 255)
>     checking for M011 ...
>     this is not a M011 (bcdUSB = 0x200)
>     checking for RTS8822L-01H ...
>     this is not a RTS8822L-01H (bDeviceClass = 255)
>     checking for rts8858c ...
>     this is not a rts8858c (bDeviceClass = 255)
>     checking for SQ113 ...
>     this is not a SQ113 (bDeviceClass = 255)
> <Couldn't determine the type of the USB chip (result from sane- 
> backends
> 1.0.18)>
>
> found USB scanner (vendor=0x04a5 [Color], product=0x2119 [
> FlatbedScanner 22]) at libusb:001:030
>
> [...]
>   # Your USB scanner was (probably) detected. It may or may not be
> supported by
>   # SANE. Try scanimage -L and read the backend's manpage.
>
>   # Not checking for parallel port scanners.
>
>   # Most Scanners connected to the parallel port or other  
> proprietary ports
>   # can't be detected by this program.
> done
>
> # cat /proc/bus/usb/devices
> [...]
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 30 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
> P:  Vendor=04a5 ProdID=2119 Rev= 1.10
> S:  Manufacturer=Color
> S:  Product= FlatbedScanner 22
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
> I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=4096ms
> [...]
>
> # lspci -vv
> [...]
> Bus 001 Device 030: ID 04a5:2119 Acer Peripherals Inc. (now BenQ  
> Corp.)
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass          255 Vendor Specific Class
>   bDeviceSubClass       255 Vendor Specific Subclass
>   bDeviceProtocol       255 Vendor Specific Protocol
>   bMaxPacketSize0        64
>   idVendor           0x04a5 Acer Peripherals Inc. (now BenQ Corp.)
>   idProduct          0x2119
>   bcdDevice            1.10
>   iManufacturer           1 Color
>   iProduct                2  FlatbedScanner 22
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           39
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0xc0
>       Self Powered
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           3
>       bInterfaceClass       255 Vendor Specific Class
>       bInterfaceSubClass    255 Vendor Specific Subclass
>       bInterfaceProtocol    255 Vendor Specific Protocol
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x83  EP 3 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0008  1x 8 bytes
>         bInterval              16
> Device Qualifier (for other device speed):
>   bLength                10
>   bDescriptorType         6
>   bcdUSB               2.00
>   bDeviceClass          255 Vendor Specific Class
>   bDeviceSubClass       255 Vendor Specific Subclass
>   bDeviceProtocol       255 Vendor Specific Protocol
>   bMaxPacketSize0        64
>   bNumConfigurations      1
> Device Status:     0x0001
>   Self Powered
>
> Anything else I can provide to you, please ask, I will be more than
> happy to help you. I even can get some coding done if there is nothing
> developed yet, please send me some starting docs and I will gladly  
> do it!
>
> Thanks,
> Adrian
>
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>
>

------------------------------------------------------------
!  Oliver Schwartz   Tel.: +41 / (0)44 / 461 06 29 (fest)  !
!  Döltschiweg 3           +41 / (0)76 / 566 29 72 (mobil) !
!  CH-8055 Zürich    E-Mail: Oliver.Schwartz at gmx.de        !
------------------------------------------------------------






More information about the sane-devel mailing list