[sane-devel] GL841 - What needs to be done?

Nikolai Lusan nikolai@humbug.org.au
Fri, 10 Jun 2005 00:50:56 +1000


--=-wyTkDK7uOFW5k62GjnBL
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello everybody,

I recently purchased a Canon CanoScan LiDE 500F (not a 5000F). Trimmed
out put of "sane-find-scanner -v -v" and the appropriate part
of /proc/bus/usb/devices. The scanner seems to have a GL841 chipset.

I have downloaded the cvs code for sane-backends and experimental trees.
I have also scoured the mailing list for all posts relating to the
development of support for this chipset. I have 2 questions -
     1) Should I be looking at genesys or genesys-new?
     2) What can I do to help? (I am happy to help write code, I do not
                                have windows installed so I am no help
                                when it comes to sniffing successful
                                windows scans)

I am eager to help with this effort and due to medical circumstances
have alot of time on my hands, please put my meagre talents to use :)


-- 


Nikolai Lusan

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++
++ Weblog:  http://lusan.id.au/~nikolai/blog
++ Webcam:  http://lusan.id.au/~nikolai/webcam.html
++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


--=-wyTkDK7uOFW5k62GjnBL
Content-Disposition: attachment; filename=devices
Content-Type: text/plain; name=devices; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 7bit

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=04a9 ProdID=221f Rev= 3.03
S:  Manufacturer=Canon
S:  Product=CanoScan
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
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=   1 Ivl=16ms

--=-wyTkDK7uOFW5k62GjnBL
Content-Disposition: attachment; filename=find-scanner-output
Content-Type: text/plain; name=find-scanner-output; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 7bit

This is sane-find-scanner from sane-backends 1.0.15

trying libusb:

<device descriptor of 0x04a9/0x221f at 001:004 (Canon CanoScan)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          255
bDeviceSubClass       255
bDeviceProtocol       255
bMaxPacketSize0       64
idVendor              0x04A9
idProduct             0x221F
bcdDevice             3.03
iManufacturer         1 (Canon)
iProduct              2 (CanoScan)
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         39
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         160 (Remote Wakeup)
 MaxPower             500 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    1
    bInterval         8 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 USB chip looks like a GL841>

found USB scanner (vendor=0x04a9 [Canon], product=0x221f [CanoScan], chip=GL841) at libusb:001:004

--=-wyTkDK7uOFW5k62GjnBL--