wrong s2disk parameters invoked by hibernate.sh in acpi-support 0.95 when /etc/usplash.conf is present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
uswsusp (Ubuntu) |
Confirmed
|
Undecided
|
Registry Administrators |
Bug Description
Binary package hint: acpi-support
hibernate.sh in acpi-support 0.95 checks for the presence of s2disk, then checks for /etc/usplash.conf. If such two conditions are met, hibernate.sh invokes s2disk in the following way:
/sbin/s2disk -x "$xres" -y "$yres" $DEVICE
this is not working with the s2disk binary provided in uswsusp 0.3~cvs20060928
if [ -x /sbin/s2disk ]; then
DEVICE=
/sbin/s2disk $DEVICE
else
echo -n "disk" >/sys/power/state
fi
Thanks for taking the time!
nuu
Changed in acpi-support: | |
assignee: | nobody → ubuntu-laptop |
I confirm that this problem occurs on Ubuntu 7.04 on an IBM R51 Laptop, and that the above changes solve it.