Difference between revisions of "IBM ThinkPad R60E"

From ArchWiki
Jump to: navigation, search
(corrected captialization in title)
m
Line 5: Line 5:
  
 
== Installing The Base System ==
 
== Installing The Base System ==
 
 
The best way to install any arch system in my opinion is to install the "base" meta package from the installer cd, as of 0.8 the default net install CD will have drivers for the ethernet card, so you can move your laptop next to your router, plug it in and install the base system via the net.
 
The best way to install any arch system in my opinion is to install the "base" meta package from the installer cd, as of 0.8 the default net install CD will have drivers for the ethernet card, so you can move your laptop next to your router, plug it in and install the base system via the net.
  
 
Once you have the packages and kernel installed, we move onto the bootloader.
 
Once you have the packages and kernel installed, we move onto the bootloader.
  
Install the boot loader into /dev/sda and then when editing menu.lst you can find the kernel line then at the  end at "vga=773" to give support for a 1024x768 framebuffer.
+
Install the boot loader into /dev/sda and then when editing menu.lst you can find the kernel line then at the  end at "<code>vga=773</code>" to give support for a 1024x768 framebuffer.
  
 
Now the bootloader is installed, we can move onto editing the configuration files, first of edit the /etc/rc.conf.
 
Now the bootloader is installed, we can move onto editing the configuration files, first of edit the /etc/rc.conf.
  
1) Set the keymap
+
# Set the keymap
 
+
# Go down to the networking section and change <code>eth0="127.0........."</code> to <code>eth0="dhcp"</code>, so you can automatically get a network IP at boot.
2) Go down to the networking section and change eth0="127.0........." to eth0="dhcp" , so you can automatically get a network IP at boot.
+
  
 
Now you can go ahead, restart and boot into your new arch system.
 
Now you can go ahead, restart and boot into your new arch system.
  
 
Once at the command prompt, run a "pacman -Syu" to update your system, now run "pacman -S ipw3045" and then add "ipw3945d" to the daemons line of rc.conf to add support for your wifi drivers at boot.  
 
Once at the command prompt, run a "pacman -Syu" to update your system, now run "pacman -S ipw3045" and then add "ipw3945d" to the daemons line of rc.conf to add support for your wifi drivers at boot.  
 
  
 
Now go through all of the other guides to setup your xorg etc.
 
Now go through all of the other guides to setup your xorg etc.
Line 30: Line 27:
  
 
  # vi /etc/rc.conf
 
  # vi /etc/rc.conf
 
  
 
Now look for your daemons line..
 
Now look for your daemons line..
 
 
  DAEMONS=(syslog-ng network netfs crond )
 
  DAEMONS=(syslog-ng network netfs crond )
  
Line 39: Line 34:
  
 
  DAEMONS=(syslog-ng network netfs crond ipw3945d)
 
  DAEMONS=(syslog-ng network netfs crond ipw3945d)
 
  
 
That will load the graphics driver at boot.
 
That will load the graphics driver at boot.
Line 138: Line 132:
 
  Section "Device"
 
  Section "Device"
 
         ### Available Driver options are:-
 
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
+
         ### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",
 
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
 
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
 
         ### [arg]: arg optional
 
         ### [arg]: arg optional
 
         #Option    "NoAccel"                # [<bool>]
 
         #Option    "NoAccel"                # [<bool>]
 
         #Option    "SWcursor"              # [<bool>]
 
         #Option    "SWcursor"              # [<bool>]
         #Option    "ColorKey"              # <i>
+
         #Option    "ColorKey"              # &lt;i>
         #Option    "CacheLines"            # <i>
+
         #Option    "CacheLines"            # &lt;i>
 
         #Option    "Dac6Bit"                # [<bool>]
 
         #Option    "Dac6Bit"                # [<bool>]
 
         #Option    "DRI"                    # [<bool>]
 
         #Option    "DRI"                    # [<bool>]
 
         #Option    "NoDDC"                  # [<bool>]
 
         #Option    "NoDDC"                  # [<bool>]
 
         #Option    "ShowCache"              # [<bool>]
 
         #Option    "ShowCache"              # [<bool>]
         #Option    "XvMCSurfaces"          # <i>
+
         #Option    "XvMCSurfaces"          # &lt;i>
 
         #Option    "PageFlip"              # [<bool>]
 
         #Option    "PageFlip"              # [<bool>]
 
     Identifier  "Card0"
 
     Identifier  "Card0"
Line 212: Line 206:
  
 
Now if you want to add beryl to your nice new setup, first off uncomment the "Unstable" repo in
 
Now if you want to add beryl to your nice new setup, first off uncomment the "Unstable" repo in
 
 
  /etc/pacman.conf
 
  /etc/pacman.conf
  
 
Now all you need to run to install it is...
 
Now all you need to run to install it is...
 
 
  # pacman -Sy beryl
 
  # pacman -Sy beryl
  
Line 222: Line 214:
  
 
Now for user adding.
 
Now for user adding.
 
 
  # useradd -m <username>
 
  # useradd -m <username>
 
  # passwd <username>
 
  # passwd <username>
Line 230: Line 221:
  
 
Now if you want your newly plugged in media (usb/dvd) to automount we need to install and setup HAL.
 
Now if you want your newly plugged in media (usb/dvd) to automount we need to install and setup HAL.
 
 
  # pacman -Sy hal
 
  # pacman -Sy hal
  
 
Now in your daemons line of /etc/rc.conf add the daemon hal.
 
Now in your daemons line of /etc/rc.conf add the daemon hal.
 
 
  DAEMONS=(syslog-ng network netfs crond ipw3945d hal)
 
  DAEMONS=(syslog-ng network netfs crond ipw3945d hal)

Revision as of 02:27, 17 November 2008


Thinkpad R60e

This Guide will explain how to install/setup Arch Linux on the Thinkpad R60e.

Installing The Base System

The best way to install any arch system in my opinion is to install the "base" meta package from the installer cd, as of 0.8 the default net install CD will have drivers for the ethernet card, so you can move your laptop next to your router, plug it in and install the base system via the net.

Once you have the packages and kernel installed, we move onto the bootloader.

Install the boot loader into /dev/sda and then when editing menu.lst you can find the kernel line then at the end at "vga=773" to give support for a 1024x768 framebuffer.

Now the bootloader is installed, we can move onto editing the configuration files, first of edit the /etc/rc.conf.

  1. Set the keymap
  2. Go down to the networking section and change eth0="127.0........." to eth0="dhcp", so you can automatically get a network IP at boot.

Now you can go ahead, restart and boot into your new arch system.

Once at the command prompt, run a "pacman -Syu" to update your system, now run "pacman -S ipw3045" and then add "ipw3945d" to the daemons line of rc.conf to add support for your wifi drivers at boot.

Now go through all of the other guides to setup your xorg etc.

Device Drivers

The main driver you need to install was the wireless driver, do this by:

# pacman -Sy ipw3945
# vi /etc/rc.conf

Now look for your daemons line..

DAEMONS=(syslog-ng network netfs crond )

And change it too..

DAEMONS=(syslog-ng network netfs crond ipw3945d)

That will load the graphics driver at boot.

Xorg Drivers

These can easily be installed by ...

# pacman -Sy xf86-video-i810

Then if you want a xorg.conf tweaked for arch and beryl...

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Alps Touchpad" "AlwaysCore"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option         "AIGLX" "true"
EndSection
Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/75dpi"
   FontPath     "/usr/share/fonts/100dpi"
   FontPath     "/usr/share/fonts/TTF"
   FontPath     "/usr/share/fonts/Type1"
EndSection
Section "Module"
   Load  "dri"
   Load  "glx"
   Load  "extmod"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "freetype"
   Load  "type1"
   Load  "synaptics"
EndSection
Section "InputDevice"
   Driver        "synaptics"
   Identifier    "Alps Touchpad"
   Option        "Device"        "/dev/psaux"
   Option        "Protocol"      "auto-dev"
     Option        "LeftEdge"              "120"
       Option        "RightEdge"             "830"
         Option        "TopEdge"               "120"
       Option        "BottomEdge"            "650"
   Option        "FingerLow"             "14"
   Option        "FingerHigh"            "15"
   Option        "MaxTapTime"            "0"
#    Option        "MaxTapTime"            "180"
#    Option        "FastTaps"              "True"
   Option        "MaxTapMove"            "110"
   Option        "EmulateMidButtonTime"  "75"
   Option        "VertScrollDelta"       "20"
   #Option        "HorizScrollDelta"      "20"
   Option        "HorizScrollDelta"      "0"
   Option        "MinSpeed"              "0.5"
   Option        "MaxSpeed"              "0.75"
   Option        "AccelFactor"           "0.015"
   Option        "EdgeMotionMinSpeed"    "200"
   Option        "EdgeMotionMaxSpeed"    "200"
   Option        "UpDownScrolling"       "1"
   Option        "CircularScrolling"     "0"
   Option        "CircScrollDelta"       "0.1"
   Option        "CircScrollTrigger"     "2"
   Option        "SHMConfig"        "on"
#    Option       "Repeater"      "/dev/ps2mouse"
EndSection
Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "XkbRules" "xorg"
   Option       "XkbLayout" "gb" 
EndSection
Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option        "Protocol" "auto"
   Option        "Device" "/dev/input/mice"
   Option        "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
   #DisplaySize      300   190    # mm
   Identifier   "Monitor0"
   VendorName   "SEC"
   ModelName    "5643"
EndSection
Section "Device"
       ### Available Driver options are:-
       ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"                # [<bool>]
       #Option     "SWcursor"               # [<bool>]
       #Option     "ColorKey"               # <i>
       #Option     "CacheLines"             # <i>
       #Option     "Dac6Bit"                # [<bool>]
       #Option     "DRI"                    # [<bool>]
       #Option     "NoDDC"                  # [<bool>]
       #Option     "ShowCache"              # [<bool>]
       #Option     "XvMCSurfaces"           # <i>
       #Option     "PageFlip"               # [<bool>]
   Identifier  "Card0"
   Driver      "i810"
   VendorName  "Intel Corporation"
   BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
   BusID       "PCI:0:2:0"
   Option      "VBERestore" "true"
       Option      "DRI" "true"
   Option      "XAANoOffscreenPixmaps" "true"
EndSection
Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth  24
   SubSection "Display"
       Viewport   0 0
       Depth     1
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     4
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     8
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     15
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     16
   EndSubSection
   SubSection "Display"
       Viewport   0 0
       Depth     24
   EndSubSection
EndSection
Section "DRI"
   Mode 0666
EndSection
Section "Extensions"
   Option         "Composite"   "true"
EndSection


Each section has been split up for easy viewing/reading/editing.


Further Setup

The following command will setup all required codecs for Arch and your thinkpad (or any other laptop).

# pacman -Sy gstreamer0.10-plugins libdvdread libdvdnav libdvdread totem-xine 

Now if you want to add beryl to your nice new setup, first off uncomment the "Unstable" repo in

/etc/pacman.conf

Now all you need to run to install it is...

# pacman -Sy beryl

That will install beryl for gnome/kde/xfce, all platforms in natively supports.

Now for user adding.

# useradd -m <username>
# passwd <username>
# gpasswd -a <usernmae> audio
# gpasswd -a <usernmae> optical
# gpasswd -a <usernmae> storage

Now if you want your newly plugged in media (usb/dvd) to automount we need to install and setup HAL.

# pacman -Sy hal

Now in your daemons line of /etc/rc.conf add the daemon hal.

DAEMONS=(syslog-ng network netfs crond ipw3945d hal)