All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Jay Fenlason <fenlason@redhat.com>
Subject: Re: Griffin FireWave stream format information
Date: Fri, 28 Feb 2014 20:06:55 +0900	[thread overview]
Message-ID: <53106DCF.5050903@sakamocchi.jp> (raw)
In-Reply-To: <20140228105632.1a436d21@stein>

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 ...........@....
> 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 ...........@....
> 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 ...........@....
> 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@sakamocchi.jp

  reply	other threads:[~2014-02-28 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <530EB782.6090205@sakamocchi.jp>
2014-02-28  9:56 ` Griffin FireWave stream format information Stefan Richter
2014-02-28 11:06   ` Takashi Sakamoto [this message]
2014-02-28 13:34     ` Stefan Richter
2014-02-28 13:51       ` Takashi Sakamoto
2014-02-28 14:09         ` Stefan Richter
2014-02-28 14:39           ` Takashi Sakamoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53106DCF.5050903@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=fenlason@redhat.com \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.