Popular Guides
View more guides at Linux Wiki Guides
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.
If you would like to edit this page please first view our Editing Guidelines.
| Name | HP Pavilion dv5z |
| Processor | AMD Turion(TM) X2 Ultra Dual-Core ZM-80 (2.1 GHz) |
| Screen | 15” WXGA (1280 x 800) |
| RAM | 3GB |
| HDD | 250GB |
| Optical Drive | BlueRay ROM, DVD+-RW |
| Graphics | ATI Radeon HD 3450 Graphics (256MB) |
| Network | Gigabit Ethernet, Atheros AR5009 802.11a/b/g/n Wireless |
| Other | 2.0MP Webcam, Fingerprint Reader, 3 x USB2.0, 1 x eSATA/USB, 1 x Firewire, 5-in-1 Card Reader, HDMI, VGA |
| Device | Compatibility | Comments |
|---|---|---|
| Processor | Yes | |
| Screen | Yes | |
| Optical Drive | Yes | |
| Graphics | Yes | proprietary modules |
| Sound | Yes | |
| Ethernet | Yes | |
| Wireless | Yes | See notes |
| Camera | Yes | Works great with v4l2 drivers |
| Fingerprint Reader | No | Seems not supported by current FP software for linux |
| USB | Yes | |
| Firewire | Not Tested | |
| Card Reader | Yes | |
| HDMI | Yes | |
| Suspend/Resume | Yes | Supported 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.
Mandriva 2008.1 and latest vanilla kernel 2.6.26
Fedora 10 x86_64 works great
Discussion
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
Do the BIOS update!!! Go to hp.com, 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!
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
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 https://blogs.technet.com/voy/archive/2006/10/13/how-to-use-windows-vista-s-boot-manager-to-boot-linux.aspx):
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.
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.)
Update
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 2.6.27.7 (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:
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.
After further testing, psmouse and evdev can be compiled into the kernel, They do not need to be be modules.
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.
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
!mute
keycode 160=F13
!volume down
keycode 174=F14
!volume up
keycode 176=F15
!previous track
keycode 144=F16
!play/pause
keycode 162=F17
!next track
keycode 153=F18
!stop
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.
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.
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)
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!
AR5009
“Atheros AR5009” is actually AR9280 and it works with ath9k driver (added in Linux 2.6.27).
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.