OpenGrok
Cross Reference: acpi_wakedev.h
xref
: /
src
/
sys
/
dev
/
acpi
/
acpi_wakedev.h
Home
|
History
|
Annotate
|
Download
|
only in
acpi
History log of
/src/sys/dev/acpi/acpi_wakedev.h
Revision
Date
Author
Comments
1.6
19-Feb-2011
jruoho
Revisit the wake-device code once more.
1. Remove the AcpiEnableGpe() call. This was wrong.
2. Only call _PSW or _DSW for devices that are scheduled for wake.
This was an old bug.
3. Only enable wake GPEs during suspend. Disabling these for
devices not setup for wake was causing problems.
4. No wake GPEs should be enabled at runtime.
Unconditionally disable these during resume.
This should make the wake-device code work again. Note that waking via
pckbd(4) has always been unreliable; the _PRW object is not typically located
under the PC keyboard object, but in the parent of it (e.g. the LPC bridge).
1.5
17-Feb-2011
jruoho
As explained in the new ACPICA documentation, as of ACPICA 20101207, the
_PRW methods are no longer automatically executed as part of the ACPICA
initialization. Refactor and rewrite the wake-device code to account this.
1.4
16-Mar-2010
jruoho
branches: 1.4.2; 1.4.4; 1.4.6;
With the intent of making 'struct acpi_devnode' as the central place for
information related to ACPI device nodes: (a) introduce a generic scan
function for ACPI device driver "capabilities", and (b) eliminate local data
structures from ACPI wake-devices. Discussed with jmcneill@.
1.3
05-Mar-2010
jruoho
branches: 1.3.2;
Preparing a device for wakeup involves:
(a) turning on all power resources required by the device; and
(b) executing _DSW (or _PSW) control method.
This implements (b). Ok jmcneill@.
1.2
05-Mar-2010
jruoho
Protect all header files against multiple inclusions.
1.1
04-Aug-2009
jmcneill
branches: 1.1.2; 1.1.4; 1.1.6;
add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.
by default, the following devices are enabled for wake:
- sleep/power buttons
- lid switch
- pc kbd controller
reviewed by: joerg
1.1.6.1
30-Apr-2010
uebayasi
Sync with HEAD.
1.1.4.2
05-Sep-2009
bouyer
Pull up following revision(s) (requested by jmcneill in ticket #896):
sys/dev/acpi/acpi_button.c: revision 1.27 via patch
sys/dev/acpi/acpi_wakedev.h: revision 1.1 via patch
sys/dev/acpi/acpi_wakedev.c: revision 1.1 via patch
sys/dev/acpi/files.acpi: revision 1.55 via patch
sys/dev/acpi/acpi.c: revision 1.127 via patch
sys/dev/acpi/acpi_lid.c: revision 1.27 via patch
add hw.wake.* sysctl subtree for toggling which devices are allowed to
restore the system from sleep. set/clear wake GPEs as specified before
entering sleep.
by default, the following devices are enabled for wake:
- sleep/power buttons
- lid switch
- pc kbd controller
reviewed by: joerg
1.1.4.1
04-Aug-2009
bouyer
file acpi_wakedev.h was added on branch netbsd-5 on 2009-09-05 11:34:26 +0000
1.1.2.4
11-Aug-2010
yamt
sync with head.
1.1.2.3
11-Mar-2010
yamt
sync with head
1.1.2.2
19-Aug-2009
yamt
sync with head.
1.1.2.1
04-Aug-2009
yamt
file acpi_wakedev.h was added on branch yamt-nfs-mp on 2009-08-19 18:47:03 +0000
1.3.2.2
05-Mar-2011
rmind
sync with head
1.3.2.1
30-May-2010
rmind
sync with head
1.4.6.1
05-Mar-2011
bouyer
Sync with HEAD
1.4.4.1
06-Jun-2011
jruoho
Sync with HEAD.
1.4.2.2
21-Apr-2010
matt
sync to netbsd-5
1.4.2.1
16-Mar-2010
matt
file acpi_wakedev.h was added on branch matt-nb5-mips64 on 2010-04-21 00:27:33 +0000
Indexes created Thu Oct 02 01:09:59 GMT 2025