Support for not suspending when certain things running

Bug #43053 reported by mithro
12
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hello,

Certain programs which accesses the hardware directly do not suspend well. (These programs include VMware and similar or things which use libusb.) Suspend should not be attempted while these programs are running.

The attached file when put into /etc/acpi/suspend.d will prevent suspend when certain processes are running.

Revision history for this message
mithro (mithro) wrote : blacklist.sh

File which prevents suspending when certain processes are running.

Revision history for this message
Matthew Garrett (mjg59) wrote :

No, those programs should be fixed.

Changed in acpi-support:
status: Unconfirmed → Rejected
Revision history for this message
mithro (mithro) wrote :

This is not the only case. You also may want to not suspend for other reasons.

For example, you might not want to suspend while scp transfers are occuring. Or you may not want to suspend while the rsync backup is running.

There are plenty of uses for this useful feature that does not conflict or effect people who do not want to use it in anyway.

On another note some programs cannot be "fixed" (because of the way they interact with the hardware). The only way to suspend is to terminate the program. Terminating random applications (which is the only other option) just because the user accidently suspends (or something thinks it should automatically suspend) is not friendly.

Revision history for this message
mithro (mithro) wrote :

Please see my latest comment.

Changed in acpi-support:
status: Rejected → Unconfirmed
Revision history for this message
Simon Law (sfllaw) wrote :

Thanks for your report. Your idea might get more attention and have
the possibility of being implemented if you would submit a
specification for this.

You should first check whether it already exists at the Ubuntu specs
page (https://launchpad.net/distros/ubuntu/+specs) in Launchpad. If
that is the case, feel free to contact the drafter of that spec about
your comments/suggestions. Otherwise you can start writing a spec
following the steps described in
        https://wiki.ubuntu.com/FeatureSpecifications.

Changed in acpi-support:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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