From: Tim R. <ti...@pr...> - 2013-05-28 19:52:11
|
terence12 wrote: > So these file descriptors will trigger when data has been received by the > usb core on a device i've opened using libusb? As I have experimented with > these file descriptors and have read that they are only used for libusb > related events. Well, hang on a moment.. USB is entirely host-driven -- a device cannot send data of its own volition. You can never receive any data from a device unless some driver has queued up a read request for that device. So, yes, it only captures libusb-related events, but there will never be any other kinds of events. -- Tim Roberts, ti...@pr... Providenza & Boekelheide, Inc. |