HP Pavilion DV5000

From Gentoo Linux Wiki

Jump to: navigation, search

Contents

[edit] Hardware

This is the hardware list of the Pavilion DV5135eu:

  • CPU: AMD Turion(tm) 64 Mobile Technology ML-32
  • VGA: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) 128MB
  • Audio: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02)
  • Memory:
    • RAM - 1GB
    • HDD - 100GB IDE
    • CD/DVD Rom
  • Networking:
    • ETH: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    • WLAN: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
    • 56K Modem
  • Input Devices:
    • Standard Keyboard + QuickPlay Hotkeys
    • Synaptics Touchpad with vertical scroller
    • Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
    • Texas Instruments PCIxx21/x515 Cardbus Controller
  • BUSes
    • Firewire: Texas Instruments OHCI Compliant IEEE 1394 Host Controller
    • USB: 3 Ports EHCI/OHCI ATI Technologies Inc IXP SB400
    • TV-Out: 1 Port
    • VGA: 1 Port

[edit] Safe CFLAGS

This is a 64bit configuration that's working perfectly on the laptop.

File: /etc/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2
VIDEO_CARDS="fglrx"  << (or VIDEO_CARDS="ati" work good)
INPUT_DEVICES="mouse keyboard"
ALSA_CARDS="atiixp"

USE="mmx sse sse2 3dnow X alsa acpi dri sharedmem <etc....[Add your use flags]>"

[edit] Configuration

[edit] Kernel

You can download a tested kernel .config here [1] It work for kernel <=2.6.26-r4

[edit] Broadcom WLAN

This laptop uses a Broadcom 43xx based wireless device.


[edit] Videocard ATI Xpress 200M

Now this card is supporded good by open driver, and by fglrx driver. You can choise between two options:

  • Use the open driver by enabling in make.conf VIDEO_CARDS="ati"
  • Use fglrx driver by enabling in make.conf VIDEO_CARDS="fglrx"

If you want the latest fglrx ati driver you must unmask ati-drivers package from portage.

[edit] CPU frequence scaling

The cpu frequence scaling work pretty with kernel builtin cpu power managment options and without powernowd daemon. See .config for more info.

[edit] Xorg Configuration

File: /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "Default Layout"
	Screen         "Default Screen" 0 0
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "en"
	Option	    "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ImPS/2"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
	Identifier  "Synaptics Touchpad"
	Driver      "synaptics"
	Option	    "SendCoreEvents" "true"
	Option	    "Device" "/dev/input/by-path/platform-i8042-serio-4-mouse"
	Option	    "Protocol" "auto-dev"
	Option	    "HorizEdgeScroll" "0"
	Option      "SHMConfig" "true"
EndSection

Section "Monitor"
	Identifier   "Monitor Generico"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE)"
	Driver  "fglrx"
	Option  "VideoOverlay" "on"
	Option  "OpenGLOverlay" "off"
	Option  "XAANoOffscreenPixmaps" "true"
        Option  "RenderAccel" "true"
        Option  "AddARGBGLXVisuals" "true"
        Option  "AllowGLXWithComposite" "true"
	BusID   "PCI:1:5:0"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE)"
	Monitor    "Monitor Generico"
	DefaultDepth     24
	SubSection "Display"
		Modes    "1280x800"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER" "true"
    Option "DAMAGE" "true"
EndSection

[edit] Touchpad Driver

The driver for synaptics touchpad is this:

echo x11-drivers/xf86-input-synaptics >> /etc/portage/package.keywords/synaptics

emerge x11-drivers/xf86-input-synaptics

Use the previous xorg.conf and it work pretty ;)

[edit] Modem

Not tested.

[edit] Firewire

Not tested.

[edit] Card Reader Secure Digital Texas Instruments

Work good with kernel module:

mmc_block
tifm_sd
tifm_7xx1
tifm_core
mmc_core

This module is enabled on kernel .config. For more info see .config

Personal tools