On Fri, Mar 27, 2015 at 09:47:06AM -0400, Alan Stern wrote:
> On Fri, 27 Mar 2015, Peter Chen wrote:
> 
> > Hi Alan,
> > 
> > I tried to your case today, but it seems full speed hub with siTD
> > has some problems with latest greg's next tree, I use UAC2 with
> > configfs for audio device, high speed hub works ok.
> > 
> > The commands:
> > aplay -D hw:1,0 audio32k16M.wav
> > arecord -Dhw:1 -r 32000 -c 1 -f S16_LE -d 20 file_32.wav
> > 
> > The corresponding failure logs:
> > [   81.542848] ci_hdrc ci_hdrc.0: iso sched full bd7d5100
> > [   81.542884] usb 1-1.2: cannot submit urb 0, error -28: not enough
> > bandwidth
> > [  355.078938] ci_hdrc ci_hdrc.0: iso sched full bd49cc00
> > [  355.078969] usb 1-1.2: cannot submit urb 0, error -28: not enough
> > bandwidth
> 
> That's strange.  Can you please post the /sys/kernel/debug/usb/devices 
> file (with the UAC2 gadget plugged in), and also collect a usbmon trace 
> of the test?
> 

It should be UAC2 gadget or chipidea driver problem, it is ok if I plug
in USB audio card, but most of current audio cards support 44.1k+
frame rate, it can't handle the 3rd endpoint (176-184 bytes / endpoint),
I don't know how to let it only read/writes 64 bytes, anyway, I will fix
the UAC2 gadget problem first.

Device file for UAC2:
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=12   MxCh= 0
D:  Ver= 0.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=15a2 ProdID=0054 Rev= 4.00
S:  Manufacturer=Freescale
S:  Product=FSL i.mx6q sabreSD Board
S:  SerialNumber=123456ABCDEF
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=  6mA
A:  FirstIf#= 0 IfCount= 3 Cls=01(audio) Sub=00 Prot=20
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=20
Driver=snd-usb-audio
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20
Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20
Driver=snd-usb-audio
E:  Ad=01(O) Atr=05(Isoc) MxPS=1023 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20
Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20
Driver=snd-usb-audio
E:  Ad=81(I) Atr=05(Isoc) MxPS=1023 Ivl=1ms

usbmon trace:
I did not trace it since I did not find any data traffic on the bus
through USB Bus Analyzer.

-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to