From mboxrd@z Thu Jan 1 00:00:00 1970 From: lkcl . Date: Sun, 24 Jul 2016 15:51:01 +0100 Subject: [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org hi folks, we're running a crowdfunding campaign live at the moment on crowdsupply so it is a little more prominent than usual debugging issues: ath9k_htc has the "unable to allocate urbs" issue which has cropped up a number of times in the past, since 2013 and even 2010. i'm plugging in a powered USB3 Hub into the OTG port (set up as a USB Host). the OTG port is USB2. (i don't yet have access to a powered USB2-only hub) this is what i get: [ 146.752856] usb 5-1.4: new high-speed USB device number 7 using musb-hdrc [ 146.931295] usb 5-1.4: ath9k_htc: Firmware ath9k_htc/htc_7010-1.4.0.fw reques ted [ 146.938943] usbcore: registered new interface driver ath9k_htc [ 147.051422] usb 5-1.4: ath9k_htc: Transferred FW: ath9k_htc/htc_7010-1.4.0.fw , size: 72812 [ 147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs [ 147.066080] usb 5-1.4: ath9k_htc: USB layer deinitialized [ 153.176102] usb 5-1.4: USB disconnect, device number 7 now, here's the really strange thing: this issue does *NOT* occur if the ath9k_htc 9271 dongle is plugged in as the very first device (but we get additional problems) here's the sequences that i've tried so far: * plug in TP-Link 9271 dongle: works fine * plug in Logitech dual-endpoint (hybrid usb-hid keyboard and usb-hid trackpad): keyboard works, TRACKPAD DOES NOT * unplug either device and re-plug them back in, result is: [ 804.942464] usb 5-1: new high-speed USB device number 58 using musb-hdrc [ 805.482464] usb 5-1: new high-speed USB device number 59 using musb-hdrc [ 806.022463] usb 5-1: new high-speed USB device number 60 using musb-hdrc [ 806.602464] usb 5-1: new high-speed USB device number 61 using musb-hdrc [ 807.182479] usb 5-1: new high-speed USB device number 62 using musb-hdrc if the hub is then unplugged it is no longer recognised. plugging in any usb device directly into the usb port is also no longer recognised. second sequence attempted: * plug in Logitech dual-endpoint device: works fine * plug in TP-Link 9271 dongle: Unable to allocate URBs * unplug both devices, plug something (anything) back in: new high-speed number 58 59 60 61 62 .... one every second third sequence attempted: * plug in Logitech dual-endpoint device: works fine * plug in ASIX88xxx USB-ETH dongle: works fine * plug in *SECOND* ASIX88xx USB-ETH dongle: works fine * plug in TP-Link 9271: wark, wark in essence, then, it would seem as if the TP-Link 9271 is destabilising the usb bus infrastructure. any additional information needed, please do let me know. l.