How do you rate this laptop with Linux?
100% (2)
0% (0)
0% (0)
0% (0)
0% (0)

HP Pavilion dv5z


This is a guide to running Linux with the HP Pavilion dv5z laptop.

This guide is intended to provide you details on how well this laptop works with Linux and which modules you need to configure. For details on how to actually install and configure the required modules have a look at our guides section for distribution specific instructions.

This page is just for discussing using Linux on the HP Pavilion dv5z. For a general discussion about this laptop you can visit the HP Pavilion dv5z page on LapWik.

Editing This Page

If you would like to edit this page please first view our Editing Guidelines.


NameHP Pavilion dv5z
ProcessorAMD Turion(TM) X2 Ultra Dual-Core ZM-80 (2.1 GHz)
Screen15“ WXGA (1280 x 800)
Optical DriveBlueRay ROM, DVD+-RW
GraphicsATI Radeon HD 3450 Graphics (256MB)
NetworkGigabit Ethernet, Atheros AR5009 802.11a/b/g/n Wireless
Other2.0MP Webcam, Fingerprint Reader, 3 x USB2.0, 1 x eSATA/USB, 1 x Firewire, 5-in-1 Card Reader, HDMI, VGA

Linux Compatibility

Optical DriveYes
GraphicsYesproprietary modules
WirelessYesSee notes
CameraYesWorks great with v4l2 drivers
Fingerprint ReaderNoSeems not supported by current FP software for linux
FirewireNot Tested
Card ReaderYes
Suspend/ResumeYesSupported with kernel 2.6.28


Update: Support for the Atheros wireless controller has been added in kernel version 2.6.27 with the ath9k module.

External VGA switching may not work without a reboot or Xorg restart.


Two main problems with the Linux on HP Pavilion dv5z laptop is lack of drivers for the wireless card (madwifi just does not support it yet and ndiswrapper did not help either as none of Windows drivers for AR5009 are supported by it) and suspend - previous kernel versions (prior to 2.6.28) would not come back from sleep. Also could not make fingerprint reader to work.

Distribution tried

Mandriva 2008.1 and latest vanilla kernel 2.6.26
Fedora 10 x86_64 works great


Dan Bethe, 2010/01/11 05:47

As of January 2010, ATI doesn't make proprietary drivers for Fedora 12. They do for Fedora 11. So in order to have a 3D driver for the RV620 chipset in the DV5Z-1000 in Fedora 12, you need to do this:

sudo yum install mesa-dri-drivers-experimental

Dan Bethe, 2010/01/11 05:45

Do the BIOS update!!! Go to, search for “Pavilion DV5Z-1000” or whatever, and get the BIOS update. If you don't have Vista or Windows 7 installed, with which to run the BIOS updater, you can also find Microsoft's Vista livedisc image somewhere, boot that from a CD or DVD, and run the BIOS installer from a USB drive. I did this and suddenly Fedora 12 would boot from my hard drive.

The problem was that Fedora 11 and Fedora 12 would install just fine, and boot from a livedisc, but I couldn't boot the resulting installation from my hard drive. Grub showed “error 21”, meaning that the hard drive doesn't exist. I did the BIOS update and everything instantly worked.

Good luck!

nasie, 2009/05/12 17:08

hi i have a HP Pavilion dv7-1130us Entertainment Notebook PC and it using a atheros AR5009 802.11 A/B/G/N WIFI and it find the card but its red and it dtects the wif bu i cannot surf are there any specified guides for mandriva 2009 pwp

Glenn Pavlovic, 2009/01/07 05:08

Just installed Slackware 12.2. Installed with no problems, I haven't had a chance to see what hardware is working. I used bootpart 2.6a to make a boot sector for booting to lilo from the Vista boot manager.
To setup the bootmanager under Vista (derived from
bootpart 3 bootsector.lnx
bcdedit /create /d “Linux Loader” /application BOOTSECTOR

One note: the bootsector image path has to be in form of “\path\file” note the missing drive spec. I'm guessing it has to be based on the root of the Vista boot partition.

Glenn Pavlovic, 2009/01/09 05:04

Update, bootpart worked as advertised, I don't have to copy the bootsector to the VISTA partition each time I make a new kernel.

Also, at least with Slackware 12.2 and probably any 2.6.x kernel, make sure you build the tmpfs filesystem into the kernel or udev can't load and you get nothing but a continous stream of error messages at boot time.

The ath9k module seems to support the wifi card (802.11n) haven't actually used it yet though, still working on pairing down the kernel and getting modules set up the way I want them (no reason to configure as a module if it's going to get loaded at boot time and stays loaded.)

Glenn Pavlvic, 2009/01/21 19:33

1. The ath9k module works fine, proof? I'm writing this from X.

2.If you rebuild your Kernel and already have the ATI proprietary driver install then you want to make sure that it gets reinstalled in the module directory for the new kernel (I currently have 3). I actually modified my init scripts to abort starting X if the module isn't loaded, and drop me back to a text console. Otherwise when X starts you get a garbage screen and the only way to fix things is to turn the computer off manually. Of corse if you are booting directly to X then you have to figure out a way to get a login prompt to fix the problem. SO MAKE SURE FGLRX IS LOADED!

3.To use the synaptics touchpad driver for X under the (and probably later, I didn't go through lxr looking for how far back it goes) you have to have these configuration items for your kernel:

   a. EMBEDDED=y so you can do...
   c. Preliminary results indicate that the psmouse code has to be built as a module, but I'm still testing that.
   d. In Slackware 12.2 you have to comment out the protocol line in /etc/modules.d/psmouse
   e. Finally if you didn't include the /dev/psaux support in the kernel (like me) you have to configure the X driver to use /dev/mouse instead.

4. KDE 3.5 appears to use the /dev/dsp device exclusively, even when told to use ALSA. At least when I tried to get it to use the /dev/snd/pcm* devices it wouldn't. Which means you have to have the OSS compatibility code in the kernel. Still testing if it can be builtin or has to be as modules.

Glenn Pavlovic, 2009/01/22 04:51

After further testing, psmouse and evdev can be compiled into the kernel, They do not need to be be modules.

Glenn Pavlovic, 2009/01/24 02:34

According to dmidecode the smart battery system is supported but the sbs module doesn't appear to work. The /proc/acpi/battery, /proc/acpi/ac_adapter, and /sys/class/power_supply directories are all empty with the sbs module-chain loaded. Fortunately the standard battery and ac adapter modules work fine and provide all the information sbs provides, as far as I can tell at least.

Glenn Pavlovic, 2009/09/19 02:10

Just figured out how to use the audio control buttons above the keyboard. They generate keyboard scan codes and matching keycodes so in order to use them you just have to map them to key symbols which your programs can use. Since I'm using KDE I didn't bother with mapping them under linux and used xmodmap instead. This is my .xmodmaprc…

!map QLB audio control buttons to keysyms - amarok already configured to use them
!I'm using function keys because I know them don't exist on the keyboard

keycode 160=F13

!volume down
keycode 174=F14

!volume up
keycode 176=F15

!previous track
keycode 144=F16

keycode 162=F17

!next track
keycode 153=F18

keycode 164=F19

…which I load from ~/.kde/Autostart

Then I just configured Amarok Global shortcuts to use the keysymbols for the appropriate functions.

Note that the linux kernel assigns different keycodes to them. You can use showkeys -k to see them.

So much for playtime.

Glenn Pavlovic, 2009/09/19 02:25

One more trick, not really specific to this laptop but useful anyway. To have the system come up with the same preset volumes every time set your volumes the way you want them, then tell the mixer control for your desktop (kmix in my case) not to restore the volumes. Do “alsactl store” as root, then as long as you have “alsactl restore” in your startup sequence and no “alsactl store” in the shutdown scripts your system will boot with your preferred volumes every time.

Just for giggles, I set the master volume according to the headphones, and then adjusted the front speaker volume to match by ear. Now whether I use the speakers or headphones my volumes are correct without any tweaking.

Matt Keys, 2008/12/30 21:28

Wireless works for mine using Ubuntu 8.10 and the madwifi driver “ath_pci”. My lspci output is:

08:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

franklin02, 2008/12/30 23:47

Hi Matt
I am embarassed by wireless connection. My computer is HP Pavilion DV5, Atheros AR5009 802.11a/b/g/n Wireless card. Can you show me the details about how to set it? Thank you so much!

Jouni Malinen, 2008/10/24 01:29


“Atheros AR5009” is actually AR9280 and it works with ath9k driver (added in Linux 2.6.27).

Don Cohen, 2008/09/14 20:50

Unable to run linux on dv5z-1000

I tried a number of different boot and live cd's and never got this machine to boot properly.
Perhaps there's something changing in the way they're being made.
Did you need any special boot parameters? If so, please specify.

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
hp_pavilion_dv5z.txt · Last modified: 2010/10/13 15:21 (external edit)
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 and other authors