From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: powerpc and snd-powermac mixer Date: Wed, 14 May 2003 17:30:06 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030512.155840.719889309.rene.rebe@gmx.net> <20030514.113127.135501265.rene.rebe@gmx.net> <20030514.114043.511706764.rene.rebe@gmx.net> <20030514.114818.1010680401.rene.rebe@gmx.net> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20030514.114818.1010680401.rene.rebe@gmx.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Rene Rebe Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 14 May 2003 11:48:18 +0200 (CEST), Rene Rebe wrote: > > Hi, > > sorry for mail-bombing ... > > On: Wed, 14 May 2003 11:40:43 +0200 (CEST), > Rene Rebe wrote: > > > Loading and unloading the dmasound_pmac driver first helps. After that > > procedure the snd-powermac can control the mixer correctly. > > > > One other strange thing: When the dmasound_pmac driver was used for > > "initilizing" the mixer is not muted (as in the other ALSA PCI > > drivers) and the mixer values are quite random (output in the speakers > > ...) although the alsamixer shows they are all muted and 0. The mixer > > hardware gets the value shown in alsamixer on the first value change. > > One more odd thing: > > Normally sleep does work excellent on the PowerPC architecture - but > the snd-powermac ALSA driver doesn't like a resume that much. PCM > "seems" to work ok, but the mixer is muted, and when the slider are > touched the valume changes quite randomly ... :-( perhaps it's the same reason that the ALSA driver works only after dmasound_pmac. the tumbler/slapper is connected via i2c, and the initialization (and the mixer access) is done over i2c commands. the chip doesn't provide the read function. so the driver caches the latest values. that's why you get all volumes muted but in fact they not. anyway, i've changed a bit powermac driver on cvs. please give a try. ciao, Takashi ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com