I'm runing a 2.6.28-rc8 kernel based on the linux-omap git tree, and have the MUSB configured for OTG.
The problem I'm runing into is if I boot my board with nothing attached ot hte OTG, it boots up, then when I connect an OTG cable/hub/thumdrive, I get the CONNECT interrupt from the OTG after the twl4030 interrupt indicating connection, and everything works.
When I disconnect the OTG cable from the port, I get hte twl4030 disconnect and OTG disconnect interrupts.
If I plug in the OTG cabel again, I do *NOT* get an OTG CONNECT interrrupt, but do get the twl4030 connect interrupt.
If I plug in a device cable attached to my PC, I get a connect interrupt from the OTG, and it negotiates properly for B-device. I can disconnect/reconnect the B-device cable and everything is happy. If i plug in the OTG cable, after the first OTG disconnect, I don't get an OTG connect interrupt. So I know the OTG controller is setup and ready for interrupts (INTRUSB = 0x00, INTRUSBE = 0xf7 so only SOF is masked, all interrupts are acknowledged).
What can cause the OTG controller to not signal a CONNECT interrupt?
Any help is appreciated!