From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henrique de Moraes Holschuh Subject: Re: [ibm-acpi-devel] Adding a alsa mixer interface to ibm-acpi Date: Wed, 7 Mar 2007 20:42:40 -0300 Message-ID: <20070307234240.GA12070@khazad-dum.debian.net> References: <20070225012017.GA19039@khazad-dum.debian.net> <20070226162819.GE2909@khazad-dum.debian.net> <20070226174145.GF2909@khazad-dum.debian.net> <20070227015024.GF8154@thunk.org> <20070227021402.GC6828@khazad-dum.debian.net> <41840b750703071512o1d171dfy9d2a615382e5e635@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <41840b750703071512o1d171dfy9d2a615382e5e635@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Shem Multinymous Cc: Takashi Iwai , ibm-acpi-devel@lists.sourceforge.net, alsa-devel@lists.sourceforge.net, Theodore Tso List-Id: alsa-devel@alsa-project.org On Wed, 07 Mar 2007, Shem Multinymous wrote: > On 3/7/07, Takashi Iwai 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