need longer timeout with send_feature_report() for libusb under Linux #493
Description
Some devices may require much longer timeout when submitting hid_send_feature_report() .
for such devices hid_send_feature_report() just notifies failure with return value of -1 .
I checked that internal error code libusb is reporting is LIBUSB_ERROR_TIMEOUT ( -7 ) .
Changing value here, from 1000 to, say, 5000 does make difference.
Line 1471 in c3a6150
You curious what the device is?
It is USB-HID control capable LCD monitor from EIZO . ex. FlexScan EV2670
Most requests to the monitor, for example a request to change speaker volume, work fine with short timeout .
But one specific request that is to enable or disable picture-by-picture mode only works with long timeout .
So it is better to have a measure to somehow specify custom value for timeout.