HP Pavilion DV5 (PUMA)
From Gentoo Linux Wiki
| Please format this article according to the Style Guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article.
Reason(s): Don't use first person or other self-references |
HP Pavilion dv5 is a 15.4 inch laptop with 2 types (as far as I know) of hardware platform - AMD PUMA or Intel Montevina. Here we're talking about the PUMA ones.
HP has several different model for dv5 PUMA series, they're basically the same with some slight differences. Following are the models I know:
- 1001ax
- 1003ax
- 1005et
- 1103ax
- 1125nr
- 1250us
- 1002nr
Contents |
[edit] Hardware
- CPU:
- AMD Turion X2 Dual-Core for Notebook QL series
- AMD Turion X2 Dual-Core Mobile RM series
- AMD Turion X2 Ultra Dual-Core Mobile ZM series
- Memory: 2 slots of So-DIMM DDR2, up to 4GB
- GPU:
- ATi Radeon HD 3200 (Sharing system memory)
- ATi Radeon HD 3450 256MB
- ATi Radeon HD 3650 512MB
- Display: 1280x800 or 1680x1050, 15.4' inch
- Multimedia:
- Sound: ATI SB700 Azalia (Intel HDA)
- WebCam: Vimicro
- HDD:
- internal SATA2 2.5' HDD x 1, up to 500GB
- eSATA port x 1
- CD/DVD:
- SuperMulti DVD+/-/RW with Double Layer support
- LightScribe SuperMulti DVD+/-/RW with Double Layer support
- Blu-Ray ROM with SuperMulti DVD+/-R/RW Double Layer
- Lightscribe Blu-Ray ROM with SuperMulti DVD+/-R/RW Double Layer
- Network:
- Wired: Realtek RTL8168 GbE
- Wireless: Atheros AR928X A/B/G/N
- Wireless: Atheros AR5001
- Bluetooth: Integrated
- Modem: Integrated 56K
- FireWire: JMicron IEEE1394 Host Controller
- SD/MS/MMC/XD Reader: JMicron SD/MS/MMC/XD Reader
- Fingerprint Reader: Validity VFS101
[edit] lspci
| Code: lspci |
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge 00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) 00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) 00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) 00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5) 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller 00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller 00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a) 00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration (rev 40) 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control 01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series 01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series] 08:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01) 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 0a:00.0 FireWire (IEEE 1394): JMicron Technologies, Inc. IEEE 1394 Host Controller 0a:00.1 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller 0a:00.2 SD Host controller: JMicron Technologies, Inc. Standard SD Host Controller 0a:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller 0a:00.4 System peripheral: JMicron Technologies, Inc. xD Host Controller |
[edit] lsusb
| Code: lsusb |
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 002: ID 138a:0001 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module] Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 5986:0137 Acer, Inc Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
[edit] Installation Notes
[edit] Drivers Used (kernel modules)
- CPU: powernow_k8
- GPU: fglrx
- ACPI: ac battery button thermal
- Sound: snd_hda_intel snd_pcsp
- Wireless LAN: ath9k
- Ethernet NIC: r8169
- sATA Controller: ahci
- Card Readers: sdhci_pci jmb38x_ms
- Firewire: firewire_ohci
- USB: ehci_hcd ohci_hcd
- WebCam: uvcvideo
- Sensors: i2c_piix4 k8temp (with amdfam10 patch)
- Accelerometer: lis3lv02d
- BlueTooth: btusb
- Platform: leds_hp_disk rtc_cmos
[edit] Safe make.conf settings (partial)
...
CFLAGS="-march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
...
INPUT_DEVICES="evdev keyboard mouse joystick synaptics"
VIDEO_CARDS="vesa fbdev fglrx"
...using CFLAGS="-march=native -pipe -Os" is making system to run faster
[edit] Setup Notes
[edit] Things Just Work
- Wireless: just "modprobe ath9k"
- Ethernet: just "modprobe r8169"
- Bluetooth: just "modprobe btusb"
- WebCam: just "modprobe uvcvideo", play with "mplayer tv://"
- SD/MMC card: just enable "MMC/SD/SDIO card support" ---> "MMC block device driver" in kernel config, drivers section
[edit] Things Works with some effort
[edit] Sound
If your sound codec isn't detected correctly (aka "no sound from speakers"), you have to manually specify the "model=hp-dv5" and "enable_msi=1" parameters for "snd-hda-intel" to hear a sound from the speaker by adding
... options snd-hda-intel model=hp-dv5 enable_msi=1 ...
to your /etc/modprobe.d/alsa. after that, do:
If you couldn't rmmod snd-hda-intel, restart your computer.
[edit] built-in
If the above doesn't work, compile the alsa driver as built-in kernel module. Make sure you make the following edit, change STAC_HP_M4 to STAC_HP_DV5 to match:
...
SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30f2,
"HP dv5", STAC_HP_DV5),
...[edit] Video
[edit] Open Source is not an option T_T
As of this article written (Feb 05, 2009), the open-source x11-drivers/xf86-video-radeonhd driver doesn't support Direct Rendering on ATi M82 GPUs (yet), thus no 3D acceleration. You may give r6xx-r7xx-branch (Oops, no ebuilds available...) a try, but I can only get corrupted screen with x11-wm/compiz-fusion.
with kernel 2.6.31 drm will be included and mesa 7.6 could possibly include 3d support. For the open source drivers wait till 2010 (and cross your fingers)
[edit] The proprietary ATi Catalyst Drivers
The proprietary ati-drivers worked well, D-Sub and HDMI ports untested. Install with:
Since xorg-7.4 (xorg-server-1.5), X does not require a /etc/X11/xorg.conf anymore. So you can first back it up with
and, if you make sure all things works without a configuration, you can safely delete that file with
[edit] Sensors
You need a patched version of k8temp to support AMD family 10 and 11 CPUs. Get the patch here.
[edit] Accelerometer
The kernel module lis3lv02d automatically loads and drives the 3-axis accelerometer, but somehow it's not driving the hardware correctly. There're currently two problems:
- y-axis is inverted
- The values of the sensors are way too big
These problems are fixed in the kernel git-tree (2009/02/12).
Don't even try it just locks up, even with 2.6.29 and 2.6.28. I did not test 2.6.30. (2008/06/13)
[edit] Things that Don't Work
[edit] Fingerprint Reader
The integrated fingerprint reader is Validity VFS101, which currently doesn't have a driver. For more information look over here.
[edit] Untested Peripherals
- LightScribe
- i've installed the closed-source lightscribe library but don't have a lightscribe disk, so can't test yet.
- FireWire
- PCMCIA Socket
- eSATA Port