Difference between revisions of "IBM ThinkPad R60E"
m (Do not use -Sy when installing packages) |
(→Installing The Base System) |
||
Line 18: | Line 18: | ||
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 | + | Once at the command prompt, run a "pacman -Syu" to update your system, now run "pacman -S ipw3945" 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. |
Revision as of 13:36, 31 January 2010
Contents
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.
- Set the keymap
- Go down to the networking section and change
eth0="127.0........."
toeth0="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 ipw3945" 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 -S 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 -S 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 -S gstreamer0.10-plugins libdvdread libdvdnav libdvdread totem-xine
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 -S hal
Now in your daemons line of /etc/rc.conf add the daemon hal.
DAEMONS=(syslog-ng network netfs crond ipw3945d hal)