All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Raymond Yau <superquad.vortex2@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: HDA intel, wired headset w/mic, jack mic detect
Date: Tue, 06 Mar 2012 12:25:12 -0800	[thread overview]
Message-ID: <87399lfpef.fsf@ti.com> (raw)
In-Reply-To: <s5h62eiqlcn.wl%tiwai@suse.de> (Takashi Iwai's message of "Tue, 06 Mar 2012 07:44:56 +0100")

Takashi Iwai <tiwai@suse.de> writes:

> At Tue, 6 Mar 2012 09:28:12 +0800,
> Raymond Yau wrote:
>> 
>> 2012/3/6, Kevin Hilman <khilman@ti.com>:
>> > Raymond Yau <superquad.vortex2@gmail.com> writes:
>> >
>> >> 2012/3/3, Kevin Hilman <khilman@ti.com>:
>> >>> Raymond Yau <superquad.vortex2@gmail.com> writes:
>> >>>
>> >>>> 2012/3/2, Kevin Hilman <khilman@ti.com>:
>> >>>>
>> >>>>
>> >>>>>> Does your headset/mic has a TRRS (Tip, ring, ring, sleeve) connector
>> >>>>>> instead of TRS (Tip, ring, sleeve) connector ?
>> >>>>
>> >>>>> Yes.  It's TRRS.
>> >>>>
>> >>>> Does it mean that the headset/mic is a mono mic ?
>> >>>>
>> >>>> Is the internal mic mono or stereo ?
>> >>>
>> >>> I believe it's mono.  Based on vumeter activity, and the fact that
>> >>> changing only one slider in hda_analyzer is needed to quiet/mute the
>> >>> mic.
>> >>>
>> >>
>> >> Not sure any difference between cs4206 and cs4207
>> >>
>> >> It seem that you can select ADC1 and ADC2 channel mode in cs4207
>> >
>> >> ‘00’b - ADC2 left channel is mapped to HDA left
>> >> channel and ADC2 right channel is mapped HDA
>> >> right channel (normal mode).
>> >> ‘01’b - ADC2 left channel is mapped to both HDA
>> >> left and right channels. ADC2 right channel is
>> >> discarded (mono mode).
>> >> ‘10’b - ADC2 right channel is mapped to both
>> >> HDA left and right channels. ADC2 left channel is
>> >> discarded (alternate mono mode).
>> >> ‘11’b - ADC2 left channel is mapped to HDA right
>> >> channel and ADC2 right channel is mapped to
>> >> HDA left channel (channel swap mode).
>> >
>> > Do any of the hda tools allow me to tweak this from userspace?
>> >
>> >
>> 
>> you should ask Takarshi as he added this patch, he may know whether
>> cs4206 support the above feature
>> 
>> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=40c20fa05a29766565f56ede17d0ffa539e1c9a9;hp=ea35929b886975a240660b3ba6c61826761731ad
>
> You can play with hda-emu to send vendor-specific COEF, as found in
> the commit above.  But it's at your own risk; the patch I made is just
> a translation from other information I've got from Cirrus at that
> time.

Unfortunately, I'm not really familiar with audio codecs, and am finding
that undersanding the verbs and and sending the right ones with the
right coef (and finding out what was actually written) seems to be a bit
out of my league.

If someone can suggest what to try with hda-emu, I'm willing, but
otherwise I guess I have to opt for an external USB audio adapater for
the headset. :(

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

  reply	other threads:[~2012-03-06 20:25 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
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 [this message]
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=87399lfpef.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=superquad.vortex2@gmail.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.