USB: gadget: f_hid: Add Feature reports
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | USB: gadget: Move gadget-related ioctl codes to gadget-ioctl.hinclude/ include/ include/ +1 more | +39 | 1 reply | |
| 2/3 | USB: gadget: f_hid: Add Get-Feature reportdrivers/ include/ include/ | +137 | 0 replies | |
| 3/3 | USB: gadget: f_hid: Add Set-Feature reportdrivers/ include/ | +103 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] USB: gadget: f_hid: Add Feature reports
This patchset adds support for Set- and Get-Feature report handling in the f_hid gadget subsystem.
Following up on a patchset from mid-2022[1] which stalled out due in part to neither Maxim Devaev nor I properly testing the interaction with the use_out_ep feature he added at some point, I've revised it based on Greg's original feedback.
Unfortuantely, it was never quite clear to me how to properly test this patchset per Maxim's concerns, so I was hoping to resubmit it with Greg's feedback addressed and see if Maxim is able to test it now.
Note also that this is based on my original patchset, not the revised version submitted by David Sands[2] at a later point. He may have some opinions that would make sense to address before anything exposed to usermode lands.
[1]: https://lore.kernel.org/linux-usb/[email protected]/
[2]: https://lore.kernel.org/linux-usb/[email protected]/
Vicki Pfau (3):
USB: gadget: Move gadget-related ioctl codes to gadget-ioctl.h
USB: gadget: f_hid: Add Get-Feature report
USB: gadget: f_hid: Add Set-Feature report
drivers/usb/gadget/function/f_hid.c | 231 ++++++++++++++++++++++++-- include/uapi/linux/usb/g_hid.h | 19 +++ include/uapi/linux/usb/g_printer.h | 23 +-- include/uapi/linux/usb/g_uvc.h | 4 +- include/uapi/linux/usb/gadget-ioctl.h | 39 +++++ include/uapi/linux/usb/gadgetfs.h | 27 +-- 6 files changed, 279 insertions(+), 64 deletions(-) create mode 100644 include/uapi/linux/usb/g_hid.h create mode 100644 include/uapi/linux/usb/gadget-ioctl.h
Signature · 1 line
2.43.0