Lenovo Thinkpad W530

The Lenovo Thinkpad W530 and its associated hardware components can (potentially) be difficult to configure properly in Gentoo. This article has been written as configuration guide to help users work out some of the gritty details needed to get this notebook working as it should while using Gentoo.

Preparation
Things to be aware of when before installing Gentoo Linux on any machine:


 * 1) Backups: If the computer owner finds any value in being able to restore the factory existing operating system, make sure appropriate measures are taken to create a full system restoration. This is a nice fall back option in the case something goes wrong while installing Linux.
 * 2) Time: Allot enough time for installing Gentoo. The length of the install process varies. Experienced Gentoo users are mostly limited by the speed of their current hardware where beginners are limited by the Gentoo learning curve.
 * 3) Diligence: Dedication is required in order to configure all parts of the hardware to work properly. Unfortunately most manufacturers do not deliver open source drivers for their hardware. Linux users go through great lengths in order to build or find open source drivers that are compatible with their hardware.

Manual configuration
In order to build your kernel properly use the make menuconfig command to configure the kernel:

After configuration run the following commands in this to build and install the system's kernel and modules:

Genkernel
The Genkernel tool can also be used to configure the kernel:

Intel graphics
If you just want to configure the integrated graphics card (Intel GPU), then this is the section for you!

Kernel
This xorg.conf can make the integrated Intel GPU work properly:

USB device configuration
If the default USB power saving features are bugging you they can disabled by adding a configuration file to

For more information visit Kernel.org's USB Power Management page.

Helpful tools
These tools will help you diagnose problems if you learn how to use them properly. They are included on SystemRescueCD, which is the distribution this author recommends when installing Gentoo. Be sure to emerge them on your system after the install is complete for future troubleshooting.

Hardware detection
For more hardware detection tools see the hardware detection article.

Caching Portage in tmpfs
If you are using an SSD or HHD and you have a lot of RAM (16GB would be more than enough) you can both expand the life of your drive and speed up build time by caching your Portage temp directory completely in RAM. Be sure to adjust to the amount of memory you want to allocate. The example below allows Portage to use maximum of 10GBs of RAM (tmpfs) during compiles. You can read more about caching Portage in tmpfs by reading this article.

After has been modified, Portage's temp directory will be mounted in RAM on every boot. To mount Portage temp directory now simply run this command:

External resources

 * Lenovo Thinkpad W530 at ThinkWiki.org.