From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Subject: Conexant CX20582 HDA codec support Date: Mon, 29 Jun 2009 13:10:53 +0100 Message-ID: <1246277454.2182.6.camel@polyethylene> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by alsa0.perex.cz (Postfix) with ESMTP id 3BEB3103812 for ; Mon, 29 Jun 2009 14:10:59 +0200 (CEST) Received: by ewy26 with SMTP id 26so3307565ewy.32 for ; Mon, 29 Jun 2009 05:10:58 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi, I'm working on some sound issues with the new OLPC XO-1.5 alpha board. This laptop is now based on a VIA VX855 chipset and our board includes a CX20582-10Q HDA codec. We are running kernel v2.6.30. We have a few issues, which are: 1. Volume range is ridiculous, you can go all the way down to -74dB gain. Beyond -42dB you can barely hear anything from the speakers, and I note that all my other systems only go down as far as -46.5dB. 2. No microphone automute. The internal microphone continues recording sound while there is an external one plugged in. 3. No speaker automute. The internal speakers continue playing sound while there are headphones plugged in. 4. Mixer arrangement is odd. There are 3 microphones: Mic, Mic 1, and Mic 2. Mic (the default) records nothing. Mic 1 and Mic 2 both seem to behave the same, and record from both internal and external microphones. I looked into adding some quirks into patch_conexant.c to hopefully solve some of the above. However I note that there is no support for the CX20582, hence the generic HDA parser is being used. How has support for the other CX chips been developed -- are datasheets always required? (I'll try and get hold of one anyway) Here is some more info. codec dump http://dev.laptop.org/~dsd/20090629/codec0.txt codec graph http://dev.laptop.org/~dsd/20090629/codecgraph.svg lspci entry http://dev.laptop.org/~dsd/20090629/lspci-entry.txt verbose dmesg from probing http://dev.laptop.org/~dsd/20090629/dmesg-probe.txt Any thoughts/input appreciated! Thanks, Daniel