From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [INFO] C-Media CMI9761 -A- type , CONTINOUS NOT DISCRETE MASTER/PCM MIXER with 106, please branch, PCM PLAY not working Date: Wed, 16 Feb 2005 19:29:34 +0100 Message-ID: References: <4212D866.5000304@gmx.de> <42138EE3.8040201@gmx.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Wed_Feb_16_19:29:34_2005-1" In-Reply-To: <42138EE3.8040201@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_Wed_Feb_16_19:29:34_2005-1 Content-Type: text/plain; charset=US-ASCII At Wed, 16 Feb 2005 19:20:19 +0100, thomas schorpp wrote: > > hello, > > sorry, just seen bounces from the list, someone doesnt like me,it seems.. > > : > 66.35.250.206_does_not_like_recipient./Remote_host_said:_550_Administrative_prohibition/Giving_up_on_66.35.250.206./ > > : > 66.35.250.206_does_not_like_recipient./Remote_host_said:_550_Administrative_prohibition/Giving_up_on_66.35.250.206./ Seems like a temporary problem of sourceforge... > > anyway: > > Takashi Iwai wrote: > > At Wed, 16 Feb 2005 06:21:42 +0100, > > thomas schorpp wrote: > > > >>-----BEGIN PGP SIGNED MESSAGE----- > >>Hash: RIPEMD160 > >> > >>hello, > >> > >>this device > >> > >>http://www.cmedia.com.tw/product/CMI9761.htm > >> > >>the -A- type ive got > >> > >>has working continuous (slider) master mixer+balance and "working" pcm > >>mixer slider with v106 (2.6.10 release kernel alsa) but no more with > >>v108 alsa-driver or cvs from yesterday. > >> > >>please branch for this device (on cheap asrock mass-seller K7VTA+ board > >>with via8235 pci). > > > > > > Interesting. How can one detect the difference of model? Does it > > have a different codec id? > > im sorry, need to work in this... you got some indentifiers in +{ > 0x434d4983, 0xffffffff, XXXXXXXXXX chip id? from where? XXXXXXXXXX > "CMI9761A", patch_cm9761a, NULL }, ? > > last resort were a configure script switch (?) Well, I'm working on the problem of CM9761 (model 83) with another guy. We found out that although the Master and PCM volumes look as if working, they don't affect any volumes in fact. So, removing these controls are correct (at least for his chip). Please make sure that the Master and PCM volumes _really_ work with the older version of ALSA on your board. That means, when you change the PCM or Master volume, it really changes the output level. Anyway, the patch below might fix the silent output of CM9761, which was already committed to CVS today. Takashi --Multipart_Wed_Feb_16_19:29:34_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.74 diff -u -r1.74 ac97_patch.c --- alsa-kernel/pci/ac97/ac97_patch.c 14 Feb 2005 11:15:30 -0000 1.74 +++ alsa-kernel/pci/ac97/ac97_patch.c 16 Feb 2005 17:53:06 -0000 @@ -2084,8 +2084,10 @@ val = 0x0214; else val = 0x321c; - snd_ac97_write_cache(ac97, AC97_CM9761_MULTI_CHAN, val); #endif + val = snd_ac97_read(ac97, AC97_CM9761_MULTI_CHAN); + val |= (1 << 4); + snd_ac97_write_cache(ac97, AC97_CM9761_MULTI_CHAN, val); /* FIXME: set up GPIO */ snd_ac97_write_cache(ac97, 0x70, 0x0100); --Multipart_Wed_Feb_16_19:29:34_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