All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Raymond Yau <superquad.vortex2@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: HDA intel, wired headset w/mic, jack mic detect
Date: Wed, 29 Feb 2012 11:08:13 -0800	[thread overview]
Message-ID: <87zkc1cvaa.fsf@ti.com> (raw)
In-Reply-To: <CAN8cciZm2s-1Y69cohepoNNYsyBq4qQzyvbkXF2K4aDspfVtGQ@mail.gmail.com> (Raymond Yau's message of "Wed, 29 Feb 2012 23:05:25 +0800")

Raymond Yau <superquad.vortex2@gmail.com> writes:

> Does your headset/mic has a TRRS (Tip, ring, ring, sleeve) connector
> instead of TRS (Tip, ring, sleeve) connector ?

Yes.  It's TRRS.

But below, I tried with a normal stero headset (no mic) which has a TRS
connector too.

> You can use David's hda-jack-sense-test to find out any jack sense at
> the node of External mic when you plug the headset , if not , you may
> need to modify unsol event of  headphone to select the external mic ,
> internal mic.

Here are the results of hda-jack-sense-test

Nothing plugged in:

# hda-jack-sense-test -a
Pin 0x09 (Green HP Out): present = No
Pin 0x0a (Not connected): present = No
Pin 0x0b (Internal Speaker): present = No
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Mic): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Not connected): present = No
Pin 0x10 (Not connected): present = No
Pin 0x12 (Not connected): present = No
Pin 0x15 (Not connected): present = No

With regular stereo headphones with (*no* mic, TRS):

# hda-jack-sense-test -a
Pin 0x09 (Green HP Out): present = Yes
Pin 0x0a (Not connected): present = No
Pin 0x0b (Internal Speaker): present = No
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Mic): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Not connected): present = No
Pin 0x10 (Not connected): present = No
Pin 0x12 (Not connected): present = No
Pin 0x15 (Not connected): present = No

Finally, plugging the headset w/mic (TRRS):

root@eze:~# hda-jack-sense-test -a
Pin 0x09 (Green HP Out): present = Yes
Pin 0x0a (Not connected): present = No
Pin 0x0b (Internal Speaker): present = No
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Mic): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Not connected): present = No
Pin 0x10 (Not connected): present = No
Pin 0x12 (Not connected): present = No
Pin 0x15 (Not connected): present = No

As you can see, there's no detected difference between the TRS and TRRS
headsets, which is the root of the problem.

Since this is a MacBookAir, it dual-boots OSX, and the detection works
just fine using the same headset under OSX.

Kevin

  parent reply	other threads:[~2012-02-29 19:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23 19:09 HDA intel, wired headset w/mic, jack mic detect Kevin Hilman
2012-02-24  6:25 ` David Henningsson
2012-02-28 17:55   ` Hilman, Kevin
2012-02-28 18:00     ` Mark Brown
2012-02-29 15:05     ` Raymond Yau
2012-02-29 15:26       ` Mark Brown
2012-02-29 19:08       ` Kevin Hilman [this message]
2012-02-29 23:43         ` Raymond Yau
2012-03-01  1:34           ` Kevin Hilman
2012-03-01  5:56             ` Raymond Yau
2012-03-01 18:22               ` Kevin Hilman
2012-03-02  1:22                 ` Raymond Yau
2012-03-02 19:32                   ` Kevin Hilman
2012-03-05  1:10                     ` Raymond Yau
2012-03-05 17:36                       ` Kevin Hilman
2012-03-06  1:28                         ` Raymond Yau
2012-03-06  6:44                           ` Takashi Iwai
2012-03-06 20:25                             ` Kevin Hilman
2012-03-06 20:32                               ` Takashi Iwai
2012-03-09 17:16                                 ` Kevin Hilman
2012-03-14  0:50                                   ` Raymond Yau
2012-03-15 18:03                                     ` Kevin Hilman
2012-03-15 23:57                                       ` Raymond Yau
2012-03-20 18:14                                     ` Kevin Hilman
2012-03-01 17:25         ` Mark Brown
2012-03-01 17:46           ` Kevin Hilman

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=87zkc1cvaa.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=superquad.vortex2@gmail.com \
    /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.