home dot up




Debian GNU/Linux on Inspiron 5000e





Update:

Index:

News:

Sun Jun 10 14:33:52 2001
This newly working gpm (see previous news item below) fails on suspend. To fix this use apmd's proxy command scheme. With Debian this simply means putting the following contents in the file /etc/apm/event.d/gpm:
case "$1" in
resume)
/etc/init.d/gpm restart
;;
esac
and make this file executable. There will be a small delay after suspending and before gpm is actually restarted since /etc/init.d/gpm has a sleep in it.

Sun Jun 10 12:41:39 2001
Got gpm -tsynps2 working. I followed up on a few Google hits and tried removing (surrounded by ``#if 0 / #endif'') the following code from Linux 2.4.5's linux/drivers/char/pc_keyb.c:

static inline void handle_mouse_event(unsigned char scancode)
...
#if 0
        else if(scancode == AUX_RECONNECT){
                queue->head = queue->tail = 0;  /* Flush input queue */
                __aux_write_ack(AUX_ENABLE_DEV);  /* ping the mouse :) */
                return;
        }
#endif
...
Then I configured /etc/gpm.conf like:
device=/dev/psaux
responsiveness=
# repeat_type=raw
repeat_type=msc
type=synps2
append=""
And the pertinent part of /etc/XF86Config-4 like:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "MouseSystems"
        Option      "Device" "/dev/gpmdata"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout"   "50"
EndSection
To configure gpm edit /etc/gpm-syn.conf. Read /usr/share/doc/gpm/README.synaptics for details. I started with the this file.

Thu May 3 15:37:41 2001
Inspiron 5000 and 5000e batteries bad. As seen on this /. article. Here is Dell's press release. And here is a page to check if yours are bad. My two batteries don't have a `P' manufacturer code, so I dodged the bullet.

My system:

Generic ``spec'' page for 5000e at Dell

Installation:

I have installed Debian GNU/Linux ``woody'' version on this machine. I did this by first installing ``potato'' and upgrading. Here are the general steps I took:
  1. Prepare the HD. I wanted to keep Windows ME (I know, I know, leave me alone) at least for a while. This meant shrinking Window's partition. Here are the steps.

    1. Make a bootable system floppy. Windows ME doesn't allow ``format /s a:'' any more so one must do it with the GUI.

    2. Download fips20.zip, unzip it, read the readme, and copy the fips executable and the other needed files as described in the readme to the floppy.

    3. Defragment the HD in Windows.

    4. Boot from the floppy (choose ``minimal boot'' at the menu).

    5. Run fips. I left ~3 GB for Windows.

    6. As suggested by fips, reboot to Windows and run defrag again.

  2. Download the base Debian files. This step isn't needed if you have a Debian CD (which is probably leads to a much easier install, but I am too lazy/impatient to order/burn one). You need basically 4 files. A boot and a root floppy, a set of drivers and the base system. The floppies I wrote to floppies (duh) and the drivers and base system I downloaded to my Windows partition. (I actually used slightly older set boot/root floppies which caused some problems that needed expert flailing to resolve. Using up-to-date floppies which are synced with the other files should avoid these).

    These files are probably too much to download via the modem, so unless you have a faster connection to the net you should seriously think about ordering a Debian CD instead.

    Here are the files (the links may be out of date by the time you read this, but they point to the general location):

    I wrote the root/boot floppies on linux, but this can also be done under windows using rawrite. The last time I used rawrite was in `94 when I installed my first Linux (Slackware) system, so I don't have any remembered wisdom about using it.

  3. Once you have the floppies written and the driver and base files downloaded, then installation is very strait-forward. As I mentioned above, the only problems I had was due to using older boot/root floppies and up-to-date driver/base files. The boot/root files were based on 2.2.15 kernel, while the newer ones are 2.2.17.

  4. After installing the base system, you should have PCMCIA and, in particular, the network working. This will be needed to install everything else. I set my /etc/apt/sources.list to point at my (very) local mirror with the following lines:
          deb http://llug.sep.bnl.gov/debian potato main contrib non-free
          
    Then proceeded do install a richer system with Dselect. I knew that the XFree86 from potato was not going to work, so I didn't bother installing any X stuff yet. The main thing you want to have installed is: The reason for this is I always manage to get my self in a state where I can no longer use PCMCIA to access the net. Having the source is a good safety net.

  5. After Potato was installed and happy, I added this line:
          deb http://llug.sep.bnl.gov/debian woody main contrib non-free
          
    to /etc/apt/sources.list and installed all the fresh stuff from Woody.

  6. After playing with woody a bit, I went to work on X by adding:
          deb http://samosa.debian.org/~branden/ woody/i386/
          (Note: XFree86 v4 is in woody proper now)
          
    to /etc/apt/sources.list and installed all X related things. The /etc/X11/XF86Config-4 file which is created during the install worked okay. Choose ``r128'' as the server. Eventually I switched to the XF86Config file from Jeff Lessem and then tweaked it somewhat. Don't forget to kill `gpm' (gpm -k) before starting X. If you forget, Ctl-Alt-F2 to get a new virtual console, log in, kill gpm, do Ctl-Alt-F7 to go back to X and the mouse should be okay.

  7. Getting sound working was a strait-forward ALSA install. Get the source from Debian, make sure that sound support (soundcore module) is in the kernel, unpack ALSA source and following directions in the INSTALL file. (Note, there is a Debian way to build and install this, but I have never bothered to learn it. Doing it the distribution-agnostic way works as well.)

Extra features under Linux:

Here is a list of ``extra'' features I got working. Some of these were previously in the Problems section.

Problems:

Here is a list of issues/problems I am having with this system. Please send me any info you may have regarding these issues!

Todo:

Some of my configuration/log files.

Here are a few of configuration or log files. If you have a 5000e and want to see some other file, let me know.

Links to other resources:

Other inspiron 5000/5000e pages:

The X Strike Force page. Here you can get the very latest X as debs. Read the warning about this stuff not yet being officially supported. Don't piss of these hard working people!

eGroups : linux-dell-laptops The mailing list is relatively low volume (few per day) but is a gathering place for running linux on various dell laptops (not just 5000e).

Synaptics touch padtpconfig program.

Debian Laptop Distribution - Proposal, something I ran into.






Brett Viren <bv@bnl.gov>
Last modified: Tue Jan 16 09:57:56 EST 2001