On Mon, May 9, 2011 at 7:53 PM, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote: > Interesting. Let me test it on my T43, it has hardware volume and seems to > cover a class of box you couldn't test. > > I like the idea, but I might have some questions to ask you about it. More > on this after I test the patch in the next few days. FWIW, this patch (other than having the wrong default on X220) makes Linux better than Windows :) Do you know how to read a field from the EC by name? I think I can pull out the default value from the HAUM field, but I don't know how to access it through acpica and installing a custom method just to read a register seems like a bad idea. (The register's in the same place on X200 and X220, though, so maybe it's stable enough to just read. But using the field listing in the DSDT would make me happy.) 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. --Andy > > -- > "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 > ------------------------------------------------------------------------------ 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