diff options
| author | Kyle Evans <[email protected]> | 2014-06-09 17:26:06 +0000 |
|---|---|---|
| committer | Matthew Garrett <[email protected]> | 2014-06-10 23:11:11 +0000 |
| commit | f82bdd0d77b6bf0dea08a1d957ab45d503f328b1 (patch) | |
| tree | ab33c3ed9fb0f8747d5682a702399acadaba21e8 /tools/perf/scripts/python/futex-contention.py | |
| parent | thinkpad_acpi: Add mappings for F9 - F12 hotkeys on X240 / T440 / T540 (diff) | |
| download | kernel-f82bdd0d77b6bf0dea08a1d957ab45d503f328b1.tar.gz kernel-f82bdd0d77b6bf0dea08a1d957ab45d503f328b1.zip | |
hp-wmi: Enable hotkeys on some systems
This is a third attempt to enable these buttons. The new variable being
commit 997daa1bd9aca412ab97955a35b26c460c0ec7a4 (i.e. hp-wmi: detect
"2009 BIOS or later"). Older systems that do not have the 2009 BIOS query
method respond with a dummy value, in this case 4. Using that, we can
target a fairly narrow group of systems. i.e. old enough to not have
HPWMI_FEATURE_QUERY 0xd, but new enough to have HPWMI_BIOS_QUERY 0x9.
This group may be further limited if some systems respond with something
other than 4 to non-existant feature queries.
Signed-off-by: Kyle Evans <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
