From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: ALC658 rev 0 - a problem with Rear Right Date: Mon, 07 Mar 2005 19:28:28 +0100 Message-ID: References: <20050307122800.GA27123@localdomain> <20050307153921.GA14807@localdomain> <20050307165653.GA22454@localdomain> <20050307182414.GA29156@localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII In-Reply-To: <20050307182414.GA29156@localdomain> 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: Dan Aloni Cc: Clemens Ladisch , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 7 Mar 2005 20:24:14 +0200, Dan Aloni wrote: > > On Mon, Mar 07, 2005 at 06:13:44PM +0100, Takashi Iwai wrote: > > At Mon, 7 Mar 2005 18:57:02 +0200, > > Dan Aloni wrote: > > > > > > On Mon, Mar 07, 2005 at 05:33:56PM +0100, Takashi Iwai wrote: > > > > At Mon, 7 Mar 2005 17:39:21 +0200, > > > > Dan Aloni wrote: > > > > > > > > > > On Mon, Mar 07, 2005 at 02:10:14PM +0100, Clemens Ladisch wrote: > > > > > > Dan Aloni wrote: > > > > > > > The problem was introduced in the following changeset, which > > > > > > > was supposed to cleanup things but accidently broke something. > > > > > > > > > > > > > > "[ALSA] Clean up and fix stereo mutes" : > > > > > > > > > > > > Most AC'97 codecs have one mute bit for both channels, but some can > > > > > > have one for each channel (that's called "stereo mute"). > > > > > > > > > > > > It seems the new driver enables the stereo mute bits, but then forgets > > > > > > to unmute the second channel. > > > > > > > > > > > > Does anything happen if you toggle both mute bits in alsamixer? > > > > > > > > > > Using alsamixer I am unable to mute any channel by itself - it > > > > > always mutes or unmutes boths channels at the same time (I tried > > > > > any possible combination of m M, < or >). However if I revert the > > > > > changeset I am able to control each channel alone using < or > and > > > > > there's no problem. > > > > > > > > Hmm, are you sure that it's ALC658? AFAIK, the codec doesn't support > > > > the stereo mutes (at least ALSA code doesn't enable it). > > > > > > Unless the driver misidentifies the chipset, this is ALC658. > > > > Oh yes, indeed. It's strange that the older version did have the > > stereo mute controls. > > > > Could you compare the contents of > > /proc/asound/card0/codec97#0/ac97#0-0+regs file between the older > > ("working") and the latest versions? > > I compared and saw no changes in the registers between the latest version > and my version with the reverted changeset. Hmm, interesting. Just to be sure (I'm back from the travel shortly ago, so might be missing something): the problem persists only on the surround right channel? And you could mute on/off of "Surround" left/right channels via alsamixer independently in the older version? > > If any difference is found, try to change the value by writing via > > proc interface, e.g. > > > > echo 02 8080 > /proc/asound/card0/codec97#0/ac97#0-0+regs > > > > (this feature is enabled only when you compile with CONFIG_SND_DEBUG) > > This apparently has no effect - still no sound from the speaker. > > Plus, if I do 'cat /proc/asound/card0/codec97#0/ac97#0-0+regs', then > 0:02 still shows 8000 despite the command above. Of course it shouldn't change. The master register doesn't support stereo mute bits indeed (according to the datasheet). The above is just an example to show how to write a register value... Takashi ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click