alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Keith Chew <keith.chew@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org,
	David Henningsson <david.henningsson@canonical.com>
Subject: Re: 5.1 surround on 3 jacks (retasking)
Date: Tue, 31 Aug 2010 07:45:09 +1200	[thread overview]
Message-ID: <AANLkTinofprWnFLOTGDWfe_ucaezDgRzHwGTehaFDjLk@mail.gmail.com> (raw)
In-Reply-To: <s5haao48rnq.wl%tiwai@suse.de>

Hi Takashi

> This is nothing but the raw 32 bit values the codec chip will take.
> Refer to "default pin configuration" in HD-audio specification.
> Definitions can be found in hda_codec.h, too (AC_DEFCFG_*).
>

Thank you very much for this, I have managed to find it in both Intel
doc, and the hda_codec.h you mentioned. Interestingly, when I
configure all 3 jacks (via user_pin_configs) to be of type HP_OUT,
only 1 of them will be configured as that, the other 2 will not. There
must be something in the generic code that prevents more than 1 jack
being configured as HP_OUT. Looking at patch_realtek.c it appears the
norm is to set only 1 jack to be HP.

So, I ended up using the hda-verb program and set the HP_OUT on
startup, it works out well.

PS: Now I am getting static interference on one of the ports, but I
believe this is a hardware issue. In HP_OUT mode, the rear jack is
picking up static noise from the power source close by (ie noise only
comes in when keyboard is pressed repeatly or when CPU is in use).
Solved one problem, out comes another. More hardware debugging to do,
thanks again for all your help!

Regards
Keith

  reply	other threads:[~2010-08-30 19:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 19:45 5.1 surround on 3 jacks (retasking) Keith Chew
2010-08-25 23:31 ` David Henningsson
2010-08-26  6:35   ` Keith Chew
2010-08-26  6:56     ` David Henningsson
2010-08-26  7:16       ` Keith Chew
2010-08-26 23:19       ` Keith Chew
2010-08-28 14:11         ` Keith Chew
2010-08-28 14:55           ` David Henningsson
2010-08-28 15:08             ` Keith Chew
2010-08-30  7:51               ` Takashi Iwai
2010-08-30 19:45                 ` Keith Chew [this message]
2010-08-30 20:23                   ` Takashi Iwai
2010-08-30 20:58                     ` Keith Chew
2010-08-26  7:03 ` Raymond Yau
2010-08-26  7:22   ` Keith Chew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinofprWnFLOTGDWfe_ucaezDgRzHwGTehaFDjLk@mail.gmail.com \
    --to=keith.chew@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=david.henningsson@canonical.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).