[PATCH 00/11] Configurable Composite Gadget

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

 



Dear All,

This is the first version of the Configurable Composite Gadget:
It descends from Android Composite Gadget:

http://www.spinics.net/lists/linux-usb/msg56065.html
http://thread.gmane.org/gmane.linux.usb.general/56245
http://www.spinics.net/lists/linux-usb/msg59641.html

and is meant to replace it.

It requires that this patch series:

http://www.spinics.net/lists/linux-usb/msg59641.html

is applied before (actually the bugfixing patches from this series has
already made it into 3.4-rc4).

Compared to the Android Composite Gadget, this version addresses some more
issues pointed by Michal and Greg. Namely, it hands over the string handling
to the composite glue, removes some sysfs attributes in favor of module
parameters (which are now 0644 accessible) and renames the gadget to
Configurable Composite Gadget (ccg in short), including the filenames and
the names in the source code. The module has also been marked EXPERIMENTAL.

@Greg:
The gadget still uses some sysfs attributes which is not the preferred way
of configuring things. Could you please consider including it into staging?

@Michal:
Most of the patches have been

Acked-by: Michal Nazarewicz <mina86@xxxxxxxxxx>

but in the patch 09/11 (formerly 07/11) I did not repeat the ack,
since there are some changes other than renaming. However, I think the
changes are what you expected, so I have a kind request to you to review it.
Also, the patches which are new (03/11 and 04/11) are not ack'ed.

The series has been rebased on to p of Linux 3.4-rc4.

Patch 1 to 8 are small additions/fixes to the composite framework.

Patch 9 adds main gadget driver.

Patch 10 adds FunctionFS support to the gagdet.

Patch 11 adds respective sysfs files descriptions.

Andrzej Pietrasiewicz (4):
  usb: gadget: composite: make module parameters accessible at runtime
  usb: gadget: composite: add iSerialNumber to usb_composite_driver
  usb: gadget: Add FunctionFS support to Configurable Composite Gadget
    driver
  usb: gadget: add sysfs files description for Configurable Composite
    Gadget

Benoit Goby (5):
  usb: gadget: composite: Add usb_remove_config
  usb: gadget: composite: Initialize config->interface
  usb: gadget: u_serial: Allow calling gserial_setup after init
  usb: gadget: rndis: Fix re-binding f_rndis
  usb: gadget: f_rndis: Set rndis vendor parameters

Mike Lockwood (2):
  usb: gadget: Add variant of gether_setup to customize the device name
  usb: gadget: Add Configurable Composite Gadget driver

 Documentation/ABI/testing/sysfs-class-ccg_usb |  158 +++
 drivers/usb/gadget/Kconfig                    |    9 +
 drivers/usb/gadget/Makefile                   |    2 +
 drivers/usb/gadget/ccg.c                      | 1303 +++++++++++++++++++++++++
 drivers/usb/gadget/composite.c                |   92 ++-
 drivers/usb/gadget/f_rndis.c                  |   30 +-
 drivers/usb/gadget/u_ether.c                  |    8 +-
 drivers/usb/gadget/u_ether.h                  |   46 +-
 drivers/usb/gadget/u_serial.c                 |    4 +-
 include/linux/usb/composite.h                 |    6 +
 10 files changed, 1603 insertions(+), 55 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-ccg_usb
 create mode 100644 drivers/usb/gadget/ccg.c
--
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