On Jun 14, 2007, at 12:05 PM, KELEEN wrote: > BTW, I don't know the way to invoke hid_interrupt_read correctly. > Will the function call > block when no more information from HID device? Right now, my HID > device is a caller id > box, I will need to retrieve information from the box when there is > a new phone call.
It will block unless you specify a non-zero timeout. If no data is received in that timeout window, the function will return without filling the buffer. -- Charles Lepple _______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

