From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Udvare Subject: HDMI output with headphone jack sense possible on Conexant CX20561? Date: Thu, 18 Mar 2010 15:05:25 -0400 Message-ID: <201003181505.25291.audvare@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by alsa0.perex.cz (Postfix) with ESMTP id CEC23103891 for ; Thu, 18 Mar 2010 20:05:29 +0100 (CET) Received: by bwz20 with SMTP id 20so2823270bwz.32 for ; Thu, 18 Mar 2010 12:05:29 -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 My audio codec is Conexant CX20561 (Hermosa) (haven't been able to find anything about 'Hermosa' on the Wiki). I'd like to be able to do a few things which I have not been able to do with tutorials I found on the web: - Whenever I plug in headphones, HDMI output is muted and headphones are enabled - Right now, the way I do this is by manually editing /etc/asound.conf to have the following (commented out makes headphones work, not commented makes HDMI work without any headphone/laptop speaker output) /etc/asound.conf: defaults.pcm.card 0 defaults.pcm.device 3 where 3 is my HDMI (IEC958 2; no idea what IEC958 1 is for) output. So I have a switcher script that does the commenting and uncommenting. Would be nice if this could be automatic (even if alsa had to run such a script on detecting headphones). - Route audio output (PCM) to input (for mixer recording) (Intel HDA cannot do this apparently by default (thanks DRM), needs some hacking around?) Information from alsa-info.sh: http://www.alsa- project.org/db/?f=107f3f6012e68f04d3562d5e11aeb052a1454884 Are my model options correct? And if it's important to know, I build ALSA in-kernel. Is this not recommended? I know at the very least it makes it such that I have to reboot to make any new options to take effect. Thanks all -- Andrew Udvare audvare@gmail.com 978-870-5908 www.andyudvare.com