All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>,
	ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Realtek model parser problem with the new jack detection
Date: Wed, 18 Jan 2012 17:28:32 +0100	[thread overview]
Message-ID: <4F16F330.1020109@canonical.com> (raw)

Hi Takashi,

I'm troubleshooting a problem with the Realtek quirk/model parsers. The 
problem is basically that add_jack_kctls call 
snd_hda_jack_detect_enable, which in turn overwrites the current unsol tag.

E g, first the model parser sets a pin to AC_USRSP_EN | ALC_HP_EVENT, 
then comes snd_hda_jack_detect_enable and does AC_USRSP_EN | jack->tag.

I'm not sure of the best way to resolve this; either keep the current 
tag (and mark all jacks as dirty on an unsol event), or read back the 
current tag and set it as jack->action (and then always use the jack 
table). What do you think?

Example alsa-info for this is in 
http://www.alsa-project.org/db/?f=5cc88967e9da547975924a06c948ece00f1f0263

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

             reply	other threads:[~2012-01-18 16:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 16:28 David Henningsson [this message]
2012-01-19 10:35 ` Realtek model parser problem with the new jack detection Takashi Iwai
2012-01-19 11:17   ` Takashi Iwai
2012-01-19 11:39     ` David Henningsson
2012-01-19 11:56       ` Takashi Iwai

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=4F16F330.1020109@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.