Lenovo ThinkPad X220

HardwarePCI/USB IDWorking?
TouchpadYes
TrackPointYes
KeyboardYes
Video8086:0126Yes
Webcam04f2:b217Yes
Ethernet8086:1502Yes
BluetoothYes
SD-card reader1180:e823Yes
Audio8086:1c20Yes
Wireless8086:0085Yes
Fingerprint Reader147e:2016Yes

Installation

The X220 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.

Firmware

fwupd does not support this device yet.

To update the firmware on the device, get the latest bootable CD and follow the steps in Flashing BIOS from Linux#Bootable optical disk emulation.

Power management

After waking up the device from suspend, the device might get stuck in a reboot loop. This can be caused by the EFI storage getting too full. To free up some space, clear the pstore:

# mkdir -p /dev/pstore
# mount -t pstore pstore /dev/pstore

Nothing important should be here, but check first anyway:

# ls /dev/pstore

Then empty the directory:

# rm /dev/pstore/*

Next some EFI variables. These are used/created by pstore, but everyone should have had them even though the pstore data was deleted using the above commands:

# rm /sys/firmware/efi/efivars/dump-type0-*

Microphone

The internal microphone can generate a lot of static or hissing, the workaround is to mute the right mic input channel.

Tip: Noise cancellation is preferred: it also mutes the internal fans. See the pulseaudio documentation for more information.

Touchpad

If the touchpad is jumpy/imprecise, create the following configuration:

/etc/udev/hwdb.d/90-libinput-x220-touchpad-fw81.hwdb
touchpad:i8042:*
 LIBINPUT_MODEL_LENOVO_X220_TOUCHPAD_FW81=1

Then follow the steps at Map scancodes to keycodes#Using udev.

See Fedora bug #1264453 for more details.

Function keys

Key Visible?1 Marked?2 Effect
ThinkVantageYesYesKEY_PROG1
Audio muteYesYesKEY_MUTE
Mic muteYesYesKEY_F20
Volume downYesYesKEY_VOLUMEDOWN
Volume upYesYesKEY_VOLUMEUP
Fn+F1YesNoKEY_FN_F1
Fn+F2YesYesKEY_COFFEE
Fn+F3YesYesKEY_BATTERY
Fn+F4YesYesKEY_SLEEP
Fn+F5YesYesKEY_WLAN
Fn+F6YesYesKEY_CAMERA
Fn+F7YesYesKEY_SWITCHVIDEOMODE
Fn+F8YesYesKEY_F21
Fn+F12YesYesKEY_SUSPEND
Fn+HomeYesYesKEY_BRIGHTNESSUP
Fn+EndYesYesKEY_BRIGHTNESSDOWN
Fn+SpaceYesYesKEY_FULL_SCREEN
Fn+LeftYesYesKEY_PREVIOUSSONG
Fn+RightYesYesKEY_NEXTSONG
Fn+UpYesYesKEY_STOPCD
Fn+DownYesYesKEY_PLAYPAUSE
  1. The key is visible to xev and similar tools
  2. The physical key has a symbol on it, which describes its function

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.