diff options
author | 2009-06-03 00:36:59 +0000 | |
---|---|---|
committer | 2009-06-03 00:36:59 +0000 | |
commit | 76adbdb14e97912e1d1869259a0846cae956410b (patch) | |
tree | 4117a0b3f06b1207d770d9d62f3a46513ef0b386 /sys/dev/acpi/files.acpi | |
parent | Only need to umount once on restarting. Force umounts in case of (diff) | |
download | wireguard-openbsd-76adbdb14e97912e1d1869259a0846cae956410b.tar.xz wireguard-openbsd-76adbdb14e97912e1d1869259a0846cae956410b.zip |
Add acpivideo support. This adds brightness support for all laptops
except thinkpads, they will use the acpithinkpad driver. The driver is
also hooked into wsconsole. So brightness can be adjusted via:
$ wsconsctl display.brightness=<percentage>
This is very helpfull on some laptops that have a nasty bios and get two
steps instead of one when pressing the brightness button.
Tested on various dell, fujitsu, acer, samsung and other laptops.
Okay marco@, miod@. Suggestions from kettenis@.
Lots of reviews and help from miod@, thanks!
Diffstat (limited to 'sys/dev/acpi/files.acpi')
-rw-r--r-- | sys/dev/acpi/files.acpi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/acpi/files.acpi b/sys/dev/acpi/files.acpi index f40ba2b9888..f3d4daf926d 100644 --- a/sys/dev/acpi/files.acpi +++ b/sys/dev/acpi/files.acpi @@ -1,4 +1,4 @@ -# $OpenBSD: files.acpi,v 1.20 2008/07/02 03:14:54 fgsch Exp $ +# $OpenBSD: files.acpi,v 1.21 2009/06/03 00:36:59 pirofti Exp $ # # Config file and device description for machine-independent ACPI code. # Included by ports that need it. @@ -77,6 +77,12 @@ attach acpithinkpad at acpi file dev/acpi/acpithinkpad.c acpithinkpad # ACPI video +define acpivideo {} device acpivideo attach acpivideo at acpi file dev/acpi/acpivideo.c acpivideo + +# ACPI vout +device acpivout +attach acpivout at acpivideo +file dev/acpi/acpivout.c acpivout |