summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpivideo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a format string specifier error in a debug printf.mlarkin2017-06-301-2/+2
| | | | | | | | Noticed and reported by Fasse: fasse dot f2 at gmail dot com Thanks.
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* Remove leftover include.pirofti2011-05-231-2/+1
|
* Don't enumerate _DOD for attaching acpivout(4), since:martynas2011-04-061-71/+14
| | | | | | | | | | | | | | - ACPI spec. says _DOD is not required for brightness controls, - The list returned by _DOD might be wrong, - It's an unnecessary work to do. Instead, decision to attach will be based on the actual methods found, similarly like in the other ACPI drivers. Tested by several on tech@. OK kettenis@, marco@, pirofti@. pirofti@ asked me to note here that devices not supporting brightness controls won't attach from now on. This shouldn't be a concern for you, since such devices weren't doing anything at all, anyway.
* annoying spaces getting in the wayderaadt2010-07-271-3/+3
|
* Some machines include VID devices for hardware that doesn't exist. Avoidkettenis2010-07-261-1/+14
| | | | | | | | attaching those devices by checking whether the PCI bus on which they are supposed to sit exists. Fixes issues with brightness controls on my Dell laptop. ok marco@, pirofti@
* Add myself to the copyright, suggested by marco@.pirofti2009-06-041-1/+2
|
* Some output devices have only brightness support (or only output switching).pirofti2009-06-041-1/+7
| | | | | | | Handle the case where only brightness is supported. This makes brightness work on some Sony Vaio's. Okay mlarkin@ deraadt@.
* Add acpivideo support. This adds brightness support for all laptopspirofti2009-06-031-22/+109
| | | | | | | | | | | | | | | 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!
* defines for output devices' events.fgsch2008-07-021-1/+8
|
* add acpivideo. for now almost an empty skel so others can work onfgsch2008-07-021-0/+131
suspend/resume. eventually it will also manage output switching and brightness where supported. prodded by marco@