Installing Debian on an HP DV3

This will be a quick tutorial describing how to install Debian 5 Linux onto an HP DV3-2150US.

Laptop Specs:

  • Intel T6500
  • Intel GMA 4500MHD
  • 60GB OCZ Summit SSD
  • Broadcom BCM4322 Wireless

Configuring the Intel GMA 4500MHD

  1. Open a terminal
  2. Become super user (type "su" then enter your password)
  3. Type this into the terminal:
    gedit /etc/X11/xorg.conf
  4. Scroll down to the section headings "Device" and "Screen", then modify them to look something like this:
      Section "Device"
           Identifier      "Intel 4500MHD"
           Driver          "intel"
      EndSection
     
      Section "Screen"
           Identifier      "Default Screen"
           DefaultDepth    24
      EndSection
    

Here is my entire /etc/X11/xorg.conf file for reference:

-add later-

Configuring the soundcard

Open /etc/modprobe.d/alsa-base by typing this into a terminal:

gedit /etc/modprobe.d/alsa-base

Add these lines to the bottom of the file:

options snd-hda-intel model=hp-dv3
options snd-hda-intel enable_msi=1

Configuring the Broadcom BCM4322 Wireless

Download either the 32bit or 64bit driver from the Broadcom Site. You may have to download the driver on a different computer, then copy it to your laptop using a USB stick or something. For these steps, you will also need the original install DVD inserted into the DVD drive.

Follow these steps in a terminal:

# su
# aptitude install module-assistant
# m-a prepare

Unpack the driver:

# tar -xzf hybrid-portsrc-x86_64-v5_10_91_9.tar.gz

Build the driver:

# make -C /lib/modules/[2.6.xx.xx]/build M=$(pwd)

Copy the driver to the correct location (this path may not be exact, so you might have to use your instinct to determine the correct path. It should be very similar to the following though):

# cp wl.ko /lib/modules/[kernel_version]/kernel/drivers/net/wireless/wl.ko

Initialize the driver:

# depmod
# modprobe wl