hibernate.sh uses unsupported s2disk options

Bug #111741 reported by bigfish
This bug report is a duplicate of:  Bug #109151: no hibernate with uswsusp installed. Edit Remove
4
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: acpi-support

I am new to ubuntu, just installed 7.04, and trying to get hibernation functioning. It appears that there is a bug in the /etc/acpi/hibernate.sh script, which contains:

    if [ -f /etc/usplash.conf ]; then
        . /etc/usplash.conf
        /sbin/s2disk -x "$xres" -y "$yres" $DEVICE
    else
        /sbin/s2disk $DEVICE
    fi

I have a /etc/usplash.conf file, presumably because I installed with the VGA option set to 1024x768-32:

rjf@carcharias:/etc/acpi$ cat /etc/usplash.conf
# Usplash configuration file
xres=1024
yres=768

The result of running with those options is:

root@carcharias:/etc/acpi# /sbin/s2disk -x "1024" -y "768" /dev/disk/by-uuid/e00a4a01-e39d-4426-ab95-b4b389ea3394
Usage: suspend [-f config][resume_device]

Since s2disk gives a usage error with these options, hibernation fails. [Re]moving /etc/usplash.conf allows hibernation to work normally.

Revision history for this message
Ralf Meyer (ranf) wrote :

marked as duplicate

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.