"Pandita, Vikram" <vikram.pandita@xxxxxx> writes: > Felipe > >>Sent: Thursday, March 20, 2008 6:09 PM >>To: Pandita, Vikram >>Cc: Kevin Hilman; Linux omap >>Subject: RE: OMAP3430: MUSB host and hot-plugging >> >> >>> If you can provide us the procedure to enable hot-plugging for MUSB on >>> OMAP3430, we will look into this issue. >> >>As far as musb driver is concerned it should be just a mater of >>building it with otg support. But as of now, I cannot get id >>pin status to musb using twl4030. >> >>Maybe we still have some missing pieces on linux-omap, which I'm >>researching on that. > > > I meant if you could pass on how you have written the hot plugging > function/agent for MUSB. I have not tried hot-plugging on omap. There's no additional code. You can reproduce this with current OMAP git, and default omap_3430sdp_defconfig, which enables MUSB in OTG mode. Here's what I do: - plug in cable (mini-A to A-female) - boot - after booting, plug in USB storage device. on my userland, hotplug does its thing, and the usb/scsi storage modules are loaded, and I can then access /dev/sda* - unplug USB key. kernel msgs show the disconnect happens etc. - replug USB key --- nothing happens - echo 'F' > /proc/driver/musb_hdrc USB key is detected and 'CONNECT' event happens, and I can then access /dev/sda* again. Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html