From: Takashi Iwai <tiwai@suse.de>
To: Voluspa <046-136912@telia.com>
Cc: alsa-user@lists.sourceforge.net, alsa-devel@lists.sourceforge.net
Subject: Re: es1968 - AC97 debugged
Date: Wed, 05 Feb 2003 18:52:36 +0100 [thread overview]
Message-ID: <s5h4r7ifwd7.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030205184042.5a4c6766.046-136912@telia.com>
At Wed, 5 Feb 2003 18:40:42 +0100,
Voluspa wrote:
>
>
> By deleting one test done to the ac97 codec, the es1968 driver loads (and works). With this I've reached the end of my debugging capabilities:
ah, thanks!
this is something what i've already seen on the kernel oss driver, but
didn't know that it actually affects to alsa driver.
perhaps the easy and general fix would be to prevent reading
AC97_EXTENDED_MID on this codec chip.
could you tell me which ac97 codec is detected on your machine?
please check /proc/asound/card0/ac97#0.
thanks,
Takashi
> --- alsa-driver-0.9.0rc6/alsa-kernel/pci/ac97/ac97_codec.c Wed Oct 30 15:20:08 2002
> +++ debug-alsa-driver-0.9.0rc6/alsa-kernel/pci/ac97/ac97_codec.c Wed Feb 5 18:10:11 2003
> @@ -1534,16 +1534,11 @@
> /* the REC_GAIN register is used for tests */
> end_time = jiffies + HZ;
> do {
> - unsigned short ext_mid;
>
> /* use preliminary reads to settle the communication */
> snd_ac97_read(ac97, AC97_RESET);
> snd_ac97_read(ac97, AC97_VENDOR_ID1);
> snd_ac97_read(ac97, AC97_VENDOR_ID2);
> - /* modem? */
> - ext_mid = snd_ac97_read(ac97, AC97_EXTENDED_MID);
> - if (ext_mid != 0xffff && (ext_mid & 1) != 0)
> - goto __access_ok;
> /* test if we can write to the record gain volume register */
> snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x8a05);
> if ((err = snd_ac97_read(ac97, AC97_REC_GAIN)) == 0x8a05)
>
> Regards,
> Mats Johannesson
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
parent reply other threads:[~2003-02-05 17:52 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20030205184042.5a4c6766.046-136912@telia.com>]
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=s5h4r7ifwd7.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=046-136912@telia.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=alsa-user@lists.sourceforge.net \
/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