[sane-devel] Genesys gl841

Stéphane VOLTZ stefdev at modulonet.fr
Fri Aug 5 12:23:45 UTC 2005


Le Mercredi 3 Août 2005 16:35, Pierre Willenbrock a écrit :
> Hi
>
> Yesterday i got gl841_slow_back_home to work correctly.
>
> I noticed that sanei_genesys_create_slope_tables generates a slope table
> which starts at about 100 and ends at 2100. This table is unusable (at
> least with my canon lide 35). The windows driver sends a linear table
> starting with a value of 5152 and ending with 1596.
>
> So i conclude that the gl646 expects the shortest pixeltime first, while
> the gl841 wants the longest pixeltime first.
> Is this correct or am i doing something wrong?
>
	GL646 behaves like GL841 in this case, higher values first.

> Currently i am using a simple for-loop to generate my tables, but this
> cannot be a long term solution.
>
> I found the slope table handling code to be not endian-safe, at least in
> experimental cvs. The slope tables are always sent in machine endianness.
>

> Regards,
>   Pierre

	I have commited a fix for this in CVS. I doesn't break x86, but I don't have 
other architecture to test it on.

Regards,
	Stef




More information about the sane-devel mailing list