[sane-devel] Help on genesys backend code (LiDE 80)
Ralph Sontag
sontag at mathematik.tu-chemnitz.de
Tue May 30 13:42:44 UTC 2006
Hi,
>
> 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?
You find in genesys_devices.c at the end a block of lines:
static Genesys_USB_Device_Entry genesys_usb_device_list[] = {
{0x0638, 0x0a10, &umax_astra_4500_model},
{0x04a9, 0x2213, &canon_lide_50_model},
{0x04a9, 0x221c, &canon_lide_60_model},
{0x04a9, 0x221f, &canon_lide_500f_model},
{0x03f0, 0x0901, &hp2300c_model},
{0x03f0, 0x0a01, &hp2400c_model},
{0x03f0, 0x1405, &hp3670c_model},
{0x07b3, 0x0600, &plustek_st12_model},
{0x07b3, 0x0601, &plustek_st24_model},
{0x0461, 0x0377, &medion_md5345_model},
{0, 0, NULL}
};
Here you have to add your scanner.
Another block, which defines the model, is also necessary.
After this recompile and reinstall the backends.
I've done the same with canon_lide_500f_model - and Pierre Willenbrock
gave usefull hints.
Now I have made a table with the differences between the register settings
between Windows and Sane on
http://www-user.tu-chemnitz.de/~sontag/sane/
- but the scanner still not works ...
Ralph.
--
Ralph Sontag | Str. der Nationen 62/B204 | 09107 Chemnitz | MIME |
e-mail: sontag at mathematik.tu-chemnitz.de | Tel. +49 371 531 31384 | welcome! |
More information about the sane-devel
mailing list