2008/10/24 Fredrik Johansson <frejo242@xxxxxxxxx>: > Hello > > I am working on an embedded machine that has two USB controllers, one > is a OTG and the other is a pure host. > > I have succesfully used g_serial driver on the OTG controller in > device mode and talked to my pc using the cdc-acm driver. > With the g_serial unloaded I have also enabled the ehci-hcd and > cdc-acm drivers and connected the host port to another serial device. > > The problem I have now is that I want to be able to have my embedded > machine work as a device on the OTG port and a host on the host port, > but if I load the ehci-hcd driver with g_serial already loaded it > screws everything up since ehci-hcd driver attaches to both the OTG > and the host controller, how can i prevent it from using the OTG > controller? It is a platform dependent problem. what is your platform ?( musb? ) which buses do the otg controller and ehci controller attache to? > > Best regards > Fredrik Johansson > -- > To unsubscribe from this list: send the line "unsubscribe linux-embedded" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html