lkml.org 
[lkml]   [2022]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/2] Handling of non-numbered feature reports by hidraw
Date

Hi everyone,

I'm working on a firmware of a device that exposes a HID interface via
USB and/or BLE and uses, among other things, non-numbered feature
reports. Included in this series are two paches I had to create in
order for hidraw devices created for aforementioned subsystems to
behave in the same way when exerciesd by the same test tool.

I don't know if the patches are acceptable as-is WRT to not breaking
existing userspace, hence the RFC tag.

Andrey Smirnov (2):
HID: uhid: Don't send the report ID if it's zero
HID: usbhid: Don't include report ID zero into returned data

drivers/hid/uhid.c | 15 ++++++++++++---
drivers/hid/usbhid/hid-core.c | 14 --------------
2 files changed, 12 insertions(+), 17 deletions(-)

--
2.34.1

\
 
 \ /
  Last update: 2022-12-05 22:05    [W:0.061 / U:2.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site