menu.jpg  ::  Home ::  Computing ::  Downloads ::  Harley Davidson ::  Links ::  Music ::  Nonsense ::  Mail :: 

PC: Overview of the Linux related features of the Lenovo ThinkPad T570

Table of contents

1. Preface

This is a quick survey about Linux related hardware features of the Lenovo ThinkPad T570. I don't try to explain the usual installation details (for instance, which partitions I have made, what they are good for and so on and so on...). Requests for additional information may be directed by eMail to the author.

The laptop comes with an 15,6" HD+ TFT LCD, which allows resolutions from "320x180" to "1920x1080" pixels.

A nice goodie is the facility to boot the notebook over USB and LAN (not needed here yet, but a nice to have feature).

The machine comes with an ACPI interface. Standby- or suspend-mode is established by software (stock Linux acpi utilities) or pressing the appropriate hardware button. The laptop suspends under X and console to RAM and disk. It restores it's former state in reasonable speed. All relevant FN buttons send appropriate signals, when thinkpad_acpi is loaded as module or compiled into the kernel.

The machine runs with the two builtin batteries up to 11,0 hours.

Be sure that you have installed the latest BIOS, available on Lenovo's support site.

2. Installation

My ThinkPad T570 runs these days on ArchLinux/x86_64, because this Linux flavor avoids auto-configuration and some other here not wanted mumbo jumbo. It's running on top of an ArchLinux kernel 4.17.8-1-ARCH.

3. General Hardware Date

This notebook is as solid as it's black case -- no fancy stuff, only boring, functional hardware.

3.1 CPU

The system comes with an Intel Core i5 2.6 GHz processor.

Output from "lscpu":

  Architecture:        x86_64
  CPU op-mode(s):      32-bit, 64-bit
  Byte Order:          Little Endian
  CPU(s):              4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):           1
  NUMA node(s):        1
  Vendor ID:           GenuineIntel
  CPU family:          6
  Model:               142
  Model name:          Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Stepping:            9
  CPU MHz:             900.015
  CPU max MHz:         3100,0000
  CPU min MHz:         400,0000
  BogoMIPS:            5426.00
  Virtualization:      VT-x
  L1d cache:           32K
  L1i cache:           32K
  L2 cache:            256K
  L3 cache:            3072K
  NUMA node0 CPU(s):   0-3
  Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb
  rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx
  est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault
  epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap
  clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

The processor works without additional daemons nicely with the CPU-frequency governors of Linux-3. Most times I use the ondemand governor.

3.2 RAM

The system has two memory slots for SODIMM DDR4 Synchronous 2133 MHz RAM, which can hold maximal 32 GByte. My system is configured with 2x 8 GByte.

Output from "lshw -class memory"

  *-memory
       description: System Memory
       physical id: 3
       slot: System board or motherboard
       size: 16GiB
     *-bank:0
          description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0,5 ns)
          product: M471A1K43CB1-CRC
          vendor: Samsung
          physical id: 0
          serial: 3818641D
          slot: ChannelA-DIMM0
          size: 8GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:1
          description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0,5 ns)
          product: M471A1K43CB1-CRC
          vendor: Samsung
          physical id: 1
          serial: 214BEFFF
          slot: ChannelB-DIMM0
          size: 8GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)

3.3 NVMe drvice

This non volatible memory device is connected over a SATA to PCIe bridge to the system and lives in the disk bay. The device name is "/dev/nvme0n1". It seems to me that conventional SSDs are in the near future things from the past.

Output from "lshw --class storage"

  *-storage
       description: Non-Volatile memory controller
       product: NVMe SSD Controller SM961/PM961
       vendor: Samsung Electronics Co Ltd
       physical id: 0
       bus info: pci@0000:40:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: storage pm msi pciexpress msix nvm_express bus_master cap_list
       configuration: driver=nvme latency=0
       resources: irq:18 memory:dc000000-dc003fff

Output from "smartctl -A /dev/nvme0n1"

  smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.17.8-1-ARCH] (local build)
  Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

  === START OF SMART DATA SECTION ===
  SMART/Health Information (NVMe Log 0x02, NSID 0x1)
  Critical Warning:                   0x00
  Temperature:                        33 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          10%
  Percentage Used:                    0%
  Data Units Read:                    623.739 [319 GB]
  Data Units Written:                 145.883 [74,6 GB]
  Host Read Commands:                 2.327.859
  Host Write Commands:                801.372
  Controller Busy Time:               8
  Power Cycles:                       103
  Power On Hours:                     3
  Unsafe Shutdowns:                   61
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      212
  Warning  Comp. Temperature Time:    0
  Critical Comp. Temperature Time:    0
  Temperature Sensor 1:               33 Celsius
  Temperature Sensor 2:               35 Celsius

Output from "fdisk -l /dev/nvme0n1"

  Disk /dev/nvme0n1: 238,5 GiB, 256060514304 bytes, 500118192 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disklabel type: gpt
  Disk identifier: 209E3BB6-AA80-48C6-A1F4-5F7DF0FC8D49

  Device            Start       End   Sectors  Size Type
  /dev/nvme0n1p1     2048   1050623   1048576  512M EFI System
  /dev/nvme0n1p2  1050624  42993663  41943040   20G Linux swap
  /dev/nvme0n1p3 42993664 500118158 457124495  218G Linux LVM

3.4 DVD-RAM

As the machine comes without generic optical device, one needs for CDs and DVDs usage an external USB-pluggable device.

3.5 FlashMedia Reader

###Ricoh 4-in-1 reader (MMC, SD, SDHC, SDXD)

Output from "lshw --class storage":

  *-usb
       description: Mass storage device
       product: USB3.0-CRW
       vendor: Generic
       physical id: 3
       bus info: usb@2:3
       logical name: scsi0
       version: 2.04
       serial: 20120501030900000
       capabilities: usb-3.00 scsi emulated scsi-host
       configuration: driver=usb-storage maxpower=800mA speed=5000Mbit/s

Output from "lshw --class disk":

  *-disk
       description: SCSI Disk
       product: SD/MMC
       vendor: Generic-
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: 1.00
       serial: 2012090114345300
       capabilities: removable
       configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
     *-medium
          physical id: 0
          logical name: /dev/sda

3.6 Graphic chip

Graphics are brought to you form an Intel HD 620 chip with shared memory.

Output from "lshw --class video":

  *-display
       description: VGA compatible controller
       product: HD Graphics 620
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:125 memory:db000000-dbffffff memory:80000000-9fffffff ioport:e000(size=64) memory:c0000-dffff

Output from "xrandr":

  Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
  eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
     1920x1080     60.03*+  60.01    59.97    59.96    59.93    48.00
     1680x1050     59.95    59.88
     1400x1050     59.98
     1600x900      59.99    59.94    59.95    59.82
     1280x1024     60.02
     1400x900      59.96    59.88
     1280x960      60.00
     1440x810      60.00    59.97
     1368x768      59.88    59.85
     1280x800      59.99    59.97    59.81    59.91
     1280x720      60.00    59.99    59.86    59.74
     1024x768      60.04    60.00
     960x720       60.00
     928x696       60.05
     896x672       60.01
     1024x576      59.95    59.96    59.90    59.82
     960x600       59.93    60.00
     960x540       59.96    59.99    59.63    59.82
     800x600       60.00    60.32    56.25
     840x525       60.01    59.88
     864x486       59.92    59.57
     700x525       59.98
     800x450       59.95    59.82
     640x512       60.02
     700x450       59.96    59.88
     640x480       60.00    59.94
     720x405       59.51    58.99
     684x384       59.88    59.85
     640x400       59.88    59.98
     640x360       59.86    59.83    59.84    59.32
     512x384       60.00
     512x288       60.00    59.92
     480x270       59.63    59.82
     400x300       60.32    56.34
     432x243       59.92    59.57
     320x240       60.05
     360x202       59.51    59.13
     320x180       59.84    59.32
  DP-1 disconnected (normal left inverted right x axis y axis)
  HDMI-1 disconnected (normal left inverted right x axis y axis)
  DP-2 disconnected (normal left inverted right x axis y axis)
  HDMI-2 disconnected (normal left inverted right x axis y axis)

The modesetting driver bundled with xorg-x11 works well with the 15,6" (396mm) LCD (UHD (1920x1080) color, anti-glare, LED backlight, 16:9 aspect ratio).

3.7 PCMCIA

One PCI Express MiniCard slot (for 34 mmm wide ExpressCards).

3.8 Sound

Output from "lshw -class multimedia":

  *-multimedia
       description: Audio device
       product: Sunrise Point-LP HD Audio
       vendor: Intel Corporation
       physical id: 1f.3
       bus info: pci@0000:00:1f.3
       version: 21
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=64
       resources: irq:129 memory:dc240000-dc243fff memory:dc230000-dc23ffff

3.9 Touchpad

The notebook's got a touchpad with 2 and a trackpoint with 3 buttons. The whole stuff is recognized as a Intellimouse PS/2 and works in the text mode console with gpm started like this:

    # /usr/sbin/gpm -m /dev/input/mice -t imps2

The X mouse works flawlessly with 'libinput'. Excerpts from my xorg.conf:

  Section "InputClass"
          Identifier "libinput pointer catchall"
          MatchIsPointer "on"
          MatchDevicePath "/dev/input/event*"
          Driver "libinput"
  EndSection

  Section "InputClass"
          Identifier "libinput touchpad catchall"
          MatchIsTouchpad "on"
          MatchDevicePath "/dev/input/event*"
          Option "ScrollMethod" "twofinger"
          Option "Tapping" "true"
          Option "TappingButtonMap" "lmr"
          Option "TappingDrag" "true"
          Driver "libinput"
  EndSection

3.10 Keyboard

The keyboard comes quite unspectacular as a generic model with 104 keys with an additional numeric block. The relevant FN-keys work surprisingly well, wenn the module thinkpad_acpi.ko is loaded with options thinkpad_acpi experimental=1. You may define your own key bindings with a properly configured acpid.

The x keyboard works with 'libinput'. Excerpts from my xorg.conf:

  Section "InputClass"
          Identifier "libinput keyboard catchall"
          MatchIsKeyboard "on"
          MatchDevicePath "/dev/input/event*"
          Option "XkbLayout" "de"
          Option "XkbModel" "thinkpad60"
          Option "XkbVariant" "nodeadkeys"
          Option "XkbOptions" "compose:caps,terminate:ctrl_alt_bksp"
          Driver "libinput"
  EndSection

3.11 USB

There are 3x USB3.0, 1x1 USB3.1 and 1x Power-USB ports on the sides of the laptop. The USB controllers needs the kernel modules usbcore, uhci, ehci and xhci, kernel's storage subsystem usb-storage and SCSI hard disk support.

Output from "lshw -class bus":

  *-usb
       description: USB controller
       product: Sunrise Point-LP USB 3.0 xHCI Controller
       vendor: Intel Corporation
       physical id: 14
       bus info: pci@0000:00:14.0
       version: 21
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi xhci bus_master cap_list
       configuration: driver=xhci_hcd latency=0
       resources: irq:126 memory:dc220000-dc22ffff
     *-usbhost:0
          product: xHCI Host Controller
          vendor: Linux 4.17.8-1-ARCH xhci-hcd
          physical id: 0
          bus info: usb@1
          logical name: usb1
          version: 4.17
          capabilities: usb-2.00
          configuration: driver=hub slots=12 speed=480Mbit/s
     *-usbhost:1
          product: xHCI Host Controller
          vendor: Linux 4.17.8-1-ARCH xhci-hcd
          physical id: 1
          bus info: usb@2
          logical name: usb2
          version: 4.17
          capabilities: usb-3.00
          configuration: driver=hub slots=6 speed=5000Mbit/s

3.12 Ethernet chip

Output from "lshw -class net":

  *-network
       description: Ethernet interface
       product: Ethernet Connection (4) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: nic0
       version: 21
       serial: 54:ee:75:f1:ee:a9
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:127 memory:dc200000-dc21ffff

3.13 WLAN chip

Output from "lshw -class net":

  *-network
       description: Wireless interface
       product: Wireless 8265 / 8275
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wifi0
       version: 78
       serial: 74:e5:f9:bf:7b:d3
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.17.8-1-ARCH firmware=36.e91976c0.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:130 memory:dc100000-dc101fff

The device needs external firmware to work properly.

3.14 Mobile Broadband network device

Output from "lshw -class net":

  *-network DISABLED
       description: Ethernet interface
       physical id: 3
       logical name: wan0
       serial: 00:00:11:12:13:14
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_ncm driverversion=22-Aug-2005 firmware=CDC NCM link=no multicast=yes

3.15 Bluetooth

Works out of the box with kernel modules "bluetooth" and "btusb".

3.16 Fingerprint Reader

There seems to be mo generic support for this device yet.

3.17 Camera

The camera works out of the box with the module 'uvcvideo'.

Output from "lshw -class multimedia":

  *-usb:3
       description: Video
       product: Integrated Camera
       vendor: AzureWave
       physical id: 8
       bus info: usb@1:8
       version: 16.20
       serial: NULL
       capabilities: usb-2.00
       configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s

4. Survey PCI devices

Output from "lspci -k":

  00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
  	Subsystem: Lenovo ThinkPad T570
  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
  	Subsystem: Lenovo HD Graphics 620
  	Kernel driver in use: i915
  	Kernel modules: i915
  00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
  	Subsystem: Lenovo ThinkPad T570
  00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
  	Subsystem: Lenovo ThinkPad T570
  	Kernel driver in use: xhci_hcd
  	Kernel modules: xhci_pci
  00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
  	Subsystem: Lenovo ThinkPad T570
  	Kernel driver in use: intel_pch_thermal
  	Kernel modules: intel_pch_thermal
  00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
  	Subsystem: Lenovo ThinkPad T570
  	Kernel driver in use: mei_me
  	Kernel modules: mei_me
  00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
  	Kernel driver in use: pcieport
  	Kernel modules: shpchp
  00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)
  	Kernel driver in use: pcieport
  	Kernel modules: shpchp
  00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
  	Kernel driver in use: pcieport
  	Kernel modules: shpchp
  00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1)
  	Kernel driver in use: pcieport
  	Kernel modules: shpchp
  00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
  	Subsystem: Lenovo ThinkPad T570
  00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
  	Subsystem: Lenovo Sunrise Point-LP PMC
  00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
  	Subsystem: Lenovo Sunrise Point-LP HD Audio
  	Kernel driver in use: snd_hda_intel
  	Kernel modules: snd_hda_intel, snd_soc_skl
  00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
  	Subsystem: Lenovo ThinkPad T570
  	Kernel driver in use: i801_smbus
  	Kernel modules: i2c_i801
  00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
  	Subsystem: Lenovo ThinkPad T570
  	Kernel driver in use: e1000e
  	Kernel modules: e1000e
  04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
  	Subsystem: Intel Corporation Wireless 8265 / 8275
  	Kernel driver in use: iwlwifi
  	Kernel modules: iwlwifi
  40:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
  	Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
  	Kernel driver in use: nvme

5. Survey PnP devices

Output from dmesg | grep -i pnp

  [    0.230962] acpi PNP0C0A:01: ACPI dock station (docks/bays count: 1)
  [    0.266029] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
  [    0.266219] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug PME AER PCIeCapability]
  [    0.266221] acpi PNP0A08:00: _OSC: not requesting control; platform does not support [PCIeCapability]
  [    0.266222] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug PME AER PCIeCapability]
  [    0.266224] acpi PNP0A08:00: _OSC: platform willing to grant []
  [    0.266225] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
  [    0.343646] pnp: PnP ACPI init
  [    0.343880] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
  [    0.344236] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
  [    0.344919] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
  [    0.345044] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
  [    0.345085] system 00:04: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
  [    0.345105] pnp 00:05: Plug and Play ACPI device, IDs LEN0071 PNP0303 (active)
  [    0.345122] pnp 00:06: Plug and Play ACPI device, IDs LEN006a PNP0f13 (active)
  [    0.345267] system 00:07: Plug and Play ACPI device, IDs PNP0c02 (active)
  [    0.346888] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
  [    0.347568] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
  [    0.347939] system 00:0a: Plug and Play ACPI device, IDs PNP0c01 (active)
  [    0.348083] pnp: PnP ACPI: found 11 devices
  [    0.617011] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
  [    0.617065] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
  [    0.926874] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
  [    2.775083] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
  [    3.268726] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
  [    3.268815] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
  [    4.245565] psmouse serio1: synaptics: Your touchpad (PNP: LEN006a PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you
  might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.

6. Conclusion

All here needed hardware works well with a recent Linux kernel and my favorite distribution. The machine suspends to RAM and disk, from X or console -- and awakes from both suspend states again.

7. Disclaimer

This document has nothing to do with Lenovo, they don't even know it exists. There is no guarantee that the information on this page is accurate, please don't hold me responsible if your experience is different from the information here. If you have found any glaring typos or outdated info in this page, please send an eMail to the author.

8. Credits


The basic of this report was generated by lanoche v0.6, which is available at TuxMobile - Software.


Valid XHTML 1.0

Zurück zur Main-Site
Impressum
Created with GNU-Emacs on Sun Jul 29 18:46:01 CEST 2018

Valid CSS