Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114698
b: refs/heads/master
c: b25f29b
h: refs/heads/master
v: v3
  • Loading branch information
Frans Pop authored and Linus Torvalds committed Oct 16, 2008
1 parent 5189598 commit c7f66bc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bfcf1304ea79c46efc3724e548b13b4b442b418
refs/heads/master: b25f29b0da23f4f784f9bcae954b157e1f45cc69
18 changes: 18 additions & 0 deletions trunk/Documentation/power/s2ram.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,21 @@ used to run with "radeonfb" (it's an ATI Radeon mobility). It turns out
that "radeonfb" simply cannot resume that device - it tries to set the
PLL's, and it just _hangs_. Using the regular VGA console and letting X
resume it instead works fine.

NOTE
====
pm_trace uses the system's Real Time Clock (RTC) to save the magic number.
Reason for this is that the RTC is the only reliably available piece of
hardware during resume operations where a value can be set that will
survive a reboot.

Consequence is that after a resume (even if it is successful) your system
clock will have a value corresponding to the magic mumber instead of the
correct date/time! It is therefore advisable to use a program like ntp-date
or rdate to reset the correct date/time from an external time source when
using this trace option.

As the clock keeps ticking it is also essential that the reboot is done
quickly after the resume failure. The trace option does not use the seconds
or the low order bits of the minutes of the RTC, but a too long delay will
corrupt the magic value.

0 comments on commit c7f66bc

Please sign in to comment.