Hi,
On Fri, Jul 23, 2010 at 4:57 PM, Hans Petter Selasky <[email protected]> wrote:
>
> What are the polling flags you are using?
Do you mean the libusb_pollfd entries?
They are:
{fd = 0x7, events = 0x1}
{fd = 0xc, events = 0x45}
I translate these into select(2) params like this:
nfds = 0xc, readfds = {__fds_bits = {0x1080, 0x0 <repeats 31 times>}},
writefds = {__fds_bits = {0x1000, 0x0 <repeats 31 times>}}, exceptfds = {
__fds_bits = {0x0 <repeats 32 times>}},
And call select with timeout = NULL (since libusb_get_next_timeout returned 0)
Regards
-- Peer
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"