Age | Commit message (Collapse) | Author |
|
from mlarkin@ and me, with some amd64 fixes thrown in by deraadt@
ok marco@, deraadt@, pirofti@, mlarkin@
|
|
a suspend request event to apmd(8) instead of suspending immediately. Also
keep track of whether /dev/apm and /dev/apmctl are currently open, such that
we can still suspend immediately if apmd(8) isn't running.
ok deraadt@, marco@, pirofti@, jsing@, oga@
|
|
resuming via calls to aml _SST method. This also makes the "moon" LED on
thinkpads to blink during resume and cease when resume is completed.
ok pirofti@
|
|
This enables by default the suspend/resume paths in the kernel.
Okay deraadt@.
|
|
|
|
ok deraadt@, krw@, marco@
|
|
Some systems had invalid entries in RSDT/XSDT.
ok marco@
|
|
Counter in parent for disabling setperf when passive cooling enabled
ok marco@
|
|
Useful for acpitz, acpipwrres, etc.
|
|
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!
|
|
okay marco@
|
|
code from mlarkin and me
help from art,toby,jordan and several others
ok jordan, go for it deraadt
|
|
of ACPI S3 suspend/resume support. This is for i386.
Help/comments from art, toby, marco, jordan, kurt
ok marco@, kurt@
|
|
Originaly from jordan
|
|
ok brad@
|
|
before pcibios(4), and then.... if acpi(4) attaches, skip pcibios(4) since
it messes the machines up. Fixes claudio's HP dl320 G5, and almost assuredly
others.
ok kettenis
|
|
to reboot. This is required for some quirky sis machines
and likely others to reboot.
Tested by many. 'commit early commit often' deraadt@
|
|
|
|
Problem reported by form@. Fix idea by kettenis@.
Lots of help from deraadt@. Tested by deraadt@, form@ and me.
ok deraadt marco
|
|
|
|
ok beck@,weingart@,gwk@
|
|
retreive p_state data as spelled out in the amd64 bios and kernel
developers guide. This code is still a little rough around the edges but
has been tested by myself on a tyan machine and by phessler at theapt
dot org on an HP DL145. This diff also takes a first stab and cleaning up
the acpicpu dmesg spam.
ok tedu, marco
|
|
ok marco@
|
|
Scalling" a global flag set by acicpu attach to indicate that ACPI is
handling fvs through the _PSS objects. This will fix disappearing
EST/powernow when booting kernels with acpi enabled, as acpicpu isnt
compiled into GENERIC yet. Also in cases where acpicpu is built in and
legacy EST/powernow work but acpi is missing the _PSS object, the legacy
routines will be used.
tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net>
ok marco@, dim@
|
|
Use the same tsleep/wakeup mechanism as the interrupt code to keep it non-
concurrent.
|
|
|
|
|
|
|
|
prodded dlg, ok jordan
|
|
as APM therefore userspace can now retrieve power information in the same
fashion as all other apm arches (zaurus, macppc, i386 etc).
To use force the use of acpi device like so: apmd -f /dev/acpi
ok jordan@
|
|
ok marco@
|
|
ok marco@
|
|
Also works with ACPIEC; need to fixup acpiec.c to remove original interrupt handler
ok marco@
|
|
ok marco@
|
|
ok marco@ deraadt@ testing & ok gwk@
|
|
detected at attach time, currently unused.
ok marco@
|
|
appropriate time in acpi_enter_sleep_state().
ok marco@
|
|
Moved powerdown code to button device
ok marco@
|
|
|
|
ok marco@
|
|
ok marco@
|
|
Enable interrupts.
Added peripheral code to make this work.
marco:
Replace softintr and other types of interrupts with a handler with context.
Fixed interrupt magic for GPEs.
Some KNF
This is work done by jordan and I but has to be a single commit.
|
|
from jordan@
|
|
Fixed bus_space_map for i386/amd64
Added _BST and _BIF to acpibat to get status/info
ok marco@
|
|
Added helper methods for buffer/field evaluation
Fixed broken indentation on dsdt.c
ok marco@
|
|
ok marco@
|
|
|
|
acpi_enter_sleep_state().
|
|
|
|
ok marco@
|