Anda di halaman 1dari 9

HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

Home Pavilion Introduzione alle Licenze OpenSource Licence Contact


« Guida per Ottimizzare Ubuntu Linux sui portatili HP Pavilion
Condivisione connessione di rete »

HowTo: Ubuntu Linux on HP Pavilion series laptops


September 8th, 2007 at 11:40am |

16. Audio Subsystem


On Ubuntu Linux Lucid 10.04 and Ubuntu Linux Karmic 9.10 the audio subsystem is fully supported,
multichannel support included.

For HP Pavilion DV6 and Ubuntu Linux Lucid 10.04 contributor Flameclaw has reported the following
procedure effective in order to have microphone, jacks and audio working correctly, even with skype. Thank
you very much for the tip!

1) we have to download and install latest alsa drivers from http://www.alsa-project.org/main/index.php


/Main_Page
3) sudo gedit /etc/modprobe.d/alsa-base.conf
4) paste the following options at the bottom of the document, paying attention to not write it double.
options snd-hda-intel model=hp-dv5
options snd slots=snd-hda-intel, snd-hda-intel
# 5Dex.DVex+nmP8+5:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
# NXNs.HS4OKn_IlZ0:RV620 Audio device [Radeon HD 34xx Series]
alias snd-card-1 snd-hda-intel

Concerning Ubuntu Karmic 9.10 an optional package has been made available in order to upgrade the audio
drivers to the latest available upstream release. This would help solving most of the problems recent models
may be facing [Thanks Mitch Towner and Daniel Chen for the tip!]. In order to install it type
sudo apt-get install linux-backports-modules-alsa-karmic

NOTE: In order to enable the internal microphone in recent models series HP Pavilion DV4, HP Pavilion
DV5 and HP Pavilion DV7 you need to add an argument to the main configuration file [thanks to Enrico!].

Open in an editor file alsa-base.conf


sudo gedit /etc/modprobe.d/alsa-base.conf

add at the bottom line (ensure there are no other lines starting with ‘optios snd-hda-intel’ in they are delete
them)
options snd-hda-intel model=hp-dv5 enable_msi=1

This way you would gain access to the mixer ‘digital input’ section which would enable you to use the
notebook internal microphone. Remember to reboot to make these changes effective!

Bug reference: http://bugzilla.kernel.org/show_bug.cgi?id=12440

1 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

Very recent models may have a few issues with microphone and multichannel audio. They can try out latest
pulseaudio 0.9.15 (for autoconfiguration issues) and latest alsa 1.0.18 (for multichannel and microphone
support).

PULSEAUDIO

To install the updated deb packages by hand download it from http://ppa.launchpad.net/themuso/ppa/ubuntu


/pool/main/p/pulseaudio/ and double click on the downloaded .deb file. Done it!

If you instead want to have it automatically updated at every new release all you have to do is adding its
repository as a third party software source in System -> Administration -> Software Sources -> Third Party
Software: click on ADD button and paste
deb http://ppa.launchpad.net/themuso/ppa/ubuntu jaunty main

You also have to add the PPA authentication key:


gpg --keyserver keyserver.ubuntu.com --recv B88A1AA8
gpg --export --armor B88A1AA8 | sudo apt-key add -

Update the package lists and upgrade the prompted packages

ALSA

If you have decided to try the latest drivers you can use the Bob Nelson script which I have further tweaked
in order to prompt you with a choice among few most common modes to try out (download it from here).

Beware that these drivers, despite being stable, do not have any Ubuntu specific patch.

This script supports the following chipsets:


Intel HD Audio ICH6, ICH6M, ESB2, ICH7, ICH8, ICH9, ICH10, PCH, SCH
ATI SB450, SB600, R600, RS600, RS690, RS780, RV610, RV620, RV630, RV635, RV670, RV770
VIA VT8251/VT8237A,
SIS966, ULI M5461

After downloading it you need to change the permission of the script and make it executable, in a terminal
type:
chmod 755 alsa_setup

This command assumes you downloaded the script in your home folder.

What this script does is:

- Download the ALSA modules


- Compile the modules
- Enables you to test different module options to see which one best suits you [new]
- Enables you to test the driver with different configurations [new]
- Enables you to undo the changes in case you’ve done the wrong mode choice [new]
- Change your /etc/modprobe.d/alsa-base file
- Remove the installer files

To run the script type in terminal window


sudo ./alsa_setup

2 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

to see what is your audio CODEC go to System->Preferences->Sound and simply click on any drop down
menu to read the code next to HDA Intel (i.e. ALC800)

now confront what mode better suits your specific CODEC by having a look at file
alsa-driver-1.0.19/alsa-kernel/Documentation/HD-Audio-Models.txt

If you need to add a mode not listed in the provided script type in terminal (where auto should be replaced
with the correct codec mode)
sudo echo "options snd-hda-intel model=auto" >> /etc/modprobe.d/alsa-base.conf

Users of recent models (eg. dv4-1117) also benefited from enabling Message Signaled Interrupt (MSI)
sudo echo "options snd-hda-intel enable_msi=1" >> /etc/modprobe.d/alsa-base.conf

Ubuntu Wiki has a well done wiki concerning this issue: https://help.ubuntu.com/community
/HdaIntelSoundHowto

Return to index

Related posts:

1. Linux Power Saving Tweaks for HP Pavilion laptops


2. Call for enabling HP Pavilion internal softmodem
3. Ottimizzazioni per il Risparmio Energetico per portatili HP Pavilion su Ubuntu Linux
4. [EN] Configure HP Pavilion QuickPlay multimedia buttons in Ubuntu Linux
5. Guida per Ottimizzare Ubuntu Linux sui portatili HP Pavilion
6. How to update ALSA to latest version easily
7. Ad Hoc Wireless Networking in Linux

Go to page 1 2 3 4 5 6 7 8 9 10 11 12 of this post

| Print This Post | Email This Post


Posted in GNU/Linux, HP Pavilion
RSS 2.0 | Trackback | Comment

310 Responses to “HowTo: Ubuntu Linux on HP Pavilion series laptops”

1. Uwe says:
23 February 2010 at 19:13

Thank you very much, Aldeby, for this great collection of tips! I found it after solving almost all
problems in 9.04 and wished that I had found your site much earlier.

One hint for the suspend/hibernate chapter: I run a dv9500 with the most recent BIOS, but after a clean
install of 9.10, the machine hung while trying to hibernate. There are two more solutions to this topic,
one is to use the package “uswsusp” instead of the default pm-utils. The other is to list modules (mostly
wifi) to unload before suspending or hibernating. Google “SUSPEND_MODULES” or have a look here:

http://www.ubuntugeek.com/fix-for-suspend-and-hibernation-problem-for-laptops.html

Best regards,

3 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

Uwe

Reply

2. Makis says:
24 March 2010 at 13:32

i runed the script setup_alsa and it gets to a point where it says “Choose the mode which best fits you”
but when i type my prefered number and i hit enter doesnt do anything.am i doing something wrong?

Reply

aldeby says:
16 April 2010 at 10:03

Makis, why don’t you use an utility like meld to compare the original and your customized script
to highlight all the differences (and eventually the mistakes)?

Reply

3. Kyle says:
20 April 2010 at 16:24

In the audio section, sudo apt-get install linux-backports-modules-alsa-karmic should be sudo apt-get
install linux-backports-modules-alsa-karmic-generic.

Reply

4. str8upx says:
4 May 2010 at 18:06

This site saved my 9.04 + 9.10 ubuntu installations on my HP dv 7 (3165dx) notebook. Thank you! I
just did a clean install of Ubuntu 10.04 LTS and everything works perfectly: sound, front audio jacks,
wireless card, web cam, etc. I hope this helps If your considering upgrading.

Reply

CharlesdArvay says:
9 May 2010 at 21:41

I confirm my flawless upgrade to 10.04 from 9.10 – on the 6th of May 2010 – kra20kra!

Thanks for this wonderful website that helped in the first place, when I doubted about buying this
machine for Linux.

So I guess HP should be thankful as well…

Charlot

Reply

aldeby says:
15 May 2010 at 2:49

4 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

I’m happy to read your feedback CharlesdArvay!

By the way I haven’t heard a word from HP yet.


They seem way too busy making profit to even bother understanding what the opensource
approach is!

Reply

5. Darren says:
14 May 2010 at 16:14

Thanks for your detailed site. I look forward to delving in to it. My initial task however is to install
10.04 Server on a Pavillion notebook using an external monitor as the LCD screen is not working. The
external monitor initially shows the cdś loading progress and then the screen is completely black. When
the off button is pressed the external monitor again details the shutting down process. Is there some
way of seeing what is occurring through the whole process? Thanks for any help that can be offered.

Reply

aldeby says:
15 May 2010 at 2:44

Hi Darren!
As far as I recall the external monitor would switch off when the video driver takes control of the
video card. As long as is the BIOS controlling both internal and external screens are enabled.
You should then be able to enable the external screen from within the driver settings.
But I guess your laptop has a broken screen…

Basically I would suggest you to install the operative system in text only mode (so that you would
benefit from the BIOS controller and be able to use the external monitor) and not forget to install
SSH support so that you could access via network cable your install. Now it would be fairly easy
to enable the external monitor by configuring your laptop driver ( /etc/X11/xorg.conf for
instance).

Reply

6. Scott says:
30 May 2010 at 19:46

Linux newbit who installed the newest version of Linux Ubuntu 10.04 on my HP Pavilion dv6000
Laptop. Both my wired and wireless connections do not work. Thank you for your help.

Below is the output of sudo lshw -C network

*-network
description: Ethernet interface
product: MCP67 Ethernet
vendor: nVidia Corporation
physical id: a
bus info: pci@0000:00:0a.0
logical name: eth0
version: a2
serial: 00:1b:24:8c:7b:fa

5 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 66MHz
capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd
autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full
latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
resources: irq:27 memory:f6488000-f6488fff ioport:30f8(size=8) memory:f6489c00-f6489cff
memory:f6489800-f648980f
*-network
description: Network controller
product: BCM4311 802.11b/g WLAN
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:19 memory:f6000000-f6003fff
*-network DISABLED
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:1a:73:84:5e:66
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg

Reply

aldeby says:
3 June 2010 at 9:52

It seems your hardware is supported. Have you had a look at System -> Administration ->
Hardware Drivers to see whether your computer needs restricted drivers?

By the way I find it suspicious to read: *-network DISABLED

If you have installed the default packages and had not modified any file inside /etc by hand you
should at least be able to connect via ethernet. Check right clicking on the Network Manager
applet if you can tick Enable Networking.

Reply
7. Anonymous says:
12 June 2010 at 17:34

[...] [...]

Reply

6 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

8. Neva says:
27 June 2010 at 2:21

Broadcom also offers closed STA drivers for those chipsets that aren’t yet covered by the b43 driver.
Their compiling instructions are pretty distro-inspesific, I found it easier to connect the laptop to a
wired connection and install the same closed driver offered by Ubuntu.
http://www.broadcom.com/support/802.11/linux_sta.php

Reply

aldeby says:
28 June 2010 at 9:19

Thank you for sharing your suggestion Neva!


I’ve added it to the tutorial. Have a nice day!

Reply

« Older Comments

Leave a Reply

Name (required)

Mail (will not be published) (required)

Website

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.

Popular posts
HowTo: Ubuntu Linux on HP Pavi...
How to open and disassemble an...
Speed up Ubuntu Linux!
nVidia PowerMizer powersaving/...
VMware Workstation 6.5.3 on Ub...

7 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

Guida per Ottimizzare Ubuntu L...


Configure GRUB2 options and ba...
enable nVidia CoolBits (freque...
PDF editing on linux

Categories
GNU/Linux (164)
Admin (65)
GNOME (5)
KDE (3)
Laptop Powersaving (15)
Office (32)
Shell (22)
Visual (13)
Web (19)
HP Pavilion (26)
Micro$oft (10)
Multimedia (11)
Open Source (6)
Privacy (5)
Uncategorized (1)

Blog Visits
189090

Blogroll
No1984 – NoTCP
Repair your laptop
Ubuntu Guides
UbuntuForums
UbuntuGeek

Meta
Log in
Entries RSS
Comments RSS
WordPress.org

Archives
2010
2009
2008
2007

8 de 9 2010/08/02 17:31
HowTo: Ubuntu Linux on HP Pavilion series laptops | Nobody was Born ... http://linux.aldeby.org/howto-ubuntu-linux-on-hp-pavilion-dv2000-dv600...

Nobody was Born with Linux Knowledge is powered by WordPress.


Theme designed by Joni Ang & tweaked by aldeby.

9 de 9 2010/08/02 17:31

Anda mungkin juga menyukai