All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@keyaccess.nl>
To: Landis McGauhey <b3zdomny@hotmail.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	alsa-user@lists.sourceforge.net,
	devel <alsa-devel@alsa-project.org>,
	alsa@sc8-sf-spam2.sourceforge.net
Subject: Re: [Alsa-user] is this card supported by ALSA?
Date: Fri, 18 Jul 2008 18:31:14 +0200	[thread overview]
Message-ID: <4880C552.50706@keyaccess.nl> (raw)
In-Reply-To: <487E42ED.7050000@keyaccess.nl>

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

On 16-07-08 20:50, Rene Herman wrote:

> Moreover, the AC97 codec seems integrated in the EV1938. Just found a
> patch for FreeBSD following up a similar report for your card. Will
> look at it tomorrow.

Nothing interesting. Ready to give up on this. There is a communication 
problem with the AC97 codec and that's the kind of thing which is almost 
impossible to debug via email, especially since apparently this is not 
different for the OSS driver; it's also not getting back a valid ID at 
least.

I do wonder a bit if that might mean that the only difference is the 
ALSA "mute by default" behaviour. The attached patch does away with the 
default muting of the AC97 controls. You'd apply it as before (after 
reverting the previous 2 patches as written earlier), "make", "make 
modules_install" and then load snd-ens1371:

# modprobe -r es1371
# modprobe -r snd-ens1371
# modprobe snd-ens1371

and then "aplay foo.wav" (without first starting alsamixer). If no 
sound, adjust levels in alsamixer, retry aplay, if no sound, reboot (to 
get the card to a startup state) and retry after the above 3 modprobes.

If for some unimagineable reason you still need "alsaconf" instead of 
just modprobe snd-ens1371 to load the driver, adjust accordingly. Have 
no idea why that would be the case.

If as expected you still have no sound I give up. Stared at this stuff, 
but am not seeing anything stand out. If you ever decide to replace the 
card and can find an ALSA developer in your neighbourhood to donate it 
to that could be interesting. I've never seen an EV1938 locally here; 
distribution is probably limited to the US.

Rene.

[-- Attachment #2: ac97_dont_mute.diff --]
[-- Type: text/plain, Size: 428 bytes --]

diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c
index 4f4343d..97a4365 100644
--- a/sound/pci/ac97/ac97_codec.c
+++ b/sound/pci/ac97/ac97_codec.c
@@ -1196,8 +1196,6 @@ static int snd_ac97_cmute_new_stereo(struct snd_card *card, char *name, int reg,
 	err = snd_ctl_add(card, kctl);
 	if (err < 0)
 		return err;
-	/* mute as default */
-	snd_ac97_write_cache(ac97, reg, val | mute_mask);
 	return 0;
 }
 

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2008-07-18 16:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16 18:00 [Alsa-user] is this card supported by ALSA? Landis McGauhey
2008-07-16 18:50 ` Rene Herman
2008-07-16 20:15   ` Landis McGauhey
2008-07-16 20:30     ` Sergei Steshenko
2008-07-16 20:31       ` Landis McGauhey
2008-07-17  4:08       ` Rene Herman
2008-07-18 16:31   ` Rene Herman [this message]
2008-07-18 17:46     ` Landis McGauhey
2008-07-18 19:35     ` Landis McGauhey
2008-07-18 19:47       ` Sergei Steshenko
2008-07-18 20:11         ` Landis McGauhey
2008-07-19  4:48           ` Rene Herman
2008-07-19 12:28             ` Landis McGauhey
2008-07-18 21:43     ` Landis McGauhey
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 13:38 Landis McGauhey
2008-07-16 14:40 ` [Alsa-user] " Rene Herman
2008-07-16 14:44   ` Rene Herman
2008-07-16 14:52     ` Rene Herman
2008-07-15 20:28 Landis McGauhey
2008-07-16  9:16 ` Rene Herman
2008-07-16 11:07   ` [Alsa-user] " Takashi Iwai
2008-07-15 14:59 Rene Herman
2008-07-15 15:01 ` Sergei Steshenko
2008-07-15 15:06   ` [Alsa-user] " Rene Herman
     [not found] <BLU137-W526424D3E9A79DA1437849959A0@phx.gbl>
     [not found] ` <48701633.7040601@keyaccess.nl>
     [not found]   ` <loom.20080708T141841-614@post.gmane.org>
     [not found]     ` <4873AB3B.1070403@keyaccess.nl>
     [not found]       ` <4873CED6.2040704@keyaccess.nl>
     [not found]         ` <4873D033.8010604@keyaccess.nl>
     [not found]           ` <BLU137-W434EEB6A014E95FD1E225C95910@phx.gbl>
     [not found]             ` <48769D84.1050102@keyaccess.nl>
     [not found]               ` <BLU137-W51DDE8E1756609BBE5CF7F95910@phx.gbl>
     [not found]                 ` <4876A0DE.2050803@keyaccess.nl>
     [not found]                   ` <BLU137-W23A4FF48E97AC32476FD6095900@phx.gbl>
     [not found]                     ` <4876AC75.2010305@keyaccess.nl>
     [not found]                       ` <BLU137-W541C318CC744C4BF6461DE95900@phx.gbl>
     [not found]                         ` <4876B329.80700@keyaccess.nl>
     [not found]                           ` <BLU137-W3234537335E7D553F03AF195900@phx.gbl>
     [not found]                             ` <48798CF7.6020303@keyaccess.nl>
     [not found]                               ` <loom.20080714T232812-533@post.gmane.org>
2008-07-15  0:11                                 ` Rene Herman
2008-07-15 13:11                                   ` Takashi Iwai
2008-07-15 14:19                                     ` Takashi Iwai
2008-07-15 14:42                                       ` [Alsa-user] " Rene Herman
2008-07-15 15:25                                         ` Landis McGauhey
2008-07-15 15:36                                           ` [Alsa-user] " Rene Herman
2008-07-15 17:02                                         ` Rene Herman

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=4880C552.50706@keyaccess.nl \
    --to=rene.herman@keyaccess.nl \
    --cc=alsa-devel@alsa-project.org \
    --cc=alsa-user@lists.sourceforge.net \
    --cc=alsa@sc8-sf-spam2.sourceforge.net \
    --cc=b3zdomny@hotmail.com \
    --cc=tiwai@suse.de \
    /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.