Problems with the way this works: linux/drivers/hid/hid-core.c

James Courtier-Dutton <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
The above file has the following comment:

/*
 * Analyse a received field, and fetch the data from it. The field
 * content is stored for next report processing (we do differential
 * reporting to the layer).
 */

void hid_input_field(struct hid_device *hid, struct hid_field *field,
__u8 *data, int interrupt)
{


Why is this "differential reporting to the layer" done?
I have a device that fails to work due to this differential reporting,
because it can have two reports in a row that are exactly the same, but
both these reports have to get reported to the layer, and this code it
stopping it working.

Is there any way to somehow insert a quirk feature, so that only those
devices that "need" the differential reporting, have it applied.

Here I have disabled the differential reporting and it does not seem to
have any detrimental affect. Why was it put in?

Kind Regards

James

P.S. For those interested, the device is an USB attached Infrared remote
control.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.