Ubuntu Thinkpad X1 Fan Regulator
This is a document describing how to install Ubuntu 16.04 LTS on ThinkPad T470s. Sudo dpkg -i linux-headers-4.8.deb linux-image-4.8.deb.NVMe supportThe Linux kernel earlier than 4.11 can't handle power saving of NVMe devices properly. Skyrim special edition lore friendly hair. To solve the issue is mereged in in Ubuntu and available in.Bluetooth.It is also resolved in the latest HWE kernel. Fan controllthinkfan can mitigate the problem.
Issues during installation Disable Secure BootInstall third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other mediaSummary: The following message displayed at startup is unavoidable if you want to use third-party driver, such as NVIDIA graphics driver and VirtualBox driver, and NOT a major issue in most cases.Booting in insecure mode Can't unlock LUKS encrypted driveEncrypt the new Ubuntu installation for securitySummary: to change from splash to nosplash when starting the kernel. Battery LifeTODO Add a custom screen resolution. #!/bin/shxrandr -newmode '1440x90060.00 ' 1 1528 1672 1904 900 903 909 934 -hsync +vsyncxrandr -addmode VGA1 1440x90060.00xrandr -output VGA1 -mode 1440x90060.00 Thunderbolt 3 Dock.BIOS settingIf ThinkPad doesn't recognize your mouse and keyboard connected to the dock when reconnect the Thunderbolt 3 cable, changing Security Level of the Thunderbolt 3 setting to No Security would help.SuspendingUnplug USB-C cable before suspending ThinkPad is recommended because it, unfortunatelly, sometimes crash in resuming.
Ethernet on the dock4.10 kernel doesn't support ethernet on the dock. You must use 4.13 instead. Very useful - thank you for the write-up. I ended up going with a T470p instead.
Here is How to Factory Reset Lenovo ThinkPad X1 Carbon?, follow this step-by-step process to Factory reset or master reset which will restore your device to its original state. Lenovo Thinkpad X1 Carbon Lenovo Thinkpad X1 Carbon is powered by 1.9GHz Intel Core i5-4300U with 4GB DDR3 of RAM and storage of 180GB. It has a 14-inch IPS. Read moreHow to Factory Reset Lenovo ThinkPad X1 Carbon.
Ubuntu Thinkpad X1 Fan Regulator Manual
Thunderbolt isn't really important to me, but having an Nvidia card is (even though it's only a 940MX). I also decided to go for the more powerful H-series CPU (with 4 cores, and 4 virtual cores), rather than the U-series (with 2 cores, and 2 virtual cores). I installed Kubuntu 17.10, and it runs flawlessly (well, almost flawlessly - sometimes shutting down takes about 2 minutes, not sure what's causing the delay, and it only happens intermittently).
Related articles.The Lenovo ThinkPad X1 Yoga, 3th generation is a 2-in-1 convertible laptop introduced in early 2018. Its design is closely related to the. Contents.BIOS Thunderbolt BIOS assist potential brick issueSeveral linux users reported their systems were bricked after enabling 'Thunderbolt BIOS assist' in the UEFI menu. Lenovo has released BIOS version 1.27 which prevents this issue.
See this on the Lenovo forums for details.EC Fan issues under LinuxUnder BIOS version 1.24 the embedded controller will no longer spin the fan up properly during high system load causing CPU throttling issues. Reverting to version 1.21 will restore normal functions or you can use the AUR package to control it via the OS. See for details.Updates Automatic (Linux Vendor Firmware Service)the project, which enables firmware updates from within the OS.BIOS updates (and possibly other firmware such as the Thunderbolt controller) can be queried for and installed through.ManualDownload the latest BIOS image from the. Obtain AUR and run geteltorito.pl -o bios-update.img xxxxxxxx.iso on the downloaded ISO file to create a valid image file, then flash this file on a USB drive via dd like you would flash. For further information see.The ThinkPad X1 Yoga supports setting a custom splash image at the earliest boot stage (instead of the red 'Lenovo' logo), more information can be found in the README.TXT located in the FLASH folder of the update image.Suspend issuesIn the past 3rd Generation X1 Yoga supports S0i3 (also known as Windows Modern Standby), but not S3 by default. This changed as of May, 17, 2019.
Lenovo included a BIOS option to enable S3 from BIOS 1.33 onward.Verifying S3To check whether S3 is recognized and usable by Linux, run:dmesg grep -i 'acpi: (supports'and check for S3 in the list.Enabling S3 (with BIOS version 1.33 and after)Since of May 17, 2019, Lenovo released firmware 1.33, which let you enable legacy S3 sleep in UEFI/BIOS. You can find the option in ThinkPad Setup: Config - Power and disable the option 'Optimized Sleep State for Modern Standby'.Optimized Sleep State for Modern Standby:. Disabled: 'legacy' S3 sleep. Enabled: modern standbyBy setting this option to 'Disabled', a warning will appear. The warning describes that a reinstallation of your OS might be mandatory. Accept the warning and both Windows and Linux should work fine. You can do this step even if you already installed a patch to enable s3 sleep.
After disabling the optimized sleep state in the bios, and if you did the method to enable s3 sleep before the 1.33 bios update, it is best to remove GRUBEARLYINITRDLINUXCUSTOM='/acpioverride' in your /etc/default/grub (if you placed that there before), and regenerate the grub cfg using sudo update-grub. Don't forget to remove the acpioverride file as well.Reboot and verify whether S3 is working by running:dmesg grep -i 'acpi: (supports'You should now see something like this: 0.230796 ACPI: (supports S0 S3 S4 S5)Enabling S3 (before BIOS version 1.33)There is an automated script called x1carbon2018s3 by that was originally intended for use for the X1 Carbon 6th Gen.
The script and documentation were updated and maintained by to adapt it for the X1 Yoga 3rd Gen. The latest known version is in a fork by currently awaiting a pull request.
These scripts are recommended for debian-based distributions because of the script including debian-based bash commands.(Optional) To check out this script and its history, visit these GitHub repositories:.Manual methodThe manual method can be used in any distribution of Linux. Below is a modified version of because some things are hard to understand.1. Reboot, enter BIOS/UEFI. Go to Config - Thunderbolt (TM) 3 - set Thunderbolt BIOS Assist Mode to Enabled. Set also Security - Secure Boot to Disabled.2. Install iasl (Intel's compiler/decompiler for ACPI machine language) and cpioiasl in Ubuntu and possibly other distributions probably do not have the latest release for it to fully work. To make sure you have the latest version, download the and make install iasl.
Cpio can be installed normally with your distribution's package manager3. Get a dump of ACPI DSDT table: cat /sys/firmware/acpi/tables/DSDT dsdt.aml4. Decompile the dump, which will generate a.dsl source based on the.aml ACPI machine language dump: iasl -d dsdt.aml5. Download the patch and apply it against dsdt.dsl: patch -verbose acpioverridecp acpioverride /boot8. GRUB needs to boot the kernel with a parameter setting the deep sleep state as default. Edit /etc/default/grub and add the following:GRUBCMDLINELINUXDEFAULT='memsleepdefault=deep' GRUBEARLYINITRDLINUXCUSTOM='/boot/acpioverride'9.
Regenerate the GRUB configuration: sudo update-grubIf the second line of the previous step does not generate the grub to make the initrd lines look like 'initrd /boot/acpioverride' in the beginning, then follow the next steps as normal. If it does generate those lines, skip to step 1110. Tell GRUB to load the new DSDT table on boot in its configuration file usually located in /boot/grub/grub.cfg. Find the relevant GRUB menu entryand add the new image /boot/acpioverride to the initrd lines for the images that you want the s3 sleep to work in:Before:initrd /initramfs-4.17.4-200.fc28.x8664.imgAfter:initrd /boot/acpioverride /initramfs-4.17.4-200.fc28.x8664.img11.
Reboot and enjoy having a laptop running Linux again. Close the lid and the battery does not get drained in a few hours, also the battery no longer stays warm in sleep mode.To verify that things are working:dmesg grep ACPI grep supports# 0.195933 ACPI: (supports S0 S3 S4 S5)cat /sys/power/memsleep#s2idle deepFix touchscreen after resumeWhen the above fix is applied to allow S3 suspend, the touchscreen will not work upon resume from sleep. This fix was pulled from:The touchscreen functionality can be restored by freezing system (s2idle):create a unit file:/etc/systemd/system/wakewacomhack.servicewith content:UnitDescription= s2idle fo 1 second after resumeAfter=suspend.targetServiceType=oneshotExecStart=/usr/sbin/rtcwake -m freeze -s 1InstallWantedBy=suspend.targetenable in standard waycreate a unit file:sudo systemctl enable wakewacomhack.serviceEnabling S2idle. Note: This supports only S2idle state, not S0i3 state as some seem to have been led to believe!The power consumption might still be higher than that of the S3 state in this case.Tablet FunctionsFor the most part, the touch screen and stylus work under Xorg after installing package with no issues.
See for further information.StylusThe default stylus buttons are mapped by the wacom driver as follows:Physical ButtonXorg mouse numberTop2Bottom'Eraser'These can be changed with xsetwacom. To set the top button of the stylus to the equivalent of a middle click or Xorg mouse button 3:xsetwacom -set 'Wacom Pen and multitouch sensor Pen stylus' Button 2 3To register the 'eraser' as a right click use:xsetwacom -set 'Wacom Pen and multitouch sensor Pen eraser' Button 1 2Screen Rotation Automatic Screen Rotation in GnomeThe iio-sensor-proxy package provides automatic screen rotation for me in Gnome.
The package is available in the community reposudo pacman -S iio-sensor-proxyNo configuration was needed for my machine.With Screen RotatorAutomatic screen rotation works well with ScreenRotator which has no configuration necessary. The touchscreen two finger swipe does not follow rotation at this time. Install AUR and AUR.