Hi, I'm using libusb to talk to a generic device (thats being also developed by me), synchronous works fine now.
Asynchronous mode with blocking libusb_handle_events() works also. Now I'm trying to also talk to non USB file descriptors. For this I'm using select(2), filling the sets from libusb_get_pollfds() results. Somehow the select call never returns (no timeouts), if It gets some external trigger (like stopping in the debugger can continuing) it returns and has plausible return values. Looking into libusb I find that it uses poll(2) internally. Is select(2) supposed to work with libusb fd'? Should I rather use poll(2)? (I do like select more -- more BSDish). Best regards Peer Stritzinger _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"