#
ece50487 |
| 09-Dec-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Disable sleep requests for 5 sec after wakeup. This is needed for some Toshiba and Thinkpad laptops. Wakeup event is generated by power button or sleep button on some laptops but this also generates
Disable sleep requests for 5 sec after wakeup. This is needed for some Toshiba and Thinkpad laptops. Wakeup event is generated by power button or sleep button on some laptops but this also generates SCI interrupt, and shutdown the system as result. So this is introduced so that acpi driver ignore given requests for certain period.
show more ...
|
#
6971b3c7 |
| 18-Nov-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Cleanups of verbose printing. All the messages for the debugging is disabled unless verbose flag is set. Also fix some messages in terms of English. The critical messages and error messages in prob
Cleanups of verbose printing. All the messages for the debugging is disabled unless verbose flag is set. Also fix some messages in terms of English. The critical messages and error messages in probe/attach routine are unchanged by this commit.
show more ...
|
#
1611ea87 |
| 06-Nov-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernat
Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernation is enabled correctly). - Add DSDT overriding support which is submitted by takawata originally. If loader tunable acpi_dsdt_load="YES" and DSDT file is set to acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml), ACPI CA core loads DSDT from given file rather than BIOS memory block. DSDT file can be generated by iasl in ports/devel/acpicatools/. - Add new files so that we can add our proposed additional code to Intel ACPI CA into these files temporary. They will be removed when similar code is added into ACPI CA officially.
show more ...
|
#
9febbb40 |
| 30-Oct-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Some improvements of control method battery driver. - Add a new MIB for battery info expire time in order to make it changeable. Battery info expire time can be specified by hw.acpi.battery.in
Some improvements of control method battery driver. - Add a new MIB for battery info expire time in order to make it changeable. Battery info expire time can be specified by hw.acpi.battery.info_expire in sec. - Add own MALLOC type and fix some potential memory leakages. - Change some frequent printings to verbose printing. - Stop timeout during acpi_cmbat_get_bst() too. This should reduce the races with BIF evaluation. - Remove acpi_cmbat_get_bif() invocation from acpi_cmbat_attach(). This was redundant because this should be called from acpi_cmbat_timeout() now.
show more ...
|
#
2d644607 |
| 29-Oct-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Some small improvements of ACPI thermal driver. - Give a guaranteed minimum cooling run time to avoid too frequent cooling system On/Off switching. The minimum cooling run time can be specifi
Some small improvements of ACPI thermal driver. - Give a guaranteed minimum cooling run time to avoid too frequent cooling system On/Off switching. The minimum cooling run time can be specified by hw.acpi.thermal.min_runtime in sec. - Refine message printing (_AC-1 -> NONE). - Add verbose mode enable/disable capability by hw.acpi.verbose in bool.
Reviewed by: acpi-jp@ folks
show more ...
|
#
f86214b6 |
| 26-Oct-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add APM compatibility feature to ACPI. This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications wit
Add APM compatibility feature to ACPI. This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS
With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-)
Reviewed by: arch@, audit@ and some guys
show more ...
|
#
887f6fb8 |
| 06-Oct-2001 |
Peter Wemm <peter@FreeBSD.org> |
Fix some 64-bit uncleanliness.
|
#
cd5178be |
| 06-Oct-2001 |
Peter Wemm <peter@FreeBSD.org> |
Fix some style bugs before fixing some real bugs.
|
#
d5519f12 |
| 30-Aug-2001 |
Mike Smith <msmith@FreeBSD.org> |
Note that now that some ISA devices will attach to ACPI, we need to keep the ivar indexes that ISA uses free.
|
#
6d63101a |
| 30-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
- Prevent the ACPI code from being loaded as a module other than at boot time. Loading as a module once the system is up and running doesn't make any sense.
- Fix acpi_FindIndexedResource (i
- Prevent the ACPI code from being loaded as a module other than at boot time. Loading as a module once the system is up and running doesn't make any sense.
- Fix acpi_FindIndexedResource (it would only check the first resource), changes the calling interface.
- Add a new helper function (acpi_AppendBufferResource) to help building buffers containing resources.
show more ...
|
#
bfae45aa |
| 21-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Convert from acpi_strerror() to AcpiFormatException()
Fix dangling include of the dear departed acpi_ecreg.h
|
#
acf72ef4 |
| 21-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
The API for loading tables changed (we no longer explicitly search for the RSDP, it's now found via a callback).
AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use AcpiOsStall() to
The API for loading tables changed (we no longer explicitly search for the RSDP, it's now found via a callback).
AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use AcpiOsStall() too)
AcpiFormatException() was changed to make more sense (it behaves like our old acpi_strerror() did), so throw acpi_strerror() away (still #defined in acpivar.h though, we need to sweep these seperately).
show more ...
|
#
6161544c |
| 20-Jul-2001 |
Takanori Watanabe <takawata@FreeBSD.org> |
Add ACPI S2-S4BIOS Suspend/Resume code. Some problems may remain.
Reviewed by:iwasaki
|
#
7d3bcec9 |
| 07-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add acpi_GetTableIntoBuffer, to aid in fetching tables.
|
#
59c82e8f |
| 07-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add support for system power profiles; select "performance" when AC power is available and "economy" when it is not.
|
#
6f69255b |
| 05-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add a new helper function for finding resources in resource buffers.
Move the ACPI generic battery code into a new file.
|
#
03b5e198 |
| 29-Jun-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add ACPI subsystem mutex support, currently disabled. This implements a private mutex we can use to wrap the ACPI subsystem proper.
|
#
c5ba0be4 |
| 28-Jun-2001 |
Mike Smith <msmith@FreeBSD.org> |
Sync to my work in progress:
- Reorder the acpi_* functions in a sensible fashion - Add acpi_ForeachPackageObject and acpi_GetHandleInScope - Use the new debugging layer/level names - Implement
Sync to my work in progress:
- Reorder the acpi_* functions in a sensible fashion - Add acpi_ForeachPackageObject and acpi_GetHandleInScope - Use the new debugging layer/level names - Implement most of the guts of the acpi_thermal module; passive cooling isn't there yet, but active cooling should work. - Implement power resource handling (acpi_powerres.c)
This compiles and mostly works, but my test coverage is small, so feedback is welcome.
show more ...
|
#
4eb77744 |
| 23-Jun-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add sysctl interface (Read-only) for temprature, AC-line and Battery. Patches for acpi_cmbat.c submitted by Munehiro Matsuda.
|
#
2a4ac806 |
| 29-May-2001 |
Mike Smith <msmith@FreeBSD.org> |
- Updates for new constant naming in the ACPI CA 20010518 update. - Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit)
- Updates for new constant naming in the ACPI CA 20010518 update. - Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit) - Fix a deadlock in the EC code (takawata) - Improve arithmetic and reduce the risk of spurious wakeup in AcpiOsSleep. - Add AcpiOsGetThreadId. - Simplify mutex code (still disabled).
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
91467fc6 |
| 31-Jan-2001 |
Mike Smith <msmith@FreeBSD.org> |
ACPI_NUMBER becomes ACPI_INTEGER. acpi_EvaluateNumber becomes acpi_EvaluateInteger.
Use acpi_EvaluateInteger instead of doing things the hard way where possible.
AcpiSetSystemSleepState (unofficia
ACPI_NUMBER becomes ACPI_INTEGER. acpi_EvaluateNumber becomes acpi_EvaluateInteger.
Use acpi_EvaluateInteger instead of doing things the hard way where possible.
AcpiSetSystemSleepState (unofficial) becomes AcpiEnterSleepState.
Use the AcpiGbl_FADT pointer rather than searching for the FADT.
show more ...
|
#
1d073b1d |
| 13-Jan-2001 |
John Baldwin <jhb@FreeBSD.org> |
Add 3 new dynamic sysctl's to control the sleep states switched to on a power button, sleep button, or lid close event. The sysctl's use the ACPI sleep state names S0, S1, S2, S3, S4, S4B, and S5.
Add 3 new dynamic sysctl's to control the sleep states switched to on a power button, sleep button, or lid close event. The sysctl's use the ACPI sleep state names S0, S1, S2, S3, S4, S4B, and S5.
Reviewed by: iwasaki
show more ...
|
#
0ae55423 |
| 08-Dec-2000 |
Mike Smith <msmith@FreeBSD.org> |
- Convert a lot of homebrew debugging output to use the ACPI CA debugging infrastructure. It's not perfect, but it's a lot better than what we've been using so far. The following rules apply
- Convert a lot of homebrew debugging output to use the ACPI CA debugging infrastructure. It's not perfect, but it's a lot better than what we've been using so far. The following rules apply to this: o BSD component names should be capitalised o Layer names should be taken from the non-CA set for now. We may elect to add some new BSD-specific layers later.
- Make it possible to turn off selective debugging flags or layers by listing them in debug.acpi.layer or debug.acpi.level prefixed with !.
- Fully implement support for avoiding nodes in the ACPI namespace. Nodes may be listed in the debug.acpi.avoid environment variable; these nodes and all their children will be ignored (although still scanned over) by ACPI functions which scan the namespace. Multiple nodes can be specified, separated by whitespace.
- Implement support for selectively disabling ACPI subsystem components via the debug.acpi.disable environment variable. The following components can be disabled: o bus creation/scanning of the ACPI 'bus' o children attachment of children to the ACPI 'bus' o button the acpi_button control-method button driver o ec the acpi_ec embedded-controller driver o isa acpi replacement of PnP BIOS for ISA device discovery o lid the control-method lid switch driver o pci pci root-bus discovery o processor CPU power/speed management o thermal system temperature detection and control o timer ACPI timecounter Multiple components may be disabled by specifying their name(s) separated by whitespace.
- Add support for ioctl registration. ACPI subsystem components may register ioctl handlers with the /dev/acpi generic ioctl handler, allowing us to avoid the need for a multitude of /dev/acpi* control devices, etc.
show more ...
|
Revision tags: release/4.2.0 |
|
#
15e32d5d |
| 28-Oct-2000 |
Mike Smith <msmith@FreeBSD.org> |
Initial FreeBSD OSPM (operating system power management) modules for ACPICA. Most of these are still works in progress. Support exists for:
- Fixed feature and control method power, lid and sleep
Initial FreeBSD OSPM (operating system power management) modules for ACPICA. Most of these are still works in progress. Support exists for:
- Fixed feature and control method power, lid and sleep buttons. - Detection of ISA PnP devices using ACPI namespace. - Detection of PCI root busses using ACPI namespace. - CPU throttling and sleep states (incomplete) - Thermal monitoring and cooling control (incomplete) - Interface to platform embedded controllers (mostly complete) - ACPI timer (incomplete) - Simple userland control of sleep states. - Shutdown and poweroff.
show more ...
|