Re: Errata for Freescale root-hub TT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 30, 2015 at 10:03:07AM -0400, Alan Stern wrote:
> On Mon, 30 Mar 2015, Peter Chen wrote:
> 
> > > 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
> 
> This is bad.  All the endpoints have maxpacket = 1023, and that's much 
> too big for this test.  We need a maxpacket size of 64 (maybe a little 
> bigger but not much).
> 

Back to this issue, 1024 bytes is only ~70% for frame, why it reports
"iso sched full" when I only wants to use one endpoint for playback
or capture?

-- 

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux