[sane-devel] CanoScan Lide 110 on Solaris 10 (10/09) SPARC

stef stef.dev at free.fr
Wed Mar 16 20:20:16 UTC 2011


Le Wednesday 16 March 2011 15:34:17 Olaf Zimmermann, vous avez écrit :
> On Tue, 2011-03-15 at 22:18, stef wrote:
> > Le Tuesday 15 March 2011 14:27:14 Olaf Zimmermann, vous avez écrit :
> Ouf!
> [Back to English:]
> As it turns out, that was the sole problem -
> all that is required is byte swapping in four places in genesys_low.c
> (i.e. lines 265,269,387, and 391: replace 'value' with something like
> 'bsuint16(value)' ); everything else appears to be working as perfectly
> as can be expected for a scanner in this price class.
> Question:
> Would there be a point in me creating a proper patch, or do you think
> there is insufficient demand for this?
> 
> Regards,
> Olaf
> 
	Hello,

	patch will be welcome. I didn't knew bsuint16, and it seems no backend 
use it. I was thinking to replace the 'uint16_t value' by 'uint8_t value[2]' 
and use the array instead of using mask, which I'm sure will compile on any 
platform.

Regards,
	Stef



More information about the sane-devel mailing list