Re: Simple USB raw data drivers or APIs

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

 



On Thu, Jan 14, 2010 at 04:31:12PM -0800, Ron Madrid wrote:
> --- On Thu, 1/14/10, Greg KH <greg@xxxxxxxxx> wrote:
> 
> > From: Greg KH <greg@xxxxxxxxx>
> > Subject: Re: Simple USB raw data drivers or APIs
> > To: "Ron Madrid" <ron_madrid@xxxxxxxxxxxxx>
> > Cc: linux-usb@xxxxxxxxxxxxxxx
> > Date: Thursday, January 14, 2010, 3:50 PM
> > On Thu, Jan 14, 2010 at 03:41:36PM
> > -0800, Ron Madrid wrote:
> >
> > > > > 1.  I need to write a gadget driver for
> > my
> > > > board.
> > > > 
> > > > Yes, if the existing ones do not work with your
> > hardware.
> > > 
> > > I take it you are talking about the ethernet and
> > serial ones?
> > > If not I don't know what you mean by existing ones?
> > 
> > No, I mean a usb gadget controller driver for your MPC8313
> > based board.
> 
> OK, do you mean fsl_usb2_udc.c?  That works with my board.

Ah, good.

> I am also able to build g_zero and install it and see a
> response from the freescale driver.
> 
> fsl-usb2-udc: bind to driver zero
> 
> So are you saying that I don't need a driver to sit on top
> of that one like with g_zero?  Sorry if this is a stupid
> question.  I'm new to this.

Yes, you now need a gadget class driver, like the g_serial one, to sit
on top of it as well.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux