[PATCH 0/3] Handle custom control requests in userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vendor specific control requests are a significant category of
USB communications. With the current framework, it is difficult
for a composite gadget to handle these requests since any
function could be active. This patchset/feature allows all 
unhandled control requests to be passed to a singular
functionfs instance regardless of active configuration.

Patch 1 contains configfs changes, patch 2 contains funtionfs
changes, and patch 3 adds documentation and examples.

I've regrouped these patches for the 4-19 window.

Jerry Zhang (3):
  usb: gadget: configfs: Create control_config group
  usb: gadget: f_fs: Add FUNCTIONFS_CONTROL_ONLY flag
  Documentation: usb: Add docs for configfs control requests

 Documentation/usb/gadget_configfs.txt |  34 ++++++++
 drivers/usb/gadget/configfs.c         | 114 ++++++++++++++++++++++----
 drivers/usb/gadget/function/f_fs.c    |  22 ++---
 include/uapi/linux/usb/functionfs.h   |   1 +
 4 files changed, 142 insertions(+), 29 deletions(-)

-- 
2.18.0.399.gad0ab374a1-goog

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux