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.

Regards,

Michael


-- 
sane-devel mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [email protected]

Reply via email to