Re: 003 Firewire Isoch Rate Matching

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

 



Hi,

On Tue, Mar 23, 2021 at 12:16:30PM +0900, Takashi Sakamoto wrote:
> I use DAP Technology FireSpy 810[5] for packet analyzing (fortunately I
> found it at bargain price in used market). The libhinoko[6] can make
> your Linux box as packet analyzer and might be useful. Enough later, I'll
> send you log of packet sequence for long duration (1 min or so) for 003
> console and rack.

Now they are available under below URLs:

 * http://sakamocchi.jp/media/digi003-console.zip
 * http://sakamocchi.jp/media/digi003-rack.zip
 * http://sakamocchi.jp/media/digi002-console.zip
 * http://sakamocchi.jp/media/digi002-rack.zip

The checksums by sha256sum are:
 * 9aa7298d71941c122228af8ff46f8bded8ac1d28759ff06bffc11f0ef1d4dcf8  002/digi002-console.zip
 * 0f0be9e514479652fbae3e5a52db23922e24b508737ee875e83f166b9b7503bc  002/digi002-rack.zip
 * 6a6ec0e90c5a4e76fd35d869f55f4a62571cff9d9f16d008145dc3dadb020f41  003/digi003-console.zip
 * 31a95be9a18efb18b1eb8d2b3277a46692a0fe65edb1a2711368e19af688b199  003/digi003-rack.zip

I use Windows 7 (64bit) for the logs. Below version of drivers are used:

 * 9.0.8 for rack models
 * 9.0.6 for console models

The target device is configured to use internal source for sampling
clock. The archive includes logs for each supported sampling rate.

In the logs, three entries consists of one isochronous cycle:
 * Cycle start packet
 * isochronous packet from driver to device
   * all of audio frames are zero
 * isochronous packet from device to driver
   * some of audio frames have value

For example:

```
121.155,CycleStart,0xFFC2,0xFFFF,0xFFFFF0000200,0,retry_1,,15,,0x3DAB6034,,,,100,,
2.614,Streaming,,,,,,,,616,,1,0,0,400,,0x02130070,0x90018BBA,...
13.611,Streaming,,,,,,,,464,,1,1,0,400,,0x0113004C,0x90010000,...
```

At 30 sec 6838 cycle 52 ticks (0x3DAB6034), the driver transfers
isochronous packet at channel 0 in 400 Mbps speed. CIP header is
0x02130070 0x90018BBA. The device transfers isochronous packet at
channel 1 in 400 Mbps speed. CIP header is 0x0113004C 0x90010000.

I use csv module in Python 3 runtime implementation to parse it.
https://docs.python.org/3/library/csv.html


Cheers

Takashi Sakamoto



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux