Dell Latitude D620

From ArchWiki
Revision as of 01:27, 12 November 2009 by Kasbah (Talk | contribs) (Recommendations)

Jump to: navigation, search


Hardware

(Possibly) an early 2007 model D620:

HARDWARE DETECT ver 4.8.2 (simple mode)
 Kernel     : 2.6.19-ARCH
 CPU & Cache:
  Processor 0 is Genuine Intel(R) CPU T2600  @ 2.16GHz 2161MHz, 2048 KB Cache
  Processor 1 is Genuine Intel(R) CPU T2600  @ 2.16GHz 2161MHz, 2048 KB Cache
 Soundcard  : No sound card
 Video      : nVidia Corp.|Quadro NVS 110M / GeForce Go 7300 server: Xorg (vesa)  
 Driver     : xf86-video-vesa 
 Monitor    : Generic Monitor  H: 28.0-96.0kHz V: 50.0-75.0Hz
 Mouse      : Generic PS/2 Wheel Mouse xtype: PS2 device: /dev/psaux
 Drive(scsi): SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
  SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
 USB        : Intel Corp.|I/O Controller Hub UHCI USB #1 module: unknown
 Ethernet   : Broadcom Corp.|NetXtreme BCM5752 Gigabit Ethernet PCI Express module: tg3 device:   eth0
  eth1 
 Network    : Broadcom Corp.|NetXtreme BCM5752 Gigabit Ethernet PCI Express module: unknown 
 PCMCIA slot: O2Micro Inc.|OZ6912 CardBus Controller module: yenta_socket

A late-2007 model D620 hardware, output from lspci:

 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
 03:01.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller (rev 40)
 09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02)
 0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

Installation

The latest version of the Arch Linux installer detects all the hardware fine on the late-2007 D620 (with the exception of a problem involving the wireless network card, see below).

Xorg Configuration

Xorg configuration is relatively straightforward, but to ensure you have smooth compositing effects from Compiz on the Intel 945GM, you will need to add these lines into your Device section:

Option      "DRI"                    "True"
Option      "NoDDC"                  "True"
Option      "XAANoOffscreenPixmaps"  "True"
Option      "EnablePageFlip"         "True"
Option      "RenderAccel"            "True"
Option      "AccelMethod"            "XAA"

And ensure that you have the following somewhere:

Section "Extensions"
   Option "Composite" "Enable"
EndSection

Recommendations

PC Speaker

The D620 has an awfully loud PC speaker. To disable it, ensure the modules pcspkr and snd_pcsp aren't loaded during bootup in rc.conf:

 MODULES=(... !pcspkr !snd_pcsp...)

You should follow instructions for installing cpufrequtils and pm-utils. There have been no problems with suspending and hibernating this laptop - just ensure you have enough swapr

Synaptics Touchpad

The synaptics touchpad is not well configured by default. Adding the following to your xorg.conf will result in more sensitive touch pad with scroll areas at the right side and the bottom and a middle mouse button emulated by pressing both buttons. There are several more Options that you are encouraged to tweak according to your preferences.

In you Template:Filename, In ServerLayout section add:

 InputDevice    "Synaptics" "CorePointer"

and add this section:

Section "InputDevice"
 Identifier   "Synaptics"
 Driver       "synaptics"
 Option       "SendCoreEvents"        "true"
 Option       "Device"                "/dev/psaux"
 Option       "Protocol"              "auto-dev"
 Option       "TapButton1"            "1"
 Option       "TapButton2"            "2"
 Option       "LBCornerButton"        "2"
 Option       "LeftEdge"              "130"
 Option       "RightEdge"             "840"
 Option       "TopEdge"               "130"
 Option       "BottomEdge"            "640"
 Option       "FingerLow"             "14"
 Option       "FingerHigh"            "15"
 Option       "MaxTapTime"            "170"
 Option       "MaxTapMove"            "110"
 Option       "ClickTime"             "0"
 Option       "MaxDoubleTapTime"      "100"
 Option       "EmulateMidButtonTime"  "75"
 Option       "VertEdgeScroll"        "true"
 Option       "HorizEdgeScroll"       "true"
 Option       "VertScrollDelta"       "20"
 Option       "HorizScrollDelta"      "20"
 Option       "MinSpeed"              "1.00"
 Option       "MaxSpeed"              "1.10"
 Option       "AccelFactor"           "0.030"
 Option       "EdgeMotionMinSpeed"    "100"
 Option       "EdgeMotionMaxSpeed"    "200
 Option       "UpDownScrolling"       "1"
 Option       "CircularScrolling"     "0"
 Option       "CircScrollDelta"       "0.1"
 Option       "CircScrollTrigger"     "0"
 Option       "SHMConfig"             "true"
 Option       "Emulate3Buttons"       "on"
EndSection


Volume, Mute and Super Keys

If you install OpenBox3 you may find that your volume and mute keys (next to the power button) and your super (Windows key) are not bound. You may wish to configure these in a different manner(e.g. Keytouch) but if you simply want to get these to work in openbox then create Template:Filename with the following contents:

add mod4 = Super_L
keycode 115 = Super_L
keycode 160 = XF86AudioMute 
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
Note: These keycodes have only been tested on a late-2007 model D620 and may differ on other models

The first line binds Super_L to Mod4 (where Openbox expects your super key) The second binds your Windows key to Super_L. If your super key is already working as expected you should skip the first two lines. The rest binds the audio keys. To set these you need to use xmodmap:

$ xmodmap .Xmodmap

If you want to set them everytime you start openbox add this command to your Template:Filename. You can now use keybindings in Template:Filename that use the W (stands for super) key (e.g. W-d for ToggleShowDesktop). You need to bind the XF86 Audio keys by adding the following keybindings to rc.xml:

 <keybind key="XF86AudioLowerVolume">
   <action name="Execute">
     <execute>amixer set Master 5- unmute</execute>
       </action>
 </keybind>

 <keybind key="XF86AudioRaiseVolume">
    <action name="Execute">openbox --version
       <execute>amixer set Master 5+ unmute</execute>
    </action>
 </keybind>

 <keybind key="XF86AudioMute">
   <action name="Execute">
      <execute>amixer set Master toggle</execute>
    </action>
 </keybind>

These shortcuts invoke amixer to control your audio output.

Note: These changes have only been tested using Openbox 3.4.7.2

Wireless Networking

Intel 3945 ABG PCI Express

If your D620 comes with an Intel 3945 ABG card, you should install the iwlwifi-3945-ucode, either during installation or afterwards, then

 modprobe iwl3945

And you should be ready to go.

In some cases (at least with the 2008.06 installer) you may have the ipw3945 and iwl3945 modules in your MODULES=() section of rc.conf after installation. You should remove or ! out the ipw3945 module, as the wireless card will not function correctly or at all with both modules loaded.

The iwl3945 driver can also be enabled during a kernel recompilation. It can be found in the menuconfig under Device Drivers -> Network device support -> Wireless Lan -> Intel PRO/Wireless 3945AGB/BG Network connection. Enabling LED features should fix the LED feature if it was previously not functioning. It is generally recommended to modularize features but selecting the driver as "*" for built in support works fine too.

Broadcom PCI Express

There are two solutions how to make the Dell Wireless MiniCard (Broadcom chip) work: the b43 drivers and the ndiswrapper drivers.

It's highly recommended to use the b43 drivers as some people experienced problems when connecting to WPA2-encrypted networks with the ndiswrapper drivers.


In order to install the b43 drivers follow this article http://wiki.archlinux.org/index.php/B43#b43.


The ndiswrapper-solution:

Install the latest ndiswrapper with pacman.

Go to the DELL support website and download the official Windows drivers for the "Dell Wireless MiniCard". Make sure that you download the right driver for your card. There are 3 different versions for the 13,xx, 14xx and the 15xx MiniCards.

cd /path_to_driver
sudo ndiswrapper -i bcmwl5.inf 
sudo ndiswrapper -l
sudo depmod -a
sudo modprobe ndiswrapper
dmesg
sudo ndiswrapper -m

Add ndiswrapper to your MODULES in /etc/rc.conf

For more information check http://wiki.archlinux.org/index.php/B43#ndiswrapper