From a8ba35fb0023bb456954993d3c55712666b50d13 Mon Sep 17 00:00:00 2001 From: njl Date: Sun, 18 Mar 2007 01:03:03 +0000 Subject: Disable burst mode by default. Testing has shown that while it works on most systems, it causes the EC not to respond for some Acer and Compaq/HP laptops. This is the default value for Linux also. For systems that need it, burst mode can be enabled via the tunable/sysctl: debug.acpi.ec.burst="1" --- sys/dev/acpica/acpi_ec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/acpica') diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c index 96669b3..d099e01 100644 --- a/sys/dev/acpica/acpi_ec.c +++ b/sys/dev/acpica/acpi_ec.c @@ -303,9 +303,9 @@ ACPI_SERIAL_DECL(ec, "ACPI embedded controller"); SYSCTL_DECL(_debug_acpi); SYSCTL_NODE(_debug_acpi, OID_AUTO, ec, CTLFLAG_RD, NULL, "EC debugging"); -static int ec_burst_mode = TRUE; +static int ec_burst_mode; TUNABLE_INT("debug.acpi.ec.burst", &ec_burst_mode); -SYSCTL_INT(_debug_acpi_ec, OID_AUTO, burst, CTLFLAG_RW, &ec_burst_mode, TRUE, +SYSCTL_INT(_debug_acpi_ec, OID_AUTO, burst, CTLFLAG_RW, &ec_burst_mode, 0, "Enable use of burst mode (faster for nearly all systems)"); static int ec_poll_time = EC_POLL_TIME; TUNABLE_INT("debug.acpi.ec.poll_time", &ec_poll_time); -- cgit v1.1