All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.co.uk>
To: Peter Zubaj <pzad@pobox.sk>
Cc: Dave Jones <davej@redhat.com>,
	alsa-devel@alsa-project.org, perex@suse.cz
Subject: Re: Re: [ALSA] snd-emu10k1: ALSA bug#1297: Fix a error recognising the SB Live Platinum.
Date: Tue, 04 Oct 2005 12:05:29 +0100	[thread overview]
Message-ID: <434261F9.4020708@superbug.co.uk> (raw)
In-Reply-To: <dc7e3d7c111741a991e11a1a39ca9262@pobox.sk>

Peter Zubaj wrote:

>If ac97_chip=1 and ac97 doesn't exists - driver will refuse to load.
>If ac97_chip=2 and ac97 doesn't exists - driver should ignore ac97
>
>But I don't know if this is correct (I am not author of patch and I not tested it).
>if message is printed then there is
>goto no_ac97; /* FIXME: get rid of ugly gotos.. */
>this will skip ac97 mixer creation (if ac97 is not there this will fail and driver refuses to load)
>But I don't know if snd_ac97_bus will fail if there is no ac97 codec (I think - not, and this is not correct), then test should be done on snd_ac97_mixer and not on snd_ac97_bus creation.
>
>Peter Zubaj
>
>  
>
>>-----P?vodn? spr?va-----
>>Od: Dave Jones [mailto:davej@redhat.com]
>>Odoslan?: 4. okt?bra 2005 0:54
>>Komu: Peter Zubaj
>>K?pia: alsa-devel@alsa-project.org; James@superbug.co.uk; Linux Kernel Mailing List; perex@suse.cz
>>Predmet: Re: [Alsa-devel] Re: [ALSA] snd-emu10k1: ALSA bug#1297: Fix a error recognising the SB Live Platinum.
>>
>>
>>On Mon, Oct 03, 2005 at 08:23:28AM +0200, Peter Zubaj wrote:
>>    
>>
>>>AFAIK this was fixed in CVS. Two cards have same model id (one has AC97, one not).
>>>
>>>Fix:
>>>
>>>http://sourceforge.net/mailarchive/forum.php?thread_id=8360485&forum_id=33141
>>>
>>>      
>>>
>>From the look of that patch, this will just print
>  
>
>>"emu10k1: AC97 is optional on this board Proceeding without ac97 mixers..."
>>and do nothing about actually making things work for people again,
>>or even to suggest what they can do to work around this situation
>>when their volume control breaks.  At the least this sounds like it
>>needs to mention a module parameter to force ac97 support.
>>
>>What actually happens if we set ac97_chip=1 on the boards that
>>don't have it ? Is it purely a cosmetic thing, showing some
>>sliders that do nothing?
>>
>>Dave
>>
>>
>>    
>>
In my view the patch as presented is the correct behaviour.
We are aiming to identify every sound card using it's PCI subversion 
IDs. We should then know exactly which sound card we have, and therefore 
know which chips are present. This information is vital for us 
developers when we get reports of Audigy card X  not working, as every 
single Audigy card has slight but very important differences that can 
only be detected via the PCI subversion IDs. This patch was required 
because two very different sound cards both had the same PCI subversion 
IDs. So, for this case, and only this case we have no alternative but to 
try and handle the two alternatives for this PCI subversion ID. One with 
AC97 chip, and one without the AC97 chip. This patch will therefore only 
effect 2 sound cards, and therefore has minimal impact on all the other 
sound cards currently recognised. It is always better to try and 
autodetect hardware features, than require a new module parameter, so 
adding a module parameter is not a viable option here. We already have a 
module parameter to force the driver to bypass is PCI subversion ID 
recognition and assume a different card id so when a new sound card 
appears, the user can work around the recognition problem until the 
recognition is added to the driver.

James



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

  parent reply	other threads:[~2005-10-04 11:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-04  6:39 Re: [Alsa-devel] Re: [ALSA] snd-emu10k1: ALSA bug#1297: Fix a error recognising the SB Live Platinum Peter Zubaj
2005-10-04 10:50 ` Takashi Iwai
2005-10-04 10:50   ` [Alsa-devel] " Takashi Iwai
2005-10-04 11:08   ` James Courtier-Dutton
2005-10-04 11:14     ` Takashi Iwai
2005-10-04 11:05 ` James Courtier-Dutton [this message]
2005-10-04 20:40   ` Dave Jones
2005-10-05 11:58     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2005-10-03  6:23 [Alsa-devel] " Peter Zubaj
2005-10-04  0:54 ` Dave Jones
2005-10-03  6:23 Peter Zubaj

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=434261F9.4020708@superbug.co.uk \
    --to=james@superbug.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=davej@redhat.com \
    --cc=perex@suse.cz \
    --cc=pzad@pobox.sk \
    /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.