Differences between revisions 3 and 32 (spanning 29 versions)
Revision 3 as of 2014-06-03 07:39:25
Size: 5487
Comment: important info and useful links
Revision 32 as of 2015-02-01 02:12:35
Size: 9773
Comment: Fix firmware update link
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
~-''Models covered''-~<<BR>>'''Lenovo ThinkPad T440p'''

 * '''20AN''', 14.0" (1920x1080), Intel Core i7-4600M, 16GB DDR3, 512 GB SSD SATA3, Intel HD Graphics 4600, Intel Dual Band Wireless-AC 7260, Bluetooth 4.0, Fingerprint reader, Smartcard reader, DVD burner
~-''Models covered''-~<<BR>>'''Lenovo !ThinkPad T440p'''

 * '''20AN''', 14.0" (1920x1080), Intel Core i7-4600M, 16GB DDR3, 512 GB SSD SATA3, Intel HD Graphics 4600, Intel Dual Band Wireless-AC 7260, Bluetooth 4.0, Fingerprint reader, Smartcard reader, DVD burner, SD card reader
Line 32: Line 32:
|| Xorg || {OK} || || Xorg || {i} ||
Line 39: Line 39:
|| Modem || [-] || || Bluetooth || [?] ||
|| Webcam || {OK} ||
Line 44: Line 45:
|| SD card reader || {OK} ||
Line 48: Line 50:
### Any Important note, before the user starts installing Debian
### Like Bios, Disk, MBR Configuration. (default : ''none'')
Line 53: Line 53:
Also before installing Debian, I disabled these two things in the BIOS:

 * OS Optimized Defaults (which disables Secure Boot)
 * Intel Rapid Start (I will not keep the partition it needs)


### uncomment one of the two lines
## none
## {X} There is currently a bug that ...
Also before installing Debian, I disabled these two unnecessary things in the BIOS, just to be safe:

 * `OS Optimized Defaults` (recommended [[https://github.com/leoluk/thinkpad-stuff/wiki/Haswell-ThinkPad-problems#linux-bios-corruptionbrick|here]])
 * `Intel Rapid Start` (recommended [[http://forums.lenovo.com/t5/W-Series-ThinkPad-Laptops/HOWTO-Brick-a-W540-in-easy-steps/m-p/1414465/highlight/true#M43530|here]])
Line 65: Line 60:
== Display ==
## First say what's the Display adapter model (lspci may help)
## Then explain how to get it working (or just the module used)
## what about : 3D ; DRI ; xrandr ; external/secondary screen...
## attach your xorg.conf at the bottom of the page.
Line 72: Line 61:

The `snd_hda_intel` driver included in DebianPkg: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 [[https://github.com/leoluk/thinkpad-stuff/wiki/Haswell-ThinkPad-problems#linux-docking-station-audio-compatibility|doesn't work]]. To fix it (until it [[https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/hda/patch_realtek.c#n4711|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 [[https://bugzilla.kernel.org/show_bug.cgi?id=74861|speed / pitch of audio on the HDMI output is off]], try using this option on the kernel command line:

{{{
i915.disable_power_well=0
}}}
Line 77: Line 102:
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 [[http://www.itp.tuwien.ac.at/~mattems/blog/2014/05/29#input-synpatics-1.8.0|version 1.8.0]] of the DebianPkg:xserver-xorg-input-synaptics package out of [[DebianExperimental|experimental]].

== Graphics ==

<<Include(InstallingDebianOn/PageFragmentIntelGraphicsVADrivers/jessie)>>

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

<<Include(InstallingDebianOn/PageFragmentIntelGraphicsDRMDriver/jessie)>>
Line 78: Line 124:
## Have you tested Hibernation and/or
## Then explain how to get it working

Suspend-to-RAM works out of the box.

<<Include(InstallingDebianOn/PageFragmentLidSuspendSystemd/jessie)>>

<<Include(InstallingDebianOn/PageFragmentThinkpadIntelGraphicsPowerManagement/jessie)>>

=== laptop-mode-tools ===

<<Include(InstallingDebianOn/PageFragmentThinkpadLaptopMode/jessie)>>
Line 83: Line 137:
Wireless did not work out-of-the box, but required installation of the non-free Debian package DebianPkg:firmware-iwlwifi. <<Include(InstallingDebianOn/PageFragmentIntelWifiFirmware/jessie)>>
Line 89: Line 143:
## Paste the output of "lspci -nn" here, within some {{{ }}} brackets. Optionally, attach "lscpi -vnn"
##(lspci -nn missing)
~-{{{
lspci -nn

{{{
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)
Line 97: Line 163:
## Uncomment and Paste the output of one of the three lines (within some {{{ }}}} brackets)
## (lsusb missing)
## lsusb
## lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
{{{
lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
{{{
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
Line 108: Line 195:
## Some interesting files you can attach: (Named with computer name and model, and debian version, like "dmidecode.Etch_Thinkpad_T60_1952-W5R.txt")
## - Xorg.conf file (then "include" it inline below)
## - Output of dmidecode (make sure to remove Serial Number and UUID before), you'd may choose to use:
## sudo dmidecode | sed 's/\(Serial Number\|UUID\).*/\1: Not Disclosed/g'
## - Output of lsmod
Line 117: Line 199:
## Link to related installation-report
## Link to related bug(s) report(s)
## Avoid linking to other installation Howto from this page.

 * [[https://github.com/leoluk/thinkpad-stuff/wiki/Haswell-ThinkPad-problems|List of problems with the Haswell line of ThinkPads]]
Line 123: Line 201:
 * [[http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS037579&rss=true|Firmware updates]]  * [[http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t440p|Official firmware updates]]
Line 127: Line 205:

This [[https://github.com/leoluk/thinkpad-stuff/wiki/Haswell-ThinkPad-problems|list of problems with the Haswell line of ThinkPads]] has been very useful in finding solutions to common problems.
Line 128: Line 209:
CategoryLaptopComputer
----
CategoryDebianOn
CategoryDebianOn
CategoryLaptopComputer CategoryDebianOn

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 owners 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.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Translation(s): none

Models covered
Lenovo ThinkPad T440p

  • 20AN, 14.0" (1920x1080), Intel Core i7-4600M, 16GB DDR3, 512 GB SSD SATA3, Intel HD Graphics 4600, Intel Dual Band Wireless-AC 7260, Bluetooth 4.0, Fingerprint reader, Smartcard reader, DVD burner, SD card reader

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:

  • OS Optimized Defaults (recommended here)

  • Intel Rapid Start (recommended here)

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 copy 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