This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Lenovo ThinkPad T400

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Resources
This article is a stub. You can help by expanding it.

A Lenovo ThinkPad with libreboot support.

Hardware

Standard

Device Make/model Status Bus ID Kernel driver(s) Kernel version Notes
CPU Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz Works N/A N/A 4.0.5 N/A
Video Card Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) Works 00:02.1 i965 4.0.5 N/A
Ethernet controller Intel Corporation 82567LM Gigabit Network Connection (rev 03) Works 00:19.0 e1000e 4.0.5 N/A
Audio device Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) Works 00:1b.0 snd_hda_intel 4.0.5 N/A
Network controller Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection Works 03:00.0 iwlwifi 4.0.5 N/A

Accessories

Device Make/model Status Bus ID Kernel driver(s) Kernel version Notes
Dock ThinkPad Pro Dock Not tested N/A N/A N/A N/A

Installation

(Write the necessary steps to get Gentoo onto this system. Try to document any special step that each user will need to reproduce on their system. Includes getting special drivers or firmware from a manufacturer website, etc.)

Firmware

Kernel

(Show what options are necessary in the kernel in order to get all device components functional for this hardware platform.)

KERNEL Enable support for these hardware drivers
Write menuconfig instructions here.

Emerge

Install the ThinkPad SMAPI BIOS driver

root #emerge --ask app-laptop/tp_smapi

Configuration

make.conf

FILE /etc/portage/make.conf
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"

CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3"

VIDEO_CARDS="intel i965"                    
INPUT_DEVICES="evdev synaptics"

Synaptics Touchpad

FILE /etc/X11/xorg.conf.d/20-touchpad.confSynaptics enhanced configuration
Section "InputDevice"
        identifier      "touchpad0"
        driver          "synaptics"
        option          "AutoServerLayout" "on"

        # Some extra options for touchpad.
        Option  "LeftEdge"      "1700"
        Option  "RightEdge"     "5300"
        Option  "TopEdge"       "1700"
        Option  "BottomEdge"    "4200"
        Option  "FingerLow"     "25"
        Option  "FingerHigh"    "30"
        Option  "MaxTapTime"    "180"
        Option  "MaxTapMove"    "220"
        Option  "MinSpeed"      "0.7"
        Option  "MaxSpeed"      "0.8"
        Option  "AccelFactor"   "0.0010"
        Option  "SHMConfig"     "on"
        Option  "TapButton1"    "1"
        Option  "VertTwoFingerScroll"   "1"
        Option  "HorizTwoFingerScroll"  "1"
        Option  "VertScrollDelta"       "100"
EndSection

Video

For detailed graphics card configuration follow the Intel wiki article. The video card can be found out following way:

root #lspci -nn |grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)

VendorId: 8086 DeviceId: 2a42

The VendorID: 8086 says it is a Intel Chipset, and DeviceID 2a42 defines the VGA Controller as a GMA 4500MHD graphics, and a GM45 chipset.

Troubleshooting

See also

External resources

References