summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/files.acpi
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2010-07-26 11:29:23 +0000
committerpirofti <pirofti@openbsd.org>2010-07-26 11:29:23 +0000
commit8a193ee5f35905027e31287f1d89c8049c32524a (patch)
tree2bab54eddc7e35285c510524ddcf6130f7395fca /sys/dev/acpi/files.acpi
parenteven if you write signal handlers to not do anything stupid when you're (diff)
downloadwireguard-openbsd-8a193ee5f35905027e31287f1d89c8049c32524a.tar.xz
wireguard-openbsd-8a193ee5f35905027e31287f1d89c8049c32524a.zip
Add support for Sony ACPI hotkeys via a new driver: acpisony(4).
Currently it only works for the suspend button and tries to do right for the brightness events, but I haven't found a Sony laptop that like to do right so far. In the future I want to make the brightness keys work on all Sony's and also add support for the zoom hotkeys and whatever other funky keys I can find on those things. Okay deraadt@.
Diffstat (limited to 'sys/dev/acpi/files.acpi')
-rw-r--r--sys/dev/acpi/files.acpi7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/acpi/files.acpi b/sys/dev/acpi/files.acpi
index 7a1c444bbc5..58885dfc2f9 100644
--- a/sys/dev/acpi/files.acpi
+++ b/sys/dev/acpi/files.acpi
@@ -1,4 +1,4 @@
-# $OpenBSD: files.acpi,v 1.23 2009/07/23 01:38:16 cnst Exp $
+# $OpenBSD: files.acpi,v 1.24 2010/07/26 11:29:23 pirofti Exp $
#
# Config file and device description for machine-independent ACPI code.
# Included by ports that need it.
@@ -76,6 +76,11 @@ device acpithinkpad
attach acpithinkpad at acpi
file dev/acpi/acpithinkpad.c acpithinkpad
+# Sony support
+device acpisony
+attach acpisony at acpi
+file dev/acpi/acpisony.c acpisony
+
# ACPI video
define acpivideo {}
device acpivideo