From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raymond Subject: Re: au88x0 modem Date: Fri, 16 Sep 2005 16:21:21 +0800 Message-ID: <432A8081.7030603@netvigator.com> References: <4325AEA3.1090602@netvigator.com> <20050913000909.GB19713@tecr> <20050913085552.GA2655@titan.lahn.de> <20050913173529.GD31269@sashak.softier1.local> <20050913174930.GA5816@titan.lahn.de> <4327DA14.3040205@netvigator.com> <20050914205608.GD14657@sashak.softier1.local> <20050915091158.GA7314@titan.lahn.de> <20050915092155.GA7328@titan.lahn.de> <20050915143533.GB23218@sashak.softier1.local> <20050915204345.GC27700@sashak.softier1.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050915204345.GC27700@sashak.softier1.local> 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: Sasha Khapyorsky Cc: alsa-devel@lists.sourceforge.net, pmhahn@titan.lahn.de List-Id: alsa-devel@alsa-project.org Sasha Khapyorsky wrote: > On 17:35 Thu 15 Sep , Sasha Khapyorsky wrote: > > > > 1. Actual "secondary codec" bit in CODEC_EN register - just silly print > (apply with -p1): > Although au8830 may support mulitple codecs and there is a unconnected 20-pins connectors on my au8830 (Subsystem 12eb:0088) There is only one STAC9708 (4-channels) audio codec on my au8830 It look like a control register rather than a status register. Vortex: init.... <6>CODEC_EN : 00000000 CODEC_EN : 00000300 CODEC_EN : 00003300 CODEC_EN : 00003f00 done. /* Enable codec channels 0 and 1. */ printk(KERN_INFO "CODEC_EN : %.8x\n",hwread(vortex->mmio, VORTEX_CODEC_EN)); hwwrite(vortex->mmio, VORTEX_CODEC_EN, hwread(vortex->mmio, VORTEX_CODEC_EN) | EN_AUDIO0 ); printk(KERN_INFO "CODEC_EN : %.8x\n",hwread(vortex->mmio, VORTEX_CODEC_EN)); #ifndef CHIP_AU8820 hwwrite(vortex->mmio, VORTEX_CODEC_EN, hwread(vortex->mmio, VORTEX_CODEC_EN) | EN_AUDIO1 ); printk(KERN_INFO "CODEC_EN : %.8x\n",hwread(vortex->mmio, VORTEX_CODEC_EN)); hwwrite(vortex->mmio, VORTEX_CODEC_EN, hwread(vortex->mmio, VORTEX_CODEC_EN) | EN_MODEM ); printk(KERN_INFO "CODEC_EN : %.8x\n",hwread(vortex->mmio, VORTEX_CODEC_EN)); #endif ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php