Difference between revisions of "Lenovo ThinkPad T61"

From ArchWiki
Jump to: navigation, search
(New page: Category:Laptops (English) Category:HOWTOs (English) {{stub}} ==Introduction== My plan when I finish is to have my laptop (Lenova Thinkpad T61) dual booted with Windows XP Pro (wor...)
 
Line 85: Line 85:
 
  kernel /boot/vmlinuz26 root=/dev/sda5 ro
 
  kernel /boot/vmlinuz26 root=/dev/sda5 ro
 
  initrd /boot/kernel26-fallback.img
 
  initrd /boot/kernel26-fallback.img
 +
 +
==Post Installation==
 +
First, create your user account:
 +
#useradd -m <user>
 +
Add yourself to some needed group:
 +
#gpasswd -a <user> audio; gpasswd -a <user> optical; gpasswd -a <user> storage; gpasswd -a <user> users
 +
Next is to upgrade:
 +
#pacman -Syu
 +
 +
==Install GUI==
 +
Now, lets get the gui going.
 +
 +
===Video Driver===
 +
First things first.  Lets install the driver.  Per the lshwd command I displayed earlier, it should be the intel driver.  Let's search for it:
 +
 +
#pacman -Ss intel
 +
extra/xf86-video-intel 2.3.2-1 (xorg-video-drivers)
 +
    X.org Intel i810/i830/i915 video drivers
 +
 +
Now let's install it:
 +
 +
#pacman -S xf86-video-intel
 +
 +
===Xorg/Gnome===
 +
I am a gnome person.  To get it installed, I followed the [http://wiki.archlinux.org/index.php/Xorg Xorg] and [http://wiki.archlinux.org/index.php/Gnome Gnome] wikis.  They provide enough information to get it setup.  I will post my xorg.conf file in the next section.
 +
Note:  Make sure you update the daemons in /etc/rc.conf.
 +
 +
====Mouse====
 +
There is a synaptic touchpad on this laptop.  If you follow this [http://wiki.archlinux.org/index.php/Touchpad_Synaptics howto], you should have no problems getting this to work.  It works great for me.
 +
Note:  Make sure you update the modules in /etc/rc.conf.
 +
 +
====Compiz Fusion====
 +
This laptop supports Compiz Fusion.  So I followed the [http://wiki.archlinux.org/index.php/Compiz_fusion wiki], and it worked great.
 +
 +
====Xorg Config====
 +
Here is the output of my /etc/X11/xorg.conf:
 +
 +
Section "ServerLayout"
 +
        Identifier    "Xorg Configured"
 +
        Screen      0  "Screen0" 0 0
 +
        InputDevice    "Keyboard0" "CoreKeyboard"
 +
        InputDevice    "Touchpad" "SendCoreEvents"
 +
        Option        "AIGLX" "true"
 +
EndSection
 +
 +
Section "ServerFlags"
 +
        Option "AllowMouseOpenFail"  "true"
 +
EndSection
 +
 +
Section "Files"
 +
        RgbPath      "/usr/share/X11/rgb"
 +
        ModulePath  "/usr/lib/xorg/modules"
 +
        FontPath    "/usr/share/fonts/misc:unscaled"
 +
        FontPath    "/usr/share/fonts/misc"
 +
        FontPath    "/usr/share/fonts/75dpi:unscaled"
 +
        FontPath    "/usr/share/fonts/75dpi"
 +
        FontPath    "/usr/share/fonts/100dpi:unscaled"
 +
        FontPath    "/usr/share/fonts/100dpi"
 +
        FontPath    "/usr/share/fonts/PEX"
 +
        FontPath    "/usr/share/fonts/cyrillic"
 +
        FontPath    "/usr/share/fonts/Type1"
 +
        FontPath    "/usr/share/fonts/ttf/western"
 +
        FontPath    "/usr/share/fonts/ttf/decoratives"
 +
        FontPath    "/usr/share/fonts/truetype"
 +
        FontPath    "/usr/share/fonts/truetype/openoffice"
 +
        FontPath    "/usr/share/fonts/truetype/ttf-bitstream-vera"
 +
        FontPath    "/usr/share/fonts/latex-ttf-fonts"
 +
        FontPath    "/usr/share/fonts/defoma/CID"
 +
        FontPath    "/usr/share/fonts/defoma/TrueType"
 +
EndSection
 +
 +
Section "Module"
 +
        Load  "ddc"  # ddc probing of monitor
 +
        Load  "dbe"
 +
        Load  "dri"
 +
        Load  "extmod"
 +
        Load  "glx"
 +
        Load  "bitmap" # bitmap-fonts
 +
#        Load  "type1"
 +
        Load  "freetype"
 +
        Load  "record"
 +
        Load  "synaptics"
 +
EndSection
 +
 +
Section "InputDevice"
 +
        Identifier  "Keyboard0"
 +
        Driver      "keyboard"
 +
        Option      "CoreKeyboard"
 +
        Option "XkbRules" "xorg"
 +
        Option "XkbModel" "pc105"
 +
        Option "XkbLayout" ""
 +
        Option "XkbVariant" ""
 +
EndSection
 +
 +
Section "InputDevice"
 +
        Identifier      "USB Mouse"
 +
        Driver          "mouse"
 +
        Option          "Device"                "/dev/input/mice"
 +
        Option          "SendCoreEvents"        "true"
 +
        Option          "Protocol"              "IMPS/2"
 +
        Option          "ZAxisMapping"          "4 5"
 +
        Option          "Buttons"              "5"
 +
EndSection
 +
 +
Section "InputDevice"
 +
        Identifier  "Touchpad"
 +
        Driver      "synaptics"
 +
        Option      "Device" "/dev/input/mouse1"
 +
        Option      "Protocol" "auto-dev"
 +
        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      "VertScrollDelta" "100"
 +
        Option      "MinSpeed" "0.06"
 +
        Option      "MaxSpeed" "0.12"
 +
        Option      "AccelFactor" "0.0010"
 +
        Option      "SHMConfig" "true"
 +
EndSection
 +
 +
Section "Monitor"
 +
        Identifier "Monitor0"
 +
                Option "DPMS" "true"
 +
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
 +
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
 +
        # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
 +
        # ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
 +
EndSection
 +
 +
Section "Device"
 +
        Identifier  "Card0"
 +
        Driver      "intel"
 +
        VendorName  "Intel Corp."
 +
        BoardName  "Unknown Board"
 +
        Option      "XAANoOffscreenPixmaps" "true"
 +
        Option      "DRI" "true"
 +
EndSection
 +
 +
Section "Screen"
 +
        Identifier "Screen0"
 +
        Device    "Card0"
 +
        Monitor    "Monitor0"
 +
        DefaultColorDepth 24
 +
        SubSection "Display"
 +
                Depth    24
 +
        #        Modes "1440x900"
 +
        EndSubSection
 +
EndSection
 +
 +
Section "DRI"
 +
        Mode 0666
 +
EndSection
 +
 +
Section "Extensions"
 +
        Option  "Composite"    "Enable"
 +
EndSection

Revision as of 23:59, 24 June 2008

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Lenovo ThinkPad T61#)

Introduction

My plan when I finish is to have my laptop (Lenova Thinkpad T61) dual booted with Windows XP Pro (work image). I repartitioned my hard drive with Gparted Live CD. It only took a minute or so. I will be doing the install with arch-core-install-2008.04-rc-i686.iso. There is an installation guide (wiki) that may help. I will do my best to give as much detail as possible.

NOTE: Per Lenovo's website, this laptop is Novell SLED 10 certified. So getting linux on this laptop should not be too hard.

System Specifications

Lenovo Thinkpad T61 - Intel Centrino Pro

  • Intel(R) Core(TM)2 Duo CPU T7300 (2.00GHz, 4MB, 800MHz)
  • Mobile Intel 965GM Express Chipset
  • 2GB PC2-5300/677MHz
  • 80-GB 5400 rpm SATA Harddrive
  • 14.1-inch color TFT WXGA+ (1440 x 900, 200 nit)
  • Intel® Graphics Media Accelerator GM965 (128MB)
  • 82801H ICH8 Family HD Audio Controller
  • DVD-ROM, CD-RW/DVD Combo, Multi-Burner Plus
  • Modem; Gigabit Ethernet
  • Intel® Wireless Wi-Fi Link 4965AG
  • 1 Type II PC Card slot
  • 1 ExpressCard 34/54
  • Dual pointing devices (both Pointstick and Touchpad)

Output of lshwd

00:00.0 Class 0600: Intel Corporation|Mobile Memory Controller Hub (unknown)
00:02.0 Class 0300: Intel Corporation|Mobile Integrated Graphics Controller (vesa)
00:02.1 Class 0380: Intel Corporation|Mobile Integrated Graphics Controller (vesa)
00:19.0 Class 0200: Intel Corporation|Mobile Integrated Graphics Controller (unknown)
00:1a.0 Class 0c03: Intel Corporation|USB UHCI Controller #4 (unknown)
00:1a.1 Class 0c03: Intel Corporation|USB UHCI Controller #5 (unknown)
00:1a.7 Class 0c03: Intel Corporation|USB2 EHCI Controller #2 (unknown)
00:1b.0 Class 0403: Intel Corp.|ICH8 HD Audio DID (snd-hda-intel)
00:1c.0 Class 0604: Intel Corporation|PCI Express Port 1 (unknown)
00:1c.1 Class 0604: Intel Corporation|PCI Express Port 2 (unknown)
00:1c.2 Class 0604: Intel Corporation|PCI Express Port 3 (unknown)
00:1c.3 Class 0604: Intel Corporation|PCI Express Port 4 (unknown)
00:1c.4 Class 0604: Intel Corporation|PCI Express Port 5 (unknown)
00:1d.0 Class 0c03: Intel Corporation|USB UHCI Controller #1 (unknown)
00:1d.1 Class 0c03: Intel Corporation|USB UHCI Controller #2 (unknown)
00:1d.2 Class 0c03: Intel Corporation|USB UHCI Controller #3 (unknown)
00:1d.7 Class 0c03: Intel Corporation|USB2 EHCI Controller #1 (unknown)
00:1e.0 Class 0604: Intel Corp.|82801 Hub Interface to PCI Bridge (hw_random)
00:1f.0 Class 0601: Intel Corporation|Mobile LPC Interface Controller (unknown)
00:1f.2 Class 0101: Intel Corporation|Mobile SATA Controller cc=IDE (ata_piix)
00:1f.3 Class 0c05: Intel Corporation|SMBus Controller (i2c-i801)
03:00.0 Class 0280: Intel Corporation|SMBus Controller (unknown)
15:00.0 Class 0607: Ricoh Co Ltd.|RL5c476 II (yenta_socket)
15:00.1 Class 0c00: Ricoh Co Ltd.|RL5c476 II (unknown)
15:00.2 Class 0805: Ricoh Co Ltd.|SD Card reader (unknown)
15:00.3 Class ffff: Ricoh Co Ltd.|SD Card reader (unknown)
15:00.4 Class 0880: Ricoh Co Ltd.|R5C592 Memory Stick Bus Host Adapter (unknown)
15:00.5 Class 0880: Ricoh Co Ltd.|xD-Picture Card Controller (unknown)

What works/What doesn't

Pretty much everything works on this laptop. I have not tried the modem (no POTS line) or tried to suspend/hibernate the laptop yet.

Installation

Boot from the CD and do the base installation from the CD. My partitions are setup as follows:

SDA1 30gb Win XP
SDA3 2gb swap (needed for hibernate mode...I think)
SDA5 10gb /
SDA6 35gb /home

With Windows XP as an option, the grub boot loader should look something like this:

# Windows XP
title  Microsoft Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader +1

# (0) Arch Linux
title  Arch Linux
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26-fallback.img

Post Installation

First, create your user account:

#useradd -m <user>

Add yourself to some needed group:

#gpasswd -a <user> audio; gpasswd -a <user> optical; gpasswd -a <user> storage; gpasswd -a <user> users

Next is to upgrade:

#pacman -Syu

Install GUI

Now, lets get the gui going.

Video Driver

First things first. Lets install the driver. Per the lshwd command I displayed earlier, it should be the intel driver. Let's search for it:

#pacman -Ss intel
extra/xf86-video-intel 2.3.2-1 (xorg-video-drivers)
    X.org Intel i810/i830/i915 video drivers

Now let's install it:

#pacman -S xf86-video-intel

Xorg/Gnome

I am a gnome person. To get it installed, I followed the Xorg and Gnome wikis. They provide enough information to get it setup. I will post my xorg.conf file in the next section. Note: Make sure you update the daemons in /etc/rc.conf.

Mouse

There is a synaptic touchpad on this laptop. If you follow this howto, you should have no problems getting this to work. It works great for me. Note: Make sure you update the modules in /etc/rc.conf.

Compiz Fusion

This laptop supports Compiz Fusion. So I followed the wiki, and it worked great.

Xorg Config

Here is the output of my /etc/X11/xorg.conf:

Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Touchpad" "SendCoreEvents"
        Option         "AIGLX" "true"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true" 
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/PEX"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/share/fonts/defoma/CID"
        FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
#        Load  "type1"
        Load  "freetype"
        Load  "record"
        Load  "synaptics"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" ""
        Option "XkbVariant" ""
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mouse1"
        Option      "Protocol" "auto-dev"
        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      "VertScrollDelta" "100"
        Option      "MinSpeed" "0.06"
        Option      "MaxSpeed" "0.12"
        Option      "AccelFactor" "0.0010"
        Option      "SHMConfig" "true"
EndSection

Section "Monitor"
        Identifier "Monitor0"
                Option "DPMS" "true"
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
        # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
        # ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corp."
        BoardName   "Unknown Board"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "DRI" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
        #        Modes "1440x900"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option  "Composite"     "Enable"
EndSection