On Thu, 2011-03-17 at 06:22, stef wrote:
> Hello,
>
> I've applied it.
>
> Thanks,
> Stef
Thank you for your help. In the long run, though, I think your
suggestion about 'uint8_t value[2]' is probably better (and more
elegant).
Regards,
Olaf
On Wed, 2011-03-16 at 21:20, stef wrote:
> Hello,
>
> patch will be welcome. I didn't knew bsuint16, and it seems no backend
> use it.
;-)
*** backend/genesys_low.c.orig Wed Mar 16 11:10:54 2011
--- backend/genesys_low.c Wed Mar 16 20:38:14 2011
***
*** 65,70 **
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: repl
Scanimage (32-bit build) conks out at genesys_low.c, line 391
(value=0xffbfe3ef, according to my debugger; looks odd).
Output from scanimage is as follows:
[snip]
[genesys_gl124] gl124_init: value=0x00
[genesys_gl124] gl124_init: device is USB2.0
[sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req