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 linux musb problem when built as module

Other Parts Discussed in Thread: OMAPL138, DA8XX

Hello,

I am using the Arago linux-omapl git tree on a OMAPL138. I am trying to use the musb as host only. When I include the driver built into the kernel it works fine. But if I build it as a module instead, when I load the driver I obtain the following (there is nothing connected on the port):

musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0
musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
/ # da8xx_interrupt 468: VBUS error workaround (delay coming)
da8xx_interrupt 468: VBUS error workaround (delay coming)
da8xx_interrupt 468: VBUS error workaround (delay coming)
da8xx_interrupt 468: VBUS error workaround (delay coming)

The USB port does not work when I plug something in it. USB0_DRVVBUS does not seem to be set.

I would really like to use the driver as a module since the USB is not always there (it's an option).

Any suggestions?