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

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

 



Here is the patch set I proposed in 
https://www.spinics.net/lists/linux-usb/msg167533.html.

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 fixes an f_fs bug, patch 2 implements this feature,
and patch 3 adds user facing documentation and examples.

Tested on 4.9.

Jerry Zhang (3):
  usb: gadget: f_fs: Only return delayed status when len is 0
  usb: gadget: configfs: Create control_config group
  Documentation: usb: Add docs for configfs control requests

 Documentation/usb/gadget_configfs.txt | 32 ++++++++++
 drivers/usb/gadget/configfs.c         | 86 +++++++++++++++++++++------
 drivers/usb/gadget/function/f_fs.c    |  2 +-
 3 files changed, 101 insertions(+), 19 deletions(-)

-- 
2.17.0.484.g0c8726318c-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