From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: VIA 8233A, 8235 with ALC650 codec Date: Wed, 19 Feb 2003 10:22:21 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200302190651.HAA14535@www7.pobox.sk> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200302190651.HAA14535@www7.pobox.sk> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: p z oooo Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 19 Feb 2003 07:51:56 +0100, p z oooo wrote: > > I played with 8233A ALC650 and: > > 1) this part of code is not working: > > switch (runtime->channels) { > case 1: slots = (1<<0) | (1<<4); break; > case 2: slots = (1<<0) | (2<<4); break; > case 3: slots = (1<<0) | (2<<4) | (5<<8); break; > case 4: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12); break; > case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); > break; > case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) > | (4<<20); break; > default: slots = 0; break; > } > /* STOP index is never reached */ > outl(0xff000000 | slots, VIADEV_REG(viadev, > OFFSET_STOP_IDX)); > > I think that 8233A uses this slots mapping and this can't be changed > with previous code. I changed > case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | > (4<<20); break; > to > case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | > (6<<20); break; > and this doesn't work (no change). > > channels slots > 1 - 3, 4 > 2 - 3, 4 > 4 - 3, 4, 7, 8 > 6 - 3, 4, 6, 9, 7, 8 ok, i changed it on cvs. thanks! Takashi ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge