IBM ThinkPad T42

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources

It is an old IBM ThinkPad T42, at the year of writing of this article it is 12 years old. It's a good piece of hardware, good quality, great keyboard. Overall a very good laptop. Nowadays it is working as a metronome, sequencer and small synthesizer.

Hardware

Hardware list with corresponding kernel modules and its names:

root #lspci -k

CPU

user $cat /proc/cpuinfo
user $lscpu
Architecture:          i686
CPU op-mode(s):        32-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 13
Model name:            Intel(R) Pentium(R) M processor 1.70GHz
Stepping:              6
CPU MHz:               1700.000
CPU max MHz:           1700.0000
CPU min MHz:           600.0000
BogoMIPS:              3388.71

Synaptics

KERNEL Synaptics PS/2 mouse protocol extension
Device Drivers ---> 
   Input device support  --->
      [*] Mice  --->
         <*> PS/2 mouse

Emerge

root #emerge --ask x11-drivers/xf86-input-synaptics

Configuration

FILE /etc/X11/xorg.conf.d/50-synaptics.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

Wired NIC

KERNEL Intel(R) PRO/1000 Gigabit Ethernet support
[*]  Networking support  --->
    [*]  Ethernet driver support  --->
        [*]   Intel devices
        <*>     Intel(R) PRO/1000 Gigabit Ethernet support

Wireless NIC

Needed to be build as a module (<M>).

KERNEL Intel PRO/Wireless 2200BG and 2915ABG Network Connection
[*]  Networking support  --->
     -*- Wireless  --->
         <M>   cfg80211 - wireless configuration API
         [*]     enable powersave by default
         <M>   Generic IEEE 802.11 Networking Stack (mac80211)

Device Drivers  --->
   [*]   Network device support  --->
         [*] Wireless LAN  ---> 
             <M>   Intel PRO/Wireless 2200BG and 2915ABG Network Connection

Emerge

Wireless NIC kernel firmware:

root #emerge --ask sys-firmware/ipw2200-firmware

Configuration

package.use

FILE /etc/portage/make.conf
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j2"
FILE /etc/portage/package.use/00video
*/* VIDEO_CARDS: -* radeon intel i915
FILE /etc/portage/package.use/00input
*/* INPUT_DEVICES: evdev synaptics
FILE /etc/portage/package.use/00cpu-flags
*/* CPU_FLAGS_X86: mmx mmext sse sse2

External resources