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 Article description::a configuration guide to help users work out some of the gritty details needed to get this notebook working as it should on Gentoo Linux.

Preparation
Adequate preparation should be established for the case something should go wrong in the middle of installing Gentoo. The following list does not only apply to the current hardware list in this article; it generally applies to whenever attempting to install Linux on any machine:


 * Backups
 * If the computer owner finds any value in being able to restore the existing factory operating system, make sure appropriate measures are taken to create a full system restoration before starting to install Linux. This is a nice fall back option in the case something goes terribly and unexpectedly wrong.


 * 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 setups, beginners are limited by the Gentoo learning curve (which can be a steep climb).


 * Diligence
 * Sometimes diligence is required in order to configure all parts of the hardware to properly. Unfortunately most manufacturers do not deliver open source drivers for their hardware. Linux users can go through great lengths in order to build or find open drivers that are compatible with the on their particular machine hardware. Depending on the machine, configuration could take the majority of the time. Thankfully Linux has become much more capable and, with the right knowledge, can actually be installed on more processor architectures than any other operating system. In this case user knowledge is the limiting factor.

Kernel
For users new to Gentoo configuring the kernel for a certain hardware platform can be among the trickiest tasks. Do not despair! There are many articles on the Wiki available to help with all kernel related things. The sections below provide information on the two main methods of kernel configuration. Currently no tool exists to automatically detect and configure hardware for all platforms, especially if experimental or new kernel features will be used.

Manual
Use the command to manually configure kernel features:

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 help build the kernel and the initramfs.

After downloading a kernel sources packages, start the build process by running the following command:

Additional help with kernel configuration
For additional help with kernel configuration see the configuration help section in the kernel article.

X11
More information on configuring X11 can be found in the Xorg guide.

Intel graphics
Want to configure the integrated graphics card (Intel GPU)? This is the section!

Set the VIDEO_CARDS variable in :

The X server should be able to automatically detect the correct resolutions. No should be required for this graphics mode. It is important to note that Intel's integrated graphics driver will only drive the attached laptop display. No external monitors can be ran unless the graphics are in discrete mode (see below).

Finally, when rebooting the system, press, then , then scroll down three lines to enter the motherboard's firmware. Scroll over the right one frame, then choose. Select graphics mode and disable Operating System detection for Optimus.

Nouveau and Intel graphics
When using both Intel and nouveau drivers, simply add both values to the VIDEO_CARDS variable and update the @world set:

NVidia Optimus graphics
Finally, enter the motherboard's firmware and select graphics mode and disable Operating System detection for Optimus.

USB
The Wiki's USB guide can be helpful for configuring anything USB related on the system.

Microphone
The USB Audio kernel driver must be enabled for the USB microphones to work properly. This is the case for most laptops since their microphones are connected on the USB bus.

Power management
If the default USB power saving features are bothersome they can disabled by adding a configuration file to

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

Become familiar with helpful tools
Many software tools and hardware detection utilities are available in order to help troubleshoot a new Gentoo installation. Users who are knew to Gentoo have many options to choose from. Quite a few of the packages available in the Portage tree are utilities available on other Linux distributions. Other utilities are included on the Gentoo-based SystemRescueCD, which is a great distribution to use when installing or troubleshooting a Gentoo system.

External resources

 * https://www.gentoo.org/downloads/ - Obtain a Minimal Installation CD from a Gentoo mirror.
 * http://www.sysresccd.org/ - A Gentoo-based rescue CD that includes many helpful troubleshooting tools not included on Gentoo's Minimal Installation CDs.
 * http://www.thinkwiki.org/wiki/Category:W530 - Lenovo Thinkpad W530's entry at ThinkWiki.org
 * https://www.thinkscopes.com/2012/12/27/thinkpad-w530-lcd-support-on-nvidia-quadro-k2000m-2100m/ - An article that describes the W530's display options in detail. Helpful when trying to configure multi-display configurations.