Installing Ubuntu 11.04 on a ThinkPad W520

From ThinkWiki
Jump to navigation Jump to search

Out-of-the-box Stats

Component Status
OptimusUnsupported - See the Bumblebee project
Intel Graphics (Integrated)Works out-of-box
Nvidia Graphics (Discrete)Requires drivers, updated kernel.
ultranav scrollingRequires tweaks - See below
Fingerprint ReaderRequires tweaks -See below
ACPI - Suspend to Disk (Hibernate)Untested
WebcamWorks out-of-box
Harddrive Active ProtectionUntested
VGA outUntested
DisplayPort outUntested
eSataUntested
FirewireUntested
ModemUntested
Wireless - ThinkpadUntested
Wireless - Intel Advanced NUntested
Wireless - Intel Ultimate NWorks out-of-box
Audio inWorks out-of-box
Audio outWorks out-of-box
Wired LANWorks out-of-box
Thinkvantage ButtonKeypress recognized, but no corresponding action
Wireless killswitchWorks out-of-box
TrackpointWorks out-of-box
TrackpadWorks out-of-box
Trackpad scrolling (side or two-finger)Works out-of-box
Sound cardWorks out-of-box
Volume up/down/mute buttonsWorks out-of-box
Microphone mute buttonKeypress recognized, but no corresponding action
MicrophoneRequires tweaks - see below.
Optical driveWorks out-of-box
USB 2 portsUntested
USB 3 portsUntested
ExpresscardUntested
ACPI - Lid Open/CloseWorks out-of-box
ACPI - Suspend to RAMWorks out-of-box
SD/MMC Memory card readerUntested
FN-F2 (Lock)Works out-of-box
FN-F3 (Battery)Works out-of-box
FN-F4 (Sleep)Works out-of-box
FN-F5 (Wireless Power Cycle)Works out-of-box
FN-F6 (Conferencing)Untested
FN-F7 (Display)Untested
FN-F8 (Mouse)Untested
FN-F12 (Hibernate)Untested
FN-Home/End (Brightness)Works out-of-box
FN-PgUp (Thinklight)Works out-of-box
FN-PrtSc (SysRq)Untested
FN-ScrLk (Numlock)Untested
FN-Pause (Break)Untested
FN-Space (Zoom)Untested
FN-Up (Stop)Untested
FN-Down (Play-pause)Untested
FN-Left (Previous)Untested
FN-Right (Next)Untested

Installation

Normal CD installation works fine. However, if Optimus is enabled, it may require a hard reboot upon completion.

Kernel

  • Kernel 2.6.38-8 is the shipping kernel with Ubuntu 11.04. It is buggy. For example, a common issue is to see kworker constantly hit 20% cpu when running top.
  • Upgrade to a newer kernel by going to and downloading the headers, image, and _all files for your type of machine. Install them (you can just double-click in the UI if you don't know the commands). Reboot.

Optimus

  • BIOS
    • The OS Detect option does not work. If enabled, it will present Optimus to Ubuntu.
    • If graphics are set to Optimus, Ubuntu will default to using Intel graphics.
    • If graphics are set to Discrete, Ubuntu will default to using Nvidia. If dual-booting windows, this will cause problems with the default lenovo system image - possible (untested) fix is to manually reinstall nvidia drivers in windows.
    • If graphics are set to Integrated, Ubuntu will default to using Intel graphics.
  • The current kernel provided by Ubuntu conflicts with the Nvidia driver. Until Ubuntu upgrades to a newer kernel, you must manually install one.

Ultranav (Middle Mouse Button) Scrolling

  • run the command "sudo gedit /usr/share/X11/xorg.conf.d/20-thinkpad.conf"
  • paste this into the file
Section "InputClass"
	Identifier	"Trackpoint Wheel Emulation"
	MatchProduct	"TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"
	MatchDevicePath	"/dev/input/event*"
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
	Option		"Emulate3Buttons"	"false"
	Option		"XAxisMapping"		"6 7"
	Option		"YAxisMapping"		"4 5"
	Option		"ButtonMapping"		"1 1 3 4 5"
EndSection
  • Restart X (logout and back in)
  • If you want to disable horizontal scrolling, remove the line
	Option		"XAxisMapping"		"6 7"
  • The above also disables middle button pasting and makes the middle button act the same as the left button. If you wish to enable it, remove the line
	Option		"ButtonMapping"		"1 1 3 4 5"

Harddrive Active Protection

Fingerprint Reader

Microphone Mute Button

Microphone Recording Volume


W520