From: Takashi Iwai Subject: Re: Re: M-Audio Revolution 5.1 Support Date: Mon, 05 Dec 2005 20:26:36 +0100 Message-ID: References: <4390B421.9030304@seznam.cz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <4390B421.9030304@seznam.cz> 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: David Peroutka Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 02 Dec 2005 21:52:49 +0100, David Peroutka wrote: > > > At Thu, 1 Dec 2005 20:19:28 +0000 (UTC), > > David Peroutka wrote: > > > >>Pieter-Jan Malfait gmail.com> writes: > >> > >> > >>>hello, > >>> > >>>i've read on a couple of sites that the M-Audio Revolution 5.1 is not supported > >>>by the alsa driver, however some of these sites were over a year old.. Is it > >>>currently supported or will it be in the near future ? > >>> > >>>thank you > >>> > >>>kind regards, > >>>PJ > >>> > >>>------------------------------------------------------- > >>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > >>>for problems? Stop! Download the new AJAX search engine that makes > >>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > >>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > >>> > >> > >>Hello, > >> > >>unfortunately, the Revolution 5.1 is currently not supported in ALSA; only > >>Revolution 7.1 is supported. Both cards are based on VIA Envy 24HT controller, > >>but there are some notable differences between the two models: > >> > >>The front two output channels of the Revolution 7.1 use AKM AK4381 stereo DAC, > >>the remaining 5.1 channels use AKM AK4355. Analog audio is sampled with the > >>AKM AK5380 ADC. > >> > >>The Revolution 5.1 uses different codecs. All output channels use AKM AK4358 > >>(8-ch DAC, 24/192). Inputs are sampled by AKM AK5365 (24/96). Also, the > >>Revolution 5.1 has a dedicated headphone output. > >> > >>Also note, that the DAC used in Revolution 5.1 is the same as in Juli@, which > >>is already supported in ALSA (ice1724). > >> > >>I've also tried a kernel patch, that is supposed to add support for the M-Audio > >>Revolution 5.1: > >> > >>http://www.mph.eclipse.co.uk/pub/linux/patches/ice1712_revo.patch > >> > >>but it does not work for me; apparently the driver failed to setup the output > >>codec, so I can only hear some strange dizzling sounds, coming out at full > >>volume :) > > > > Takashi Iwai wrote: > > > > This patch can't work because the codecs are different. > > > > The most important question for the support of this new board is which > > connection is used on it. Assume that it's using the same protocol as > > revo 7.1, we still need to know the clock, in, out, chip-select pins. > > You can check this by yourself with help of an electronic tool (or > > good eyes) by tracing the pin connections between VT1724 and codec > > chip. > > > > The patch below is a shot in the dark (to ALSA CVS version!) > > If this doesn't work, first try a different value in > > akm_revo51_priv.caddr (e.g. 2 or 0). If still doesn't work, try > > .cs_addr = VT1724_REVO_CS0 | VT1724_REVO_CS1. > > If stil doesn't work... try different combinations of clock, data and > > cs bits. > > > > > > Takashi > > Hi Takashi, > > I've found the working values for akm_revo51_priv: > > .caddr = 2, > .cs_addr = 0, > > The card now plays music very nicely. I've attached a patch against > alsa-driver-1.0.10 for other users. Note that you must adjust first two > mixer controls named "DAC" controling volume of the left and right front > channels. Thanks for checking. I committed the change to ALSA CVS now. > > Now, the only missing piece (for me :) is a volume control for headphone > output. Any idea how to add it? The question is again how it's connected. Does it use another codec chip or the same one with a different channel? In the former case, it might be set/reset with another GPIO pin as the chip select (CS). Usually this is used to select a given code to set up, and to initialize/finish the I2C/SPI transfer. Takashi ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click