Search:  
Gentoo Wiki

HP_Pavilion_dv6119us

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

Contents

Introduction

The HP Pavilion dv6119us is a AMD Turion X2 dual core based notebook. It features a 15.4" WXGA widescren monitor, and up to two Gigabyte memory.

Summary

Hardware ComponentsStatus under LinuxNotes
AMD Turion(tm) 64 X2 TL-50 1.6GHz Works Must use pci=usepirqmask
15.4" WXGA TFT Display Works No special procedure required during installation.
Nvidia GeForce Go 6150 Graphics Works emerge nvidia-drivers; add Modes 1280x800 to xorg.conf
667MHz DDR2 SDRAM (PC2-5300) Works No special procedure required during installation.
80GB FUJITSU MHV2080B SATA 5400RPM 12ms Hard Disk Works CONFIG_SATA_NV=y
nVidia Corporation MCP51 Ethernet 10/100BASE-T Works CONFIG_FORCEDETH=y
LightScribe SuperMulti 8X DVD┬▒RW Works Not sure about LightScribe
SD MS/Pro MMC XD Ricoh Card Reader SD Works Not sure about other media
Broadcom Dell Wireless 1390 WLAN Works bcm43xx based
Altec Lansing Sound Works CONFIG_SND_HDA_INTEL=m
HP IR remote Works Not sure which driver
56k hsf softmodem Untested Might be supported by linuxant

Gentoo Configuration

The biggest problem with this machine is IOAPIC. Trying noacpi and pci=noapic boot options leaves you with several devices that won't get proper IRQs and slow performance. See the bugzilla bug about this problem. I found pci=usepirqmask works and allows all the devices to work most of the time. Occasionally, it hangs during bootup (usually while initializing the clock).

File: cat /etc/make.conf
 
  # These settings were set by the catalyst build script that automatically built this stage
  # Please consult /etc/make.conf.example for a more detailed example
  CFLAGS="-msse3 -O2 -pipe -march=athlon64"
  CHOST="x86_64-pc-linux-gnu"
  CXXFLAGS="${CFLAGS}"
  MAKEOPTS="-j3" #Makes use of the dual core
  VIDEO_CARDS="nvidia" #Only if using official nVidia drivers (nvidia-drivers)
  INPUT_DEVICES="keyboard mouse"
  USE="X a52 aac acpi aim alsa bash-completion bzip2 caps cdparanoia cdr crypt cscope cups dga dv dvd dvdr encode ffmpeg firefox flac ftp gd geoip gif gmp gnome gphoto2 gtk gtk2 icq ieee1394 imagemagick ipv6 jpeg mpeg multilib opengl pdf png offensive ogg pcre perl qt3 qt4 speex theora truetype tidy usb vcd win32codecs wmf xine xvid xml spell xvmc nsplugin aiglx"
  PORTAGE_NICENESS=3

File: cat /proc/version
 
  Linux version 2.6.18-gentoo-r5 (root@kimchee) (gcc version 4.1.1 (Gentoo 4.1.1-r1)) #1 SMP Sun Dec 24 08:38:55 PST 2006
  

Hardware

The dv6119us used in the installation described here features the following:

Processor

File: cat /proc/cpuinfo
 
  processor       : 0
  vendor_id       : AuthenticAMD
  cpu family      : 15
  model           : 72
  model name      : AMD Turion(tm) 64 X2 Mobile Technology TL-50
  stepping        : 2
  cpu MHz         : 1600.000
  cache size      : 256 KB
  physical id     : 0
  siblings        : 2
  core id         : 0
  cpu cores       : 2
  fpu             : yes
  fpu_exception   : yes
  cpuid level     : 1
  wp              : yes
  flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
  bogomips        : 3217.72
  TLB size        : 1024 4K pages
  clflush size    : 64
  cache_alignment : 64
  address sizes   : 40 bits physical, 48 bits virtual
  power management: ts fid vid ttp tm stc

  processor       : 1
  vendor_id       : AuthenticAMD
  cpu family      : 15
  model           : 72
  model name      : AMD Turion(tm) 64 X2 Mobile Technology TL-50
  stepping        : 2
  cpu MHz         : 1600.000
  cache size      : 256 KB
  physical id     : 0
  siblings        : 2
  core id         : 1
  cpu cores       : 2
  fpu             : yes
  fpu_exception   : yes
  cpuid level     : 1
  wp              : yes
  flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
  bogomips        : 3220.90
  TLB size        : 1024 4K pages
  clflush size    : 64
  cache_alignment : 64
  address sizes   : 40 bits physical, 48 bits virtual
  power management: ts fid vid ttp tm stc
  

Graphics

File: lspci -v
 
  00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2) (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company Unknown device 30b7
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
        Memory at b2000000 (32-bit, non-prefetchable) size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at b1000000 (64-bit, non-prefetchable) size=16M]
        [virtual] Expansion ROM at 50000000 [disabled] [size=128K]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable
   

Follow the instructions in the nVidia HOWTO

Disk

File: hdparm -I /dev/sda
 
  ATA device, with non-removable media
        Model Number:       FUJITSU MHV2080BH                       
        Serial Number:      NW13T682E2UW        
        Firmware Revision:  892C    
  Standards:
        Used: Reserved 
        Supported: 7 6 5 4 
  Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  156301488
        LBA48  user addressable sectors:  156301488
        device size with M = 1024*1024:       76319 MBytes
        device size with M = 1000*1000:       80026 MBytes (80 GB)
  Capabilities:
        LBA, IORDY(can be disabled)
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: 128 (0x80)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=240ns  IORDY flow control=120ns
  Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    DOWNLOAD_MICROCODE
           *    Advanced Power Management feature set
           *    48-bit Address feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
           *    General Purpose Logging feature set
           *    IDLE_IMMEDIATE with UNLOAD
           *    SATA-I signaling speed (1.5Gb/s)
           *    Host-initiated interface power management
           *    Phy event counters
                Device-initiated interface power management
           *    Software settings preservation
  Security: 
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
                supported: enhanced erase
        62min for SECURITY ERASE UNIT. 62min for ENHANCED SECURITY ERASE UNIT.
  Checksum: correct
  

Ethernet

Code: lspci
 
  00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
  
Linux Kernel Configuration:
 Device Drivers  --->
   Network device support  --->
     [*] Network device support
     Ethernet (10 or 100Mbit)  --->
       [*] Ethernet (10 or 100Mbit)
       [*] EISA, VLB, PCI and on board controllers
         <*>   nForce Ethernet support                                     
 
Code: dmesg
 
  forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.57.
  PCI: Setting latency timer of device 0000:00:14.0 to 64
  forcedeth: using HIGHDMA
  eth0: forcedeth.c: subsystem: 0103c:30b7 bound to 0000:00:14.0
  

Wireless

See the Broadcom 43xx article.

Sound

Linux Kernel Configuration:
 Device Drivers  --->
   Sound  --->
     [*] Sound card support
     Advanced Linux Sound Architecture  --->
       [*] Advanced Linux Sound Architecture
         PCI devices  --->
         <M> Intel HD Audio
 

For whatever reason, I found that I had to modprobe snd-hda-codec, wait a few seconds, and then modprobe snd-hda-intel. Without a delay, or loading snd-hda-intel first, seems to hang.

The sound card only supports 48000Hz audio and hardware mixes only 2 processes. Therefore, software mixing with ALSA's dmix is essential.

File: cat /etc/asound.conf
pcm.dsp0 {
       type plug
       slave.pcm "dmix"   # <-- this line has been altered!
}

pcm.nforce-hw {
       type hw
       card 0
}
pcm.!default {
       type plug
       slave.pcm "nforce"
}
pcm.nforce {
       type dmix
       ipc_key 1234
       ipc_perm 0660
       slave {
               pcm "hw:0,0"
               period_time 0
               period_size 1024
               buffer_size 4096
               #rate 44100
               rate 48000
       }
}
ctl.nforce-hw {
       type hw
       card 0
}

IR Remote

This is not a real "IR Remote" - it sends keyboard presses on the hardware level. Bind them as multimedia keys.

Modem

The modem is supported by the hsfmodem. See this guide.

Misc Devices

File: lspci
 
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
07:05.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
  

For the SD card reader/writer:

Linux Kernel Configuration:
 
  -> Code maturity level options
    -> Prompt for development and/or incomplete code/drivers
  -> Device Drivers
    -> MMC/SD Card support
      -> MMC support (MMC [=y])
         Secure Digital Host Controller Interface support (EXPERIMENTAL)
  

ACPI

ACPI seems to work:

File: dmesg
  ACPI: RSDP (v000 HP                                    ) @ 0x00000000000f8970
  ACPI: RSDT (v001 HP       RSDT   0x06040000  LTP 0x00000000) @ 0x000000003df0fb99
  ACPI: FADT (v001 HP     MCP51M   0x06040000 PTL_ 0x000f4240) @ 0x000000003df16d52
  ACPI: SSDT (v001 HP     POWERNOW 0x06040000  LTP 0x00000001) @ 0x000000003df16dc6
  ACPI: MCFG (v001 HP       MCFG   0x06040000  LTP 0x00000000) @ 0x000000003df16f48
  ACPI: MADT (v001 HP              APIC   0x06040000  LTP 0x00000000) @ 0x000000003df16f84
  ACPI: BOOT (v001     HP $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x000000003df16fd8
  ACPI: DSDT (v001 HP       MCP51M 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000
  Entering add_active_range(0, 0, 157) 0 entries of 256 used
  Entering add_active_range(0, 256, 253696) 1 entries of 256 used
  Zone PFN ranges:
    DMA             0 ->     4096
    DMA32        4096 ->  1048576
    Normal    1048576 ->  1048576
  early_node_map[2] active PFN ranges
    0:        0 ->      157
    0:      256 ->   253696
  On node 0 totalpages: 253597
    DMA zone: 56 pages used for memmap
    DMA zone: 1533 pages reserved
    DMA zone: 2408 pages, LIFO batch:0
    DMA32 zone: 3412 pages used for memmap
    DMA32 zone: 246188 pages, LIFO batch:31
    Normal zone: 0 pages used for memmap
    Nvidia board detected. Ignoring ACPI timer override.
    If you got timer trouble try acpi_use_timer_override
  ACPI: PM-Timer IO Port: 0x1008
  ACPI: Local APIC address 0xfee00000
  ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
  Processor #0 (Bootup-CPU)
  ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
  Processor #1
  ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
  ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
  Using ACPI for processor (LAPIC) configuration information
  Intel MultiProcessor Specification v1.4
  MPTABLE: OEM ID: nVIDIA   MPTABLE: Product ID: C51-MCP51    MPTABLE: APIC at: 0xFEE00000
  I/O APIC #2 at 0xFEC00000.
  Setting APIC routing to flat
  

powernow works, although there are only two speeds in the table:

File: dmesg
  powernow-k8: Found 2 AMD Turion(tm) 64 X2 Mobile Technology TL-50 processors (version 2.00.00)
  powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x12
  powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x1e
  

suspend to ram works (after fixing the DSDT)

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

Last modified: Tue, 12 Aug 2008 01:19:00 +0000 Hits: 10,888