|
|
Reporter | DavidVTaylor | Assigned To | AHUser | |
---|
Priority | normal | Severity | major | Reproducibility | always |
---|
Status | resolved | Resolution | fixed | |
---|
Product Version | Daily / GIT | |
---|
Target Version | | Fixed in Version | 3.49 | |
---|
|
|
Summary | 0006290: USB HID Controller excessive polling rate |
---|
Description | The design of the TJvHidDeviceReadThread.Execute method does not work well when reading reports from HID devices that are not inherently event driven. When reading from a USB scale, for example, the read requests return immediately resulting in a very aggressive polling rate. The polling rate is only limited by the device's response time which places significant load on the device and wastes CPU cycles. |
---|
Additional Information | A configurable throttling mechanism such as the one used to resolve Mantis 5749 would address this issue. The supplied patch adds a new DevPollingDelayTime property to the HID controller and device. The default polling delay is set to zero for backward compatibility and to avoid adversely impacting other use cases.
The attached source file is based on the master branch on GitHub as it existed on 5-16-2014. The file also includes the change required to fix Mantis issue 6289. |
---|
Tags | No tags attached. |
---|
|
|