All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lennart Poettering <mznyfn@0pointer.de>
To: alsa-devel@alsa-project.org
Subject: Re: RFC: Jack-detection control elements on HD-audio
Date: Fri, 19 Jun 2009 14:34:29 +0200	[thread overview]
Message-ID: <20090619123429.GB5785@tango.0pointer.de> (raw)
In-Reply-To: <alpine.LNX.2.00.0906191048150.3983@eeebox2.perex-int.cz>

On Fri, 19.06.09 10:54, Jaroslav Kysela (perex@perex.cz) wrote:

Heya,

> > yet another thing I've worked recently on is a bit more generalized
> > framework for jack-sense reporting for HD-audio.  This supersedes the
> > existing jack-sense reporting via the input layer.  In addition, it
> > gives the corresponding control elements.
> >
> > For example, you'll have "Jack HP-Out" (or a bit more verbose like
> > "Jack HP-Out at Ext Rear") control via control API as well as other
> > mixer controls.  This can notify when a jack is plugged/unplugged.
> > But, another big win is that you can read the current pin sense just
> > by reading this element.
> 
> Before definining such extension, I would really see to define standard 
> control names in Documentation/ControlNames.txt file. It seems to me that 
> most new drivers does not follow suggested naming. The document should be 
> reviewed, of course.

Oh yes, please!

I have recently reworked PA to control the mixer a bit more
comprehensively, including doing input source selection stuff and
suchlike. For that I made a little survey on all current drivers how
they name things. Was a bit disappointing, for example for "Input
Source"/"Capture Source" we have at least
options by these names:

Analog
Analog Inputs
AOUT
Aux
AUX
Aux0
Aux1
Aux2
Aux3
Aux In
AUX IN
Cam Mic
Digital Mic
Digital Mic 1
Digital Mic 2
D-Mic
Docking-Station
Dock Mic
e-Mic
E-Mic
ExtMic
Ext Mic
FM
Front Mic
Front Microphone
iMic
i-Mic
Input1
Input2
Int DMic
Internal Mic
Internal Microphone
IntMic
Int Mic
Line
LineIn
Line In
Line-In
Line/Mic
Mic
Mic1
Mic2
Mic/Line
Microphone
Rear Mic
TV Tuner
Unknown1
Unknown2
Video

Shouldn't be too difficult to agree on standard names for most of
these.

I'll post abit more about my findings later.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

  parent reply	other threads:[~2009-06-19 12:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19  8:04 RFC: Jack-detection control elements on HD-audio Takashi Iwai
2009-06-19  8:54 ` Jaroslav Kysela
2009-06-19  9:02   ` Takashi Iwai
2009-06-19 12:34   ` Lennart Poettering [this message]
2009-06-19  9:53 ` Mark Brown
2009-06-19 10:08   ` Takashi Iwai
2009-06-19 16:37     ` Mark Brown
2009-07-02 22:27     ` pl bossart
2009-07-03  5:32       ` Takashi Iwai
2009-06-19 12:21 ` Lennart Poettering
2009-06-19 12:31   ` 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=20090619123429.GB5785@tango.0pointer.de \
    --to=mznyfn@0pointer.de \
    --cc=alsa-devel@alsa-project.org \
    /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.