DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owner would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

Translation(s): none

Models covered
Lenovo ThinkPad T440p

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card (Generic Ethernet):

{OK}

Detect CD/DVD (Generic DVD+RW) :

{OK}

Sound:

{i}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

[?]

Sleep / Suspend

{OK}

Xorg

{i}

- OpenGL

{OK}

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

{OK}

Mouse

- Built-in (Trackpoint)

{i}

- Built-in (Touchpad)

{OK}

Bluetooth

[?]

Webcam

{OK}

Wireless/Wifi

X-(

Keyboard's Hotkeys

{OK}

Fingerprint reader

[?]

Smartcard reader

[?]

SD card reader

{OK}

External dock

{OK}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

If you are planning on using an Ultradock with external monitors, make sure you upgrade the dock firmware in Windows before installing Debian, otherwise, you may run into frozen display problems.

Also before installing Debian, I disabled these two unnecessary things in the BIOS, just to be safe:

Configuration

Audio

The snd_hda_intel driver included in alsa-base works out of the box.

However, garbled sound can be heard from some applications that use alsa directly so you may want to set this in /etc/libao.conf:

default_driver=pulse

Dock audio

The audio jack on the Ultradock doesn't work. To fix it (until it makes it to the kernel), put this in /lib/firmware/hda-jack-reconfigure.fw:

[codec]
0x10ec0292 0x17aa220e 0

[pincfg]
0x16 0x21211010
0x19 0x21a11010

and this in /etc/modprobe.d/hda-jack-reconfigure.conf:

options snd-hda-intel patch=hda-jack-reconfigure.fw,hda-jack-reconfigure.fw,hda-jack-reconfigure.fw,hda-jack-reconfigure.fw

HDMI audio

If the speed / pitch of audio on the HDMI output is off, try using this option on the kernel command line:

i915.disable_power_well=0

Mouse

To disable the touchpad and only leave the top row to simulate trackpad buttons, put the following configuration in /etc/X11/xorg.conf.d/thinkpad_clunkpad.conf:

Section "InputClass"
    Identifier "tp only with clickpad buttons"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "70% 0 1 42% 36% 70% 1 42%" # Emulate right and middle buttons
    Option "AreaBottomEdge" "1" # Disable moving but not buttons
EndSection

This required me to grab version 1.8.0 of the xserver-xorg-input-synaptics package out of experimental.

Graphics

Xorg works out of the box, but you may want to install these additional packages to get full GPU acceleration:

One thing that is broken regardless of whether or not the VA drivers are installed, is the Automatic video backend in vlc. I had to change it to OpenGL GLX video output (XCB) to get smooth video playback.

To make graphical boot work (for example using plymouth-drm), enable modesetting in /etc/initramfs/modules:

i915 modeset=1

and then run update-initramfs -u.

Power Management

Suspend-to-RAM works out of the box.

To prevent the laptop from suspending when the lid is closed, set the following in /etc/systemd/logind.conf:

HandleLidSwitch=lock

Putting the following kernel module options in /etc/modprobe.d/i915.conf has been suggested to reduce the power consumption of the GPU at rest:

options i915 i915_enable_rc6=7 i915_enable_fbc=1 lvds_downclock=1

laptop-mode-tools

If you use laptop-mode-tools, you will need the following in /etc/laptop-mode/conf.d/lcd-brightness.conf to configure the brightness of the screen:

BATT_BRIGHTNESS_COMMAND="echo 3000"
LM_AC_BRIGHTNESS_COMMAND="cat /sys/class/backlight/intel_backlight/max_brightness"
NOLM_AC_BRIGHTNESS_COMMAND="cat /sys/class/backlight/intel_backlight/max_brightness"
BRIGHTNESS_OUTPUT="/sys/class/backlight/intel_backlight/brightness"

and the following in /etc/laptop-mode/conf.d/cpufreq.conf to use the correct CPU governors:

BATT_CPU_GOVERNOR=powersave
LM_AC_CPU_GOVERNOR=performance
NOLM_AC_CPU_GOVERNOR=performance

WiFi

Wireless did not work out-of-the box, but required installation of the non-free Debian package firmware-iwlwifi.

System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation QM87 Express LPC Controller [8086:8c4f] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
03:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 83)

-~

lsusb

Bus 003 Device 002: ID 8087:8000 Intel Corp. 
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         3 
  iProduct                2 xHCI Host Controller
Bus 001 Device 003: ID 04f2:b39a Chicony Electronics Co., Ltd 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                2 Integrated Camera
      (Bus Powered)
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  (Bus Powered)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                2 xHCI Host Controller

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2014-06-03 23:35:13, 10.4 KB) [[attachment:dmidecode.Jessie_Thinkpad_T440p.txt]]
  • [get | view] (2014-06-03 23:35:27, 6.2 KB) [[attachment:lsmod.Jessie_Thinkpad_T440p.txt]]
  • [get | view] (2014-06-09 12:41:17, 7.3 KB) [[attachment:lspci.Jessie_Thinkpad_T440p.txt]]
 All files | Selected Files: delete move to page

Credits

This list of problems with the Haswell line of ThinkPads has been very useful in finding solutions to common problems.


CategoryLaptopComputer CategoryDebianOn