Re: [ibm-acpi-devel] [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
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux