Installation onto 256Gig mSATA from USB key. LVM on 256 mSATA
dom0:/etc/fstab ⇒ add discard to /
dom0:/etc/crypttab ⇒ add “allow-discard” after “none”
template:/etc/fstab ⇒ add “discard” to / and /rw
TXT (but not “secure boot”) enabled in BIOS.
Before upgrading, 51qubes-suspend-netvm called on pm-suspend but not when lid is closed. At least one hang when resuming from suspend (don’t remember if it was from pm-suspend or from lid closing). In any case, I’m more interested in how the machine works after an upgrade, so I did: (TemplateVM: sudo yum upgrade) and (dom0: sudo qubes-dom0-update) -- both to 3.7.6-2.pvops.qubes.x86_64.
After upgrade: dom0:sudo pm-suspend *does* call /usr/lib64/pm-utils/sleep.d/51qubes-suspend-netvm but, but when resume desktop comes up *without* screenlock (or requiring a password). On the other hand, closing the lid *doesn’t* call 51qubes-suspend-netvm but password is required upon suspend. dom0:systemd-inhibit --list does list handle-{power-key,suspend-key,hibernate-key,lid-switch} as blocked.
- - LAN networking (NOTE: survives pm-suspend but not lid-switch unless I do the dom0:/usr/lib/systemd/system-sleep hack above).
- - fn+ display brightness
- - fn + sleep
- - sound via speaker
- - volume buttons/mute
- - x220 docking station: cdrom, usb 2.0
- - usb 2.0
- - hardware wireless switch
Not working
- - fn + lock
- - fn + wireless on/off
- - sd card reader
Not yet tested
- - minidisplayport
- - wlan networking
- - audio input/output combo jack
- - fingerprint reader
- - fn+ media buttons play/pause/forward/backward
- - fn mircophone/webcam
- - microphone- - usb 3.0
- - express card
- - vga
- - webcam
1. In dom0:/usr/lib/systemd/system-sleep, create a "netvm.sh" with the following contents to handle lid-switch
#!/bin/bash
qvm-run -u root netvm /usr/local/bin/$1.suspend.sh
exit 0
2. In netvm:/usr/local/bin, create "pre.suspend.sh"
#!/bin/bash
modprobe -r iwldvm
modprobe -r iwlwifi
3. In netvm:/usr/local/bin, create "post.suspend.sh"
> Not yet tested
> - - minidisplayport
> - - wlan networking
> - - audio input/output combo jack
> - - fingerprint reader
> - - fn+ media buttons play/pause/forward/backward
> - - fn mircophone/webcam- - microphone
> - - usb 3.0
> - - express card
> - - vga
> - - webcam
>
also, have you tested other(latest) releases?