Skip to contentSkip to conversation

: Mute controls are gone, therefore unmuting impossible and no sound: NM256,AC97

ALSA - driver 0001532 [email protected] 1 participant 1 message Nov 10, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1532>
======================================================================

Reported By:                sstefan
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1532
Category:                   PCI - nm256
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Debian
Kernel Version:             2.6.13
======================================================================
Date Submitted:             11-06-2005 19:32 CET
Last Modified:              11-10-2005 22:31 CET

======================================================================
Summary: Mute controls are gone, therefore unmuting
impossible and no sound: NM256,AC97
Description:
Upgrading from Linux 2.6.10 to 2.6.13, I was no longer able to use the alsa nm256 driver, because the mute controls (e.g. for Master and PCM output) disappeared from alsamixer or kmix. The chip is muted by default, so upon playing nothing is output to the speakers, and there's no way to unmute the channels.
======================================================================

----------------------------------------------------------------------
sstefan - 11-10-05 00:23
----------------------------------------------------------------------
With ALSA 1.0.10rc3, the same problem occurs.

The only mute switch showing up is the one for the "PC Speaker" channel.

----------------------------------------------------------------------
sstefan - 11-10-05 22:31
----------------------------------------------------------------------
I isolated the code that actually broke it, it is the snd_ac97_try_bit if clause in snd_ac97_cmix_new_stereo().
---

	if (snd_ac97_try_bit(ac97, reg, 15)) {
        {
		sprintf(name, "%s Switch", pfx);
		if ((err = snd_ac97_cmute_new_stereo(card, name, reg, check_stereo,
ac97)) < 0)
			return err;
	}

---
When I commented out the condition, the mute switches were all there!

Issue History
Date Modified Username Field Change
======================================================================

11-06-05 19:32 sstefan        New Issue                                    
11-06-05 19:32 sstefan        Distribution              => Debian          
11-06-05 19:32 sstefan        Kernel Version            => 2.6.13          
11-08-05 18:29 tiwai          Note Added: 0006632                          
11-10-05 00:23 sstefan        Note Added: 0006658                          
11-10-05 22:31 sstefan        Note Added: 0006674                          

======================================================================

-------------------------------------------------------
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