This reminds me of my local patch which I wrote and forgot about deep in the git :)
This hack was required to have working USB ports on X61 after resume, but I'm not sure whether it's still required because I don't have X61 handy anymore... On Mon, 8 Jul 2013 11:09:20 -0700 Adrian Chadd <adr...@freebsd.org> wrote: > On 7 July 2013 22:00, Ian Smith <smi...@nimnet.asn.au> wrote: > > > Checking one more point .. do the USB ports come up ok if you originally > > boot with nothing plugged in? If so (or if not), does that local APIC > > Yes. > > > error message appear the same then too? > > > > > No > > > -adrian > _______________________________________________ > freebsd-a...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org" -- -|-__ 山本 拓 / YAMAMOTO, Taku | __ < <t...@tackymt.homeip.net> - A chicken is an egg's way of producing more eggs. -
commit 5df85bbf9a02f5bd116bc8520aba2d6b4ee1b2fb Author: Taku YAMAMOTO <t...@tackymt.homeip.net> Date: Thu Feb 14 01:07:22 2013 +0900 Fix GPE handling on sleeping. (found on X61) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index da252c4..2ccf08a 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -2905,6 +2905,8 @@ acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate) if (acpi_parse_prw(handle, &prw) != 0) return (ENXIO); dev = acpi_get_device(handle); + if (dev == NULL || (acpi_get_flags(dev) & ACPI_FLAG_WAKE_ENABLED) == 0) + return (0); /* * The destination sleep state must be less than (i.e., higher power) @@ -2918,7 +2920,7 @@ acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate) if (bootverbose) device_printf(dev, "wake_prep disabled wake for %s (S%d)\n", acpi_name(handle), sstate); - } else if (dev && (acpi_get_flags(dev) & ACPI_FLAG_WAKE_ENABLED) != 0) { + } else { acpi_pwr_wake_enable(handle, 1); acpi_SetInteger(handle, "_PSW", 1); if (bootverbose)
_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"