1. I have the model with a touch screen and I haven't debugged how to make it work yet (I'll get to that and post back what worked).
2. Suspend/resume doesn't work and I have to do a hard reset. A few times (not all) I had to hard reset twice to get it to reboot properly.
3. HCL reports no TPM, but I have a dTPM 2.0.
It's booting with UEFI smoothly. I haven't tested the mic, camera, or ports except USB for storage yet. I'll update once I find fixes for the above. If anyone could point me in the right direction for the suspend freezing issue, let me know. I tried shutting down all VMs, including service VMs after reading this, https://groups.google.com/d/msg/qubes-users/81t26xq4MEI/HrfDEcjeAgAJ but the problem persisted didn't change anything.
Might be worth flashing to most recent BIOS. (I did that straight away on my T480 so I'm not sure if that contributed to suspend eventually working well)
Tried that before anything else.
I had an issue similar to this in my Skylake Thinkpad (T460). In dom0, try adding i915.enable_rc6=0 to your /etc/default/grub grub_cmdline.
Then run:
grub2-mkconfig --output /boot/grub2/grub.cfg
and reboot.
Since I'm on EFI, I manually edited the /boot/efi/EFI/qubes/xen.cfg file and didn't run grub2-mkconfig and it still turned rc6 off and on with that parameter you mentioned.
It didn't help my suspend issues. It suspends, and the power button blinks slowly, then no matter what I do (clicking power, typing, clicking the mouse, plugging and unplugging cables) nothing changes that steady blink of the power button until I hold it for ~10seconds.
There's another value in the KERNEL parameter, i915.aplha_support=1. I changed it to 0 as well (which disables it). This also had no effect.
I need to learn how to troubleshoot this better. I'm at a loss right now.
There is a collection of links and information on the Arch wiki relating to this issue.
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)
One workaround that people have apparently had success with is to manually patch ACPI DSDT tables (whatever those are). As far as I understand, this makes the BIOS report S3 as a supported mode.
I started following the DSDT patching instructions, and it seemed relatively easy to follow, but I had to stop once the instructions started talking about configuring grub. I use UEFI for booting, so I'm not sure this even makes sense in my case. Are DSDT tables used for UEFI too? I'm genuinely pretty clueless about these things.
I tried setting a kernel parameter acpi.ec_no_wakeup=1 at boot, and I'm fairly certain I got it right, but suspend still doesn't work. Or rather, to be specific, waking up from suspend doesn't work.
I also tried looking in the systemd logs for any suspend errors, but I found nothing (but I don't know what to look for).
In dom0, I ran
dom0$ sudo journalctl
and I found the logs for when it does suspend, but nothing for waking up.
Unfortunately I wasn't able to get it to work. The instructions are for grub1 while Qubes installs grub2. I tried to adapt the instructions, but I ended up with an unbootable system (which I was prepared for).
The other way forward, which I think is probably our best bet, is to wait for the new suspend mode to be properly supported under Linux. It _seems_ like it should be supported in kernel 4.15, but that mileage varies by a lot.
There is another thread, which appears to have made progress:
https://groups.google.com/d/msg/qubes-users/TmGDlkluJgM/fn4wc2E5CQAJ
But it would immediately freeze up on wake at either a black screen or at XScreenSaver password prompt.
I had to remove the USB-C Thunderbolt 3 controller from the devices list of the sys-usb vm in order to prevent this freeze, and now it works very well, with the minor annoyance of it taking a few seconds to fully recover and wake the display or respond to input.
Confirming that DJB's notes in that thread worked for me. Currently running 4.14.67 with patches.
Also want to note that the latest 1.30 (I'm about to install it) bios supports a toggle for Linux vs Windows sleep states. It was released around 9/8/2018.
Did anyone try throttling / thermal fix described here https://github.com/erpalma/lenovo-throttling-fix ?
I have flashed to the most recent bios 1.34. I have USB UEFI BIOS Support Enabled. VT-d is enabled. secure boot is disabled. I am booting UEFI Only with CSM Support disabled.
It was a long time ago, but I'm afraid I don't remember doing anything special. It's possible I installed it with a CD instead of a USB stick.