I like to ask you for a few favours: [LIST=1][*]Please publish the diffs of the patches you made to the kernel, and the exact procedure (echo x >y?) to make that happen. AIUI it's only a few files like musb_core.c or similar, so you could as well publish the complete file(s) as an attachment to your answer.
Could you repeat the tests as done above, but prior to that you run a 'stop bme', so we find out if annoying bme_RX-51 has its fingers in there in any way. (I could imagine detection of VBUS in/for musb_hdrc somewhat fails without bme)
[*]And finally, maybe you can replace the TWL4030 VBUS boostmode call by a call to bq24150 (or a system() call [man 3 system] to invoke my above posted cmdline like Code: /bin/sh -c '/sbin/stop bme && sleep 3 && /usr/local/i2cset -y -m 0x07 2 0x6b 0x01 0x05 && while sleep 28; do /usr/local/i2cset -y -m 0x80 2 0x6b 0x00 0x80; done &' )
/bin/sh -c '/sbin/stop bme && sleep 3 && /usr/local/i2cset -y -m 0x07 2 0x6b 0x01 0x05 && while sleep 28; do /usr/local/i2cset -y -m 0x80 2 0x6b 0x00 0x80; done &'
completely(?) unrelated, here some lines in http://mxr.maemo.org/fremantle/sourc...rx51_defconfig I found interesting or suspicious: 1436 # CONFIG_USB_MUSB_HOST is not set 1487 # CONFIG_USB_SERIAL is not set 1510 CONFIG_USB_TEST=m 1513 CONFIG_USB_GADGET=m 1514 # CONFIG_USB_GADGET_DEBUG is not set 1517 CONFIG_USB_GADGET_VBUS_DRAW=2 1523 # CONFIG_USB_GADGET_OMAP is not set 1540 # CONFIG_USB_G_SERIAL is not set 1544 CONFIG_USB_G_NOKIA=m 1551 # CONFIG_USB_GPIO_VBUS is not set 1553 CONFIG_TWL4030_USB=y