This is a document describing how to install Ubuntu 16.04 LTS on ThinkPad T470s.
- CPU: Intel Core i7-7600U (2.80GHz, 4MB cache)
- Graphics: Intel HD Graphics 620
- Display: 14” WQHD (2560 X 1440) IPS Non-Touch Anti-Glare
- Memory: 24GB DDR4 2133 MHz (8GB Onboard + 16GB)
- SSD: PCIe-NVMe 256G OPAL 2.0
- Wireless: Intel Dual Band Wireless AC (2x2) 8265 Bluetooth 4.1
- Fingerprint Reader
- No Smartcard Reader
Canonical says the pre-installed version of Ubuntu 16.04 works on T470s.
I recommend using Ubuntu 16.04.3 or later to avoid most of the following issues.
If you try using 16.04.1 or earlier, you should use the following command to install the HWE kernel after installation (see this document for more details):
sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
Wifi and Eithernet problem
Ubuntu 16.04 with Linux kernel 4.4 can't recognize wifi and ethernet device on T470s. We can manually install a more recent kernel (such as 4.8) after installation (via USB drive) to solve the issue.
sudo dpkg -i linux-headers-4.8*.deb linux-image-4.8*.deb
The Linux kernel earlier than 4.11 can't handle power saving of NVMe devices properly. Andy Lutomirski's patch to solve the issue is mereged in 4.10.0-14.16 in Ubuntu and available in the latest HWE Stack for 16.04.
- Lenovo ThinkPad T470s - ArchWiki
- NVME Power Saving Patch - ArchWiki
- Bug #1664602 “Using an NVMe drive causes huge power drain” : Bugs : linux package : Ubuntu
It is also resolved in the latest HWE kernel.
thinkfan can mitigate the problem.
Issues during installation
Disable Secure Boot
Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media
Summary: 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 drive
Encrypt the new Ubuntu installation for security
Summary: Configure the kernel parameter to change from
nosplash when starting the kernel.
Add a custom screen resolution
touch $HOME/.xprofile chmod +x $HOME/.xprofile
#!/bin/sh xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync xrandr --addmode VGA1 1440x900_60.00 xrandr --output VGA1 --mode 1440x900_60.00
Thunderbolt 3 Dock
If 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.
- Thunderbolt 3 Dock with T470s Bios options
- X1 Carbon Thunderbolt 3 Dock Not Recognizing USB Devices (mouse, keyboard etc..)
- How to configure the Thunderbolt 3 Security Level in BIOS Setup for Microsoft Windows operating system - ThinkPad
Unplug USB-C cable before suspending ThinkPad is recommended because it, unfortunatelly, sometimes crash in resuming.
Ethernet on the dock
4.10 kernel doesn't support ethernet on the dock. You must use 4.13 instead.