[sane-devel] fixes for genesys backend

Michael Thayer raselmsh at hotmail.com
Fri Aug 7 13:38:20 UTC 2015

Michael Thayer <raselmsh <at> hotmail.com> writes:
> Stef <stef.dev <at> free.fr> writes:
> > On 05/08/2015 10:27, Michael Thayer wrote:
> >      and when you have an usleep at both places, how does it behave ?
> Yes, that works too.  Seems slightly hacky.  I wonder whether a general
> delay, e.g. after writing to a register on a non-super-speed device on a
> super-speed port, might be what is needed?

Replying to myself.  That would definitely be cleaner.  Sadly it doesn't
seem to work (I tried both a usleep(100) and a usleep(1000) at the end of
sanei_genesys_write_hregister()).  So for now the existing solution seems best.



More information about the sane-devel mailing list