Bug 7887

Summary: S4 resume: ac/battery update stops - Acer Ferrari 3200
Product: ACPI Reporter: Vladimir Lebedev (vladimir.p.lebedev)
Component: Power-Sleep-WakeAssignee: Vladimir Lebedev (vladimir.p.lebedev)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: Subsystem:
Regression: --- Bisected commit-id:
Attachments: move GPEs disabling to sleep_prepare
acpi_sleep_init call correction
call acpi_sleep_init from acpi_init

Description Vladimir Lebedev 2007-01-25 16:09:18 UTC
Most recent kernel where this bug did *NOT* occur:
Distribution:
Hardware Environment:Acer Ferrari 3200
Software Environment:*
Problem Description:ACPI interrupts are enabled before switching to loaded 
image; sometime ac/battery update stops after resume from disk.

Steps to reproduce:Suspend/Resume about 6 times.
Comment 1 Vladimir Lebedev 2007-01-25 16:13:31 UTC
Created attachment 10194 [details]
move GPEs disabling to sleep_prepare

move GPEs disabling to sleep_prepare() function
Comment 2 Vladimir Lebedev 2007-01-25 16:16:22 UTC
Created attachment 10195 [details]
acpi_sleep_init call correction

acpi_sleep_init call correction
Comment 3 Vladimir Lebedev 2007-01-25 16:31:46 UTC
Len, these patches fix the problem on computers Acer and do not corrupt all 
other available computers.


Comment 4 Alexey Starikovskiy 2007-02-06 05:06:54 UTC
Created attachment 10311 [details]
call acpi_sleep_init from acpi_init

Patch is updated to remove compiler warning and #ifdef in bus.c
Comment 5 Len Brown 2007-02-09 22:24:49 UTC
patches in comment#1 and comment #4 applied to acpi-test.
Comment 6 Len Brown 2007-02-20 22:41:06 UTC
patches in comment#1 and comment #4 shipped in Linux-2.6.21-rc1.
Closed.