Configure the HP dv2000 for Ubuntu Linux - Sound

The sound in the HP dv 2000 is a little tricky with Ubuntu/Linux.

The dv2315nr is equipped with a NVidia sound chipset.

I manage to make it worked with this post on the Ubuntu Forum:

1-Install these packages:

sudo apt-get install linux-headers-$(uname -r) build-essential libncurses5-dev libncursesw5-dev ncurses-term alsa-tools-gui gettext

2-Backup your current configuration:

tar -zcvf original-drivers.tgz /lib/modules/`uname -r`/kernel/sound

3-Make a directory for ALSA packages:

mkdir /home/user/alsa

4-Get ALSA Packages

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.14a.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.14.tar.bz2
wget ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.14.tar.bz2

5-Unpack Archives:

tar xvf alsa-alsa-driver-1.0.14.tar.bz2
tar xvf alsa-alsa-lib-1.0.14a.tar.bz2
tar xvf alsa-alsa-utils-1.0.14.tar.bz2
tar xvf alsa-alsa-firmware-1.0.14.tar.bz2

6-Install driver:

cd alsa-driver-1.0.14/
sudo make clean
sudo make mrproper
./configure --with-oss=yes --with-cards=hda-intel
sudo make
sudo make install

7-Install Alsa-lib

cd alsa-lib-1.0.14a
sudo make clean
./configure
sudo make
sudo make install

8-Install Alsa-utils (it appears that this one is not necessary)

cd alsa-utils-1.0.14
./configure
sudo make clean
sudo make
sudo make install

9-Install Alsa-firmware

cd alsa-firmware-1.0.14
./configure
sudo make clean
sudo make
sudo make install

10-Restart and you should be done!

Note: 1. Every time you update the kernel, you have to recompile the driver
2. There is still an issue unresolved, the ‘no sound after a windows session ‘ and can be fixed by unplugging the power cord before booting Ubuntu. If it doesn’t work, reboot again with no power cord.
3. If you still don’t have sound try this:

I. Boot up Ubuntu WITHOUT power cable.
a. upgrade kernel if you would like.
b. edit /etc/modprobe.d/alsa-base: options snd-hda-intel index=0 model=3stack-dig
II. play some sound or something (make sure it works)
III. Rather than restart send it into hibernate.
IIII. after hibernation is complete, bring it back up.
it should crash.upon crashing, alt+ctrl+del
reboot into ubuntu.

Thanks to BrandenW and Lexarrow on the Ubuntu Forums


Share: Ces icônes sont des liens vers des sites de partage de signet sociaux où les lecteurs peuvent partager et découvrir de nouveaux liens.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists

10 Responses to “Configure the HP dv2000 for Ubuntu Linux - Sound

  • 1
    Javier
    July 1st, 2007 19:18

    Hi thaks for the help… my laptop headphones didn’t switch to mute speaker… now it works wonderfull .
    I could not build alsa utils but it seems not to be extremly neccesary.

  • 2
    Ludo
    July 4th, 2007 09:12

    For me it worked, but if it’s not necessary I’ll update it
    Thanks for the info

    ~Ludo

  • 3
    Henry
    August 5th, 2007 13:20

    Hi,

    Cant we just use apt-get for all of this? Compiling seems a bit too advanced…

    Henry

  • 4
    Ludo
    August 5th, 2007 15:33

    Hi,

    Sorry we can’t, it’s not just a program to install, it’s “building” the driver depending of your kernel.
    But following the steps is quite easy.
    Don’t be affraid ;)

  • 5
    tizzo
    August 16th, 2007 05:42

    i dono why but i cant make that directory….sorry im a noob at linux!

  • 6
    Ludo
    August 16th, 2007 08:32

    Hi,
    try: sudo mkdir /home/user/alsa

  • 7
    Andriy
    September 11th, 2007 14:03

    Hi,

    I have done the whole instruction and everything seemed to work fine. But after rebooting I clicked on volume control and obtaned an error ~”no sound devices detected”.

    I am new to Linux. Could someone describe how to return to my old driver - at least I had sound in my headphones there…

  • 8
    moe
    March 24th, 2008 06:39

    i tried the steps, but when i go to mkdir /home/user/alsa doesnt work
    so i do mkdir alsa, but it tells me that the dir exists
    and when i write… tar xvf alsa-alsa-driver-1.0.14.tar.bz2 —–> it says
    tar: alsa-alsa-driver-1.0.14.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    so i dont know what to do,
    and when i installed ubuntu the sound was working but now just out of sudden it disappeared
    plz if someone can help me

  • 9
    vikasgiri
    May 6th, 2008 12:22

    HP notebook dv2701tu windows xp sound driver

  • 10
    daniel_o
    July 22nd, 2008 11:24

    I have a 2040tx and still cant get it working. I give up, back to windows for me.

Leave a Reply