Re: problems to design a ISP1582 driver

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

 



On Thu, 8 Mar 2012, feng wind wrote:

> > You need to write a driver that conforms to the gadget API.  See
> >
> > 	http://www.linux-usb.org/gadget/
> >
> > It's a little out of date, but it will help you get started.  Also read
> > the documentation comments in include/linux/usb/gadget.h.  There are
> > lots of similar drivers you can study in drivers/usb/gadget/.
> >
> > Alan Stern
> >
> >
> You mean designing a driver that includes gadget section and hardware handle.

No, I mean writing a UDC (USB device controller) hardware driver.  You 
don't have to write g_file_storage, because it has already been 
written.

> My idea is that ISP 1582 driver can use existed gadget driver such as
> file_storage.c. So ISP1582 driver may just handle stuffs related to
> hardware. I think it becomes relatively simple. Is that practicable?

How would I know?  You tell me.

Alan Stern

--
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