Your message dated Tue, 10 Oct 2006 03:05:54 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#384140: fixed in hibernate 1.94-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.93-1
Severity: normal

The fujitsu p7120 laptop has an issue when resuming from suspend to ram:
The LCD is left turned off. This can easily be fixed by using the
brightness control keys, which turn it back on, but that's a bit
annoying, and I have automated it, creating a scriptlet for hibernate
that saves and restores the brightness. 

I've attached the scriptlet for possible addition to the package. It's
licensed the same as the rest of hibernate.

This needs version 1.19 of the BIOS for this laptop to be able to
support ACPI brightness control. The "video" kernel module must be
loaded. I don't know if the /proc/acpi/video/GFX0/LCD/brightness file
will exist or work on other laptop models, or if this file should be
made configurable, but it works great for the p7120 and should be at
least close to working on other laptops that support ACPI brightness
control.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-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-64 Linux console and font utilities

Versions of packages hibernate recommends:
ii  hdparm                        6.6-1      tune hard disk parameters for high
pn  vlock                         <none>     (no description available)

-- no debconf information

-- 
see shy jo
# -*- sh -*-
# vim:ft=sh:ts=8:sw=4:noet

AddConfigHandler BrightnessOptions
AddConfigHelp "RestoreBrightness <boolean>" "This will save and restore LCD 
brightness using ACPI."

# May need to be made configurable later.
acpifile=/proc/acpi/video/GFX0/LCD/brightness

SaveBrightness() {
    if [ ! -e "$acpifile" ]; then
        vecho 0 "$acpifile not present, will not save brightness level"
    fi
    LEVEL=$(grep current $acpifile | cut -d ' ' -f 2) || true
    if [ -z "$LEVEL" ]; then
        vecho 0 "could not determine current brightness level"
        LEVEL=4
    fi
echo $LEVEL

    return 0
}

RestoreBrightness() {
    if [ -n "$LEVEL" ] && [ -e "$acpifile" ]; then
        echo "$LEVEL" > "$acpifile"
    fi
    return 0
}

BrightnessOptions() {
    case $1 in
        restorebrightness)
            BoolIsOn "$1" "$2" || return 0
            if [ -z "$BRIGHTNESS_HOOKED" ] ; then
                AddSuspendHook 85 SaveBrightness
                AddResumeHook 85 RestoreBrightness
                BRIGHTNESS_HOOKED=1
            fi
            ;;
        *)
            return 1
    esac
    return 0
}

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: hibernate
Source-Version: 1.94-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.94-1.diff.gz
  to pool/main/h/hibernate/hibernate_1.94-1.diff.gz
hibernate_1.94-1.dsc
  to pool/main/h/hibernate/hibernate_1.94-1.dsc
hibernate_1.94-1_all.deb
  to pool/main/h/hibernate/hibernate_1.94-1_all.deb
hibernate_1.94.orig.tar.gz
  to pool/main/h/hibernate/hibernate_1.94.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: Tue, 10 Oct 2006 09:41:11 +0200
Source: hibernate
Binary: hibernate
Architecture: source all
Version: 1.94-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: 317479 317479 370713 377389 378282 378347 381033 381903 381927 384140 
384471 386426 386623 386799
Changes: 
 hibernate (1.94-1) unstable; urgency=low
 .
   * New upstream release:
     - properly escape amarok process listing (closes: #378282).
     - does not fail if KDE sessions are already locked (closes: #384471).
     - enables verbose output earlier (closes: #370713).
   * Merged several patches into upstream code:
     - Patch by Joey Hess to save/restore brightness levels with GFX cards
       (closes: #384140).
     - Patch against vbetool scriptlet to log stderr output to log file, and
       only let output through to real stderr if verbosity >=2 is selected
       (closes: #381927).
     - Corrected typo in hibernate.conf manpage (closes: #386799).
     - Reworded the init.d script message about invalidating stale signatures
       (closes: #381903).
     - Added ath_pci to blacklisted modules (see #383169).
     - Added scriptlet to remount /boot read-only if /boot is a separate
       partition, contains an XFS filesystem, hibernate was asked to update the
       Grub menu file, and this feature has not been disabled in the
       configuration file (closes: #317479, #317479, #386623).
       Also added README.xfs to document caveats for users of the XFS
       filesystem.
     - Improved ususpend method. Now supports USuspendRamForce (boolean) to
       pass the -f option to s2ram. Also tests with s2ram's -n option if s2ram
       is used and the option is not set. I also made disk.conf and ram.conf
       prefer the uswsusp methods, if they are available. If you do not want to
       use them, use the sysfs-{ram,disk}.conf files, which are the former
       ram.conf and disk.conf files.
     - Use /proc/net/dev instead of ifconfig to enumerate network devices,
       because the latter would ignore madwifi interfaces.
   * Now actually installs the ususpend configuration (though not
     ususpend.conf), which I had previously forgotten. Thanks to René van
     Bevern and Christian Schuerer for pointing it out (closes: #378347).
   * Added recommendation on vbetool, thanks to Minh Ha Duong.
   * Added recommendation on uswsusp, so that the new uswsusp code gets used
     if supported by the kernel (>= 2.6.17rc1), and suspend2 is not available.
   * Fixed up recommendations (other packages that most people will want to
     use) and suggestions (other packages used but not needed by many).
   * Added a hibernation HOWTO by Barak A. Pearlmutter to
     /usr/share/doc/hibernate (closes: #377389).
   * Moved vbetool options from sysfs-ram.conf to ram.conf; they're also
     applicable to ususpend.
   * Create log file with 0644:root:adm permissions (closes: #381033).
   * Added hibernate-ram and hibernate-disk symlinks which automatically use
     ram.conf or disk.conf as configuration file, rather than hibernate.conf
     (closes: #386426).
Files: 
 e825e6c5be851155747a3f223978de23 701 utils extra hibernate_1.94-1.dsc
 f8826d4c96e320902382f29c91694c04 72928 utils extra hibernate_1.94.orig.tar.gz
 7a1bf5abd28f5f29fc1debb54d2cec13 12416 utils extra hibernate_1.94-1.diff.gz
 3b41e5e2609a2bb2177a449fdd180a7c 85936 utils extra hibernate_1.94-1_all.deb

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

iD8DBQFFK1eCIgvIgzMMSnURAsxKAJ9DAlMDbmMTJl3I9Sf5B4ULXiauSwCfRN2f
Jl+FH+8aSyhqUWnIP4iaIaI=
=jK/A
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to