Your message dated Thu, 07 Jun 2007 17:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#420401: fixed in hibernate 1.96~pre-svn.r1125-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: hibernate
Version: 1.94-2
Severity: normal
Please consider applying the following patch, which adds a
SwitchToTextModeOnResume option. Unlike SwitchToTextMode, which
switches, hibernates, and returns to X on resume, this option waits
until after the resume, then switches to text mode and then back to X.
This strange sequence is needed to work around bug #420400.
--
see shy jo
--- /root/xhacks.orig 2007-04-21 21:33:34.000000000 -0400
+++ /usr/share/hibernate/scriptlets.d/xhacks 2007-04-21 22:06:01.000000000
-0400
@@ -3,17 +3,20 @@
AddConfigHandler XHacksOptions
AddConfigHelp "SwitchToTextMode <boolean>" "If your X driver is unable to
resume properly, you can try switching to a text console first by setting this
to yes."
+AddConfigHelp "SwitchToTextModeOnResume <boolean>" "Use this to, on resume,
switch to a text console and back. Some X drivers need this to properly resume."
AddConfigHelp "UseDummyXServer <boolean>" "Some X drivers can be reinitialised
by launching a dummy X server after resuming to restore the state of the
graphics card. Set this to yes to do so."
AddConfigHelp "DummyXServerConfig <filename>" "When using a dummy X server,
use /etc/X11/<filename> as its configuration."
XHacksSuspend() {
- if [ x"$XHACKS_LEAVE_X" = "x1" ] ; then
- local dest_vt
+ if [ x"$XHACKS_LEAVE_X" = "x1" ] || [ x"$XHACKS_LEAVE_X_ON_RESUME" = "x1"
] ; then
if command -v fgconsole > /dev/null 2>&1 ; then
XHACKS_ORIGINAL_VT=`fgconsole`
else
XHACKS_ORIGINAL_VT=1
fi
+ fi
+ if [ x"$XHACKS_LEAVE_X" = "x1" ] ; then
+ local dest_vt
[ -z "$SWSUSPVT" ] && dest_vt=15 || dest_vt="$SWSUSPVT"
vecho 3 "xhacks: changing console from $XHACKS_ORIGINAL_VT to $dest_vt"
chvt $dest_vt || return 1
@@ -39,6 +42,13 @@
fi
fi
+ if [ -n "$XHACKS_LEAVE_X_ON_RESUME" ] ; then
+ vecho 3 "xhacks: changing to text mode"
+ local dest_vt
+ [ -z "$SWSUSPVT" ] && dest_vt=15 || dest_vt="$SWSUSPVT"
+ chvt $dest_vt
+ fi
+
if [ -n "$XHACKS_ORIGINAL_VT" ] ; then
vecho 3 "xhacks: changing console back to $XHACKS_ORIGINAL_VT"
chvt $XHACKS_ORIGINAL_VT
@@ -84,6 +94,10 @@
BoolIsOn "$1" "$2" && XHACKS_LEAVE_X=1 || return 0
# only break from case statement if we need something done
;;
+ switchtotextmodeonresume)
+ BoolIsOn "$1" "$2" && XHACKS_LEAVE_X_ON_RESUME=1 || return 0
+ # only break from case statement if we need something done
+ ;;
nvidiahack)
vecho 0 "The NvidiaHack option is deprecated and may disappear in"
vecho 0 "future releases. Please use UseDummyXServer instead."
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: hibernate
Source-Version: 1.96~pre-svn.r1125-1
We believe that the bug you reported is fixed in the latest version of
hibernate, which is due to be installed in the Debian FTP archive:
hibernate_1.96~pre-svn.r1125-1.diff.gz
to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1125-1.diff.gz
hibernate_1.96~pre-svn.r1125-1.dsc
to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1125-1.dsc
hibernate_1.96~pre-svn.r1125-1_all.deb
to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1125-1_all.deb
hibernate_1.96~pre-svn.r1125.orig.tar.gz
to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1125.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
martin f. krafft <[EMAIL PROTECTED]> (supplier of updated hibernate package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 07 Jun 2007 18:58:01 +0200
Source: hibernate
Binary: hibernate
Architecture: source all
Version: 1.96~pre-svn.r1125-1
Distribution: unstable
Urgency: low
Maintainer: martin f. krafft <[EMAIL PROTECTED]>
Changed-By: martin f. krafft <[EMAIL PROTECTED]>
Description:
hibernate - smartly puts your computer to sleep (suspend to RAM or disk)
Closes: 420401 422539 427962
Changes:
hibernate (1.96~pre-svn.r1125-1) unstable; urgency=low
.
* The^W A Joey Hess tribute release:
< joeyh> bloody debian maintainer filters
* joeyh applies for a bugzilla.fedora account
sorry for taking to long to integrate your patches. Don't leave us.
.
* New checkout from upstream repository, which
- fixes a syntax error and thus closes: #427962.
- runs ifup in the background to prevent locking problems and closes:
#422539.
- introduces SwitchToTextModeOnResume to work around an X bug (#420400)
and thus closes: #420401.
Files:
016aa662c51ee0de66230fbbe49e5381 743 utils extra
hibernate_1.96~pre-svn.r1125-1.dsc
177eeb86f0c5b245cc011e0c8f7a1b42 75787 utils extra
hibernate_1.96~pre-svn.r1125.orig.tar.gz
438901d27c07fa5b25b23a9eda976e93 13120 utils extra
hibernate_1.96~pre-svn.r1125-1.diff.gz
13137e598f6fcfe4d5a8d1eca6d77a7c 91016 utils extra
hibernate_1.96~pre-svn.r1125-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGaDqHIgvIgzMMSnURAnd+AJ4goEeke6xRr2GAUan3n8KhBzom/wCgyn5F
F1M3e0zqHajlKVnQcwWgCjY=
=5NyF
-----END PGP SIGNATURE-----
--- End Message ---