All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anisse Astier <anisse@astier.eu>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Kailang Yang <kailang@realtek.com>,
	David Henningsson <david.henningsson@canonical.com>
Subject: Re: [PATCH] ALSA: hda - add mic fixup for ALC269VB on Ordissimo EVE2
Date: Wed, 5 Jun 2013 17:36:43 +0200	[thread overview]
Message-ID: <20130605173643.01dc1a3a@serenity> (raw)
In-Reply-To: <s5hehcgvong.wl%tiwai@suse.de>

On Wed, 05 Jun 2013 12:26:59 +0200, Takashi Iwai <tiwai@suse.de> wrote :

> > I'm on a dead end on this computer, I can't seem to find how the mic jack
> > presence works. It's always on(presence detected whatever the status) on NID
> > 0x18, the one used for the external mic. I have tried every NID, manually
> > enabling pin_sense on each, but only the headphone jack detection works. The
> > mic sense is nowhere to be seen.  
> 
> I also don't know any other method for Realtek.  For IDT codecs, there
> are some devices with GPIO unsol events, but Realtek codecs seem to
> use only the normal pin detection unsol events.
> 
> So, on your device, GET_PIN_SENSE doesn't return the detection bit
> set?  You tried setting SET_PIN_SENSE before GET_PIN_SENSE, right?
> 

I did more tests, this time using hda-verb directly instead of
hda-analyzer tools. And GET_PIN_SENSE does return the correct value…
sometimes. (without the need for SET_PIN_SENSE)
It seems the value is correct only if queried once every 10 to 15
seconds. Changing the jackpoll_ms argument does not seem to help, so I'll
keep digging into it.

Anisse
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2013-06-05 15:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 13:11 Sound issues with ALC269VB-based hardware Anisse Astier
2012-07-17 15:05 ` Takashi Iwai
2012-07-17 15:20   ` hda-jack-sense-test (was: Sound issues with ALC269VB-based hardware) David Henningsson
2012-07-17 15:23     ` Takashi Iwai
2012-07-17 15:25   ` Sound issues with ALC269VB-based hardware Takashi Iwai
2012-07-17 15:40     ` David Henningsson
2012-07-17 15:53       ` Takashi Iwai
2012-07-17 15:50     ` Anisse Astier
2012-07-17 15:53       ` Takashi Iwai
2012-08-30 16:57       ` Anisse Astier
2013-06-03  9:53 ` [PATCH] ALSA: hda - add mic fixup for ALC269VB on Ordissimo EVE2 Anisse Astier
2013-06-05 10:26   ` Takashi Iwai
2013-06-05 10:32     ` Anisse Astier
2013-06-05 15:36     ` Anisse Astier [this message]
2013-06-06  9:49       ` Takashi Iwai
2013-06-06 16:14         ` Anisse Astier
2013-06-06 16:19           ` Anisse Astier
2013-06-06 16:23           ` 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=20130605173643.01dc1a3a@serenity \
    --to=anisse@astier.eu \
    --cc=alsa-devel@alsa-project.org \
    --cc=david.henningsson@canonical.com \
    --cc=kailang@realtek.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 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.