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.

LCDK L138: trouble using USB OTG port in host mode

Other Parts Discussed in Thread: DA8XX

Hello,

I've problems getting the USB OTG port working in host mode on the L138 LCDK. Basically I'd like to use it as an USB 2 port for a wifi dongle which is working fine already on the USB1.1 port of the board.

Normally I'm running Linux 3.3.0 from DaVinci-PSP-SDK-03.22.00.02 with a self-configured/built kernel (my config is attached). Every related option is built into the kernel, no modules (except the wifi dongle driver itself). I tried to follow the user guide of the PSP-SDK, but in general, I hardly see any life from the MUSB device.

Here's some information about the boot with the wifi dongle connected to the USB OTG port through an OTG-to-USB-A adapter (should short id pin to ground).

I've also tried shorting jumper JP1 with same results as below.

I've also tried plugging/unplugging the dongle after boot, does not seem to have any effect at all.

Any idea what could be missing?

Thanks,

Istvan

-----

dmesg | grep usb

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver cdc_ncm
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
usb usb1: default language 0x0409
usb usb1: udev 1, busnum 1, minor = 0
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DA8xx OHCI
usb usb1: Manufacturer: Linux 3.3.0+ ohci_hcd
usb usb1: SerialNumber: ohci.0
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver ums-realtek

cat /proc/interrupts gives:

CPU0
11: 0 cp_intc edma
12: 0 cp_intc edma_error
16: 0 cp_intc mmc0
21: 2767 cp_intc clockevent
22: 0 cp_intc free-run counter
33: 0 cp_intc eth0
34: 8385 cp_intc eth0
35: 7661 cp_intc eth0
36: 0 cp_intc eth0
59: 2 cp_intc ohci_hcd:usb1
61: 400 cp_intc serial
93: 0 cp_intc edma
94: 0 cp_intc edma_error
210: 0 GPIO OHCI over-current indicator
Err: 0

lsusb:

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

ls /sys/devices/platform/:


/sys/devices/platform/alarmtimer/ /sys/devices/platform/reg-dummy/
/sys/devices/platform/davinci_emac.1/ /sys/devices/platform/regulatory.0/
/sys/devices/platform/davinci_mdio.0/ /sys/devices/platform/serial8250.0/
/sys/devices/platform/davinci_mmc.0/ /sys/devices/platform/serial8250/
/sys/devices/platform/edma/ /sys/devices/platform/uevent
/sys/devices/platform/ohci.0/ /sys/devices/platform/watchdog/
/sys/devices/platform/power/

----------------