Enabling USB OTG

madav maddy maddy.mdv007 at gmail.com
Tue Sep 13 06:43:17 EDT 2011


Hi Experts,

I am newbie and trying to enable usb OTG support in Android linux kernel,
can someone please give me the pointers to proceed with this. The hardware
on which android kernel boots has OTG harware, so inorder to enable it at
the kenel level i enabled the following configs,

CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
.
.
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
.
.
CONFIG_USB_OTG=y
CONFIG_USB_MUSB_OTG=y
CONFIG_USB_OTG_UTILS=y


am using the following configuration,

     musb <--- usb converter <--- usb harware device.


But still the hardware doesnt seems to work properly (as no new entry is
created in /dev, when a usb harware device is connected to the board),
Inorder to confirm that the base board drivers are working properly, i tried
loading the gadget driver and connected it to the PC host, where i was able
to access the device mass storage successfully.
Do i need to do anything else to enable the musb to work as OTG port.


Thanks,
Madavan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110913/a5efcfca/attachment.html 


More information about the Kernelnewbies mailing list