On Sun, Jul 30, 2017 at 2:35 PM, sufi al hussaini hassani kamili raheemi <[email protected]> wrote: > Hi All, > > I am not able to get USB0 to work in host mode. > This is an Olimex A20 Olinuxino micro and I have set `dr_mode = "host";` in > the dts. I have compiled the kernel with USB support and the other USBs are > working fine. > > I found this post > (https://groups.google.com/forum/#!msg/linux-sunxi/uulK5lf7XrU/QUMtNbVpAQAJ) > which addresses a similar problem for the lime2 board. I tried making these > changes but it isn't working for me. > My kernel version is 4.4.71 and it should have USB support as per the sunxi > mainlining effort page. > > FWIW, I see the following in my boot logs: > [ 1.591201] vcc5v0: disabling > [ 1.591218] ahci-5v: disabling > [ 1.591225] usb0-vbus: disabling > > > I'd appreciate if someone can help me here.
What mode are you compiling the MUSB driver as? If you selected OTG then you also need a gadget driver. I'm not sure if the bug that needs the gadget driver to probe before the MUSB driver was fixed in 4.4 or not. Safe bet is to just compile the MUSB driver in host-only mode. Note this is separate from what you specified in the device tree. ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
