Translation(s): none

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.

Models covered
?ThinkPad T450s

Sub-models (LIST OF MODEL REFERENCE NUMBER) options :
- Video card (Intel Integrated)
- Screen size (14" 1920x1080)
- Wireless card: Intel Corporation Dual Band Wireless-AC 7265
- Disk and Ram size: 1T, 12G
- Other options: fingerprint reader, bluetooth

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card:

{OK}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

[?]

Sleep / Suspend

[OK]

Xorg

{OK}

- OpenGL

[?]

- Resize-and-Rotate(randr)

[OK]

Switch to External Screen

{OK}

Mouse

- Built-in (Trackpoint)

{OK}

- Built-in (Touchpad)

{OK}

- Built-in (Trackpad)

{i}

Modem

[?]

Display

{OK}

Audio

{i}

Camera

{OK}

Touchpad

{i}

Fn Hotkeys

{i}

Power Management

{OK}

Wireless/Wifi

X-(

Bluetooth

{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

none

Configuration

CPU Frequency Scaling

cat /proc/cpuinfo
...
processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 61
model name      : Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
stepping        : 4
microcode       : 0x16
cpu MHz         : 2545.460
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
...

apt-get install cpufrequtils
cpufreq-info

...
analyzing CPU 3:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 0.97 ms.
  hardware limits: 500 MHz - 3.20 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 500 MHz and 3.20 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 3.10 GHz.

Display

00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

apt-get -t jessie-backports install xserver-xorg-video-intel

Audio

Audio works out of the box. The first sound device is Intel HDMI, the second Intel PCH. So applications using "first ALSA device" won't play via the speakers.

cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xe1230000 irq 66
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xe1234000 irq 65
29 [ThinkPadEC     ]: ThinkPad EC - ThinkPad Console Audio Control
                      ThinkPad Console Audio Control at EC reg 0x30, fw unknown

To reorder sound cards (and PulseAudio will see both cards) edit 2 files and reboot (not sure which one actually does the difference):

# cat ~/.asoundrc
defaults.pcm.card=1

# cat /etc/modprobe.d/thinkpad-t450s.conf
options snd_hda_intel index=1,0

In pavucontrol I had to disable Configuration => (1st) Built-in Audio (Digital *). And leave Analog Stereo Duplex enabled.

This way google-chrome and skype output sound properly.

Using the PulseAudio Volume Control also allows audio to be pushed to an external display (like a TV) via the mini ?DisplayPort. You will need to open the volume control panel and select the "Built-in Audio Digital Stereo (HDMI)" option for the application that is creating the sound. This option seems to only appear while the application is actively producing audio, so you may need to start the video/music before opening the volume control panel.

Dockingstation

The dvi-expander is a kernel module that is not working in current stable jessie (3.16) -> the result is that only one external monitor can be plugged into the dockingstation. Solution: install the backports kernel (4.1). More information here [1]. After adding following line to /etc/apt/sources.list

deb http://http.debian.net/debian jessie-backports main contrib non-free

The following command shows the available kernel-images

apt-get install update
apt-cache search linux-image

Now choose the most recent kernel-image <KERNEL-IMAGE> and execute following command (in my case linux-image-4.1.0-0.bpo.2-amd64)

apt-get -t jessie-backports install <KERNEL-IMAGE>

Now restart - grub should have a new entry with the new kernel which should be loaded automatically.

[1] https://wiki.debian.org/HowToUpgradeKernel

Camera

Touchpad

To use imps driver add this file and reboot:

$ cat /etc/modprobe.d/psmouse.conf 
options psmouse proto=imps

Trackpoint scrolling

To enable scrolling using the trackpoint and the middle mouse button, place the following under /usr/share/X11/xorg.conf.d/90-evdev.conf

Section "InputClass"
    Identifier "Touchpad/TrackPoint"
    MatchProduct "PS/2 Synaptics TouchPad"
    MatchDriver "evdev"
    Option "EmulateWheel" "1"
    Option "EmulateWheelButton" "2"
    Option "Emulate3Buttons" "0"
    Option "XAxisMapping" "6 7"
    Option "YAxisMapping" "4 5"
EndSection

Note that these settings will cause the system to recognize both the trackpoint and trackpad as a single, PS/2 device, and you will be unable to use two-finger scrolling or disable the trackpad while typing.

Fn Hotkeys

3.16.0-4 amd64 kernel loads thinkpad_acpi module.

xbindkeys can handle some of Fn keys: XF86MonBrightnessDown, XF86MonBrightnessUp, XF86AudioRaiseVolume, XF86AudioLowerVolume (the rest was not tested)

I did not test default behaviour of the keys in Gnome or KDE.

On Window Maker I had to bind keys manually to custom scripts. In order for brightness adjustments to work following script is bind to the key via xbindkeys

#run as root
#!/bin/bash
BRIGHTNESS_FILE=/sys/class/backlight/intel_backlight/brightness
STEP=50
current=`cat $BRIGHTNESS_FILE`
new=`expr $current + $STEP`
echo $new > $BRIGHTNESS_FILE

Switch between Fn and F1-F12 keys

Fn+Esc enables/disables the Fn key lock.

Power Management

WiFi

sudo apt-get install firmware-iwlwifi network-manager

with a backports kernel I had to install firmware-iwlwifi from backports or else iwconfig was not showing wlan0:

apt-get -t jessie-backports install xserver-xorg-video-intel

Bluetooth

sudo apt-get install bluedevil blueman


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device [17aa:5036]
        Flags: bus master, fast devsel, latency 0, IRQ 62
        Memory at e0000000 (64-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=512M]
        I/O ports at 3000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, fast devsel, latency 0, IRQ 64
        Memory at e1230000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

00:14.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB xHCI Controller [8086:9cb1] (rev 03) (prog-if 30 [XHCI])
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, medium devsel, latency 0, IRQ 58
        Memory at e1220000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd

00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, fast devsel, latency 0, IRQ 60
        Memory at e1239000 (64-bit, non-prefetchable) [size=32]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei_me

00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (3) I218-LM [8086:15a2] (rev 03)
        Subsystem: Lenovo Device [17aa:2226]
        Flags: bus master, fast devsel, latency 0, IRQ 56
        Memory at e1200000 (32-bit, non-prefetchable) [size=128K]
        Memory at e123e000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 3080 [size=32]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] PCI Advanced Features
        Kernel driver in use: e1000e

00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
        Subsystem: Lenovo Device [17aa:5036]
        Flags: bus master, fast devsel, latency 64, IRQ 63
        Memory at e1234000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 [8086:9c9a] (rev e3) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: e1100000-e11fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Lenovo Device [17aa:5034]
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 [8086:9c94] (rev e3) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Memory behind bridge: e1000000-e10fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Lenovo Device [17aa:5034]
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03) (prog-if 20 [EHCI])
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at e123d000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc3] (rev 03)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] [8086:9c83] (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 59
        I/O ports at 30a8 [size=8]
        I/O ports at 30bc [size=4]
        I/O ports at 30a0 [size=8]
        I/O ports at 30b8 [size=4]
        I/O ports at 3060 [size=32]
        Memory at e123c000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: medium devsel, IRQ 18
        Memory at e1238000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]
        Kernel driver in use: i801_smbus

00:1f.6 Signal processing controller [1180]: Intel Corporation Wildcat Point-LP Thermal Management Controller [8086:9ca4] (rev 03)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at e123b000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
        Subsystem: Lenovo Device [17aa:5034]
        Flags: bus master, fast devsel, latency 0, IRQ 57
        Memory at e1100000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number xx-xx-xx
        Capabilities: [150] Latency Tolerance Reporting
        Capabilities: [158] L1 PM Substates
        Kernel driver in use: rtsx_pci

03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095b] (rev 59)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5210]
        Flags: bus master, fast devsel, latency 0, IRQ 61
        Memory at e1000000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number xx-xx-xx
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] L1 PM Substates
        Kernel driver in use: iwlwifi

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Bus 001 Device 002: ID 8087:8001 Intel Corp.
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 001 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 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         3
  iProduct                2 xHCI Host Controller
Bus 002 Device 004: 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 002 Device 003: ID 8087:0a2a Intel Corp.
  bDeviceClass          224 Wireless
  bDeviceProtocol         1 Bluetooth
  iProduct                0
Bus 002 Device 002: ID 138a:0017 Validity Sensors, Inc.
  bDeviceClass          255 Vendor Specific Class
  bDeviceProtocol       255
  iProduct                0
      (Bus Powered)
  (Bus Powered)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                2 xHCI Host Controller

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2015-03-17 20:19:54, 28.7 KB) [[attachment:Xorg.0.log]]
 All files | Selected Files: delete move to page

Credits



CategoryDebianOn CategoryDebianOn