From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [alsa-devel] [PATCH] thinkpad-acpi: Enable microphone mute LED Date: Fri, 03 Jun 2011 17:50:42 +0200 Message-ID: References: <8dc2b2140c2794291811cd38f51f9dc7596f482c.1306266017.git.luto@mit.edu> <20110527162844.GA16769@srcf.ucam.org> <20110527164855.GA17443@srcf.ucam.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor.suse.de ([195.135.220.2]:44154 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011Ab1FCPus (ORCPT ); Fri, 3 Jun 2011 11:50:48 -0400 In-Reply-To: Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Andrew Lutomirski Cc: Matthew Garrett , General PulseAudio Discussion , alsa-devel@alsa-project.org, ibm-acpi-devel@lists.sourceforge.net, Henrique de Moraes Holschuh , platform-driver-x86@vger.kernel.org At Fri, 27 May 2011 14:22:26 -0400, Andrew Lutomirski wrote: >=20 > On Fri, May 27, 2011 at 12:48 PM, Matthew Garrett wrote: > > On Fri, May 27, 2011 at 12:39:10PM -0400, Andrew Lutomirski wrote: > > > >> I don't have docs so I don't really know. =C2=A0But the mute LED d= oes not > >> appear to be controllable from the LED interface and when mute is = lit > >> there's no sound regardless of what ALSA thinks. =C2=A0When I ligh= t the > >> micmute light, I can still record sound just fine. > >> > >> The mic mute button does nothing on Windows unless the special dri= ver > >> is installed, and that driver seems to mute the Windows mixer, so = I > >> think there's nothing special other than a little userspace helper > >> going on. > > > > Hm. That makes things kind of tricky. While it's easy to just expos= e the > > LED, really we want to do it in such a way that userspace knows whi= ch > > LEDs it should be toggling while setting the microphone mute. >=20 > One thought: call the thing laptop::micmute and teach userspace to > look for an led with that name. >=20 > Do any of the ALSA or PulseAudio people have any preferences? I don't know of any machines but Thinkpad providing such a LED control, so I'm fine with any naming basically :) Though, if there are many of such mute LEDs, any parseable form like laptop::xxx-mute would be better for future? thanks, Takashi