Difference between revisions of "Lenovo ThinkPad X220"

From ArchWiki
Jump to: navigation, search
(Trackpoint and Clickpad: All info covered in TrackPoint.)
 
(28 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
[[Category:Lenovo]]
 
[[Category:Lenovo]]
{{Stub}}
+
{{Expansion}}
  
[http://www.thinkwiki.org/wiki/Category:X220 Thinkwiki X220 reference]
+
== Setup ==
 +
=== Battery ===
 +
Battery functions like charging thresholds can be controlled using the script {{AUR|tpacpi-bat}} together with the kernel module {{AUR|acpi_call-git}}{{Broken package link|{{aur-mirror|acpi_call-git}}}}. The [[TLP]] power saving tool supports using acpi_call as backend for setting the thresholds as well.
  
== Arch user blogs about the X220 ==
+
=== Fingerprint reader ===
 +
The Upek fingerprint reader is supported by [[Fingerprint-gui]].
  
* [http://natalian.org/archives/2011/11/10/Thinkpad_X220/ Thinkpad X220 model 4287CTO] using a msata SSD for 64 bit Archlinux
+
=== Graphics ===
* [http://blog.jamiek.it/2011/10/arch-linux-on-thinkpad-x220.html X220 i5]
+
The graphics driver is provided by the {{pkg|xf86-video-intel}} package from the [[Official repositories]].
  
== Power saving options for the X220 ==
+
=== Trackpoint and Clickpad ===
  
* [http://forum.notebookreview.com/lenovo-ibm/575569-linux-x220-29.html#post8075286: Notebook Review Forum]
+
See [[TrackPoint]].
  
== Arch Forums x220 related threads ==
+
== Issues ==
 +
=== Boot fails ===
 +
The laptop can not boot from a GPT disk in legacy BIOS mode, it is necessary to either switch to UEFI booting or create a MBR Partition Table.
  
 +
=== 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]
 +
 +
=== Microphone ===
 +
 +
The x220 internal microphone has been the source of many complaints across platforms. Specifically, it can generate a lot of static or hissing on top of any recorded audio. The workaround is to mute the right mic input channel (in audio control programs that allow independent channel setting) or to drag the balance slider in a GUI for the internal mic level fully to the left.
 +
 +
Note also that the audio jack is a combination headset/mic jack and will work with modern smartphone headsets with inline microphones, as an alternative.
 +
 +
=== Backlight ===
 +
 +
Since {{ic|linux 3.16}}, some backlight-related kernel parameter defaults have been changed, causing the hardware brightness up/down keys to no longer function automatically. This can be worked around by setting {{ic|acpi_osi}}, e.g.
 +
  acpi_osi="!Windows 2012"
 +
in the [[kernel parameters]]. More details can be found on [[Backlight#Kernel_command-line_options|the Backlight page]].
 +
 +
==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.
 
* [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]
 +
* {{aur|thinkpad-scripts}} for ThinkPad X220 Tablet rotation, docking, etc scripts

Latest revision as of 09:06, 28 June 2016

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Lenovo ThinkPad X220#)

Setup

Battery

Battery functions like charging thresholds can be controlled using the script tpacpi-batAUR together with the kernel module acpi_call-gitAUR[broken link: archived in aur-mirror]. The TLP power saving tool supports using acpi_call as backend for setting the thresholds as well.

Fingerprint reader

The Upek fingerprint reader is supported by Fingerprint-gui.

Graphics

The graphics driver is provided by the xf86-video-intel package from the Official repositories.

Trackpoint and Clickpad

See TrackPoint.

Issues

Boot fails

The laptop can not boot from a GPT disk in legacy BIOS mode, it is necessary to either switch to UEFI booting or create a MBR Partition Table.

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

Microphone

The x220 internal microphone has been the source of many complaints across platforms. Specifically, it can generate a lot of static or hissing on top of any recorded audio. The workaround is to mute the right mic input channel (in audio control programs that allow independent channel setting) or to drag the balance slider in a GUI for the internal mic level fully to the left.

Note also that the audio jack is a combination headset/mic jack and will work with modern smartphone headsets with inline microphones, as an alternative.

Backlight

Since linux 3.16, some backlight-related kernel parameter defaults have been changed, causing the hardware brightness up/down keys to no longer function automatically. This can be worked around by setting acpi_osi, e.g.

 acpi_osi="!Windows 2012"

in the kernel parameters. More details can be found on the Backlight page.

See also