[sane-devel] Intend to write driver(s)

Robert Brijder rbrijder at gmail.com
Sat Jun 16 11:09:52 UTC 2007


Hello,

I have the following two scanners.

* Compeye Simplex 1236C,
  Interface: Parport USB.
  USB id: 0x05cb/0x1483
* Primax Colorado USB 19200,
  Interface: USB,
  USB id: 0x0461/0x0360

The first one is mentioned on the sane website as unsupported, the
second one is not mentioned at all. The output of sane-find-scanner -v
-v with the second scanner connected is show below. My question is,
which scanner would be most easy to write a driver for (I would guess
the first one)? I would then try to write a driver for that one first.

BTW: I have never before written a driver, however I can write in C
and I have read the SANE standard.

Thanks,
Robert


<device descriptor of 0x0461/0x0360 at 001:003>
bLength               18
bDescriptorType       1
bcdUSB                1.00
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x0461
idProduct             0x0360
bcdDevice             0.00
iManufacturer         2 ((null))
iProduct              7 ((null))
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         32
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         64 (Self-powered)
 MaxPower             48 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      2
   bInterfaceClass    16
   bInterfaceSubClass 1
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x02 (out 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0

<trying to find out which USB chip is used>
    checking for GT-6801 ...
    this is not a GT-6801 (bDeviceClass = 0)
    checking for GT-6816 ...
    this is not a GT-6816 (bDeviceClass = 0, bInterfaceClass = 16)
    checking for GT-8911 ...
    this is not a GT-8911 (check 1, bDeviceClass = 0, bInterfaceClass = 16)
    checking for MA-1017 ...
    this is not a MA-1017 (bDeviceClass = 0, bInterfaceClass = 16)
    checking for MA-1015 ...
    this is not a MA-1015 (bDeviceClass = 0)
    checking for MA-1509 ...
    this is not a MA-1509 (bDeviceClass = 0)
    checking for LM983[1,2,3] ...
    this is not a LM983x (bDeviceClass = 0, bInterfaceClass = 16)
    checking for GL646 ...
    this is not a GL646 (bcdUSB = 0x100)
    checking for GL646_HP ...
    this is not a GL646_HP (bDeviceClass = 0, bInterfaceClass = 16)
    checking for GL660+GL646 ...
    this is not a GL660+GL646 (bDeviceClass = 0, bInterfaceClass = 16)
    checking for GL841 ...
    this is not a GL841 (bDeviceClass = 0, bInterfaceClass = 16)
    checking for ICM532B ...
    this is not a ICM532B (check 1, bDeviceClass = 0, bInterfaceClass = 16)
    checking for PV8630/LM9830 ...
    this is not a PV8630/LM9830 (bNumEndpoints = 2)
    checking for M011 ...
    this is not a M011 (bDeviceClass = 0)
    checking for RTS8822L-01H ...
    this is not a RTS8822L-01H (bcdUSB = 0x100)
    checking for rts8858c ...
    this is not a rts8858c (bcdUSB = 0x100)
    checking for SQ113 ...
    this is not a SQ113 (bcdUSB = 0x100)
<Couldn't determine the type of the USB chip (result from sane-backends 1.0.18)>

found USB scanner (vendor=0x0461, product=0x0360) at libusb:001:003



More information about the sane-devel mailing list