[PATCH v4] winebus.sys: Handle device reports for hidraw devices

Sebastian Lackner sebastian at fds-team.de
Wed Oct 26 11:35:04 CDT 2016


On 26.10.2016 17:49, Aric Stewart wrote:
> 
> v2: Suggestions from Sebastian Lackner
> v3: Further suggestions from Sebastian Lackner
> v4: More suggestions from Sebastian Lackner
> Signed-off-by: Aric Stewart <aric at codeweavers.com>
> ---
>  dlls/winebus.sys/bus.h      |   2 +
>  dlls/winebus.sys/bus_udev.c |  75 +++++++++++++++++++
>  dlls/winebus.sys/main.c     | 173 +++++++++++++++++++++++++++++++++++++++++---
>  3 files changed, 238 insertions(+), 12 deletions(-)
> 

Not sure if the last_report handling is sufficient in the long term, but looks
good to me as an initial version. Please note that currently memory is leaked
for each HID report, but the mistakes seem to be in hidclass (in call_minidriver
and hid_device_thread).

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>




More information about the wine-patches mailing list