Linux installation on Compaq Presario 2108CL

Copyright © 2004 by Anton Piotukh This document was created 30-12-2004.
It describes linux installation and configuration procedure on Compaq Presario 2100 series (2108CL) notebook.

I have a Compaq Presarion 2100 series( 2108CL exactly ) laptop.
Certainly, I try to install linux on this laptop. Below I describe all what I did when install and configure linux.

Almost immedately when I get it, I tried to boot with Knoppix CD. It was successfully started, even X server starts, but only with vesa driver.

Hardware specs:

  1. CPU: Ahtlon XP-M 2800+(2.2 GHZ)
  2. 512 Mb RAM
  3. 60 Gb HDD(HITACHI_DK23FA-60)
  4. ATI IGP 320(Mobility Radeon), Card ID 0x4336
  5. Integrated Ethernet Controller ( National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller )
  6. Integrated wireless controller( Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02) )
  7. Software Modem ( ALi Corporation M5457 AC'97 Modem Controller )
  8. USB
  9. DVD+CD-RW drive

Installation

This laptop came with all space on HDD formatted in one NTFS partition. So it was needed to be resized. I has an old version of Knoppix CD, which has parted unable to resize NTFS partitions. For resizing NTFS partition I use Partition Magic 8.0. But PM doesn't resize this partition :(. I have to boot in "Console Mode",run PM and only then resize NTFS partition. I have changed it size to 8GB. Then I put 20GB partiton for linuxm and the rest of space format to FAT32 partition.

And only then I have started to install Linux
I have chosen the Alt Linux 2.4 distribution. I use it last 3 years.

First time I started the install proces, I hangs my laptop. Trying other install option(safe, etc) I successfully started installation process. So I found that nave to specify noapic, nolapic and pci=noacpi kernel options.

Installation was successfull, except X server rejects to start. Alt Linux 2.4 has an old version of XFree, which doesn't support IGP 320.

Configuration

Almost all hardware was working out-of-box.

The main task for me was to start X with 3D support. I have read many threads in different forums about starting X with 3D support. I found that X.Org starting from version 6.8 supports IGP 320.
For kernels 2.4.x you should apply patch which added support for IGP320.
For kernels 2.6.x support for IGP320 already added to kernel.
You should enable shared memory support in yours kernel to be able to use 3D hardware acceleration. After adding IGP320 support, you should load modules in a certain order. At first you should load agpgart module for ati, and then load dri module. My xorg.conf section for video card is follows.

Section "Device"
    Identifier  "ATI Radeon"
    VendorName  "Unknown"
    BoardName   "Ati IGP 320(U1)"
    Driver      "radeon"
    ChipID                      0x4336
    BusID       "PCI:1:5:0"
    VideoRam    65536

    Option      "AGPMode"  "4"
    Option      "AGPFastWrite" "on"
    Option      "EnablePageFlip" "on"
    Option      "Rotate" "off"
EndSection

Other task was add touchpad support. For it I add following section in my xorg.conf

Section "InputDevice"

    Identifier  "TouchPad"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons"
EndSection
And load modules tsdev and psmouse, if you compiled them as modules.

Also it able to add synaptics touchpad. It has more features than simple touchpad. But for me it works only after I load X with simple touchpad support.

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "Device"        "/dev/psaux"
        Option          "Protocol"      "IMPS/2"
        Option          "LeftEdge"      "1900"
        Option          "RightEdge"     "5400"
        Option          "TopEdge"       "1900"
        Option          "BottomEdge"    "4000"
        Option          "FingerLow"     "25"
        Option          "FingerHigh"    "30"
        Option          "MaxTapTime"    "180"
        Option          "MaxTapMove"    "220"
        Option          "VertScrollDelta" "100"
        Option          "MinSpeed"      "0.02"
        Option          "MaxSpeed"      "0.18"
        Option          "AccelFactor"   "0.0010"
        Option          "UpDownScrolling" "on"
        Option          "SHMConfig"     "on"
EndSection

ACPI was working also out-of-box in my distro. Looking ahead, I want to setup hibernate when closes the cover of notebook


Ouput of lspci:

0000:00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
0000:00:09.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)
0000:00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
0000:00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1




Cheap Laptop Rugged Laptop Case Gaming Laptop Lenovo Linux Laptop
Linux on Laptops is copyright © linux-on-laptops.com
Privacy Statement  Contact us at linuxonlaptops (at) gmail.com
  Advertise on linux-on-laptops.com

No Warranties: This information is provided "as is" without any warranty, condition, or representation of any kind, either express or implied, including but not limited to, any warranty respecting non-infringement, and the implied warranties of conditions of merchantability and fitness for a particular purpose. All logos or trademarks on this site are the property of their respective owner. In no event shall linux-laptop.net, linux-on-laptops.com, or any directors, trustees, associates, or employees thereof be liable for any direct, indirect, special, incidental, consequential or other damages howsoever caused whether arising in contract, tort, or otherwise, arising out of or in connection with the use or performance of the information contained on this web site.