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 Mon, May 9, 2011 at 9:04 PM, Henrique de Moraes Holschuh
<hmh@xxxxxxxxxx> wrote:
> On Mon, 09 May 2011, Andrew Lutomirski wrote:
>> FWIW, this patch (other than having the wrong default on X220) makes
>> Linux better than Windows :)
>
> Please expand on that, especially the "wrong default on X220"...
>
>> Do you know how to read a field from the EC by name?  I think I can
>
> If it is in the DSDT as a field of a "EmbeddedController" area, you just
> evaluate it.  There are several examples in the driver (e.g. the TMP* evals
> in the thermal monitor subdriver).

Indeed :)  I'll send an updated patch tomorrow.

>
>> Also, do you know how to ask the kernel what the most recent acpi
>> interrupt was?  I'd like to find a better way to detect the mute
>> button than watching for the keyboard event.
>
> No, and I'd never ACK it if there was one.  ACPI serves GPEs (interrupts)
> like crazy for random reasons,  Never ever play racy games like that.
>
> Don't we get an HKEY notification for mute presses in the X220?

I just meant to figure out what's going on.  We're not getting an HKEY
event, I think, but something's happening and a bit of acpi debug
fiddling says that _Q43 is getting called.  I have no idea what that
means, though.

--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