[sane-devel] Button Scan doesn't work for CS9000F

Rolf Bensch rolf at bensch-online.de
Thu Jan 17 15:41:01 UTC 2013


Hi,

I found the problem by myself: The buffer in handle_interrupt() was too
small to handle the max. packet size of 64 bytes for the interrupt
endpoint of my CS9000F.

The button data also is different from the implementation. I'll commit
my changes in the next few days after some testing.

Cheers,
Rolf



Am 15.01.2013 17:58, schrieb Rolf Bensch:
> Hello,
> 
> I am trying to scan with 'scanimage --button_controlled=yes >pic.pnm'
> with my CS9000F.
> 
> With SANE_DEBUG_SANEI_USB enabled I get these messages:
> 
> [sanei_usb] sanei_usb_read_int: trying to read 16 bytes
> [sanei_usb] sanei_usb_read_int: read failed: Resource temporarily
> unavailable
> 
> and nothing else happens.
> 
> I'm using latest Sane 1.0.24 from git on a 64 bit Ubuntu 12.04.
> 
> Many thanks for help in advance,
> Rolf
> 



More information about the sane-devel mailing list