From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001435]: ac97 codec is not found when loading the driver Date: Tue, 20 Sep 2005 01:06:10 +0200 Message-ID: <8248cd90a3b75236fdc9df5f7f92e6bb@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 6E8D8192 for ; Tue, 20 Sep 2005 01:06:10 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: iluxa Assigned To: sashak ====================================================================== Project: ALSA - driver Issue ID: 1435 Category: PCI - atiixp-modem Reproducibility: always Severity: block Priority: normal Status: assigned Distribution: Kernel Version: 2.6.13, 2.6.14-rc1 ====================================================================== Date Submitted: 09-19-2005 08:49 CEST Last Modified: 09-20-2005 01:06 CEST ====================================================================== Summary: ac97 codec is not found when loading the driver Description: When loading snd-tiixp-modem _after_ loading snd-atiixp, I get a message saying "atiixp-modem: no codec available" and modem doesn't function after that. Little more investigation shown that snd_ac97_mixer thinks the codec is already registered as sound codec by audio card driver. I'v tried alsa-1.0.9, driver included in 2.6.13, 2.6.14-rc1 and drivers from CVS HEAD - all with same result. ====================================================================== ---------------------------------------------------------------------- iluxa - 09-19-05 23:44 ---------------------------------------------------------------------- > Hmm, this is some HP machine That's correct - it is Compaq Presario R4000 - one of those Athlon64-based things > and there is Conexant codec CXT30 (likely AMC) - we > don't know how to support it due to lack of datasheets. We may try to > investigate it deeper, but chance to be supported is really small. :( > Please upload also '/proc/asound/card0/codec97#0/ac97#0-0+regs' file. Done. ---------------------------------------------------------------------- sashak - 09-20-05 01:06 ---------------------------------------------------------------------- Yes, this codec looks like combined Audio-Modem codec (AMC), some modem registers (>= 3c) are represented too. And I think that atiixp-modem fails to detect codec because detection procedure (interrupt driver) is "stolen" by audio driver. Try to unload both audio (snd-atiixp) and modem (snd-atiixp-modem) drivers, then load only atiixp-modem. Other way to verify this hypothesis is to try with uploaded patch (to apply: cd ; patch -p0 < atiixp-debug.patch ), then build (with '--with-debug=detect') and load both snd-atiixp, snd-atiixp-modem, dmesg should show that atiixp detects codec twice (second time when atiixp-modem is loaded). Issue History Date Modified Username Field Change ====================================================================== 09-19-05 08:49 iluxa New Issue 09-19-05 08:49 iluxa Kernel Version => 2.6.13, 2.6.14-rc1 09-19-05 13:27 sashak Note Added: 0006292 09-19-05 19:32 iluxa File Added: pci.txt 09-19-05 19:56 iluxa File Added: comment.diff 09-19-05 19:57 iluxa Note Added: 0006296 09-19-05 20:01 iluxa File Added: atiixp.txt 09-19-05 20:01 iluxa File Added: codec97_0_ac97_0-0.txt 09-19-05 20:07 iluxa Note Added: 0006298 09-19-05 23:30 sashak File Deleted: comment.diff 09-19-05 23:38 sashak Note Added: 0006304 09-19-05 23:41 iluxa File Added: codec97_0_ac97_0-0+regs.txt 09-19-05 23:44 iluxa Note Added: 0006306 09-20-05 01:03 sashak File Added: atiixp-debug.patch 09-20-05 01:06 sashak Note Added: 0006307 ====================================================================== ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php