USB OTG: not enough bandwidth

342 views
Skip to first unread message

Igor Pecovnik

unread,
Nov 25, 2015, 1:57:47 PM11/25/15
to linux-sunxi

I am trying to connect a DAC via OTG port in host mode to Banana PI. Of course I am using powered HUB and some devices works fine. Among them one DAC (M2Tech Hiface).


But I have a problem with another one (Oppo DAC 2.0). It refuses to work with (3.4.109 / 4.3.0) while it works on a normal USB port.


Is there any hope / hint?


Igor


Additional info:

cannot submit datapipe for urb 0, error -28: not enough bandwidth

cannot submit urb 0, error -28: not enough bandwidth

Kernel config for 4.3: http://pastebin.com/ngzS44Wb

aplay -L http://pastebin.com/muvjzCHK



ditma...@gmail.com

unread,
Nov 25, 2015, 3:30:44 PM11/25/15
to linux-sunxi
Is this device visible with lsusb at the otg port ?

Igor Pecovnik

unread,
Nov 25, 2015, 11:44:53 PM11/25/15
to linux-sunxi, ditma...@gmail.com
Yes, visible. 

Dne sreda, 25. november 2015 21.30.44 UTC+1 je oseba ditma...@gmail.com napisala:

Igor Pecovnik

unread,
Dec 23, 2015, 8:10:38 AM12/23/15
to linux-sunxi, hdeg...@redhat.com
Still (4.4.RC5) getting not enough bandwidth via musb connection - already at normal rate speaker-test

Here is little more debug info:

Dne sreda, 25. november 2015 19.57.47 UTC+1 je oseba Igor Pecovnik napisala:

Hans de Goede

unread,
Dec 23, 2015, 9:30:19 AM12/23/15
to Igor Pecovnik, linux-sunxi
Hi,

On 23-12-15 14:10, Igor Pecovnik wrote:
> Still (4.4.RC5) getting *not enough bandwidth* via musb connection -
> already at normal rate speaker-test

The otg port on the bananapi does not have a proper host controller,
instead it uses the musb app gadget controller in host emulation mode,
this is known to not work with some devices. You really should use one
of the normal usb a ports on the bananapi, which are connected to a proper
usb host controller.

Regards,

Hans


>
> Here is little more debug info:
> http://pastebin.com/pPb7cpcc
>
> Dne sreda, 25. november 2015 19.57.47 UTC+1 je oseba Igor Pecovnik napisala:
>>
>> I am trying to connect a DAC via OTG port in host mode to Banana PI. Of
>> course I am using powered HUB and some devices works fine. Among them one
>> DAC (M2Tech Hiface).
>>
>>
>> But I have a problem with another one (Oppo DAC 2.0). It refuses to work
>> with (3.4.109 / 4.3.0) while* it works on a normal USB port*.
>>
>>
>> Is there any hope / hint?
>>
>>
>> Igor
>>
>>
>> *Additional info:*

Igor Pecovnik

unread,
Dec 23, 2015, 10:39:54 AM12/23/15
to linux-sunxi, igor.p...@gmail.com, hdeg...@redhat.com

Thank you. 

I guess this apply for all A10/A20 family? 

Dne sreda, 23. december 2015 15.30.19 UTC+1 je oseba Hans de Goede napisala:

Hans de Goede

unread,
Dec 24, 2015, 6:12:51 AM12/24/15
to igor.p...@gmail.com, linux-sunxi
Hi,

On 23-12-15 16:39, Igor Pecovnik wrote:
>
> Thank you.
>
> I guess this apply for all A10/A20 family?

Yes.

Regards,

Hans

Igor Pecovnik

unread,
Jan 20, 2016, 2:31:43 AM1/20/16
to Hans de Goede, linux...@googlegroups.com
Hello,

In recent kernel(s) CONFIG_PHY_SUN4I_USB is only possible to build as module.
... so we can't boot from USB drive.

I try many combinations, but PHY stays as module.

Any clues?

BR, Igor

Hans de Goede

unread,
Jan 20, 2016, 4:33:15 AM1/20/16
to Igor Pecovnik, linux...@googlegroups.com
Hi,
You need to set CONFIG_EXTCON=y, and if that won't stick look at
EXTCON's dependencies and see if any of those are CONFIG_FOO=m.

Regards,

Hans
Reply all
Reply to author
Forward
0 new messages