http://bugzilla.kernel.org/show_bug.cgi?id=1752


a...@deds.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17485|0                           |1
        is obsolete|                            |
  Attachment #17487|0                           |1
        is obsolete|                            |




------- Comment #134 from a...@deds.nl  2009-03-14 07:48 -------
Created an attachment (id=20520)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=20520&action=view)
metalog after comment #130 and comment #131

Back again, and I did the following after comment #130 and #131

01. Compiled a new kernel (vanilla-sources-2.6.29_rc8 *WITHOUT* patch), and
rebooted
02. Followed http://www.gentoo.org/doc/en/power-management-guide.xml#doc_chap7
to quickly setup Sleep (S3) and Hibernate (S4) swsusp
03. Did lspci -vxxx (attachment lspci.out snip1)
04. Tried Fn-Suspend, button on/off, lid close/open: no events are
reported/working
05. Typed setpci -s 00:1f.0 bb.b=0a and nothing more. Now, the three delayed
events from step 04 are executed immediately, and reported in the logs. Because
I didn't hooked up a script on the Fn-Suspend key press (button/sleep SBTN
00000080 00000001), it does nothing usefull at the moment, it shows up in the
logs only. Lid switch activates the laptop-mode script that turns the display
off and back on. The button-on/off key press activates a script executing
/sbin/init 0, so the laptop shuts down.
06. Booting the laptop again
07. Typed setpci -s 00:1f.0 bb.b=0a so events are working again
08. Did lspci -vxxx (attachment lspci.out snip2)
09. Typed echo disk > /sys/power/state, the laptop enters the hibernate state
correctly
10. I press the on/off button, bootloader grub kicks off the system, the S4
system image is restored instead of a normal boot.
11. Did lspci -vxxx (attachment lspci.out snip3)
12. The laptop seems to work fine, but events from Fn-Suspend, button on/off,
lid close/open don't work anymore, like before hibernation
13. The logs however show a received event "ac_adapter AC 00000080 00000001"_,
that's got something to do with leaving the S4 hibernate state. --> Attachment
metalog snip1

=== Doing the same with the pached kernel ===
15. Recompiled the kernel (vanilla-sources-2.6.29_rc8 *WITH* the patch from
comment #131 ), and rebooted
16. Did lspci -vxxx (attachment lspci.out snip4)
17. Tried Fn-Suspend, lid close/open: no events are reported/working
18. Typed setpci -s 00:1f.0 bb.b=0a and nothing more. Now, the two delayed
events from step 17 are executed immediately and reported in the logs. Because
i didn't hooked up a script on the Fn-Suspend key press (button/sleep SBTN
00000080 00000001), it does nothing usefull at the moment, it shows up in the
logs only. Lid switch activates the laptop-mode script that turns the display
off and back on.
19. Did lspci -vxxx (attachment lspci.out snip5)
20. Typed echo disk > /sys/power/state, the laptop enters the hibernate state
correctly
21. I press the on/off button, bootloader grub kicks off the system, the S4
system image is restored instead of a normal boot.
22. Did lspci -vxxx (attachment lspci.out snip6)
23. The laptop seems to work fine, but events from Fn-Suspend, button on/off,
lid close/open don't work anymore, like before last hibernation
24. The logs however show a received event "ac_adapter AC 00000080 00000001"_,
that's got something to do with leaving the S4 hibernate state. --> Attachment
metalog snip2

After using the debug patch, events are still not reported unless setpci -s
00:1f.0 bb.b=0a is entered before and after the hibernate state.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to