Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: ffado-devel@lists.sourceforge.net, alsa-devel@alsa-project.org,
	clemens@ladisch.de
Subject: Re: [PATCH v2] ALSA: dice: improve support for ancient firmware for DICE
Date: Tue, 24 Apr 2018 17:19:34 +0200	[thread overview]
Message-ID: <s5hy3hcr5rt.wl-tiwai@suse.de> (raw)
In-Reply-To: <20180424132432.3189-1-o-takashi@sakamocchi.jp>

On Tue, 24 Apr 2018 15:24:32 +0200,
Takashi Sakamoto wrote:
> 
> In early stage of firmware SDK, DICE seems to lose its backward
> compatibility due to some registers on global address section. I found
> this with Alesis Multimix 12 FireWire with ancient firmware (approx.
> shipped version).
> 
> According to retrieved log from the unit, global section has 96 byte
> space. On the other hand, current version of ALSA dice driver assumes
> that all of supported unit has at least 100 byte space.
> 
> $ ./firewire-request /dev/fw1 read 0xffffe0000000 28
> result: 000: 00 00 00 0a 00 00 00 18 00 00 00 22 00 00 00 8a
> result: 010: 00 00 00 ac 00 00 01 12 00 00 00 00 00 00 00 00
> result: 020: 00 00 00 00 00 00 00 00
> 
> This commit adds support for the ancient firmware. Check of global section
> is loosened to accept the smaller space. The lack of information is
> already compensated by hard-coded parameters.
> 
> I experienced that the latest version of Windows driver for this model
> can't handle this unit, too. This means that TCAT releases firmware SDK
> without backward compatibility for the ancient firmware.
> 
> Below list is a early history of driver/firmware package released by
> Alesis. I investigated on wayback machine on Internet Archive:
>  * Unknown: PAL v1.0.41.2, firmware v1.0.3
>  * Mar 2006: PAL v1.54.0, firmware v1.0.4
>  * Dec 2006: PAL v2.0.0.2, firmware v2.0
>  * Jun 2007: PAL v3.0.41.5, firmware v2.0
>  * Jul 2007: PAL v3.0.56.2. firmware v2.0
>  * Jan 2008: PAL v3.0.81.1080, firmware v2.0
> 
> If I can assume that firmware version is the same as DICE version, DICE
> version for the issued firmware may be v1.0.3. According to code base of
> userspace driver project (FFADO), I can read DICE v1.0.4 supports global
> space larger than 100 byte. I guess the smaller space of global section is
> a feature of DICE v1.0.3.
> 
> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>

Applied now, thanks.


Takashi

      reply	other threads:[~2018-04-24 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 13:24 [PATCH v2] ALSA: dice: improve support for ancient firmware for DICE Takashi Sakamoto
2018-04-24 15:19 ` Takashi Iwai [this message]

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=s5hy3hcr5rt.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=ffado-devel@lists.sourceforge.net \
    --cc=o-takashi@sakamocchi.jp \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox