The Compaq Presario 1610
and
Damn Small Linux 2.0

The Specs:

    Processor:    150 MHz Intel Pentium MMX
    Memory:    16 MB, Expandable to 80 MB (mine currently has 80MB)
    Video:    NeoMagic
    Hard Drive:    1.6 GB
    Diskette:    3.5 inch, 1.44 MB
    Multimedia Drive:    14X Max CD-ROM
    Display:    12.1
    Fax/Modem:    56K modem - Lucent
    Sound:    PremierSound Audio
    Keyboard:    88 key, 101-key compatible
    Pointing Device:    Touchpad

I acquired this fine little gem for free.  It was bone stock with an old install of Windows 95.  I installed Win98 but with only 16meg of ram it was way to slow in my opinion.  I had been messing around with Linux for a few months on my desktop, and was very impressed.  After reading alot of forums and other information on the Internet, I figured I could find something for the little laptop.

The first thing I tried was Knoppix.  I was amazed with the way it was able to detect almost any hardware, contained a full operating system, and yet run off a cd.  Well, I found two problems with this, 1) The Compaq was a little short on memory and 2) The 14x CD-ROM was just way too slow for such a large distro like Knoppix.  This was when I upgraded the ram.

After doing some hunting around, I found several smaller, lightweight distros.  Slax, Puppy, and Vector, just to name a few.  I found that distros that used KDE or Gnome derivative desktops didn't run well on the Compaq due to the slower processor, and some had a hard time properly configuring for the NeoMagic graphics card leaving the display was unusable.  I eventually came across Damn Small Linux around its 0.9.3 release.  After following this distribution up to their 2.0 release, I have been very impressed with the quality of it.

Getting Damn Small Linux (DSL) to work:

Damn Small Linux is a LiveCD distribution that can be installed to the hard drive, becoming a Debian system.  When you boot from the CD, you are given the option to enter boot command (press F2 or F3 for available commands) to control how the system boots.  I used the boot command fb800x600.  This boots in frame buffer mode which works well with the NeoMagic graphics card.  You will want to select Xfbdev xserver when it comes up.  The choice of USB mouse comes up and that is up to you.  The touchpad does not work "out of the box" but can later be configured after adding the XFree86 extension.  Having a mouse around does make installation a little easier, but installation is completely possible without one.  If you want to use a mouse, it needs to be plugged in before booting, so it will be detected and installed.  Select your keyboard, and your going.  In a few seconds the X server will boot,  and now it's time to install.  The steps to installing differ a bit, so I have outlined them both in detail below.

No Mouse Installation:

Well, the screen looks great, but you can't move the cursor.  Time to break out a few keyboard commands.  Ctrl-Alt-BackSpace to get out of X and back to the command line.  If you haven't already prepared the hard drive for installation the first command would be sudo cfdisk.  This is a good, basic program for setting up the partitioning on the hard drive.  I set up the first partition as 100mb of swap, and left the rest as Linux.  Use the command sudo mkswap /dev/hda1 (assuming that your swap is partition 1) to activate the newly formed swap partition.  The next command is sudo dsl-hdinstall.  This will start a small script that will install DSL to your hard drive.  I chose the older ext2 filesystem ("n" on the ext3 question) and Lilo for the boot loader.  The system will now ask if you wish to reboot.  For some reason, when I chose to reboot, the system would shut down properly, but on reboot, the display would not work initially (I had to manually shut off the computer, and turn it back on).  To remedy this, I chose not to reboot which will return you to the command line.  Enter the command sudo shutdown -h now.  This will shutdown the computer completely.  You can now restart the computer and boot from the harddrive where you will be presented with choosing your root password, and your user password (Your username is already "dsl" by default).  The X server will automatically start.  Since the touchpad is not functional yet you will need to Ctrl-Alt-BackSpace to get back to the command line.

XFree86.dsl, XF86Config-4:

XFree86.dsl is an extension created by the Damn Small Linux community that will install the XFree86 server on your computer.  This will allow use of the touchpad.  (Extensions are files that automatically install applications, games, system utilities, etc. on you DSL system).  This extension (which is about 10 meg in size) will need to be download from Ibiblio.org.  The link to the file is here.  If you are using the "USB mouse" installation, you will be able to download and install this through the gui.  XF86Config-4 is the configuration file for XFree86.   I have found a config file that works well with the screen and touchpad and it can be downloaded here.  It may be easier to download XFree86.dsl and XF86Config-4 on a different computer, burn to CD, and then install.  I have dial-up (as do others) so the following instructions will detail the command line installation.

Modem Installation:

DSL 2.0 does an excellent job of finding most hardware, but unfortunately the internal modem isn't.  It is easily activated with the commands sudo modprobe ltmodem and sudo modprobe ltserial.  The warnings can be disregarded.  They are just an indication of the modules being of closed source.  If you have a dial-up account, the next step would be to configure your dial-up settings.  Use sudo pppconfig to start the PPP Configuration Utility.  Go through the steps to create you account.  When you get to selecting the Modem Port, it will not be automatically be found.  The modem device for the LT Modem is /dev/ttyS14.  Save your settings and exit.  Next use sudo pon provider to dial-in to your account (provider being the name that you entered in the PPP Config. Utility).  You can now download XFree86.dsl and XF86Config-4.  Use the following commands to download:

wget http://distro.ibiblio.org/pub/linux/distributions/damnsmall/mydsl/system/XFree86.dsl

wget http://www.jb4x4.com/linux/XF86Config-4

Use the command sudo poff to disconnect from the Internet.

Touchpad Installation:

Now you can work on getting the touchpad working.  At this point you should now have XFree86.dsl and XF86Config-4 downloaded to your home directory, or on CD from another computer.  (If they are on CD copy them to your home directory).   Use the command mydsl-load XFree86.dsl to load XFree86 onto your system.  Move the file XF86Config file to the appropriate directory with the command sudo mv XF86Config-4 /etc/X11.  Use "vi", (a simple text editor) to edit the file .xserverrc (vi .xserverrc) to say exec /usr/X11R6/bin/XFree86 -nolisten tcp.  With luck, you should now be ready to boot into the X server with a working touchpad.  Make sure you are back in the "dsl" home directory and enter startx .  The X server should load, and you will be presented with Fluxbox, and a working touchpad.

USB Mouse Installation:

Installation is the about the same with a couple of exceptions.  After booting from the Live CD, you can click on ATerminal and run the command sudo cfdisk to prepare the hard drive.  Next run sudo mkswap /dev/hda1 (assuming that your swap is partition 1) to activate the newly formed swap partition.  The install can be started by right clicking on the desktop, and selecting "Install to Hard Drive" under the "Apps, Tools" menu.  Shutdown, restart the computer, and you will enter your passwords.  See the above instructions to get the touchpad working.

Sound:

You may have noticed that the sound controls are not active in the lower corner of the screen.  This is an easy problem to overcome.  Open ATerminal and run the command sudo modprobe sb.   Restart the X server, and the sound should now be active.

Last, but not least:

In order to get you newly running laptop to automatically load the modem and soundcard, one more file needs to be edited.  Open up Aterminal again and enter the command sudo vi /opt/bootlocal.sh .  This file is used to start commands when the computer boots.  Add the commands modprobe ltmodem - modprobe ltserial - modprobe sb on their own individual lines.  Save the file and exit.  

Overview:

I am very impressed with the quality of this distribution.  There is an excellent community with a very quality forum that offers alot of help.  Unlike some of the smaller distros, the makers of this one keep updating fairly regularly.  There is a ton of extensions available including games, office productivity, etc.  I'll admit Fluxbox isn't your typical windows manager (i.e. Windows, KDE, etc.), but once you learn it you will appreciate the speed and simplicity.

Links:

www.DamnSmallLinux.org
TuxMobil.org

Files:

XFree86.dsl
XF86Config-4

Note:  I am by no means a Linux expert.  I just like to mess with stuff till I make it work.  If you need any help feel free to e-mail john-at-jb4x4-dot-com, and I will try and help if I can.

Good Luck, and of course, have fun.

Created November 24, 2005