[sane-devel] Help on genesys backend code (LiDE 80)

Nikolas Arend Nikolas.Arend at gmx.net
Tue May 30 12:50:38 UTC 2006

Hi all,

since I own a (yet unsupported) Canon LiDE 80, I decided to start 
working on the genesys backend and maybe get it up and running. 
Unfortunately, I'm not yet too familiar with the sane backends code and 
am already stuck at the very beginning, so I hoped someone could help me 
at this early stage.

To just see if it does anything, I started (besides checking out latest 
cvs) with adding the following entries in genesys_devices.c:

   static Genesys_Model canon_lide_80_model = {...}    (derived from 
entries for LiDE 50/60)

and an additional line in static Genesys_USB_Device_Entry 
genesys_usb_device_list[] = {...}, which reads

   {0x04a9, 0x2214, &canon_lide_80_model},

with the, I guess, appropriate id's for vendor and model that 
sane-find-scanner tells me.

Also I added

   # Canone LiDE 80
   usb 0x04a9 0x2214

to /etc/sane.d/genesys.conf.

sane-find-scanner detects the following:

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

but scanimage -L says that no scanners were identified. I ran everything 
as root for now to avoid right problems.

In /proc/bus/usb/devices, however, the scanner is listed as follows

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=04a9 ProdID=2214 Rev= 3.02
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=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=8ms

I'm no usb wizard, but "Driver=(none)" doesn't seem good. Could that be 
a problem?

Did I miss something very basic? Thanks for any hints!

Best regards,    Nick.

More information about the sane-devel mailing list