USB Device Driver

AYAN KUMAR HALDER ayankumarh at gmail.com
Fri Jun 13 06:14:16 EDT 2014


On Fri, Jun 13, 2014 at 1:24 PM, Vlad Ungureanu <vvu at vdev.ro> wrote:
> Hello,
>
> During Google Summer of Code we are developing an USB Device Driver for an
> Android phone. Mainly we want to make an ADK driver *switch the phone to ADK
> mode or back to normal mode from inside the kernel*. I looked a bit over the
> Internet to find a recent example of USB Device Drivers but the ones I have
> found are from 2006 or so *old Kernel versions*. Do you guys have a more recent
> example, preferably not drivers/usb/usb-skeleton.c .
>
If you are talking about a usb device mode driver (to switch the phone
to device mode, when it is connected by a usb to a host machine), then
please  refer to drivers/usb/dwc3/core.c (DWC3_MODE_DEVICE) . It is a
usb dual role controller driver.

Regards,
Ayan Kumar Halder



More information about the Kernelnewbies mailing list