Skip to contentSkip to conversation

2.6.7-rc1 breaks ATI IXP sound...

DISCUSSION Takashi Iwai 1 participant 1 message May 28, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

At Thu, 27 May 2004 22:43:06 -0400,

Quoted 15 lines · Trond Myklebust

It appears to boil down to changeset
[email protected]|ChangeSet|20040517133203|52763.

More specifically to the line which adds the AC97_SCAP_SKIP_MODEM flag to the mixer probe. That flag causes the mixer probe to exit with an EACCES, when it hits the modem:

ATI IXP Debug mixer probe 6, i = 0 codec_not_ready_bits = 0x3000, err = 0
ATI IXP Debug mixer probe 5, i = 1 codec_not_ready_bits = 0x3000, err = -13
ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -13

Quoted 2 lines

If I remove that line, the ATI IXP is detected correctly, and everything appears to work properly.

No it's a wrong fix, since this will conflict with the ATIIXP modem driver (it's experimental and not included in the patchset though).

This problem was already fixed on the ALSA tree. The error is just ignored to continue probing.

Jaroslav, could you sync the sound bk tree?

--
Takashi Iwai <[email protected]> ALSA Developer - www.alsa-project.org

Quoted 25 lines

Cheers,
Trond
[2 Vidaresendt melding - 2.6.7-rc1 breaks ATI IXP sound... <message/rfc822 (7bit)>]
To: [email protected]
Cc: Andrew Morton <[email protected]>
Subject: 2.6.7-rc1 breaks ATI IXP sound...
From: Trond Myklebust <[email protected]>
Message-Id: <[email protected]>
Mime-Version: 1.0
Date: Wed, 26 May 2004 16:32:20 -0400
Content-Transfer-Encoding: 7bit

From: "dmesg -s"

ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -13

The same device works fine when reverting to 2.6.6..

Cheers,
Trond
[3 gnarg.dif <text/plain; ISO-8859-1 (base64)>]

sound/pci/atiixp.c static int __devinit snd_atiixp_mixer_ne · line 1390

Quoted 7 lines
sound/pci/atiixp.c renamed from sound/pci/atiixp.c.orig +0 -1
@@ -1385,7 +1385,6 @@ static int __devinit snd_atiixp_mixer_ne
 		ac97.private_data = chip;
 		ac97.pci = chip->pci;
 		ac97.num = i;
-		ac97.scaps = AC97_SCAP_SKIP_MODEM;
 		if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) {
 			if (chip->codec_not_ready_bits)
 				/* codec(s) was detected but not available.

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click