Debian Bug report logs - #410751
please add videodump scriptlet

version graph

Package: hibernate; Maintainer for hibernate is Andrey Rahmatullin <wrar@wrar.name>; Source for hibernate is src:hibernate (PTS, buildd, popcon).

Reported by: Joey Hess <joeyh@debian.org>

Date: Tue, 13 Feb 2007 00:48:02 UTC

Severity: normal

Tags: confirmed, patch

Found in version hibernate/1.94-2

Fixed in version hibernate/1.96~pre-svn.r1116-1

Done: madduck@debian.org (martin f. krafft)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, madduck@debian.org (martin f. krafft):
Bug#410751; Package hibernate. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
New Bug report received and forwarded. Copy sent to madduck@debian.org (martin f. krafft). (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: please add videodump scriptlet
Date: Mon, 12 Feb 2007 19:36:39 -0500
[Message part 1 (text/plain, inline)]
Package: hibernate
Version: 1.94-2
Severity: normal
Tags: patch

I have a new approach for getting suspend to ram working on my p7120
lifebook. Stockholm suggested that simply dumping a file from proc before
suspend and loading it afterwards worked better than using vbetool
(which fails to turn the backlight back on on this laptop). I believe
that the /proc file contains the first part of the video memory, so
loading it resets the video card to the pre-suspend state. Or destroys
your machine, if you're unlucky, but it works well for me. ;-)

I've attached a scriptlet I wrote to do this, and it can be enabled as
follows:

# Dump video card memory. If vbetool doesn't work this just might. Or it
# might hose your machine, so use with caution. Do not enable this
# option and Vbetool at the same time.
EnableVideoDump yes


(PS, is the s2ram -n in the info below supposed to print the help text?)

-- Package-specific info:

--- configuration
==> /etc/hibernate/common.conf <==
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution debian
XDisplay :0
SaveClock restore-only
Runi915resolution yes
UnloadModules ata_piix mmc_core
UnloadBlacklistedModules yes
LoadModules auto
PauseAudio yes
SwitchToTextMode yes
XStatus x
XmessageDisable yes
XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos top --align center --offset 0
==> /etc/hibernate/disk.conf <==
TryMethod ususpend-disk.conf
TryMethod sysfs-disk.conf
==> /etc/hibernate/hibernate.conf <==
TryMethod ram.conf
==> /etc/hibernate/ram.conf <==
TryMethod sysfs-ram.conf
EnableVideoDump yes
==> /etc/hibernate/suspend2.conf <==
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none
FullSpeedCPU yes
Include common.conf
==> /etc/hibernate/sysfs-disk.conf <==
UseSysfsPowerState disk
Include common.conf
==> /etc/hibernate/sysfs-ram.conf <==
UseSysfsPowerState mem
Include common.conf
==> /etc/hibernate/ususpend-both.conf <==
USuspendMethod both
Include common.conf
==> /etc/hibernate/ususpend-disk.conf <==
USuspendMethod disk
Include common.conf
==> /etc/hibernate/ususpend-ram.conf <==
USuspendMethod ram
Include common.conf

--- /sys/power
==> /sys/power/disk <==
shutdown
==> /sys/power/image_size <==
524288000
==> /sys/power/resume <==
0:0
==> /sys/power/state <==
mem disk 

--- s2ram -n
Usage: s2ram [-nhi] [-fspmra]

Options:
    -h, --help:       this text.
    -n, --test:       test if the machine is in the database.
                      returns 0 if known and supported
    -i, --identify:   prints a string that identifies the machine.
    -f, --force:      force suspending, even on unknown machines.

the following options are only available with --force:
    -s, --vbe_save:   save VBE state before suspending and restore after resume.
    -p, --vbe_post:   VBE POST the graphics card after resume
    -m, --vbe_mode:   get VBE mode before suspend and set it after resume
    -r, --radeontool: turn off the backlight on radeons before suspending.
    -a, --acpi_sleep: set the acpi_sleep parameter before suspend
                      1=s3_bios, 2=s3_mode, 3=both

--- log
hibernate.log file not readable.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages hibernate depends on:
ii  console-tools              1:0.2.3dbs-65 Linux console and font utilities

Versions of packages hibernate recommends:
ii  dash                          0.5.3-7    The Debian Almquist Shell
ii  hdparm                        6.9-1      tune hard disk parameters for high
ii  uswsusp                       0.5-1      tools to use userspace software su
ii  vbetool                       0.7-1.1    run real-mode video BIOS code to a

-- no debconf information

-- 
see shy jo
[videodump (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Tags added: confirmed, pending Request was from martin f. krafft <madduck@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, madduck@debian.org (martin f. krafft):
Bug#410751; Package hibernate. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to madduck@debian.org (martin f. krafft). (full text, mbox, link).


Message #12 received at 410751@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 410751@bugs.debian.org
Subject: note
Date: Sat, 21 Apr 2007 14:16:38 -0400
[Message part 1 (text/plain, inline)]
I don't use this script anymore, since with the modesetting intel driver
in unstable now, hibernation Just Works. Hurrah!

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, madduck@debian.org (martin f. krafft):
Bug#410751; Package hibernate. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to madduck@debian.org (martin f. krafft). (full text, mbox, link).


Message #17 received at 410751@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 410751@bugs.debian.org
Subject: still needed
Date: Sat, 21 Apr 2007 22:25:14 -0400
[Message part 1 (text/plain, inline)]
Turns out I still need this, because while the modesetting driver does
turn the backlight on on resume, it doesn't really do so correctly, as
detailed in bug #420400.

So I still hope to see this patch integrated into hibernate..

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Reply sent to madduck@debian.org (martin f. krafft):
You have taken responsibility. (full text, mbox, link).


Notification sent to Joey Hess <joeyh@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #22 received at 410751-close@bugs.debian.org (full text, mbox, reply):

From: madduck@debian.org (martin f. krafft)
To: 410751-close@bugs.debian.org
Subject: Bug#410751: fixed in hibernate 1.96~pre-svn.r1116-1
Date: Sun, 03 Jun 2007 12:47:03 +0000
Source: hibernate
Source-Version: 1.96~pre-svn.r1116-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.r1116-1.diff.gz
  to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1116-1.diff.gz
hibernate_1.96~pre-svn.r1116-1.dsc
  to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1116-1.dsc
hibernate_1.96~pre-svn.r1116-1_all.deb
  to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1116-1_all.deb
hibernate_1.96~pre-svn.r1116.orig.tar.gz
  to pool/main/h/hibernate/hibernate_1.96~pre-svn.r1116.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 410751@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
martin f. krafft <madduck@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 03 Jun 2007 14:34:03 +0200
Source: hibernate
Binary: hibernate
Architecture: source all
Version: 1.96~pre-svn.r1116-1
Distribution: unstable
Urgency: low
Maintainer: martin f. krafft <madduck@debian.org>
Changed-By: martin f. krafft <madduck@debian.org>
Description: 
 hibernate  - smartly puts your computer to sleep (suspend to RAM or disk)
Closes: 410750 410751 416289 416967 427252
Changes: 
 hibernate (1.96~pre-svn.r1116-1) unstable; urgency=low
 .
   * Snapshot of current upstream repository; see CHANGELOG for details.
   * Blacklist the ipw3945 module (closes: #427252).
 .
 hibernate (1.95-1) UNRELEASED; urgency=low
 .
   * New upstream release:
     - Fix gfx_brightness if thinks the brightness is 0 (closes: #410750).
     - Add videodump to dump and reload the video RAM (closes: #410751).
     - Screen now does not lock when --no-suspend is given.
     - Support renamed swap and file directories in suspend2 2.2.8.4 and thus
       enable support on 2.6.19 kernel (closes: #416289).
     - Enable 2ram -p/-s options in a similar way to -f; thanks to Enrico
       Tassi (closes: #416967).
     - See CHANGELOG for more...
   * Fix bugscript to output s2ram -n instead of -v, thanks Joey Hess.
Files: 
 03ec9b6dbbcb9e15800191dc70705831 743 utils extra hibernate_1.96~pre-svn.r1116-1.dsc
 dab43e3a9669da2001009ab49c9375b6 75076 utils extra hibernate_1.96~pre-svn.r1116.orig.tar.gz
 722c1d3fa5ade12825031b9618a4b54b 12808 utils extra hibernate_1.96~pre-svn.r1116-1.diff.gz
 8e2036c624a25cfeb143370908229505 89820 utils extra hibernate_1.96~pre-svn.r1116-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGYrWgIgvIgzMMSnURAs1nAJsFc138PUCmX7fxwfajqcW/u9a5iACgoZ10
3nmKgDHpTXYtNF2VrIVXPbU=
=3aIQ
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 02 Jul 2007 07:33:53 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Aug 14 21:53:41 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.