NetBSD/sys/dev/acpi
xtraeme 7ade6d03ad Fix the problems described in:
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html

- Introduce sme_class into the sysmon_envsys struct to specify a
  class; currently there are two classes: SME_CLASS_ACADAPTER and
  SME_CLASS_BATTERY.

- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
  all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
  any SME_CLASS_ACADAPTER connected.

- Add the 'low-power' event into the sensor_battery script that will
  shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
  not running, cpu_reboot(9) with RB_POWERDOWN is used.

- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
  SME_CLASS_BATTERY device.

Update the documentation accordingly to these changes.
2007-10-10 23:25:39 +00:00
..
acpica
acpi_acad.c Fix the problems described in: 2007-10-10 23:25:39 +00:00
acpi_apm.c
acpi_bat.c Fix the problems described in: 2007-10-10 23:25:39 +00:00
acpi_button.c
acpi_ec.c
acpi_ecreg.h
acpi_lid.c
acpi_madt.c
acpi_madt.h
acpi_osd.h
acpi_pci_link.c
acpi_powerres.c
acpi_quirks.c
acpi_resource.c Add ACPI address32 resource type support (DWord Address Space 2007-09-28 15:16:16 +00:00
acpi_timer.c x86 changes for pcc and LKMs. 2007-09-26 19:48:34 +00:00
acpi_timer.h
acpi_tz.c Set the monitor value only once in the acpitz_init_envsys(), 2007-10-07 23:14:53 +00:00
acpi.c Print ACPI device name in a way that Jared McNeill and I find prettier. 2007-08-08 08:52:31 +00:00
acpica.h
acpidevs
acpidevs_data.h
acpireg.h
acpivar.h Print ACPI device name in a way that Jared McNeill and I find prettier. 2007-08-08 08:52:31 +00:00
aiboost.c Use a rwlock(9) to protect access while refreshing data in 2007-08-30 18:29:11 +00:00
atppc_acpi.c
attimer_acpi.c Use a two clause license for all the code I contributed. 2007-10-06 07:21:02 +00:00
com_acpi.c
devlist2h.awk
fdc_acpi.c
fdc_acpireg.h
files.acpi apm emulation needs envsys. From Jukka Salmi on the current-users list. 2007-08-23 10:04:07 +00:00
hpet_acpi.c
joy_acpi.c Use a two clause license for all the code I contributed. 2007-10-06 07:21:02 +00:00
lpt_acpi.c
Makefile.acpidevs
mpu_acpi.c Use a two clause license for all the code I contributed. 2007-10-06 07:21:02 +00:00
pckbc_acpi.c Sort IO resources before attempting to attach; resolves issues on ACPI 2007-10-05 18:31:46 +00:00
pcppi_acpi.c Use a two clause license for all the code I contributed. 2007-10-06 07:21:02 +00:00
TODO
ug_acpi.c
wss_acpi.c
ym_acpi.c