I notice in configure.ac that the OS X/Darwin back end has
USBI_OS_HANDLES_TIMEOUT defined (unlike all the other
platforms), yet in my testing it seems that timeouts
do not work properly on OS X/Darwin. Things time out at 60 second
intervals, rather than the given time. If I #undef
USBI_OS_HANDLES_TIMEOUT, timouts work as expected.
Is there a bug in the OS X/Darwin back end, or should
USBI_OS_HANDLES_TIMEOUT be #undef for all platforms ?
Nathan Hjelm wrote:
> No, USBI_OS_HANDLES_TIMEOUT shouldn't be undefined for darwin. As far as I know the
> timeout variations of Apple's USB functions work correctly (timeout in the given time).
> There is, however, a known bug with interrupt endpoints which I haven't had a chance to
Hmm. I guess it's that bug I'm seeing then. I'd suggest that USBI_OS_HANDLES_TIMEOUT be
undefined until such time as that bug is fixed then.