Hi,
I have a Lenovo Thinkpad L460 (hcl file attached) and nearly every time I 
tried a suspension of the whole system with running appvms my laptop froze 
in a state after "suspension" of the OS and before the hardware entered the 
final suspension state.
I found out that the suspension will work, if you pause all appvms before 
suspending the system, but you probably have to reset the hardware once by 
holding the power-button until it blinks to clean the hardware's state from 
previous failed tries.

Warning: Only add or edit scripts, if you know what you're doing!!!
Notice: This is only a workaround it's not fixing the issue/bug itself.

To automate the process you can create a script 
"/usr/lib/systemd/system-sleep/pause_vms_on_suspension.sh" containing:
#!/bin/bash
if [ "$1" = "pre" ]; then
    qvm-run --pause --all --exclude=dom0 --exclude=sys-usb 
--exclude=sys-firewall 
--exclude=sys-net;
fi

Please exclude system-vms like sys-usb, otherwise the resume of the system 
could fail.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/f9cea6e1-89af-4fb8-a525-eb45b48413d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: Qubes-HCL-LENOVO-20FUCTO1WW-20170408-212032.yml
Description: Binary data

Reply via email to