Difference between revisions of "Lenovo ThinkPad X220"

From ArchWiki
Jump to: navigation, search
(Created page with "[http://www.thinkwiki.org/wiki/Category:X220 Thinkwiki X220 reference] == Arch user blogs about the X220 == * [http://natalian.org/archives/2011/11/10/Thinkpad_X220/ Thinkpad X...")
 
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[http://www.thinkwiki.org/wiki/Category:X220 Thinkwiki X220 reference]
+
[[Category:Lenovo]]
 +
{{Stub}}
  
== Arch user blogs about the X220 ==
+
== Setup ==
 +
=== Graphics ===
 +
The graphic card is supported by the xf86-video-intel driver package from the extra repository. The Xorg server makes use of this automatically. There's no need for a Xorg configuration file.
 +
pacman -S xf86-video-intel
  
* [http://natalian.org/archives/2011/11/10/Thinkpad_X220/ Thinkpad X220 model 4287CTO] using a msata SSD for 64 bit Archlinux
+
===Booting===
* [http://blog.jamiek.it/2011/10/arch-linux-on-thinkpad-x220.html X220 i5]
+
The X220 cannot boot from a GPT disk with legacy BIOS, so either use an MBR disk or setup UEFI.
 +
 
 +
 
 +
== Issues ==
 +
=== Heat ===
 +
 
 +
{{Warning|This is quite old and shouldn't be applied on up-to-date systems without actual problems. In case of doubt better take a look at [[Intel#Module-based_Powersaving_Options]]}}
 +
 
 +
According to a [https://bbs.archlinux.org/viewtopic.php?pid=1030495#p1030495 forum post] you should set some power saving options in '''/etc/modprobe.d/modprobe.conf''' or add them to your ''kernel'' line in your '''menu.lst'''. We use rc6=7 for deepest sleep mode.
 +
options i915 modeset=1
 +
options i915 i915_enable_rc6=7
 +
options i915 i915_enable_fbc=1
 +
options i915 lvds_downclock=1
 +
 
 +
As well you could suffer of [https://bbs.archlinux.org/viewtopic.php?id=150743 Kernel Power Regressions].
 +
=== Reboot loop after resume from suspend! ===
 +
 
 +
This can be caused by the EFI storage getting too full. Run the following commands as root to free up some space.
 +
 
 +
  # First clear the pstore
 +
  mkdir -p /dev/pstore
 +
  mount -t pstore pstore /dev/pstore
 +
  ls /dev/pstore # <- Nothing important should be here, but check first anyway
 +
  rm /dev/pstore/*
 +
 
 +
  # Next some EFI variables. These are used/created by pstore, but I've had them even though
 +
  #I deleted the pstore data using the above commands. YMMV.
 +
  rm /sys/firmware/efi/efivars/dump-type0-*
 +
 
 +
This information was taken from [http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/x220-does-not-resume-from-sleep/m-p/1083233/highlight/false#M48825 the Lenovo forums]
 +
 
 +
==See also==
 +
* Arch user blogs about the X220
 +
** [http://natalian.org/archives/2011/11/10/Thinkpad_X220/ Thinkpad X220 model 4287CTO] using a msata SSD for 64 bit Archlinux
 +
** [http://blog.jamiek.it/2011/10/arch-linux-on-thinkpad-x220.html X220 i5]
 +
* [http://www.thinkwiki.org/wiki/Category:X220 Thinkwiki X220 reference]
 +
* [https://bbs.archlinux.org/viewtopic.php?id=129885 "Arch By Hand" UEFI GPT SSD LUKS Install Script], built on an x220 tablet with an SSD.
 +
* [http://forum.notebookreview.com/lenovo-ibm/575569-linux-x220-29.html#post8075286 Power saving options for the X220 - Notebook Review Forum]

Revision as of 13:11, 3 February 2014

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Lenovo ThinkPad X220#)

Setup

Graphics

The graphic card is supported by the xf86-video-intel driver package from the extra repository. The Xorg server makes use of this automatically. There's no need for a Xorg configuration file.

pacman -S xf86-video-intel

Booting

The X220 cannot boot from a GPT disk with legacy BIOS, so either use an MBR disk or setup UEFI.


Issues

Heat

Warning: This is quite old and shouldn't be applied on up-to-date systems without actual problems. In case of doubt better take a look at Intel#Module-based_Powersaving_Options

According to a forum post you should set some power saving options in /etc/modprobe.d/modprobe.conf or add them to your kernel line in your menu.lst. We use rc6=7 for deepest sleep mode.

options i915 modeset=1
options i915 i915_enable_rc6=7
options i915 i915_enable_fbc=1 
options i915 lvds_downclock=1

As well you could suffer of Kernel Power Regressions.

Reboot loop after resume from suspend!

This can be caused by the EFI storage getting too full. Run the following commands as root to free up some space.

 # First clear the pstore
 mkdir -p /dev/pstore
 mount -t pstore pstore /dev/pstore
 ls /dev/pstore # <- Nothing important should be here, but check first anyway
 rm /dev/pstore/*
 # Next some EFI variables. These are used/created by pstore, but I've had them even though 
 #I deleted the pstore data using the above commands. YMMV.
 rm /sys/firmware/efi/efivars/dump-type0-*

This information was taken from the Lenovo forums

See also