linux/drivers/usb/gadget
Alan Stern 5742b0c950 [PATCH] USB dummy_hcd: Partial OTG emulation
Partial OTG support for dummy_hcd, mostly as a framework for further work.
It emulates the new OTG flags in the host and peripheral frameworks, if
that option is configured.  But it's incomplete:

  - Resetting the peripheral needs to clear the OTG state bits;
    a second enumeration won't work correctly.

  - This stops modeling HNP right when roles should switch the first time.
    It should probably disconnect, then set the usb_bus.is_b_host and
    usb_gadget.is_a_peripheral flags; then it'd enumerate almost normally,
    except for the role reversal.  Roles could then switch a second time,
    back to "normal" (with those flags cleared).

  - SRP should be modeled as "resume from port-unpowered", which is
    a state that usbcore doesn't yet use.

HNP can be triggered by enabling the OTG whitelist and configuring a
gadget driver that's not in that list; or by configuring Gadget Zero
to identify itself as the HNP test device.

Sent-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-27 14:43:51 -07:00
..
Kconfig
Makefile
config.c
dummy_hcd.c [PATCH] USB dummy_hcd: Partial OTG emulation 2005-06-27 14:43:51 -07:00
epautoconf.c
ether.c [PATCH] USB: ethernet gadget updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
file_storage.c
gadget_chips.h
goku_udc.c
goku_udc.h
inode.c
lh7a40x_udc.c
lh7a40x_udc.h
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c
net2280.h
omap_udc.c [PATCH] USB: more omap_udc updates (dma and omap1710) 2005-06-27 14:43:50 -07:00
omap_udc.h [PATCH] USB: more omap_udc updates (dma and omap1710) 2005-06-27 14:43:50 -07:00
pxa2xx_udc.c
pxa2xx_udc.h
rndis.c [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
rndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
serial.c
usbstring.c
zero.c