diff options
author | 2013-03-22 22:15:01 +0000 | |
---|---|---|
committer | 2013-03-22 22:15:01 +0000 | |
commit | 7fcffd8b436d133d99451beb2b0cdb5e10c887d3 (patch) | |
tree | 8201de44988947fbf905d96f754dffe5b1912963 | |
parent | ARM Cortex A8 was defined twice, we don't need that. (diff) | |
download | wireguard-openbsd-7fcffd8b436d133d99451beb2b0cdb5e10c887d3.tar.xz wireguard-openbsd-7fcffd8b436d133d99451beb2b0cdb5e10c887d3.zip |
Newer Thinkpads (x220, x230, t430) send a 0x6050 event whenever the brightness
keys are used. Simply ignore this event. We have no use for it and the
keys work just fine with the new inteldrm(4).
ok mpi@, jsg@, otto@, jsg@
-rw-r--r-- | sys/dev/acpi/acpithinkpad.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpithinkpad.c b/sys/dev/acpi/acpithinkpad.c index e91fed726f3..08a4e241645 100644 --- a/sys/dev/acpi/acpithinkpad.c +++ b/sys/dev/acpi/acpithinkpad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpithinkpad.c,v 1.28 2011/06/06 06:13:46 deraadt Exp $ */ +/* $OpenBSD: acpithinkpad.c,v 1.29 2013/03/22 22:15:01 kettenis Exp $ */ /* * Copyright (c) 2008 joshua stein <jcs@openbsd.org> * @@ -74,6 +74,7 @@ #define THINKPAD_TABLET_PEN_INSERTED 0x500b #define THINKPAD_TABLET_PEN_REMOVED 0x500c #define THINKPAD_POWER_CHANGED 0x6030 +#define THINKPAD_BACKLIGHT_CHANGED 0x6050 #define THINKPAD_SWITCH_WIRELESS 0x7000 #define THINKPAD_NSENSORS 9 @@ -345,6 +346,7 @@ thinkpad_hotkey(struct aml_node *node, int notify_type, void *arg) handled = 1; break; case THINKPAD_POWER_CHANGED: + case THINKPAD_BACKLIGHT_CHANGED: handled = 1; break; case THINKPAD_SWITCH_WIRELESS: |