public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "SuD (Alex)" <sud@latinsud.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [OSS] Add CXT48 to modem black list in ac97
Date: Wed, 13 Apr 2005 23:59:24 +0200	[thread overview]
Message-ID: <425D963C.5030202@latinsud.com> (raw)
In-Reply-To: <E1DInEA-0006md-00@gondolin.me.apana.org.au>

Herbert Xu wrote:

>BTW Alex, if you have the time please determine whether ALSA
>works properly on your machine.
>  
>
Yes, alsa works, it's what i'm using now.

About how alsa detects the hardware, i have been reading some sources
and didn't get the whole point, but some facts:
- In intel8x0.c:
    In snd_intel8x0_probe() there is a call to snd_intel8x0_mixer().
    In that function it does: ac97.scaps = AC97_SCAP_SKIP_MODEM;

- In intel8x0.c:
    In snd_intel8x0m_probe() there is a call to snd_intel8x0_mixer().
    In that function it does: ac97.scaps = AC97_SCAP_SKIP_AUDIO;

- After that is done, in ac97_codec.c:
    http://lxr.linux.no/source/sound/pci/ac97/ac97_codec.c#L1921
    It checks for _SKIP_ variables and probes for soundcard (checking a 
mixer register) and modem (checking modem_id).

As a result, if i insert "snd-intel8x0" it will detect a soundcard (pci 
0:0:1f.5), but if insert instead
"snd-intel8x0M" it will detect a modem (pci 0:0:1f.6).
If a modem is detected i get errors like: "MC'97 0 converters and GPIO 
not ready (0x1)", and not sure how to test it.
If i load both modules only the first will work. The second will give an 
probe error -13 (EACCES?), because it has been marked as audio device, 
but also marked as _SKIP_AUDIO (ac97_codec.c:1862), or viceversa.

PS: And i finally subscribed to the list, thanks for your patience.

  reply	other threads:[~2005-04-13 21:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-02 22:47 Oops in set_spdif_output in i810_audio SuD (Alex)
2005-04-03 10:23 ` Triffid Hunter
2005-04-03 23:41   ` SuD (Alex)
2005-04-04  8:20     ` Herbert Xu
2005-04-04 20:07     ` Oops in i810_audio (reply to herbert) SuD (Alex)
2005-04-04 23:16       ` Herbert Xu
2005-04-05 12:32     ` [OSS] Add CXT48 to modem black list in ac97 Herbert Xu
2005-04-13 21:59       ` SuD (Alex) [this message]
2005-04-14 13:07         ` Herbert Xu
     [not found] ` <20050525214133.1aaa69f7.akpm@osdl.org>
2005-05-26 15:51   ` [Alsa-devel] Re: Oops in set_spdif_output in i810_audio Lee Revell

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=425D963C.5030202@latinsud.com \
    --to=sud@latinsud.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.org \
    /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