USB in mode OTG

Hi,

I have just compiled the linux omap2 git kernel with MUSB in the OTG mode. It booted up the board without problem. But it does not detect any USB device (mouse, keyboard, card reader, usb key etc.) connected directly to the USB port or via un D-link HUB USB.

Here is the dmesg showing that the usb modules are correctly loaded:

root@beagleboard:~# 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, pio, otg (peripheral+host), debug=0
musb_hdrc: ConfigData=0x55 (UTMI-16, dyn FIFOs, bulk split (X), HB-ISO Rx (X))
musb_hdrc: MHDRC RTL version 1.400
musb_hdrc: setup fifo_mode 4
musb_hdrc: 29/15 max ep, 7232/16384 memory
musb_hdrc: hw_ep 0shared, max 64
musb_hdrc: hw_ep 1tx, max 512
musb_hdrc: hw_ep 1rx, max 512
musb_hdrc: hw_ep 2tx, max 512
musb_hdrc: hw_ep 2rx, max 512
musb_hdrc: hw_ep 3tx, max 512
musb_hdrc: hw_ep 3rx, max 512
musb_hdrc: hw_ep 4tx, max 512
musb_hdrc: hw_ep 4rx, max 512
musb_hdrc: hw_ep 5tx, max 512
musb_hdrc: hw_ep 5rx, max 512
musb_hdrc: hw_ep 6tx, max 512
musb_hdrc: hw_ep 6rx, max 512
musb_hdrc: hw_ep 7tx, max 512
musb_hdrc: hw_ep 7rx, max 512
musb_hdrc: USB OTG mode controller at c8800000 using PIO, IRQ 92
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbmon: debugfs is not available
usb usb1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
usb0: Ethernet Gadget, version: May Day 2005
usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in
usb0: MAC da:4b:49:45:a0:d9
usb0: HOST MAC 3e:eb:4e:06:3c:e9
usb0: RNDIS ready
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hci_usb
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver bpa10x
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usbcore: registered new interface driver snd-usb-audio
root@beagleboard:~# dmesg | grep ehci
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004

Anyone got usb otg working correctly (with usb hub or not) ? Any idea please ?

Thanks.

NT

http://www.angstrom-distribution.org/demo/beagleboard/uImage works
fine with OTG, both in host and client mode.

regards,

Koen

Thanks.

I have just tested your image and it is not better. It seems that the usb port on my board is defective...

NT

Koen Kooi wrote:

Run the diganostcs as described at http://code.google.com/p/beagleboard/wiki/BeagleBoardDiagnostics to check out the board. It has tests for the USB port in both host and client modes.

Gerald