Re: [RFC PATCH] thinkpad-acpi: Improve hardware volume controls

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

 



On Tue, May 10, 2011 at 6:27 AM, Henrique de Moraes Holschuh
<hmh@xxxxxxxxxx> wrote:
> On Mon, 09 May 2011, Andrew Lutomirski wrote:
>> I read some more of the spec.  It looks like the EC sends query 43
>> when the mute status changes.
>>
>> The problem is that _Q43 just calls _UCMS, which issues an SMI but
>> does nothing else.  So we don't get notified.  And unless we change
>> acpi_ec_sync_query to allow more than one handler for the same query,
>> we can't even get notified without breaking _Q43.  So we're screwed.
>
> We can
>
> 1) attach to _Q43 directly (must be whitelist-based using a quirk list),
>
> OR
>
> 2) ask Lenovo for _Q43 to call the HKEY notifier chain, which should
> still be possible for the 2011 boxes, and with some luck, the 2010 boxes
> as well.
>
> I will only do (2) after we went through some testing with your patch.

:)

You might have better luck if you tell Lenovo that, on Windows, you
can unmute the mute button, hit mute on the software mixer, then keep
hitting the mute button and watching as the software and hardware mute
settings stay exactly opposite of each other.  But if we want models
like the X200 to work nicely with volume autocontrol enabled on Linux,
then we probably have to hook the keyboard input and steal the
keypress (or find some magic register that turns off the keypress, but
I'm hesitant to start writing to random EC registers and hoping for
good luck).

--Andy

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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