HARDWARE HP Pavilion dv4000

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

[edit] Introduction

See HP Pavilion dv4000 for image.

Follow the Gentoo x86 Handbook for easy installation on HP Pavilion dv4000. This guide focuses on getting HP Pavilion dv4000 hardware working with Gentoo.

[edit] make.conf

File: /etc/make.conf
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="alsa oss cdr dvd dvdr"
Note: See Safe Pentium-M/Centrino CFLAGS

[edit] Processor

File: /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.73GHz
stepping        : 8
cpu MHz         : 1729.869
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips        : 3465.49

Linux Kernel Configuration: Pentium M
Processor type and features  --->
     Processor family (Pentium M)  --->
 [*] Machine Check Exception
 [ ] Math emulation
 [*] MTRR (Memory Type Range Register) support

[edit] High memory

Some of the 1 GB of ram is high memory so the kernel must be compiled with this option.

Linux Kernel Configuration: High Memory Support
Processor type and features  --->
  High Memory Support (4GB)  --->

Code: cat /proc/meminfo
MemTotal:      1025108 kB
MemFree:        534412 kB
Buffers:            68 kB
Cached:         322500 kB
SwapCached:          0 kB
Active:         316396 kB
Inactive:       136552 kB
HighTotal:      121728 kB
HighFree:          120 kB
LowTotal:       903380 kB
LowFree:        534292 kB
SwapTotal:     1759076 kB
SwapFree:      1759076 kB
Dirty:              72 kB
Writeback:           0 kB
Mapped:         166696 kB
Slab:            31124 kB
CommitLimit:   2271628 kB
Committed_AS:   280188 kB
PageTables:       1180 kB
VmallocTotal:   114680 kB
VmallocUsed:      2724 kB
VmallocChunk:   111796 kB

[edit] Power Management

HP Pavilion dv4000 has support for ACPI and CPU Frequency scaling. Configure the kernel to support both.

Linux Kernel Configuration: Power Management support
Power management options (ACPI, ARM)  --->
  ACPI (Advanced Configueration and Power Interface) Support  --->
    [*] ACPI Support
    <*> AC Adapter
    <*> Battery
    <*> Button
    <*> Video
    <*> Fan
    <*> Processor
    <*>   Thermal Zone
    [*] Power Management Timer Support
  • Pick CPU Frequency scaling policies and a default policy to use.
Linux Kernel Configuration: CPU Frequency scaling
Power management options (ACPI, ARM)  --->
  CPU Frequency scaling  --->
    [*] CPU Frequency scaling
    <*> CPU frequency translation statistics
        Default CPUFreq governor (performance) --->
    --- 'performance' governor
    <*> 'powersave' governor
    <*> 'userspace' governor for userspace frequency scaling
    <*> 'ondemand' cpufreq policy governor
    --- CPUFreq processor drivers
    <*> Intel Enhanced SpeedStep
    [*]   Use ACPI tables to decode valid frequency/voltage pairs
    [*]   Built-in tables for Banias CPUs
    <*> Intel Speedstep on ICH-M chipsets (ioports interface)

[edit] PCI / ISA / PCMCIA

00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)

  • Configure the kernel for PCI, ISA and PCMCIA/CardBus support:
Linux Kernel Configuration: PCI & ISA
Bus options (PCI, PCMCIA, EISA, MCA, ISA)  --->
      PCI access mode (Any)  -->
  [*] PCI Express support
  <*>   PCI Express Hotplug driver
  [*] ISA support
      PCCARD (PCMCIA/CardBus) support  --->
        <*> PCCard (PCMCIA/CardBus) support
        <*> 16-bit PCMCIA support
        [*] PCMCIA control ioctl (obsolute)
      PCI Hotplug Support  --->
        <*> Support for PCI Hotplug (EXPERIMENTAL)
        <*>   ACPI PCI Hotplug driver

[edit] Graphic card

lspci

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

See this HowTo.

[edit] Sound / Modem

0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)

  • Configure the kernel for sound and modem support:
Linux Kernel Configuration: AC'97
Device Drivers  --->
  Sound  --->
    <*> Sound card support
    Advanced Linux Sound Architecture  --->
      PCI Devices --->
        <M> Intel/SiS/nVidia/AMD/ALi AC97 Controller
        <M> Intel/SiS/nVidia/AMD MC97 Modem (EXPERIMENTAL)

  • Update alsa configuration files:
Code: alsaconf
alsaconf
Note: You may need to turn on External Amplifier to get sound in addition to PCM and Master.

[edit] Wireless

0000:06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)

see http://forums.gentoo.org/viewtopic-t-393180-highlight-dhcpcd+ipw2200.html

[edit] Ethernet

0000:06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Linux Kernel Configuration: Realtek 8139
Device Drivers  --->
  Network device support  --->
  [*] Network device support
    Ethernet (10 or 100Mbit)  --->
      [*] Ethernet (10 or 100Mbit)
      [*] EISA, VLB, PCI and on board controllers
      <*> RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support

[edit] USB

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)

Linux Kernel Configuration: USB support
Device Drivers  --->
  USB support  --->
    <*> Support for Host-side USB
    [*]   USB device filesystem
    <*>   EHCI HCD (USB 2.0) support
    <*>   UHCI HCD (most Intel and VIA) support
    <*> USB Mass Storage support
    <*> USB Human Interface Device (full HID) support
    [*]   HID input layer support
Personal tools