Difference between revisions of "Lenovo ThinkPad X201"

From ArchWiki
Jump to: navigation, search
m (Undervolting)
(Display issues: Note issue where screen randomly hangs with VT-d enabled)
 
(77 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
[[Category:Lenovo]]
 
[[Category:Lenovo]]
The X201 is a 4-core subnotebook produced by Lenovo. See [http://www.thinkwiki.org/wiki/Category:X201 Thinkwiki] for more information.
+
[[ja:Lenovo ThinkPad X201]]
 +
[[de:ThinkPad X201]]
 +
[[pl:Lenovo ThinkPad X201]]
 +
The [https://support.lenovo.com/us/en/documents/migr-75044 Lenovo X201] is a dual-core subnotebook produced by Lenovo.
  
Arch installs and runs flawlessly. Some specials features need tweaks, though.
+
{| class="wikitable" style="float: right;"
 +
| '''Device''' || '''Working'''
 +
|-
 +
| [[Intel graphics]] || {{Yes}}
 +
|-
 +
| [[Network]] || {{Yes}}
 +
|-
 +
| [[Wireless_network_configuration#iwlwifi|Wireless]] || {{Yes}}
 +
|-
 +
| [[ALSA]] || {{Yes}}
 +
|-
 +
| [[Touchpad]] || {{Yes}}
 +
|-
 +
| [[Bluetooth]] || {{Yes}}
 +
|-
 +
| [[Webcam]] || {{Yes}}
 +
|-
 +
| Card reader || {{Yes}}
 +
|-
 +
| [[Power management]] || {{Y|Limited}}
 +
|-
 +
| [[Backlight]] || {{Yes}}
 +
|}
  
== Graphics ==
+
== Configuration ==
  
Have a look at the [[Intel]] wikipage for installation and configuration of the proper driver packages.
+
=== Backlight ===
  
== Hibernation ==
+
Append the {{ic|1=acpi_backlight=video}} [[kernel parameter]].
  
Install {{Pkg|pm-utils}} and {{Pkg|uswsusp}} and configure it as pm-util's backend. See [[Pm-utils#Using_another_sleep_back-end_.28like_uswsusp.29]] for instructions.
+
=== Hibernation ===
  
== Fbsplash ==
+
See [[Power management/Suspend and hibernate#Hibernation]].
  
To make [[fbsplash]] work, i915 has to be added to the modules array in mkinitcpio.conf:
+
=== Dock ===
  
{{hc|/etc/mkinitcpio.conf|2=MODULES="i915"}}
+
See [[dockd]].
  
== Power Saving ==
+
== Troubleshooting ==
  
=== Fan control ===
+
=== Overheating ===
  
There are some discussions concerning overheating-related shutdowns when running under full load (video encoding, etc) (see [http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/x201-random-shutdown/td-p/227471] or [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689]).
+
There are some discussions concerning overheating-related shutdowns when running under full load (video encoding, etc). [http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/x201-random-shutdown/td-p/227471] [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689]
  
[[Thinkpad Fan Control]] contains instructions to install tpfand as a custom replacement for hardware (bios-) fan control.
+
Use the following {{AUR|thinkfan}} configuration [http://thinkpad-forum.de/threads/185587-X201-Thinkfan-Standardschaltschwellen-ermitteln]:
  
{{Warning|Wrong settings may damage your machine! Use with caution!}}
+
{{hc|/etc/thinkfan.conf|
 +
#X201 user specific
 +
#lvl    low    up      RPM
 +
(0,    0,      47)    # 0
 +
(1,    42,    57)    # 2000
 +
(2,    44,    59)    # 3300
 +
(3,    50,    65)    # 3500
 +
(4,    54,    70)    # 3500
 +
(5,    60,    73)    # 3800
 +
(6,    62,    83)    # 3800
 +
(7,    65,    88)    # 4300
 +
(127,  70,    32767)  # 5300
 +
}}
  
After that, start {{ic|tpfan-admin}} and adjust the settings (by clicking on the sensor's graph). You should split the graph (via context menu) and set the fan to '''full-speed''' when the sensor reaches, say, 65 °C. You may also edit the config file directly.
+
{{Pkg|cpupower}} can be used for frequency scaling; see [[Cpufrequtils]] for more information. Undervolting is not possible with the Intel core iX cpu.
  
=== TLP ===
+
=== No speaker output ===
  
You may install [[TLP]] instead of [[Laptop Mode Tools]] to automate power saving operations.
+
Try pressing the '''mute button''' (next to the Escape key). See [http://www.stderr.nl/Blog/Hardware/Thinkpad/WeirdMuteButtonBehaviour.html this article] for details.
  
=== Frequency Scaling ===
+
=== No ACPI events ===
  
Use {{Pkg|cpufrequtils}} to enable frequency scaling.
+
See coreboot documentation: [https://www.coreboot.org/Board:lenovo/x201] [http://www.coreboot.org/pipermail/coreboot-gerrit/2015-July/028593.html]
  
=== Undervolting ===
+
=== Display issues ===
  
Undervolting is not possible with the intel core iX cpu.
+
See [[Intel graphics#SNA issues]] and [[Intel graphics#DRI3 issues]].
  
=== Bootloader kernel options ===
+
X201s:
 +
If planning to use VT-d, it is also recommended to add
 +
intel_iommu=igfx_off
 +
to the kernel parameters. [https://bugs.freedesktop.org/show_bug.cgi?id=44510#c2 see bug report].
  
Add these kernel options to your bootloader's config file to make use of power saving mechanismens which are turned off by default because of reported instabilities. For me, they do a great job on my X201.
+
=== Hardware virtualization ===
  
{{Warning|These options can cause instability on your system! Try them and remove them if you are experiencing problems.}}
+
If [[KVM]] claims virtualization support is disabled in BIOS, even with VT-x enabled, disable Intel TXT. [https://groups.google.com/forum/#!topic/qubes-users/4NP4goUds2c]
  
==== grub2 ====
+
== lspci ==
{{hc|/etc/default/grub|2=GRUB_CMDLINE_LINUX_DEFAULT="[...] i915_enable_rc6=1 i915_enable_fbc=1"}}
 
Update grub.cfg afterwards: {{ic|grub-mkconfig -o /boot/grub/grub.cfg}}
 
  
==== grub1 ====
+
{{Note|Model: X201, Type: 3680-WPH}}
Add the options above to {{ic|/boot/grub/menu.lst}}.
+
 
 +
{{bc|
 +
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
 +
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
 +
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
 +
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
 +
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
 +
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
 +
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
 +
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
 +
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
 +
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
 +
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
 +
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
 +
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
 +
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
 +
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
 +
02:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
 +
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
 +
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
 +
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
 +
ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 02)
 +
ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
 +
ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
 +
}}
 +
 
 +
== See also ==
 +
 
 +
* [http://www.thinkwiki.org/wiki/Category:X201 ThinkWiki.org]
 +
* [http://thinkwiki.de/X201 ThinkWiki.de]

Latest revision as of 18:50, 16 June 2018

The Lenovo X201 is a dual-core subnotebook produced by Lenovo.

Device Working
Intel graphics Yes
Network Yes
Wireless Yes
ALSA Yes
Touchpad Yes
Bluetooth Yes
Webcam Yes
Card reader Yes
Power management Limited
Backlight Yes

Configuration

Backlight

Append the acpi_backlight=video kernel parameter.

Hibernation

See Power management/Suspend and hibernate#Hibernation.

Dock

See dockd.

Troubleshooting

Overheating

There are some discussions concerning overheating-related shutdowns when running under full load (video encoding, etc). [1] [2]

Use the following thinkfanAUR configuration [3]:

/etc/thinkfan.conf
#X201 user specific
#lvl    low     up      RPM
(0,    0,      47)     # 0
(1,    42,     57)     # 2000
(2,    44,     59)     # 3300
(3,    50,     65)     # 3500
(4,    54,     70)     # 3500
(5,    60,     73)     # 3800
(6,    62,     83)     # 3800
(7,    65,     88)     # 4300
(127,  70,     32767)  # 5300

cpupower can be used for frequency scaling; see Cpufrequtils for more information. Undervolting is not possible with the Intel core iX cpu.

No speaker output

Try pressing the mute button (next to the Escape key). See this article for details.

No ACPI events

See coreboot documentation: [4] [5]

Display issues

See Intel graphics#SNA issues and Intel graphics#DRI3 issues.

X201s: If planning to use VT-d, it is also recommended to add

intel_iommu=igfx_off

to the kernel parameters. see bug report.

Hardware virtualization

If KVM claims virtualization support is disabled in BIOS, even with VT-x enabled, disable Intel TXT. [6]

lspci

Note: Model: X201, Type: 3680-WPH
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
02:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)

See also