Hi. On Sun, 12 Sep 2010 20:26:07 +0900 Norikatsu Shigemura <nork_at_FreeBSD.org> wrote: > Humm.. Why only C3 state appear when unplug power? :-( Ah, I got it. Every times, evaluating _CST on acpi_cpu_cx_cst, and _CST is a black box because I couldn't see _CST. Maybe, _CST look at AC status. So I think that following patch is OK. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- sys/dev/acpica/acpi_cpu.c.orig 2010-09-12 01:31:38.144243000 +0900 +++ sys/dev/acpica/acpi_cpu.c 2010-09-12 20:53:49.252917961 +0900 _at__at_ -690,19 +690,11 _at__at_ sc->cpu_cx_count++; continue; case ACPI_STATE_C2: - if (cx_ptr->trans_lat > 100) { - ACPI_DEBUG_PRINT((ACPI_DB_INFO, - "acpi_cpu%d: C2[%d] not available.\n", - device_get_unit(sc->cpu_dev), i)); - continue; - } sc->cpu_non_c3 = i; break; case ACPI_STATE_C3: default: - if (cx_ptr->trans_lat > 1000 || - (cpu_quirks & CPU_QUIRK_NO_C3) != 0) { - + if (cpu_quirks & CPU_QUIRK_NO_C3) { ACPI_DEBUG_PRINT((ACPI_DB_INFO, "acpi_cpu%d: C3[%d] not available.\n", device_get_unit(sc->cpu_dev), i)); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Thank you. -- Norikatsu Shigemura <nork_at_FreeBSD.org>Received on Sun Sep 12 2010 - 10:01:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC