Difference between revisions of "Installing Ubuntu 11.04 on a ThinkPad W520"

From ThinkWiki
Jump to: navigation, search
(Optimus)
(Installation)
 
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
! Status
 
! Status
 
|-
 
|-
| 3D video || Untested
+
| Optimus || Unsupported - See the [https://launchpad.net/~mj-casalogic/+archive/bumblebee/ Bumblebee project]
 
|-
 
|-
| ultranav scrolling || Untested
+
| Intel Graphics (Integrated) || Works out-of-box
 
|-
 
|-
| Fingerprint Reader || Untested
+
| Nvidia Graphics (Discrete) || Requires drivers, updated kernel.
 +
|-
 +
| ultranav scrolling || Requires tweaks - See below
 +
|-
 +
| Fingerprint Reader || Requires tweaks -See below
 
|-
 
|-
 
| ACPI - Suspend to Disk (Hibernate) || Untested
 
| ACPI - Suspend to Disk (Hibernate) || Untested
 +
|-
 +
| Webcam || Works out-of-box
 
|-
 
|-
 
| Harddrive Active Protection || Untested
 
| Harddrive Active Protection || Untested
 
|-
 
|-
 
| VGA out || Untested
 
| VGA out || Untested
 +
|-
 +
| DisplayPort out || Untested
 +
|-
 +
| eSata || Untested
 
|-
 
|-
 
| Firewire || Untested
 
| Firewire || Untested
Line 25: Line 35:
 
| Wireless - Intel Advanced N || Untested
 
| Wireless - Intel Advanced N || Untested
 
|-
 
|-
| Wireless - Intel Ultimate N || Untested
+
| Wireless - Intel Ultimate N || Works out-of-box
 
|-
 
|-
| Audio in || Untested
+
| Audio in || Works out-of-box
 
|-
 
|-
| Audio out || Untested
+
| Audio out || Works out-of-box
 
|-
 
|-
| Wired LAN || Untested
+
| Wired LAN || Works out-of-box
 
|-
 
|-
| FN-F5 (Wifi/Bluetooth) || Untested
+
| Thinkvantage Button || Keypress recognized, but no corresponding action
 
|-
 
|-
| FN-F7 (VGA) || Untested
+
| Wireless killswitch || Works out-of-box
 
|-
 
|-
| FN-F8 (Ultranav/Trackpad) || Untested
+
| Trackpoint || Works out-of-box
 
|-
 
|-
| FN-F9 (Eject) || Untested
+
| Trackpad || Works out-of-box
 
|-
 
|-
| Thinkvantage Button || Untested
+
| Trackpad scrolling (side or two-finger) || Works out-of-box
 
|-
 
|-
| FN-Arrows (Media Controls) || Untested
+
| Sound card || Works out-of-box
 
|-
 
|-
| 2D video || Untested
+
| Volume up/down/mute buttons || Works out-of-box
 
|-
 
|-
| Wireless killswitch || Untested
+
| Microphone mute button || Keypress recognized, but no corresponding action
 
|-
 
|-
| Trackpoint || Untested
+
| Microphone || Requires tweaks - see below.
 
|-
 
|-
| Trackpad || Untested
+
| Optical drive || Works out-of-box
 
|-
 
|-
| Trackpad scrolling (side or two-finger) || Untested
+
| USB 2 ports || Untested
 
|-
 
|-
| Sound card || Untested
+
| USB 3 ports || Untested
 
|-
 
|-
| Volume up/down/mute buttons || Untested
+
| Expresscard || Untested
 
|-
 
|-
| Optical drive || Untested
+
| ACPI - Lid Open/Close || Works out-of-box
 
|-
 
|-
| USB || Untested
+
| ACPI - Suspend to RAM || Works out-of-box
|-
+
| ACPI - Lid Open/Close || Untested
+
|-
+
| ACPI - Suspend to RAM || Untested
+
 
|-
 
|-
 
| SD/MMC Memory card reader || Untested
 
| SD/MMC Memory card reader || Untested
 
|-
 
|-
| FN-F2 (Lock) || Untested
+
| FN-F2 (Lock) || Works out-of-box
 
|-
 
|-
| FN-F3 (Battery) || Untested
+
| FN-F3 (Battery) || Works out-of-box
 
|-
 
|-
| FN-F4 (Sleep) || Untested
+
| FN-F4 (Sleep) || Works out-of-box
 
|-
 
|-
| FN-F5 (Wireless) || Untested
+
| FN-F5 (Wireless Power Cycle) || Works out-of-box
 
|-
 
|-
 
| FN-F6 (Conferencing) || Untested
 
| FN-F6 (Conferencing) || Untested
Line 85: Line 91:
 
| FN-F12 (Hibernate) || Untested
 
| FN-F12 (Hibernate) || Untested
 
|-
 
|-
| FN-Home/End (Brightness) || Untested
+
| FN-Home/End (Brightness) || Works out-of-box
 
|-
 
|-
| FN-PgUp (Thinklight) || Untested
+
| FN-PgUp (Thinklight) || Works out-of-box
 
|-
 
|-
 
| FN-PrtSc (SysRq) || Untested
 
| FN-PrtSc (SysRq) || Untested
Line 107: Line 113:
  
 
== Installation ==
 
== 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 [http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39.4-oneiric/] 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 ===
 
=== Optimus ===
  
==== BIOS ====
+
* BIOS
* The OS Detect option does not work. If enabled, it will present Optimus to Ubuntu.
+
** 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 ===
 
=== Ultranav (Middle Mouse Button) Scrolling ===
 +
* run the command "sudo gedit /usr/share/X11/xorg.conf.d/20-thinkpad.conf"
 +
* paste this into the file
 +
<pre>
 +
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
 +
</pre>
 +
* Restart X (logout and back in)
 +
 +
* If you want to disable horizontal scrolling, remove the line
 +
<pre>
 +
Option "XAxisMapping" "6 7"
 +
</pre>
 +
 +
* 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
 +
<pre>
 +
Option "ButtonMapping" "1 1 3 4 5"
 +
</pre>
  
 
=== Harddrive Active Protection ===
 
=== Harddrive Active Protection ===
  
 
=== Fingerprint Reader ===
 
=== Fingerprint Reader ===
 +
 +
=== Microphone Mute Button ===
 +
 +
=== Microphone Recording Volume ===
  
  
 
{{W520}}
 
{{W520}}

Latest revision as of 06:14, 19 August 2011

Out-of-the-box Stats

Component Status
Optimus Unsupported - See the Bumblebee project
Intel Graphics (Integrated) Works out-of-box
Nvidia Graphics (Discrete) Requires drivers, updated kernel.
ultranav scrolling Requires tweaks - See below
Fingerprint Reader Requires tweaks -See below
ACPI - Suspend to Disk (Hibernate) Untested
Webcam Works out-of-box
Harddrive Active Protection Untested
VGA out Untested
DisplayPort out Untested
eSata Untested
Firewire Untested
Modem Untested
Wireless - Thinkpad Untested
Wireless - Intel Advanced N Untested
Wireless - Intel Ultimate N Works out-of-box
Audio in Works out-of-box
Audio out Works out-of-box
Wired LAN Works out-of-box
Thinkvantage Button Keypress recognized, but no corresponding action
Wireless killswitch Works out-of-box
Trackpoint Works out-of-box
Trackpad Works out-of-box
Trackpad scrolling (side or two-finger) Works out-of-box
Sound card Works out-of-box
Volume up/down/mute buttons Works out-of-box
Microphone mute button Keypress recognized, but no corresponding action
Microphone Requires tweaks - see below.
Optical drive Works out-of-box
USB 2 ports Untested
USB 3 ports Untested
Expresscard Untested
ACPI - Lid Open/Close Works out-of-box
ACPI - Suspend to RAM Works out-of-box
SD/MMC Memory card reader Untested
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 [1] 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