summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with ACPI-CA 20051021 importjkim2005-11-014-63/+108
|
* Correct column alignment.njl2005-07-281-1/+1
|
* Fix nits in reporting battery information and add battery status reporting.njl2005-07-281-35/+54
| | | | | | | | Rate units are mA/mW, not mAh/mWh. Get full battery status and time remaining from ACPIIO_BATT_GET_BATTINFO instead of BST. PR: bin/83672 MFC after: 2 days
* Use the current BST/BIF ioctls, not the deprecated ones.njl2005-07-221-2/+2
| | | | MFC after: 2 days
* Fix a small style problem and add a __packed pragma for safety.scottl2005-02-171-1/+1
|
* Note addition of MCFG support.njl2005-02-141-1/+2
|
* Add support for parsing MCFG tables.scottl2005-02-142-0/+36
|
* Fixed the misplaced $FreeBSD$.ru2005-02-091-1/+1
|
* Sort sections.ru2005-01-181-16/+16
|
* Catch up with the kernel and set any global variables we are using, innjl2005-01-031-0/+6
| | | | | | particular, enabling interpreter workarounds for bad ASL. MFC after: 1 day
* o Report charge/discharge rate and remaining capacity in the properimp2004-11-241-7/+38
| | | | | | | units (as specified in _BIF). (noted by Bruno Ducrot) o In looking in the standard, if the cap numbers are 0xffffffff, then acpi is reporting unknown for that field. Report unknown numbers properly. o Update the state to reflect charging, discharging and critical.
* phk jumped the gun and posted what looks like a preliminary version ofimp2004-11-241-4/+8
| | | | | | | | my patches for this information. Commit my more complete version. This version isn't complete yet, since some details aren't handled right just yet. Poaching by: phk
* Dump current status of battery as well.phk2004-11-241-0/+8
| | | | | The -i code doesn't really belong here in the first place I would think, but keep it together for now.
* Minor style(9) before possible larger commits.imp2004-11-161-4/+2
|
* Somehow I missed this last night, acpi_init() doesn't return an int.philip2004-11-131-1/+1
| | | | Spotted by: Randy Bush <randy@psg.com>
* With the addition of a proper prototype, this is now WARNS=6 clean.philip2004-11-132-1/+2
|
* Two uint32_t casts crept in where they shouldn't have.philip2004-11-131-2/+2
| | | | ACPI_TYPE_INTEGER can be 64 bits wide in acpi v2.
* Change some formats and add some casts to make thisphilip2004-11-132-22/+20
| | | | | | | WARNS=2 clean, and mark it as such. PR: 71672 (partly) Reviewed by: njl
* Update a comment that was outdated.njl2004-10-051-1/+1
|
* Back out the -s flag and go back to dumping the SSDTs by default.njl2004-10-054-22/+6
|
* Update the man page for the -s flag and other changes that we've missed.njl2004-10-051-5/+19
| | | | MFC after: 3 days
* Add the -s flag to make dumping SSDTs optional (disabled by default).njl2004-10-053-5/+16
| | | | | | | | | Since we can only override the DSDT, a custom ASL dumped previously that contained SSDTs would result in lots of multiple definition errors. A longer-term fix involves adding the ability to override SSDTs to ACPI-CA. MFC after: 3 days
* When one entry in the RSDT is corrupted, just skip it instead of bailing out.njl2004-08-181-2/+5
| | | | | | | | | This gets us the info we need on systems which have proprietary tables that don't match the standard. For instance, an AMI system has a table of type "OEMB" with an invalid checksum. Tested by: Maxim Maximov <mcsi_at_mcsi.pp.ru> MFC after: 1 day
* Update man page for supported table types.njl2004-08-181-5/+2
| | | | MFC after: 1 day
* Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as allnjl2004-08-182-31/+4
| | | | | | | | | | callers. These ioctls attempted to enable and disable the ACPI interpreter at runtime. In practice, it is not possible to boot with ACPI and then disable it on many systems and trying to do so can cause crashes, interrupt storms, etc. Binary compatibility with userland is retained. MFC after: 2 days
* We now handle SSDT tables. Remove a reference from the BUGS sectionmarcel2004-08-161-2/+4
| | | | | | | | and explicitly mention SSDT when we talk about the DSDT so that people don't have to guess whether it includes the SSDT. While here, touch date. Pointed out by: le@
* Comment out the ability to enable/disable ACPI at runtime. This appearsnjl2004-08-151-0/+4
| | | | | to not work reliably and crash some systems. It is not supported at all on others. Pending discussion, the underlying ioctls will be removed.
* Add support for SSDT tables. Dumping or disassembling the DSDT willmarcel2004-08-133-20/+58
| | | | | | | | | now include the contents if any SSDT table as well. This makes use of the property that one can concatenate the body of SSDT tables to the DSDT, updating the DSDT header (length and checksum) and end up with a larger and valid DSDT table. Hence, this also works with -f. Reviewed by: njl@
* Removed trailing whitespace.ru2004-07-021-2/+2
|
* Also print out the standard header for FADT since it has one.njl2004-06-301-7/+12
|
* Assorted markup, grammar, and spelling fixes.ru2004-06-131-38/+57
|
* Tidy up markup.ru2004-06-061-19/+24
|
* Expand contraction.ru2004-06-041-1/+1
|
* Markup nit: make the list of options look better.ru2004-06-041-1/+1
|
* Unify the start/size parameters for the RSDP search area. Don't bothernjl2004-05-282-4/+6
| | | | | | trying to exclude the top end of the range since it should hurt to overlap by 4 bytes in the off-chance the RSDP signature appears incorrectly at the very top of our search space.
* Use the correct location of the EBDA for searching for the RSDP.njl2004-05-252-19/+31
| | | | | | The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E. Pointed out by: robert.moore AT intel.com
* Add suspend/resume support to the debugger.njl2004-05-251-1/+1
|
* If the revision is 0, don't trust the length in the RSDP. Instead assumenjl2004-05-161-2/+7
| | | | an ACPI version 1.0 length.
* Read in the entire RSDP but only run the standard checksum over thenjl2004-05-161-7/+12
| | | | | | version 1 header. Add comments to explain what we're doing here better. Reported by: Alex Vasylenko <lxv@omut.org>
* Instead of scanning the entire lower 1 MB of RAM, only scan locationsnjl2004-05-142-29/+53
| | | | | | | | | | where the RSD PTR can actually occur. According to section 5.2.2 of the ACPI spec, we only consider two regions for the base address: 1. EBDA (0x0 - 0x3FF) 2. High memory (0xE0000 - 0xFFFFF) I don't know whether this fixes any actual problems but is more correct.
* Minor style issues.des2004-05-103-6/+6
|
* Instead of using a static, check for the FADT revision before using it.njl2004-04-181-12/+20
| | | | | | This fixes a bug where acpidump -d crashed (but not -t -d). Submitted by: Alex Vasylenko <lxv@omut.org>
* Fix style breakage.takawata2004-03-051-0/+1
| | | | Noticed by: njl
* Make unprivilaged user can see battery info.takawata2004-03-041-2/+5
|
* I don't normally use my middle name, so remove it from attributions indes2004-01-251-2/+2
| | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
* - Use the standard .y and .l transformation rules -- this fixesru2004-01-131-16/+11
| | | | | | | | | | | the usual parallel make race in custom .y rules. - Fixed some style bugs. - Removed -v from YFLAGS. Prodded by: bde Reviewed by: bde, njl
* Use my newly acquired magic stick and put aslcompiler.y.h intoru2004-01-111-3/+4
| | | | | | | | | SRCS to teach make(1) that many .c sources are dependent on it. This fixes parallel (-j) builds and makes it possible to build individual .o files separately. While here, removed PROG from CLEANFILES -- it's taken care of already by bsd.prog.mk.
* Clean up the check for invalid X_DSDT and X_FACS portions of the FADT.njl2004-01-041-16/+25
| | | | | Add fadt_revision for telling if the FADT has correct 64 bit addresses, separate from whether the XSDT has legal 64 bit addresses.
* Add support for /etc/rc.suspend and /etc/rc.resume for ACPI. They arenjl2003-12-302-4/+31
| | | | | called directly from acpiconf(8). Change both scripts to take a subsystem (apm|acpi) and sleep level (suspend,standby|1-5) argument.
* Add a newline even if IAPC_BOOT_ARCH == 0.njl2003-10-291-1/+2
|
OpenPOWER on IntegriCloud