Search:  
Gentoo Wiki

HP_Pavilion_zv5000

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related
HP ZV5000
HP ZV5000

Contents

Hardware

This laptop is found in a series of configurations. Any combination of Intel or AMD64 processors, GeForce or ATI video card. Some components are more or less available in all the above configurations.

Unfortunately the TI hardware is not supported.

Sample lspci output

These 'basic' compontent will be described. Also I will try to give an as complete description of my laptop with it's configuration. This is my lspci output:

Code: Output of lspci
0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go 32M] (rev a3)
0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:02.0 Network controller: Broadcom Corporation BCM4303 802.11b Wireless LAN Controller (rev 02)
0000:02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function (rev 01)

Kernel Configuration

Linux Kernel Configuration: Via EPIA MII - kernel 2.6.19+
Processor type and features  --->
  [*] Symmetric multi-processing support
      Subarchitecture Type (PC-compatible) --->
      Processor family (Athlon/Duron/K7)  --->
Bus options (PCI, PCMCIA, EISA, MCA, ISA)  ---> 
  PCCARD (PCMCIA/CardBus) support  --->
    <*>   CardBus yenta-compatible bridge support
Networking  ---> 
Device Drivers  ---> 
  ATA/ATAPI/MFM/RLL support  ---> 
   <*>         AMD and nVidia IDE support
  Network device support  --->
    Ethernet (10 or 100Mbit)  --->
      [*] Ethernet (10 or 100Mbit) 
        <*>   RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support 
  I2C support  --->
    <*> I2C support
    <*>   I2C device interface
    I2C Hardware Bus support  --->
      <*> Nvidia nForce2, nForce3 and nForce4
 Multimedia devices  --->
   <*> Video For Linux
  Sound  --->
    Advanced Linux Sound Architecture  --->
      PCI devices  --->
        <*> Intel/SiS/nVidia/AMD/ALi AC97 Controller

Touchpad

Console

To use the touchpad in a console requires no extra drivers. Edit the /etc/conf.d/gpm file. The configuration should look something like this:

MOUSE=ps2
MOUSEDEV=/dev/input/mice

X.org

To use the touchpad in X.org requires the synaptics drivers. These are in portage:

emerge synaptics

To use these drivers, edit the /etc/X11/xorg.conf and look for the mouse driver, then edit that section to the following:

File: /etc/X11/xorg.conf
Section "InputDevice"
Driver          "synaptics"
Identifier      "Mouse-0"
Option          "Device"                "/dev/psaux"
Option          "Protocol"              "auto-dev"
EndSection

Also the synaptics drivers have some special features which may be handy. Among other things circular scrolling. Documentation for this can be found here:

zless /usr/share/doc/synaptics-<most recent version>/README.alps.gz

Broadcom

See the Broadcom 43xx article.

Firewire

Firewire is supported within the kernel and should be available there. Get into the kernel configuration menu:

make menuconfig

Find the firewire drivers:

Linux Kernel Configuration: Firewire
Device Drivers -->
  IEEE 1394 (FireWire) Support -->
    [*] OHCI-1394 support

Multimedia buttons

My laptop has 6 multimedia buttons. Because 2 of the buttons are not mapped in the kernel, of the top 3 only the WWW button works. This button has the keycode 178. There are also 3 other buttons for volume controlls. Volume up has keycode 176. Volume down has the keycode 174. Mute had the keycode 160.

XBindkeys

I personally use xbindkeys for these. This is in portage:

emerge xbindkeys

The config file is very basic and straightforward Here my settings:

vim ~/.xbindkeys
"amixer sset Master 1+"
 c:176
"amixer sset Master 1-"
 c:174
"amixer sset Master toggle"
 c:160

Depending on the session manager you use, set it up to start xbindkeys at startup. For Gnome there is a utility to allow setting this up: Desktop -> Preferences -> Sessions

For XFCE 4 there is no utility, but XFCE 4 has a startup folder:

mkdir ~/Desktop/Autostart;
ln -s /usr/bin/xbindkeys ~/Desktop/Autostart/xbindkeys

For other window managers, use the documentation.

TFT Screen

To use the widescreen, a modeline has to be created. X.org comes with an application that does this. To generate a modeline for a 1280x800 resolution at a refresh rate of 60Hz, use the following command:

gtf 1280 800 60

This is it's output:

# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync

To use this in X.org, edit the /etc/X11/xorg.conf file and add the modeline:

Section "Modes"
Identifier      "ModeLine-0"
ModeLine        "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
EndSection

The monitor section now has to change too:

Section "Monitor"
Identifier      "Monitor-0"
UseModes        "ModeLine-0"
EndSection

Please note that the monitor identifier might differ. Also it is assumed that X.org has already been properly configured. If not, use the following command to start an autoconfigure script:

xorgcfg

nForce chipset

This chipset is supported in the kernel, again, start the menu:

make menuconfig

Look for the following:

Linux Kernel Configuration: IDE
Device Drivers -->
  ATA/ATAPI/MFM/RLL support -->
    [*] ATA/ATAPI/MFM/RLL support
      [*] Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
        [*] PCI IDE chipset support
          [*] Generic PCI bus-master DMA support
            [*] AMD and nVidia IDE support

This chipset is to use DMA, hdparm will take care of that, though there is an option to use DMA by default:

Linux Kernel Configuration: PCI DMA
Device Drivers -->
  ATA/ATAPI/MFM/RLL support -->
    [*] ATA/ATAPI/MFM/RLL support
      [*] Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
        [*] PCI IDE chipset support
          [*] Generic PCI bus-master DMA support
            [*] Use PCI DMA by default when available

Then there is the network driver:

Linux Kernel Configuration: Network
Device Drivers -->
  Network device support -->
    [*] Network device support
      [*] Ethernet (10 or 100MBit)
        [*] Realtek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support

Note: There is more to get the kernel running, this is just specific for this laptop. Other options like USB should already be enabled.

Sound card

Though there is a driver in the kernel, I Suggest using ALSA. ALSA provides more recent drivers. To use this driver, edit the /etc/make.conf to just compile this driver:

vim /etc/make.conf

Add the following line:

ALSA_CARDS="intel8x0"

Then emerge the alsa driver in portage:

emerge alsa-driver

Note: This card has some switches that might be useful.

Processors

For more information on the setup of your /etc/make.conf, check the gentoo handbooks and this list of Safe_Cflags.

AMD 64

This should work straight on, just beware that not all applications that work under x86 will properly compile here. Help the AMD64 team by testing out packages to see if they work or not and report these back to gentoo. Though generaly not advisable, you might have to keyword an application x86 or ~x86 to emerge it.

When configuring the kernel, I have had some issues with SMP and ACPI. Disabling those managed to take out a lot of quirks. SMP was actually responsible for locking up my networkcard on my laptop. Also, it's not needed, so disabling it (on a single core) shouldn't give any issues. ACPI is currently causing my touchpad to not release properly, while being a minor annoyance, it's an annoyance nonetheless. Just doing a 'twitch' at the touchpad should allow it to release. Another option is passing the noacpi option to the kernel at startup. Though I haven't gone into a lot of research in these issues, they seem to all relate to messing with the APIC which the kernel doesn't like.

For more information on AMD 64, check out this HOWTO_AMD64 and check the gentoo forums.

Intel

Since I don't know of any Intel issues. This should just work straight on.

Videocard

ATI

I haven't had any experiences with ATI cards, though there is an excellent ATI HOWTO on this wiki.

NVidia

I can only suggest using the newest drivers on portage. These are:

Though there are some issues with these drivers. NVidia doesn't seem to be releasing any newer drivers. More information on NVidia with AMD64 can be found on the HOWTO AMD64.

Other references

There is an excellent guide over at the Cynapses wiki, available under GNU-FDL, so it's ok to link it here :)

Also, check out the HOWTO on the gentoo forums zv5000 HOWTO

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

Retrieved from "http://www.gentoo-wiki.info/HP_Pavilion_zv5000"

Last modified: Tue, 12 Aug 2008 01:05:00 +0000 Hits: 29,338