Differences between revisions 20 and 21
Revision 20 as of 2015-04-28 12:22:09
Size: 19373
Editor: ?NimaMaleki
Comment:
Revision 21 as of 2015-04-28 12:23:14
Size: 19367
Editor: ?NimaMaleki
Comment:
Deletions are marked like this. Additions are marked like this.
Line 445: Line 445:
http://who-t.blogspot.com/2015/01/lenovos-x1-carbon-3rd-touchpad-woes.html
Debian User Forum discussion and testing for enabling xorg hardware acceleration with Broadwell chip: http://forums.debian.net/viewtopic.php?f=7&t=120925
 * http://who-t.blogspot.com/2015/01/lenovos-x1-carbon-3rd-touchpad-woes.html
 * Debian User Forum discussion for enabling xorg hardware acceleration with Broadwell chip: http://forums.debian.net/viewtopic.php?f=7&t=120925

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.

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.

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

  • Looks like it works under cpu intensive tasks

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)

  • 1920x1080 native screen resolution
  • not sure howto verify 2D/3D hardware acceleration
  • from the look how windows move and resize, I can tell it's software rendered
  • also Xorg.0.log shows this entry: (EE) AIGLX: reverting to software rendering

  • Gnome on Wayland runs with hardware acceleration. However, the environment was otherwise unstable, such as windows hanging after some time and no longer responding to clicks or drags. This needs to be tested further for details and was true with a fully upgraded system as of 27 April 2015.
  • According to Debian User Forums, an as yet experimental package, xserver-xorg-video-intel_2.99.917-1~exp1_amd64, provides some fixes and creates its own problems. So, an updated package supporting Broadwell should solve this problem and enable hardware acceleration. However, an individual test claims that this achieved hardware acceleration yet with failure to play videos. Further testing and possible fixes required. (relevant link at bottom of this page)

Audio

  • works out of the box (this needs confirmation, as after playing with sound settings PulseAudio cannot play via built-in speakers). 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.

Camera

  • works out of the box. Tested with: vlc => Open => Capture Device (/dev/video1)

Touchpad

  • Touchpad: 2-finger scrolling works out of the box

    Trackpad buttons: Left/Right work as ?MouseWheel buttons. Middle doesn't work. Had to use imps driver to bring back proper behaviour, but that removes 2-finger scroll on touchpad

To use imps driver add this file and reboot:

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

  • Note: There are reports that kernel 3.19x fixes the problem, so that trackpad, trackpoint, and touchpad work without restrictions. Needs to be confirmed.
  • Note: Tested with kernel 4.0.0-trunk-amd64. The left and right buttons are working without restrictions for the trackpad. In one test, system loaded fine, with excellent trackpad response, yet wireless/wifi functionality was disabled.

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

Power Management

  • (not covered yet)

WiFi

  • works with Non-Free drivers. "non-free" section in /etc/apt/sources.list is required

sudo apt-get install firmware-iwlwifi network-manager

Bluetooth

  • works out of the box

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

Credits



CategoryDebianOn CategoryDebianOn