**** Small report after installing Linux on a Dell Latitude D620 ****
****                  Kees Lemmens, Nov 2006                     ****

1) Both video driver i810 and vesa worked out of the box, but only on the
   default resolution of 1024x768. I had to install the "915resolution" tool
   and call it after every bootup to get the native resolution 1280x800 (the
   D620 is a widescreen laptop) :
   
   /etc/rc.d/rc.local :
   (cd /root/915resolution-0.5.2 && ./915resolution 5a 1280 800)
   
   I also added a Modes to the Screen section but that probably is not
   necessary.

-----------------------------------------
  Section "Screen"
   Identifier "Screen0"
      Device     "Intel 810"
      Monitor    "Monitor-tft"
      DefaultDepth 24
      SubSection "Display"
      Depth     24
      Modes    "1280x800" "1024x768" "800x600" "640x480"
   EndSubSection
  EndSection
------------------------------------------

2) Wired ethernet network works out of the box with the tg3 driver.

3) Sound works out of the box with the Alsa Intel HDA driver, but the
   possibilities are rather limited : few controls and no multiplexing in
   the driver.
  
4) Wireless : only the slightly cumbersome ipw3945 driver seems to work. For
   that I had to install 3 packages :
  
   (ieee80211-1.1.14.tgz)   : (this doesn't seem to be necessary anymore ?)
   ipw3945-1.1.2.tgz        : the driver itself
   ipw3945-ucode-1.13.tgz   : the firmware (needs rc.hotplug or rc.udev running)
   ipw3945d-1.7.22.tgz      : daemon that needs to run in userspace
  
   daemon goes to /sbin
   firmware goes to /lib/firmware (which is softlinked to /opt/lib/firmware)
   driver stayed in /root/ipw3945-1.1.2
  
   Start the whole bunch from /etc/rc.d/rc.local :
  
   (cd /root/ipw3945-1.1.2 && ./load )

5) After closing the lid and opening again the screen stayed dark forever.
   Solved by an extra acpi script :

  - make sure you have the acpi button module loaded or in the kernel (e.g. by
    adding to /etc/rc.d/rc.local) : 
    /sbin/modprobe button
    
  - create a file /etc/acpi/events/lid with the following content :
    ------------------------------
     event=button[ /]lid
     action=/etc/acpi/lid.sh %e
    ------------------------------
    
  - obtain the vbetool package from http://freshmeat.net/projects/vbetool/
    and install it. I tried version 7 but that didn't link (libpci problem :
    probably looking in the wrong directory). However version 6 works fine.
  
    # tar -xvzf vbetool_0.6-1.1.tar.gz
    # cd vbetool-0.6/
    # ./configure --prefix=/opt/vbetool-0.6
    # make
    # make install
    # cd /opt/
    # ln -s vbetool-0.6 vbetool
    
  - create the file /etc/acpi/lid.sh :
    ------------------------------
    #!/bin/bash
  
    if [ ! "$(cat /proc/acpi/button/lid/LID/state | grep open)" = "" ]; then
           /opt/vbetool/sbin/vbetool dpms on
    fi
    ------------------------------

KL