Created attachment 21740 [details]
dmesg after suspend/resume
My HP Pavilion dv4-1125br suspends and resumes correctly. However, the battery information provided by ACPI disappears. Before suspend I can get battery information in /proc/acpi/battery/BAT0/state. After the suspend/resume, BAT0/state shows not present.
This is a fairly recent laptop, and this problem is present in Fedora kernels as early as 2.6.27. I've found bug reports of this issue for Ubunto and Arch Linux, so I don't believe it is Fedora specific.
please attach kernel config.
Created attachment 21752 [details]
Please provide acpidump output.
Please recompile kernel with '#define DEBUG' uncommented in drivers/acpi/ec.c and attach output of dmesg.
Created attachment 21754 [details]
Created attachment 21757 [details]
dmesg after suspend/resume with debug on
hm, it looks like EC tries to send something to HP_WMI driver, do you have it loaded after resume?
Please add some printk() to hp_wmi_notify() in drivers/platform/hp-wmi.c
(In reply to comment #6)
> hm, it looks like EC tries to send something to HP_WMI driver, do you have it
> loaded after resume?
The hp-wmi driver isn't loaded before suspend or after resume. Only the wmi is present in both situations.
> Please add some printk() to hp_wmi_notify() in drivers/platform/hp-wmi.c
Done. The hp_wmi_notify() function is never called.
Will you please attach the following output before and after suspend/resume?
acpidump --addr 0xBBBBEED4 --length 0x000000CF -o nvst
Created attachment 22239 [details]
acpidump output before suspend
Created attachment 22240 [details]
acpidump output after resume
(In reply to comment #8)
> Hi, Gustavo
> Will you please attach the following output before and after
> acpidump --addr 0xBBBBEED4 --length 0x000000CF -o nvst
Created attachment 23467 [details]
[PATCH 1/1] ACPI: add DMI entry for SCI_EN resume quirk on HP dv4
This is the same issue as bug# 13745 but on different hardware. The fix is similar. Also, this makes it a regression.
I'm attaching a patch that I have tested on my system (184.108.40.206 and 2.6.32-rc5) and solves the bug.
Alexey, can you reassign this to "Power-Sleep-Wake"? Thanks.
I think we've already have a patch (comment #12) for this issue, right?
please re-open it if I'm wrong.
Yes and no. :)
We have a patch, but it isn't applied in any tree. I just created it and attached to this bugzilla. I assumed it would be picked up. Who should I tell about it?
If you have a patch, which solves a bug, this bug should be marked RESOLVED/CODE_FIX. This is a clue for Len Brown (maintainer of whole Linux ACPI thing) to pick it up and send to Linus for inclusion into the next kernel.
I'm switching RESOLVED/CODE_FIX now, so this is now up to Len to pick it up.
i have the same problem with compaq presario laptop:
Product Name: Compaq Presario CQ40 Notebook PC
patch in comment #12 applied to acpi tree
drivers/acpi/sleep.c DMI for dv4 and CQ40 shipped in Linux 2.6.32-rc7
more activity on this topic is in bug 13745