All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@denise.shiny.it>
Cc: Thierry Vignaud <tvignaud@mandrakesoft.com>,
	Alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Error: firmware not found
Date: Tue, 25 Jan 2005 16:39:10 +0100	[thread overview]
Message-ID: <s5hvf9lplgh.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0501251615290.9451@denise.shiny.it>

At Tue, 25 Jan 2005 16:35:46 +0100 (CET),
Giuliano Pochini wrote:
> 
> On Tue, 25 Jan 2005, Takashi Iwai wrote:
> 
> > > No, it isn't, because those devices use the same PCI card, that is
> > > the kernel reports the same PCI ID/subID's. The driver has to load
> > > the firmware and then it asks the DSP what (if any) external box is
> > > attached. If it is the wrong driver it exits with -ENODEV.
> >
> > Hmm, but having two drivers for the identical PCI ID/subID isn't
> > good.  Isn't it possible to determine in the driver level which model
> > it is?
> 
> Nope. They *are* the same card. Only the DSP knows what box is attached.
> 
> The generic driver by Echoaudio does:
> 
> Load the DSP loader
> Load the DSP code of the Layla3G
> Is the attached box a Layla3G ?
> 	no:
> 	reset DSP
> 	Load the DSP code of the Gina3G
> Load the ASIC code
> 
> The ALSA driver exits if the box is wrong. The obvious solution is to do
> that same procedure in the ALSA driver, but it implies I have to replace
> all references to card capabilites (# of channels, etc...) with variables.
> Those vars never change their values after init. Furthermore a few
> functions are different. I worked a lot to do as much choices as possible
> at compile time. Currently they're all constants.

Well, but if it's the only method to initialize the stuff
automatically, the procedure above seems to be the only to go.

This is no urgent issue, but should be fixed before submitting to
linux kernel.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  reply	other threads:[~2005-01-25 15:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-22 10:37 Error: firmware not found Giuliano Pochini
2005-01-23  2:37 ` Fernando Lopez-Lezcano
2005-01-24  8:41   ` Giuliano Pochini
2005-01-24 10:06   ` Takashi Iwai
2005-01-24 21:55     ` Fernando Lopez-Lezcano
2005-01-24 11:43 ` Thierry Vignaud
2005-01-24 11:44   ` Thierry Vignaud
2005-01-25  8:15     ` Giuliano Pochini
2005-01-25  8:22   ` Giuliano Pochini
2005-01-24 11:52 ` Thierry Vignaud
2005-01-25  8:32   ` Giuliano Pochini
2005-01-25 13:19     ` Thierry Vignaud
2005-01-25 13:57       ` Giuliano Pochini
2005-01-25 15:06     ` Takashi Iwai
2005-01-25 15:35       ` Giuliano Pochini
2005-01-25 15:39         ` Takashi Iwai [this message]
2005-01-26 17:29           ` Giuliano Pochini
2005-01-27 10:10             ` Takashi Iwai
2005-01-28 16:34               ` Giuliano Pochini
2005-01-28 16:41                 ` Thierry Vignaud
2005-01-28 16:43                   ` Giuliano Pochini
2005-01-29 15:46                   ` Giuliano Pochini

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=s5hvf9lplgh.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@denise.shiny.it \
    --cc=tvignaud@mandrakesoft.com \
    /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.