[alsa-devel] Griffin FireWave stream format information

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Feb 28 12:06:55 CET 2014


Hi Stefan,

Thanks for your report.

(Feb 28 2014 18:56), Stefan Richter wrote:
> $ firewire-request /dev/fw8 fcp 0x00ffbfc100000000ff0090400202010200
> response: 000: 08 ff bf c1 00 00 00 00 ff 00 90 40 02 02 01 02 ........... at ....
> response: 010: 00                                              .
>
> $ firewire-request /dev/fw8 fcp 0x00ffbfc100000000ff0090400302010200
> response: 000: 08 ff bf c1 00 00 00 00 ff 00 90 40 03 02 01 02 ........... at ....
> response: 010: 00                                              .
>
> $ firewire-request /dev/fw8 fcp 0x00ffbfc100000000ff0090400402010200
> response: 000: 08 ff bf c1 00 00 00 00 ff 00 90 40 04 02 01 02 ........... at ....
> response: 010: 00                                              .

Oh, I made a mistake again...

The subfunction should be 0xc0 (Single) instead of 0xc1 (List). 'Extend 
Stream Format Information' command don't allow ctype=control for List 
subfunction.

These are correct commands:
(for 32.0kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400202010200
(for 44.1kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400302010200
(for 48.0kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400402010200

If one of them are accepted, the stream format is changed for 2ch IEC 
60958-3 at indicated rate. To confirm it, please execute this command again:
$ firewire-request /dev/fw8 fcp 0x01ffbfc000000000ffffffff
Response should be:
0c ff bf c0 00 00 00 00 ff 00 90 40 0[234] 02 01 02 00

To recover to 5.1ch surround, please execute this command:
(for 32.0kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400202010200
(for 44.1kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400302010200
(for 48.0kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400402010200
(for 96.0kHz)
$ firewire-request /dev/fw8 fcp 0x00ffbfc000000000ff0090400502010200

To confirm it, please execute this command again:
$ firewire-request /dev/fw8 fcp 0x01ffbfc000000000ffffffff

Response should be:
0c ff bf c0 00 00 00 00 ff 00 90 40 0[2345] 02 01 06 06


Thanks

Takashi Sakamoto
o-takashi at sakamocchi.jp



More information about the Alsa-devel mailing list