Search:  
Gentoo Wiki

HP_Pavilion_dv2420us

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

Contents

Introduction

This guide is only intended for Gentoo users with dv2420us laptops. While this may also applicable to similar designs, the essence of this article will remain true to its purpose of assisting in the installation and configuration of this model and its minor subsets.
Note: Unless notated all of the commands given have been tested.

Recommended Reading

Gentoo

HOWTO AMD 64
Gentoo on laptops
CPU Frequency Scaling
SD and MMC card readers
Qemu

Other

Hardware

HP dv2420us

DeviceStatusComments
14.1" WXGA High-Definition BrightView Widescreen 1280x800worksX11 1280x800@60
nVidia C51 GeForce Go 6150 (rev a2)worksnvidia, nv, vesa, vesafb
nVidia MCP51 High Definition Audio (rev a2)workshda-intel
nVidia MCP51 Ethernet Controller (rev a3)works
nVidia MCP51 USB Controller (rev a3)works
Broadcom Wireless 1390 WLAN (rev 02)worksndiswrapper bcm43xx or b43 with firmware
Ricoh R5C832 IEEE 1394 (Firewire)works
Ricoh R5C822 SD/SDIO/MMC/MS/MSPro (rev 19)
Ricoh xD (rev 05)
no support
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 [Geforce 6150 Go] (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
 01:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 02)
 05:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
 05:09.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
 05:09.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
 05:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
 05:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
File: /proc/cpuinfo
 processor       : 0
 vendor_id       : AuthenticAMD
 cpu family      : 15
 model           : 104
 model name      : AMD Turion(tm) 64 X2
 stepping        : 1
 cpu MHz         : 1808.485
 cache size      : 512 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        : 3620.23
 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 [6]
 
 processor       : 1
 vendor_id       : AuthenticAMD
 cpu family      : 15
 model           : 104
 model name      : AMD Turion(tm) 64 X2
 stepping        : 1
 cpu MHz         : 1808.485
 cache size      : 512 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        : 3616.53
 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 [6]
File: /proc/meminfo
 MemTotal:      1993784 kB
 MemFree:       1415928 kB
 Buffers:         72768 kB
 Cached:         301452 kB
 SwapCached:          0 kB
 Active:         122548 kB
 Inactive:       294160 kB
 SwapTotal:           0 kB
 SwapFree:            0 kB
 Dirty:               0 kB
 Writeback:           0 kB
 AnonPages:       42568 kB
 Mapped:          24052 kB
 Slab:           139104 kB
 SReclaimable:   127328 kB
 SUnreclaim:      11776 kB
 PageTables:       3464 kB
 NFS_Unstable:        0 kB
 Bounce:              0 kB
 CommitLimit:    996892 kB
 Committed_AS:   151496 kB
 VmallocTotal: 34359738367 kB
 VmallocUsed:    268748 kB
 VmallocChunk: 34359469599 kB

Device Mappings

Installation

Note: Use the Gentoo Handbook http://www.gentoo.org/doc/en/handbook/index.xml, it contains far more experience and information then I could possibly do. In this guide I will only put the custom options needed to complete a successful install
Warning: If you intend to use Windows, INSTALL WINDOWS FIRST!!! Use the Windows installer to establish your NTFS partition. I highly recommend setting it as the first partition on your drive.

Formatting Options


Warning: It is recommended to use Windows to format NTFS partitions, especially if you are using Vista... much quicker also.

Builds


AMD64 2007.0


boot: gentoo-nofb acpi=on

Selections

File: /boot/grub/grub.conf
 timeout 30
 default 0
 fallback 1
 splashimage=(hd0,4)/boot/grub/splash.xpm.gz
 
 title Windows Vista
 rootnoverify (hd0,0)
 makeactive
 chainloader +1
 
 title  Gentoo (amd64) [2.6.25-gentoo-r4]
 root (hd0,4)
 kernel /boot/linux-2.6.25-gentoo-r4 root=/dev/sda7 noapic irqpoll acpi=force vga=0x318 video=vesafb:mtrr:3,ywrap 

 title  Gentoo (rescue shell)
 root (hd0,4)
 kernel /boot/linux-2.6.25-gentoo-r4 root=/dev/sda7 noapic irqpoll acpi=force init=/bin/bb
 
File: /etc/make.conf
 CHOST="x86_64-pc-linux-gnu"
 CFLAGS="-march=athlon64 -O2 -pipe"
 CXXFLAGS="${CFLAGS}"
 ACCEPT_KEYWORDS="~amd64"
 EMERGE_DEFAULT_OPTS="--deep --newuse --update"
 MAKEOPTS="-j3"
 PORTAGE_NICENESS=3
 GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ ftp://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.utdlug.org/linux/distributions/gentoo/ ftp://mirror.utdlug.org/linux/distributions/gentoo/ "
 SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
 USE="3dnow X Xaw3d a52 aac acl acpi aim alsa ao apache2 apm audiofile bluetooth bonobo bzip2 cairo calendar cddb cdparanoia cdr clamav cracklib crypt cscope cups dbus dga directfb dri dts dv dvb dvd dvdr dvdread encode esd exif expat fam fbcon ffmpeg fftw firefox flac fltk foomaticdb ftp gd ggi gif glut gmp gstreamer gtk hal howl ieee1394 imagemagick imlib java jbig jpeg jpeg2k lash ldap lesstif libnotify libwww lirc lm_sensors lua mad mbox mime mmap mmx mng mono mp3 mpeg mplayer msn multilib mysql mysqli nas ncurses nis nptl nsplugin odbc ogg openal opengl osc oss pcntl pda pdf perl php png portaudio posix ppds prelude pulseaudio python quicktime rdesktop readline recode samba sasl sdl session sharedext sharedmem shorten skey smartcard sndfile speex spell sqlite3 sse sse2 ssl svg svga szip tcpd theora threads tiff truetype unicode usb v4l vcd vhosts vim-syntax vorbis wifi win32codecs xine xinerama xml xpm xprint xscreensaver xv xvid yahoo zlib"
 

Multiple OS


Windows Vista / Gentoo

Tip: I'm using FAT32 so that I can store content and use it interchangeably between Windows and Linux. There are drivers out there for Windows for less used filesystems, some more stable then others...
File: fdisk /dev/sda
 Command (m for help): p
 
 Disk /dev/sda: 200.0 GB, 200049647616 bytes
 255 heads, 63 sectors/track, 24321 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 
    Device Boot      Start         End      Blocks   Id  System
 /dev/sda1   *           1        5222    41943040    7  HPFS/NTFS
 /dev/sda2            5222       20887   125829120    b  W95 FAT32
 /dev/sda3           20887       24321    27585248+   5  Extended
 /dev/sda5           20887       20893       49807   83  Linux
 /dev/sda6           20894       21143     2008093+  82  Linux swap / Solaris
 /dev/sda7           21144       24321    25527253+  83  Linux

Kernels

AMD64

linux-2.6.19-gentoo-r5

Linux Kernel Configuration: ALL AMD64 2.6 Kernels

Code maturity level options

 [*] Prompt for development and/or incomplete code/drivers

Loadable module support

 [*] Enable loadable module support

Processor type and features

   Processor family (AMD-Opteron/Athlon64)
     (*) AMD-Opteron/Athlon64
     ( ) Generic-x86-64 optional
 [*] Symmetric multi-processing support
   [*] SMT (Hyperthreading) scheduler support
   [*] Multi-core scheduler support
 [*] MTRR (Memory Type Range Register) support
 [*] Non Uniform Memory Access (NUMA) Support
 [*] ACPI NUMA detection
 [*] AMD MCE Features

Power management options

 [*] Legacy Power Management API
 ACPI Support
   <*> AC Adapter
   <*> Battery
   <*> Button
   <*> Video
   <*> Fan
   <*> Processor
     <*> Thermal Zone
 CPU Frequency scaling
   [*] CPU Frequency scaling
   <*> CPU Frequency translation statistics
   <*> CPU Frequency translation statistics details
   Default CPUFreq governor (userspace)
     ( ) performance optional
     (X) userspace
   <*> 'performance' governor
   <*> 'powersave' governor
   <*> 'ondemand' governor for userspace frequency scaling
   <*> 'conservative' cpufreq governor
   <*> AMD Opteron/Athlon64 PowerNow!
   <*> ACPI Processor P-States driver

Bus options (PCI etc.)

 [*] PCI Express support
 PCCARD (PCMCIA/CardBus) support
   [*] PCCARD (PCMCIA/CardBus) support
   [*] 32-bit CardBus support
   <*> CarBus yenta-compatible bridge support

Executable file formats / Emulations

 [*] Kernel support for ELF binaries
 [*] IA32 Emulation

Networking

 Networking support
   Networking options
     <*> Packet socket
     <*> Unix domain sockets
     <*> TCP/IP networking
 <*> Bluetooth subsystem support
   <M>   L2CAP protocol support
   <M>   SCO links support
   <M>   RFCOMM protocol support
   [*]     RFCOMM TTY support
   <M>   BNEP protocol support
   [*]     Multicast filter support
   [*]     Protocol filter support
   <M>   HIDP protocol support
   Bluetooth device drivers
     <M> HCI USB driver
     [*]   SCO (voice) support
     <M> HCI UART driver
     [*]   UART (H4) protocol support
     [*]   BCSP protocol support
     <M> HCI BCM203x USB driver
     <M> HCI BPA10x USB driver
     <M> HCI BlueFRITZ! USB driver
     <M> HCI DTL1 (PC Card) driver
     <M> HCI BT3C (PC Card) driver
     <M> HCI BlueCard (PC Card) driver
     <M> HCI UART (PC Card) device driver
     <M> HCI VHCI (Virtual HCI device) driver
 <*> Generic IEEE 802.11 Networking Stack
 <*> IEEE 802.11 WEP encryption (802.1x)
 <*> IEEE 802.11i CCMP support

Device Drivers

 Block devices
   <*> Packet writing on CD/DVD media
 ATA/ATAPI/MFM/RLL support
   <*> Include IDE/ATAPI CDROM support
   <*> generic/default IDE chipset support
   [*] PCI IDE chipset support
   <*> generic PCI IDE Chipset Support
   [*] Generic PCI bus-master DMA support
   [*] Use PCI DMA by default when available
   <*> AMD and nVidia IDE support
 Serial ATA (prod) and Parallel ATA (experimental) drivers
   <*> ATA device support
   <*> AHCI SATA support
   <*> NVIDIA SATA support
 IEEE 1394 (FireWire) support
   <*> IEEE 1394 (FireWire) support
   <*> OHCI-1394 support
   <*> Raw IEEE1394 I/O support
 Network device support
   [*] Network device support
     Ethernet (10 or 100Mbit)
       [*] Ethernet (10 or 100Mbit)
       [*] EISA, VLB, PCI and on board controllers
       <*> nForce Ethernet support
       [*] Use Rx and Tx Polling (NAPI)
     Wireless LAN (non-hamradio)
       Wireless LAN (non-hamradio) & Wireless Extensions
         [*] Wireless Extension API over RtNetlink
         <*> Broadcom BCM43xx wireless support
         <*> Broadcom BCM43xx debugging
           BCM43xx data transfer mode (DMA + PIO)
             (X) DMA + PIO
             ( ) DMA (Direct Memory Access) only optional
             ( ) PIO (Programming I/O) only optional
 Input device support
   <*> Event interface
   [*] Mouse
     <*> PS/2 mouse
   [*] Miscellaneous devices
     <*> User level driver support
 Character devices --->
   <*> AMD HW Random Number Generator support
   <*> Enhanced Real Time Clock Support
   <M> Direct Rendering Manager
   <*> Hangcheck timer
 I2C support
   <*> I2C support
   <*> I2C device interface
   I2C Hardware Bus support
     <*> Nvidia nForce2, nForce3 and nForce4
 Hardware Monitoring support
   <*> Hardware Monitoring support
   <*> AMD Athlon64/FX or Opteron temperature sensor
 Multimedia devices
   <*> Video For Linux
   <*> Enable Video For Linux API 1
   Video Capture Adapters
     [*] Autoselect pertinent encoders/decoders and other helper chipset
 Graphics Support
   [*] Enable fireware EDID
   <*> Support for frame buffer devices
   <*> VESA VGA graphics support
   (Select the following if you want to use the open source drivers, otherwise leave them blank)
   < >   nVidia Framebuffer Support optional
   < >   nVidia Riva support optional
   Console display driver support
     [*] Video mode selection support
     <*> Frambuffer Console Support
   Logo configuration
     [*] Bootup logo
     [*] Standard 224-color Linux logo
   [*] Backlight & LCD device support
     <*> Lowlevel Backlight controls
     <*> Lowlevel LCD controls
 Sound
   <*> Sound card support
   Advanced Linux Sound Architecture
     <*> Advanced Linux Sound Architecture
     <*> OSS Mixer API
     <*> OSS PCM (digital audio) API
       <*> OSS PCM (digital audio) API - Include plugin system
     <*> RTC Timer support
     <*> Support old ALSA API
 USB Support
   <*> Support for Host-side USB
   [*] USB device filesystem
   <*> EHCI HCD (USB 2.0) support
   <*> OHCI HCD support
   <*> USB Printer support
   <*> USB Mass Storage support
   <*> USB Human Interface Device (full HID) support
   [*] HID input layer support
   [*] /dev/hiddev raw HID device support
 MMC/SD Card support
   <*> MMC support
   <*> MMC block device driver
 LED devices
   [*] LED Support
   <*> LED Class Support
   [*] LED Trigger support
   [*] LED IDE Disk Trigger
 EDAC
   <*> EDAC core system error reporting
   <*> Main Memory EDAC
 DMA Engine support
   [*] Support for DMA engines
   [*] Network: TCP receive copy offload

File systems

 <*> Second extended fs support  optional
 <*> Ext3 journalling file system support  optional
 <*> Reiserfs support optional
 < > JFS filesystem support optional
 < > XFS filesystem support optional
 [*] Inotify file change notification support
 [*] Inotify support for userspace
 CD-ROM/DVD Filesystems
   <*> ISO 9660 CDROM file system support
 DOS/FAT/NT Filesystems
   <*> MSDOS fs support optional
   <*> VFAT (Windows-95) fs support optional
   <*> NTFS file system support optional
 Pseudo Filesystems --->
   [*] /proc file system support
   [*] Virtual memory file system support (former shm fs)
 Network File Systems
   <*> SMB file system support
   <*> CIFS support

Configuration

Useful software

Video

Sound

The snd-intel8x0 module is compatable with the onboard nForce sound card.
Kernel 2.6.19-gentoo-r5 ALSA drivers do not work.
Install media-sound/alsa-driver

Note: You MUST reinstall alsa-driver every time you use a new kernel.

SPDIF

Enable SPDIF Playback with the following commands. amixer set 'IEC958 Playback AC97-SPSA' 0
amixer set 'IEC958' on

Ethernet

Use forcedeth module for onboard ethernet.

Wireless

USB

No Issues

FireWire

Bluetooth

Install the following...

Start the Bluetooth service and add it to the default runlevel...

Keyboard / Mouse

CD/DVD RW

Cam

svn co https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver syntekdriver
cd syntekdriver/trunk/driver
make
modprobe videodev
insmod stk11xx.ko

media-video/camorama

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

Last modified: Thu, 04 Sep 2008 22:54:00 +0000 Hits: 4,901