Re: Audio I/O parameters

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

 



On Thu, Jul 4, 2013 at 9:12 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 4 Jul 2013, James Stone wrote:
>
>> > Another hint: The important lines are the ones containing "Zi:1:002:2"
>> > -- the actual string may be slightly different, but it will definitely
>> > contain "Zi" and it will match the " E " lines.
>> >
>> >
>>
>> OK. So I think this is something else then. There are no E lines, but
>> the device locks up and becomes unresponsive with the lower (128)
>> frames/period. Also, I think the performance is degraded vs. the 3.5
>> kernel because I am getting xruns with the 256 frames/period setting,
>> with the device just sitting there not processing any audio. This
>> doesn't even happen with 64 frames/period with a generic 3.5 kernel.
>
> In that case, post what you're got and make sure it includes those
> "Zi:1:002:2" lines.  Best would be if you can find a region of the file
> where those lines are present at the start but then disappear by the
> end.
>
> By the way, just to be clear, here is an example of some
> _uninteresting_ "Zi" lines from your recent trace:
>
> ffff8800a7c9a600 1731873904 C Zi:1:002:1 0:8:1199:0 1 0:0:4 4 = 08830500
> ffff8800a7c9a600 1731873912 S Zi:1:002:1 -115:8:1199 1 -18:0:4 4 <
>
> These lines are the synch channel for the audio-out stream; they have
> no connection with the audio-in even though the "i" in "Zi" indicates
> an "input" direction of data flow.  The distinguishing feature of the
> synch transfers is the "4" before the "=" and "<" symbols.  The real
> audio-in lines will have much larger numbers there, like 1024 or 2048.
>
> Alan Stern
>

OK.. How is this:

ffff8800a4976200 3574521627 S Zi:1:004:2 -115:1:3144 8 -18:0:63
-18:63:63 -18:126:63 -18:189:63 -18:252:63 504 <
ffff8800a49dc600 3574521634 C Zi:1:004:1 0:8:3151:0 1 0:0:4 4 = 08830500
ffff8800a49dc600 3574521636 S Zi:1:004:1 -115:8:3151 1 -18:0:4 4 <
ffff8800a4977000 3574522365 C Zo:1:004:1 0:1:3150:0 8 0:0:96 0:96:80
0:176:96 0:272:80 0:352:96 720 >
ffff8800a4977000 3574522400 S Zo:1:004:1 -115:1:3150 8 -18:0:80
-18:80:96 -18:176:80 -18:256:96 -18:352:80 704 = 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000
ffff8800a4976800 3574522413 C Zo:1:004:1 -104:1:3158:0 1 0:0:80 80 >
ffff8800a4976e00 3574522618 C Zi:1:004:2 -104:1:3152:0 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 00f90500 00eb0200 0028fbff
0096fdff 00bc0400 006c0200 0027fcff 004efeff
ffff8800a49dcd00 3574522625 C Zi:1:004:1 -104:8:3159:0 1 0:0:4 4 = 08830500
ffff8800a4976600 3574523493 C Zi:1:004:2 -104:1:3160:0 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 00480000 00470000 00240000
00d3ffff 00220000 00130000 00e7ffff 00f4ffff
ffff8800a49dca00 3574523501 C Zi:1:004:1 -104:8:3167:0 1 0:0:4 4 = 08830500
ffff8800a4977400 3574523502 C Zo:1:004:1 -104:1:3159:0 8 0:0:96
0:96:80 0:176:96 0:272:80 0:352:96 704 >
ffff8800a4977800 3574524441 C Zo:1:004:1 -104:1:3167:0 7 0:0:96
0:96:80 0:176:96 0:272:80 0:352:96 624 >
ffff8800a4977a00 3574524617 C Zi:1:004:2 -104:1:3168:0 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 008b0000 00150000 004e0000
00efffff 003a0000 00130000 003e0000 00500000
ffff8800a49dc000 3574524624 C Zi:1:004:1 -104:8:3175:0 1 0:0:4 4 = 08830500
ffff8800a4977000 3574525368 C Zo:1:004:1 0:1:3174:0 8 0:0:80 0:80:96
0:176:80 0:256:96 0:352:80 704 >
ffff8800a4977c00 3574525616 C Zi:1:004:2 -104:1:3176:0 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 002f0000 00450000 00300000
006b0000 00450000 003f0000 004f0000 00460000
ffff8800a49dc600 3574525623 C Zi:1:004:1 -104:8:3183:0 1 0:0:4 4 = 08830500
ffff8800a4977e00 3574526616 C Zi:1:004:2 -104:1:3184:0 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 00330000 00160000 003d0000
004b0000 00290000 002c0000 00020000 003d0000
ffff8800b3585f00 3574527275 S Ci:1:004:0 s a1 01 0100 2800 0001 1 <
ffff8800a4976400 3574527618 C Zi:1:004:2 -104:1:3192:0 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 00600000 00400000 00390000
006a0000 00640000 00030000 002e0000 006f0000
ffff8800b3585f00 3574527992 C Ci:1:004:0 0 1 = 01
ffff8800b3585f00 3574528076 S Ci:1:004:0 s a1 01 0200 2900 0001 1 <
ffff8800b3585f00 3574528240 C Ci:1:004:0 0 1 = 01
ffff8800b3585f00 3574528290 S Co:1:004:0 s 21 01 0100 2900 0004 4 = 44ac0000
ffff8800a4976a00 3574528635 C Zi:1:004:2 -104:1:3200:1 8 0:0:40
0:63:40 0:126:40 0:189:40 0:252:40 504 = 00250000 00390000 003e0000
004c0000 00230000 004c0000 00680000 00fcffff
ffff8800a4976200 3574529614 C Zi:1:004:2 -104:1:3208:8 8 -71:0:0
-71:63:0 -71:126:0 -71:189:0 -71:252:0 504 = 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000


James
--
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