Re: thinkpad_acpi: Add support for T410s.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-04-26 at 10:27 +0200, Jens Taprogge wrote:
> On Mon, Apr 26, 2010 at 12:45:55AM -0500, Jerone Young wrote:
> > On Tue, 2010-04-20 at 23:03 +0200, Jens Taprogge wrote:
> > >  	TP_HKEY_EV_VOL_MUTE		= 0x1017, /* Mixer output mute */
> > > +	TP_HKEY_EV_VOL_MUTE_MIC		= 0x101b, /* Microphone mute */
> > 
> > One thing I've been thinking about is getting a standard key defined for
> > microphone mute in linux/input.h as well.
> 
> That might make a lot of sense.  We also might try to mute unmute the
> microphone in the driver depending on whether there is a way to do that through
> APCI.  Do you have any insight into that?  The regular Mute/Volume down/Volume
> up buttons do not seem to be handled through ACPI anymore, so there might not be.

The main issue here is sound server (pulse audio). You want it to know
about the microphone is muted. This is basically how it is done in
Windows (via special program by Lenovo .. it doesn't work on a Windows
default install).

This separate userspace process would learn from the pulse audio sound
server if the microphone is muted .. if so then turn on the microphone
light as well (so the user has indication the microphone is muted).

My longer term plan with this is to have a key defined for this. Add
support to Gnome Volume Settings. It will then catch the key, mute at
the Pulse Audio level & give the users some on screen notification as
well.

> 
> > > +	
> > > +	TPACPI_Q_LNV('6', 'U', 0x4087), /* T410s */
> > 
> > Where did you get the values for id1 & id2? I ask as want to add it as a
> > useful led on the regular T410  .. which apparently doesn't have all the
> > exact same values here.
> 
> The values are the first two letters of the BIOS id.  It is printed during
> module load as "Thinkpad BIOS 6Uxxxxxx ..." .

Thanks! Will get an add on patch shortly.

> 
> Best Regards
> Jens



------------------------------------------------------------------------------
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux