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, 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).

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

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
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