Google
  Web www.spinics.net

Re: PATCH: usb ehci debug port device gadget

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


On Tue, Jun 22, 2010 at 06:14:14PM +0200, stephane duverger wrote:
> Hello,
> 
> This is a patch that implements an USB EHCI Debug Device using the
> Gadget API. It does make use of "u_serial" to provide userland access.
> 
> The code is small and is inspired by other gadgets. As i don't have a
> significant experience in kernel development i think it should be
> rewritten (using composite ?!).
> 
> The effective code is really small, but the main problem is that i was
> constrained to patch into the usb controller code to make it forward the
> USB_DEVICE_DEBUG_MODE feature to the gadget driver.
> 
> So unfortunately, every controller (i only tested my code on a Nokia
> N900 which uses "musb" controller) will potentially need a patch if
> their ep0 handler does not forward the feature request to the gadget
> driver ... if i'm correct.
> 
> I provide a patch for a vanilla 2.6.28.10 kernel, although it has been
> tested (not intensively) on a 2.6.28-omap1 kernel. The Debug Port on
> the host side, was feeded by a linux kernel using "earlyprintk=dbgp".

Very nice stuff.

Could you port it to 2.6.35-rc3 and resend it with a signed-off-by line
so that we can apply it to the tree if it all works out properly?

thanks,

greg k-h
--
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


B and H Foto and Electronics Corp.

[Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Old Linux USB Devel Archive]

Add to Google Powered by Linux