From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: [alsa-cvslog] CVS: BEFORE REVERT [SUCCESS] C-Media CMI9761 -A- type, WORKING MASTER, PCM ON 1. DXS SLIDER! Date: Thu, 17 Feb 2005 12:26:40 +0100 Message-ID: References: <4213BB44.5060702@gmx.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Thu_Feb_17_12:26:40_2005-1" In-Reply-To: <4213BB44.5060702@gmx.de> 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: t.schorpp@gmx.de Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Feb_17_12:26:40_2005-1 Content-Type: text/plain; charset=US-ASCII At Wed, 16 Feb 2005 22:29:40 +0100, thomas schorpp wrote: > > - arts works with pcm fine > - working master vol slider(!) (kmix) > - working pcm vol regulation on 1. dxs slider (rest 3 no sound reaction) (snip) > > Revert the last addition for CM9761A support. The codec doesn't > > support the real control of Master > > yes, it does fine for my chip , sorry. > > /PCM volumes, too. Hmm, I'm really confused. Both the comments above look contradictionary. Let me ask again: In the older version, does PCM volume work, that is, it really changes the output volume (not only mute/unmute)? Does Master volume work as well on your chip? Note that the Master and PCM volumes are _removed_ because they don't work and are only confusing. It's intentional. They _must_ disappear in the latest version. If CM9761-A- provides the real PCM/Master volume control, we should get them back again. But, this essential information has been missing. Please let me know _this_ clearly above all subtle things! > > Instead, fixed the default multi-channel register setting now. > > > > why? > not verified. source of info? are you sure thats the -A- type, you got > for testing? who verified? Very much confision of debug information... > oops! sound gone after doing this: How about the attached patch? Takashi --Multipart_Thu_Feb_17_12:26:40_2005-1 Content-Type: text/plain; charset=US-ASCII Index: alsa-kernel/pci/ac97/ac97_patch.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ac97/ac97_patch.c,v retrieving revision 1.76 diff -u -r1.76 ac97_patch.c --- alsa-kernel/pci/ac97/ac97_patch.c 16 Feb 2005 18:25:30 -0000 1.76 +++ alsa-kernel/pci/ac97/ac97_patch.c 17 Feb 2005 11:11:01 -0000 @@ -2038,8 +2038,8 @@ /* CM9761 has no Master and PCM volume although the register reacts */ ac97->flags |= AC97_HAS_NO_MASTER_VOL | AC97_HAS_NO_PCM_VOL; - snd_ac97_write_cache(ac97, AC97_MASTER, 0x8000); - snd_ac97_write_cache(ac97, AC97_PCM, 0x8000); + snd_ac97_write_cache(ac97, AC97_MASTER, 0x8808); + snd_ac97_write_cache(ac97, AC97_PCM, 0x8808); ac97->spec.dev_flags = 0; /* 1 = model 82 revision B */ if (ac97->id == AC97_ID_CM9761_82) { --Multipart_Thu_Feb_17_12:26:40_2005-1-- ------------------------------------------------------- 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