summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
Commit message (Collapse)AuthorAgeFilesLines
* Purge _USE_BERKELEY_YACC definition from Makefile. This ugly hack is nojkim2011-04-151-1/+0
| | | | long necessary for us since r220680.
* Merge ACPICA 20110413.jkim2011-04-152-14/+26
|
* Merge ACPICA 20110211.jkim2011-02-122-24/+27
|
* Merge ACPICA 20110112. Switch to BSD/GPLv2 dual license[1].jkim2011-01-131-2/+2
| | | | Discussed with: core [1]
* Merge ACPICA 20101209.jkim2010-12-151-1/+1
|
* Merge ACPICA 20100915.jkim2010-09-162-3/+4
|
* When ACPI reports current battery consumption rate in mAmps, print it alsomav2010-08-241-16/+21
| | | | | in mWatts. Values in mAmps are not always suitable, because they depend on battery voltage, which depends on battery type and charge level.
* use uintmax_t instead of uint64_t.takawata2010-08-131-1/+1
| | | | Pointed out by: des.
* Fix build on amd64 and ia64.takawata2010-08-131-4/+3
|
* Fix breakage on 64bit architecture by using inttypes.h macro.takawata2010-08-121-1/+2
|
* Fix tindebox breakage about format warning.takawata2010-08-121-1/+1
|
* Add TCG ACPI spec table (TCPA) support.takawata2010-08-112-0/+274
| | | | Submitted by: Hans-Joerg_Hoexer@genua.de
* Merge ACPICA 20100806.jkim2010-08-062-3/+4
|
* Merge ACPICA 20100702.jkim2010-07-062-2/+3
|
* Merge ACPICA 20100428.jkim2010-04-282-4/+7
|
* Merge ACPICA 20100304.jkim2010-03-052-8/+8
|
* Merge ACPICA 20100121.jkim2010-01-211-7/+7
|
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-023-2/+2
|
* Merge ACPICA 20091112.jkim2009-11-161-2/+2
|
* Merge ACPICA 20091013.jkim2009-10-191-1/+2
|
* Catch up with ACPICA 20090903.jkim2009-09-111-5/+5
|
* - Use the headers from ACPI-CA to define various constants and structuresjhb2009-08-254-740/+523
| | | | | | | | | | | | for table layouts, etc. rather than homerolling our own structures and constants in acpidump.h. - Verify the extended checksum on the RSDP. - Handle new ACPI 3.0 fields in MADT including X2APIC entries and UIDs for local SAPICs. - Add handling for new ACPI 3.0 flags in the FADT. Reviewed by: jkim MFC after: 1 month
* Parse the System Resource Affinity Table ('SRAT') used to describe affinityjhb2009-07-292-8/+148
| | | | | | | | relationships between CPUs and memory. Reviewed by: jkim Approved by: re (kib) MFC after: 1 week
* Import ACPICA 20090521.jkim2009-06-056-23/+64
|
* Update to reflect reality:rpaulo2008-05-201-3/+8
| | | | | | | * iasl(8) supports ACPI 3.0b. * Add new options. MFC after: 1 week
* These are the things that the tinderbox has problems with because itjb2007-11-201-0/+1
| | | | | | | | doesn't use the default CFLAGS which contain -fno-strict-aliasing. Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
* Use an explicit pointer cast since NULL isn't guaranteed to be definedjb2007-11-181-1/+1
| | | | | | as a pointer type. Submitted by: Christoph Mallon - christoph mallon at gmx de
* Use a NULL instead of a zero to avoid a compiler warning about a missing ↵jb2007-11-181-1/+1
| | | | sentinel.
* Fix acpidump(8) on ia64. Revision 1.13 introduced an uninitializedmarcel2007-07-281-0/+2
| | | | | | | variable bug that's hidden by the precense of the hint_acpi_0_rsdp hint on 386 and amd64. There's never a need for such hint on ia64. Approved by: re (kensmith)
* Update the suspend/resume user API while maintaining backwards compat.njl2007-06-211-28/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvements: * /etc/rc.suspend,rc.resume are always run, no matter the source of the suspend request (user or kernel, apm or acpi) * suspend now requires positive user acknowledgement. If a user program wants to cancel the suspend, they can. If one of the user programs hangs or doesn't respond within 10 seconds, the system suspends anyway. * /dev/apm is clonable, allowing multiple listeners for suspend events. In the future, xorg-server can use this to be informed about suspend even if there are other listeners (i.e. apmd). Changes: * Two new ACPI ioctls: REQSLPSTATE and ACKSLPSTATE. Request begins the process of suspending by notifying all listeners. acpi is monitored by devd(8) and /dev/apm listener(s) are also counted. Users register their approval or disapproval via Ack. If anyone disapproves, suspend is vetoed. * Old user programs or kernel modules that used SETSLPSTATE continue to work. A message is printed once that this interface is deprecated. * acpiconf gains the -k flag to ack the suspend request. This flag is undocumented on purpose since it's only used by /etc/rc.suspend. It is not intended to be a permanent change and will be removed once a better power API is implemented. * S5 (power off) is no longer supported via acpiconf -s 5 or apm -z/-Z. This restores previous behavior of halt/shutdown -p being the interface. * Miscellaneous improvements to error reporting Approved by: re
* Correct HPET header handling.takawata2007-03-272-3/+3
| | | | MFC after: 7 days
* Catch up with ACPI-CA 20070320 import.jkim2007-03-224-40/+39
|
* Document exact command preferred for sending ASL as part of bug reports.njl2007-03-142-0/+8
|
* 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.
OpenPOWER on IntegriCloud