This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL138 USB serial gadget

Other Parts Discussed in Thread: OMAPL138

Hi,

I have an omapl138 based custom board with the linux kernel v2.6.34_DAVINCIPSP_03.21.00.01 taken from http://arago-project.org/git/projects/?p=linux-davinci.git;a=summary

I try to use the USB 2.0 OTG-port as a serial device and connect to a PC host. I have configured the linux kernel so I get a /dev/ttyGS0 device but when I connect my board to a Windows PC host nothing happens. The host PC does not detect the USB device. I have not installed any specific windows driver on the host PC yet but I thought my USB device would appear as an "unknown device" or something.

The USB port works fine when I configure it as a host and insert a memory stick but it simply will not work as a gadget.

Does anyone know what could be wrong?

 

This is how USB stuff i configured in my kernel:
-------------------------------------------------------------------
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y

CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SOC=y

CONFIG_USB_MUSB_PERIPHERAL=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_TI_CPPI41_DMA=y
CONFIG_USB_MUSB_DEBUG=y


CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_SELECTED=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_G_SERIAL=y

CONFIG_USB_OTG_UTILS=y
CONFIG_NOP_USB_XCEIV=y

 

I appriciate any suggestion or input.

// Henrik Abrahamsson