Thanks David, I take a brief look on your .config file and do not see any important differences around USB OTG.
In my opinion the problem most probably comes from device tree configuration or some recent changes in the driver (I use kernel 4.5.2). Could you send me yor dtb file used at boot time together with the kernel? You can find it as /boot/dtb/sun7i-a20-cubietruck.dtb on the board's rootfs. Best regards Chris On Wednesday, May 4, 2016 at 7:07:05 PM UTC+3, ddis...@gmail.com wrote: > > On Wednesday, May 4, 2016 at 4:24:32 PM UTC+2, Christo Radev wrote: > > Hi to All, > > > > Following Michal Suchanek's post and applying Maxime Ripard's advice USB > OTG started working in host only mode. > > > > Unfortunately, it solves the problem in a half so any ideas are welcome. > > A different A20 board (cubietruck), but might still be useful... > USB OTG device mode worked fine with a vanilla 4.4.0-rc4 kernel > for a recent project: > (http://blog.elastocloud.org/2015/12/ceph-usb-storage-gateway.html). > > The kernel config that I used can be found at: > https://raw.githubusercontent.com/ddiss/ceph_usb_gateway/master/.config > > Cheers, David -- 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 linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.