Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: 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: Mon, 12 Mar 2007 13:03:15 +0100	[thread overview]
Message-ID: <s5hwt1mr7ng.wl%tiwai@suse.de> (raw)
In-Reply-To: <20070310035055.GB7606@khazad-dum.debian.net>

At Sat, 10 Mar 2007 00:50:55 -0300,
Henrique de Moraes Holschuh wrote:
> 
> On Fri, 09 Mar 2007, Takashi Iwai wrote:
> > > On Wed, 07 Mar 2007, Tobin Davis wrote:
> > > > Another question comes to mind.  Why would the volume need to be
> > > > controlled if there is no sound driver to generate sound?  I'm trying
> > > > to understand the usage model here for that aspect.
> > > 
> > > Because the firmware will happly beep away, and you may want to control the
> > > volume of those beeps.  And it also controls the volume of the PC buzzer
> > > (the BIOS makes sure whatever sound hardware is in the machine lets that one
> > > through by default).
> > 
> > OTOH, from the usability POV, it's really annoying to have two
> > individual "devices" for the very same output.  That's why I'm in
> > favor of either built-in-sound-driver or add-on style.
> 
> Well, I have five choices:
> 
> 1. No Linux support to change the thinkpad mixer at all unless the soundcard
> drivers are loaded;
> 
> 2. ThinkPad mixer support always available as a separate, mixer-only card;
> 
> 3. ThinkPad mixer support available as a separate mixer-only card AND in the
> real soundcard driver;
> 
> 4. ThinkPad mixer support available as a separate mixer-only card while the
> real soundcard driver is not loaded, and *only* in the real soundcard driver
> after it is loaded;
> 
> 5. ThinkPad mixer support available in the real soundcard driver, and as a
> bunch of non-generic attributes on sysfs.
> 
> > And, if you'll ALSA API for controlling volumes, it assumes that any
> > sound system is running.   So, it appears logical to me that the
> 
> It seems to work just fine with the soundsystem running with a card that
> only has a single monoaural volume control, and nothing else.
> 
> > beep-control driver also belongs to a sound driver.
> 
> Does ALSA have an interface that is sane for a hardware/firmware synthesizer
> with a fixed set of tones?  The MIDI sequencer doesn't count, it is unusable
> for scripts.  Otherwise, I will keep the non-generic ibm-acpi interface (a
> sysfs attribute where you write the ID of the pattern you want it to beep).
> 
> > Anyway, if you'd like a stand-alone implementation, we can introduce a
> > Kconfig, too.  But, note that one merit to use the add-on style
> > (referring to the exported symbol of snd-intel8x0 driver) is that this
> > dependency will resolve the module loading order, too.
> 
> We still need to handle hotplug anyway, as modules can be removed and
> readded.

The problem I state here is only the usability.  The implementation is
no matter at all.  When you look at KDE/GNOME, you'll find that the
mixer applets really suck if you have multiple devices.  It's
especially confusing if the outputs from two different devices are
identical...


Takashi

-------------------------------------------------------------------------
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

  reply	other threads:[~2007-03-12 12:03 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
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                                     ` Takashi Iwai [this message]
2007-03-12 21:00                                       ` [ibm-acpi-devel] " 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=s5hwt1mr7ng.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox