All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Shem Multinymous <multinymous@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	ibm-acpi-devel@lists.sourceforge.net,
	alsa-devel@lists.sourceforge.net, Theodore Tso <tytso@mit.edu>
Subject: Re: [ibm-acpi-devel] Adding a alsa mixer interface to ibm-acpi
Date: Wed, 7 Mar 2007 20:42:40 -0300	[thread overview]
Message-ID: <20070307234240.GA12070@khazad-dum.debian.net> (raw)
In-Reply-To: <41840b750703071512o1d171dfy9d2a615382e5e635@mail.gmail.com>

On Wed, 07 Mar 2007, Shem Multinymous wrote:
> On 3/7/07, Takashi Iwai <tiwai@suse.de> wrote:
> > > If they got a mixer applet worth something, it will list two cards, or allow
> > > them to have two instances, one for each card.
> >
> > I guess it's rather confusing.  Both controls the very same device for
> > the very same role in the end, so it'd be better to be merged in some
> > level, IMO.
> 
> The ibm-acpi mixer also affects the BIOS-generated sounds (e.g.,
> low-battery warnings) and PC speaker. So it useful even when the sound
> card is unused or unsupported.

True.  Here's the (probable) audio routing on a ThinkPad:

[embedded sound card/codec] -> [thinkpad hardware mixer] -> output
[thinkpad firmware beep generator]   ----^

The thinkpad firmware can generate a bunch of beeps that appear to not be
really related to the std. PC buzzer :-)  and these beeps are used to signal
firmware events.  I don't think they are routed through the AC97 or HDA
codec.

Note that it is possible that the normal PC buzzer IS routed through the
codec.

One of the things I don't know is exactly what is generating the firmware
beeps on modern thinkpads: BIOS, or EC.  The volume control is done by the
EC on a modern thinkpad, though.

So I'd have to provide a stand-alone "placeholder" card to hook the mixer to
if no real sound-card driver is loaded?  urk.  It is doable, of course,
but... ick.  The question is now, what should I do when doing a mixer
piggy-back?  De-register the mixer-only audio card, or keep it around (and
this give the user two cards)?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-03-07 23:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-25  1:20 Adding a alsa mixer interface to ibm-acpi Henrique de Moraes Holschuh
2007-02-26 15:31 ` Takashi Iwai
     [not found]   ` <s5h649pue8z.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2007-02-26 16:28     ` [Alsa-devel] " Henrique de Moraes Holschuh
2007-02-26 16:36       ` [ibm-acpi-devel] " Takashi Iwai
2007-02-26 17:41         ` Henrique de Moraes Holschuh
     [not found]           ` <20070226174145.GF2909-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2007-02-27  1:50             ` [Alsa-devel] " Theodore Tso
2007-02-27  2:14               ` [ibm-acpi-devel] " Henrique de Moraes Holschuh
2007-03-07 21:59                 ` Takashi Iwai
     [not found]                   ` <s5hd53kaf5r.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2007-03-07 23:02                     ` [Alsa-devel] " Henrique de Moraes Holschuh
2007-03-07 23:12                     ` Shem Multinymous
2007-03-07 23:23                       ` [ibm-acpi-devel] " Tobin Davis
2007-03-07 23:41                         ` Shem Multinymous
2007-03-07 23:42                       ` Henrique de Moraes Holschuh [this message]
2007-03-07 23:55                         ` Tobin Davis
     [not found]                           ` <1173311709.4531.30.camel-lPoCD4h/KdUU2NE2KMwFWnnhMCiq3JZZ@public.gmane.org>
2007-03-08  0:38                             ` [Alsa-devel] " Henrique de Moraes Holschuh
2007-03-09 16:29                               ` [ibm-acpi-devel] " Takashi Iwai
     [not found]                                 ` <s5htzwugz22.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2007-03-10  3:50                                   ` [Alsa-devel] " Henrique de Moraes Holschuh
2007-03-12 12:03                                     ` [ibm-acpi-devel] " Takashi Iwai
2007-03-12 21:00                                       ` Henrique de Moraes Holschuh
2007-03-12 22:00                                         ` Alex Deucher

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=20070307234240.GA12070@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=multinymous@gmail.com \
    --cc=tiwai@suse.de \
    --cc=tytso@mit.edu \
    /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.