Re: [PATCH v3] HID: keep dev_rdesc unmodified and use it for comparisons

2012-09-24 Thread Randy Levensalor
On 12/31/1969 05:00 PM, wrote: usbhid's hid_post_reset checks the report descriptor currently returned by the device against a descriptor that may have been modified by a driver's report_fixup method. That leaves some devices nonfunctional after a resume, with a "reset_resume error 1" reported.

Re: [PATCH v3] HID: keep dev_rdesc unmodified and use it for comparisons

2012-09-20 Thread Henrik Rydberg
> The dev_rdesc member of the hid_device structure is meant to store the > original > report descriptor received from the device, but it is currently passed to any > report_fixup method before it is copied to the rdesc member. This patch uses a > temporary buffer to shield dev_rdesc from the side

[PATCH v3] HID: keep dev_rdesc unmodified and use it for comparisons

2012-09-20 Thread Kevin Daughtridge
The dev_rdesc member of the hid_device structure is meant to store the original report descriptor received from the device, but it is currently passed to any report_fixup method before it is copied to the rdesc member. This patch uses a temporary buffer to shield dev_rdesc from the side effects of