Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 26th, 2007   #1
lexarrow
A Carafe of Ubuntu
 
lexarrow's Avatar
 
Join Date: Jan 2007
Location: Romania
Beans: 107
Ubuntu 9.04 Jaunty Jackalope
Send a message via MSN to lexarrow Send a message via Yahoo to lexarrow Send a message via Skype™ to lexarrow
Arrow HowTo HP DV2000 compile alsa to resolve all issues (mic, jack, AC-power,auto mute)

I am currently running Ubuntu Studio on a HP Pavilion dv2025nr.

After this install you should have all sound features enabled.

This is a compile of alsa drivers 1.0.15rc3

1.Check your kernel version - in terminal window type:

Code:
`uname -r'
mine is 2.6.10-16-generic

2.Install these packages:

Code:
sudo apt-get install linux-headers-$(uname -r) build-essential libncurses5-dev libncursesw5-dev ncurses-term alsa-tools-gui gettext po-debconf debhelper quilt alsa-base libc6-dev
and uninstall these ones:
Code:
 sudo apt-get remove --purge alsa-base alsa-tools
be sure not to uninstall alsa-utils as it will uninstall your gdm too

3.Back-up your current configuration:

Code:
tar -zcvf original-drivers.tgz /lib/modules/`uname -r`/kernel/sound
4.Make a directory for alsa packages:

Code:
mkdir /home/user/alsa
cd /home/user/alsa
5. Get alsa packages:
Code:
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15rc3.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.15rc3.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.15rc1.tar.bz2
wget ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.15rc1.tar.bz2

6.Unpack archives:

Code:
tar xvf alsa-driver-1.0.15rc3.tar.bz2
tar xvf alsa-lib-1.0.15rc3.tar.bz2
tar xvf alsa-utils-1.0.15rc1.tar.bz2
tar xvf alsa-firmware-1.0.15rc1.tar.bz2
7.Install driver:
Note: 'sudo make clean' and sudo make mrproper are to clean out your previous drivers. If you are doing a fresh install, you don't need them.

Code:
cd alsa-driver-1.0.15rc3/
sudo make clean
sudo make mrproper
./configure --with-oss=yes --with-cards=hda-intel 
sudo make
sudo make install
9.Install alsa-lib:

Code:
cd alsa-lib-1.0.15rc3
sudo make clean
./configure
sudo make
sudo make install
10.Install alsa-utils:

Code:
cd alsa-utils-1.0.15rc1
./configure
sudo make clean
sudo make 
sudo make install
11.Install alsa-firmware:

Code:
cd alsa-firmware-1.0.15rc1
./configure
sudo make clean
sudo make 
sudo make install
12.double-click Volume control (the speaker next to the clock), then Edit->Preferences and check all the boxes (you should have 8 boxes : Master, PCM, LineIn, IEC958, Digital, Ext Mic, Int Mic, Int Mic (yes 2 times Int Mic). Close Preferences.

13.Go to Switches tab and check LineIn

14.Go to Recording tab and be sure both mic and speakers are not muted.

15. Go to Playback tab and be sure Master,PCM, and Ext Mic are not muted and BE SURE IntMic IS MUTED!

16. In a terminal, login as root and type:
Code:
 /etc/init.d/alsa-utils stop
17. Type the following command:
Code:
/usr/sbin/alsaconf
When it asks you, choose the 'hda-intel' card and then to save the changes to the files

18.Type:
Code:
 /etc/init.d/alsa-utils start
You should be done! If yo still don't have sound restart and it will be ok !

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.

There's no solution for the 'no sound after Windows yet, but:

2.1 If you are in Windows unplug the AC cable and plug it back after you logged into Ubuntu.
2.2 If you are already on Linux after a Windows session and you didn't follow point 1.1estat, Unplug the AC cable, then SHUTDOWN , not restart the computer. Start it again manually and plug the cable back after you logged into Ubuntu

This way you should have sound every time you follow one of these 2 steps

Special thanks to these 2 articles: 1 and 2

Hope it works for you too!

Last edited by lexarrow; October 8th, 2007 at 09:51 AM..
lexarrow is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:38 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry