Hi, I ran into a similar problem.
In my case the AXP20x power supply driver was not being built so the USB was not getting power. I got it working by enabling CONFIG_IIO and CONFIG_AXP20X_POWER in the menuconfig. They were not enabled by default in the sunxi_defconfig. Lawrence On Sun, Jul 23, 2017 at 4:42 AM, Marc Haber <[email protected]> wrote: > Hi, > > I am using Debian Linux on a row of Banana Pi's with a self-built kernel > from the mainline archive. > > Since 4.12, my USB is not working any more. Devices are not seen, lsusb > returns silently with a return code of 1. I guess that the offending > part of an strace lsusb is: > > socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, > NETLINK_KOBJECT_UEVENT) = 3 > setsockopt(3, SOL_SOCKET, SO_ATTACH_FILTER, "\n\0\0\0T0\345\276", 8) = 0 > bind(3, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000002}, 12) = 0 > getsockname(3, {sa_family=AF_NETLINK, nl_pid=26668, nl_groups=0x000002}, > [12]) = 0 > setsockopt(3, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 fcntl64(3, F_GETFL) > = 0x802 (flags O_RDWR|O_NONBLOCK) > fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > [pid 26668] recvmsg(3, {msg_namelen=128}, 0) = -1 EAGAIN (Resource > temporarily unavailable) > > The modules do all load, but somehow the subsystem is not initialized > correctly. > > I tried bisecting the kernel between v4.11 and v4.12, and between v4.11 > and v4.12-rc1, and ended up twice with the first commit being > > # first bad commit: [df6f37225d62316f8505f10ef1099ee40fa3978b] net: > realtek: 8139cp: use new api ethtool_{get|set}_link_ksettings > > which is a commit that has nothing to do with USB. In fact, the 8139 > driver is not even enabled in the kernel I build. > > I cannot make any sense from this. Can you? > > Greetings > Marc > > -- > ------------------------------------------------------------ > ----------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 > > -- > 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. > -- 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.
