Bug 2719
Summary: | S5 reboots if Wake up on RTC enabled - ATI 9100I | ||
---|---|---|---|
Product: | ACPI | Reporter: | Per Weijnitz (per.weijnitz) |
Component: | Power-Off | Assignee: | Alexey Starikovskiy (alexei.y.starikovsky) |
Status: | REJECTED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | acpi-bugzilla, shaohua.li |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.6 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Per Weijnitz
2004-05-16 16:44:03 UTC
A small correction: the BIOS option is called "RTC Alarm Resume" (not "Wakeup on RTC"). I expect this is an ACPI GPE wakeup issue. If someone needs more information on this in order to figure out what can be wrong, don't hesitate to post a request. BTW, power off works in Windows2000 with the "RTC Alarm Resume" disabled and enabled. So somehow there must be a way. The problem is still there in 2.6.7 and 2.6.8.1. Could you please test if latest kernel(>2.6.9-rc1) has this problem? If yes, could you please give us dmesg output? Does this happen both when plugged in to AC and also when running on battery? Can you please check if this patch helps: http://bugme.osdl.org/attachment.cgi?id=4114&action=view Perhaps we should disable RTC wakeup before shutdown. How about this patch: --- 2.6/drivers/acpi/sleep/poweroff.c.orig 2004-11-23 15:54:36.371257312 +0800 +++ 2.6/drivers/acpi/sleep/poweroff.c 2004-11-23 15:55:24.563930912 +0800 @@ -16,6 +16,8 @@ acpi_power_off (void) printk("%s called\n",__FUNCTION__); /* Some SMP machines only can poweroff in boot CPU */ set_cpus_allowed(current, cpumask_of_cpu(0)); + acpi_clear_event(ACPI_EVENT_RTC); + acpi_disable_event(ACPI_EVENT_RTC, 0); acpi_enter_sleep_state_prep(ACPI_STATE_S5); ACPI_DISABLE_IRQS(); test result? |