• S
    USB: EHCI Debug Port Device Gadget · f6c826a9
    stephane duverger 提交于
    This is a patch that implements an USB EHCI Debug Device using the
    Gadget API. This patch applies to a 2.6.35-rc3 kernel.
    
    The gadget needs a compliant usb controller that forwards the
    USB_DEVICE_DEBUG_MODE feature to its gadget.
    
    The gadget provides two configuration modes, one that only printk() the
    received data, and one that exposes a serial device to userland
    (/dev/ttyGSxxx).
    
    The gadget has been tested on an IGEPv2 board running a 2.6.35-rc1
    kernel. The debug port was fed on the host side by a 2.6.34 kernel.
    Signed-off-by: NStephane Duverger <stephane.duverger@gmail.com>
    Cc: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    f6c826a9
dbgp.c 8.3 KB