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,
	ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: is this card supported by ALSA?
Date: Wed, 16 Jul 2008 11:16:32 +0200	[thread overview]
Message-ID: <487DBC70.1000307@keyaccess.nl> (raw)
In-Reply-To: <BLU137-W110C592A46588437241F1A958C0@phx.gbl>

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

On 15-07-08 22:28, Landis McGauhey wrote:

> Yes, I did delete '-dry-run'.
> 
> In fact, just to be doubly certain, I just re-ran the whole process and

I still worry a little bit, since if all's well, you should have seen 
the "patch -p1" command fail this time (it commenting that the patch 
seemed already applied) but I'll assume you did see that then. It's 
unfortunate that the problem with your card seems involved in a way 
which makes it fairly hard to debug this while not having the card 
locally to fiddle around with, adding delays between things ...

> additionally ran alsaconf (and again there was a loud 'click' in the 
> speakers when alsaconf loaded the driver):
> 
> # cat /proc/asound/AudioPCI/codec97#0/ac97#0-0=
> 0-0/0: 0x83848384 STS

... because, lovely, yet another variant. There is an interface problem 
between the ES1371 and (supposed) STAC9704 chips on your card and even 
though that MIGHT not be all the problem (even though the ALSA driver 
doesn't recognize your AC97 codec due to this, the OSS driver also 
drives it without any special quirks) this will need to be taken care of 
first.

With the card locally, the attached is the first thing I'd try. It makes 
the driver wait around a bit to have the codec recover from reset. Apply 
it as before, run "make" and "make modules_install" and re-load the 
snd-ens1371 driver with (as root) "modprobe -r snd-ens1371 && modprobe 
-r es1371 && modprobe snd-ens1371" after which ALSA sound may or may not 
work (test through aplay).

(note by the way that for now I'm foregoing any other problems you have 
with rebooting not loading the correct driver and such -- your dmesg 
indicated that the OSS es1371 driver was loading even though you said 
you blacklisted that, so just do the manual modprobe/modprobe -r stuff.)

Please also make sure that, after loading the newly patched snd-ens1371, 
there's nothing interesting at the end of dmesg -- nothing about 
timeouts and such. If there is something, please post.

If this doesn't work (likely) I'll just have to sit down and trace AC97 
accesses one by one between OSS and ALSA driver as nothing jumped out at 
me yet.

Rene.

[-- Attachment #2: ens1371-ac97_reset_hack.diff --]
[-- Type: text/plain, Size: 670 bytes --]

diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c
index cd74fb2..5344d3e 100644
--- a/sound/pci/ens1370.c
+++ b/sound/pci/ens1370.c
@@ -1934,6 +1934,7 @@ static struct es1371_quirk es1371_ac97_reset_hack[] = {
 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_E },
 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_CT5880_A },
 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_ES1373_8 },
+	{ .vid = PCI_VENDOR_ID_ECTIVA,  .did = PCI_DEVICE_ID_ECTIVA_EV1938,  .rev = EV1938REV_EV1938_A },
 	{ .vid = PCI_ANY_ID, .did = PCI_ANY_ID }
 };
 #endif

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #4: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

  reply	other threads:[~2008-07-16  9:16 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 20:28 is this card supported by ALSA? Landis McGauhey
2008-07-16  9:16 ` Rene Herman [this message]
2008-07-16 11:07   ` [Alsa-user] " Takashi Iwai
2008-07-16 12:11     ` [alsa-devel] " Landis McGauhey
2008-07-16 12:06   ` Landis McGauhey
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 18:00 [Alsa-user] " 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   ` [Alsa-user] " Rene Herman
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
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-16 15:15       ` Landis McGauhey
2008-07-16 15:12     ` Sergei Steshenko
2008-07-16 15:16       ` Landis McGauhey
     [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                                 ` [Alsa-user] " Rene Herman
2008-07-15  4:12                                   ` Landis McGauhey
2008-07-15 13:11                                   ` Takashi Iwai
2008-07-15 13:56                                     ` Landis McGauhey
2008-07-15 14:19                                     ` Takashi Iwai
2008-07-15 14:42                                       ` [Alsa-user] " Rene Herman
2008-07-15 14:52                                         ` Landis McGauhey
2008-07-15 14:59                                           ` Rene Herman
2008-07-15 15:01                                             ` Sergei Steshenko
2008-07-15 15:25                                         ` Landis McGauhey
2008-07-15 15:36                                           ` [Alsa-user] " Rene Herman
2008-07-15 16:45                                             ` Landis McGauhey
2008-07-15 16:52                                               ` Rene Herman
2008-07-15 17:08                                                 ` Landis McGauhey
2008-07-15 15:38                                         ` Landis McGauhey
2008-07-15 14:49                                       ` Landis McGauhey

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=487DBC70.1000307@keyaccess.nl \
    --to=rene.herman@keyaccess.nl \
    --cc=alsa-devel@alsa-project.org \
    --cc=alsa-user@lists.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.