HP Pavilion dv7-1080

From Gentoo Linux Wiki
(Redirected from Hp Pavilion DV7-1080)
Jump to: navigation, search

Contents

[edit] Preface

Hp Pavilion DV7-1080 is a Intel Montevina based Laptop. Following list contains its hardware:

  • Intel Montevina Core2Duo T9400 (2x 2.53GHz 6MB Cache)
  • NVIDIA GeForce 9600GT (512MB bis 1791MB)
  • Sound Intel High Definition Audio (HDA)
  • Memory:
    • HDD 2 x 250GB SATA 5400ppm
    • RAM 4GB DDRII
    • optical Blueray, +/-R/RW(DL)
  • Networking:
    • LAN Ethernet 10/100/1000 Realtek RTL8111/8168B PCI Express
    • WLAN Intel Wireless WiFi 5000AGN
    • Bluetooth HP Integrated Module
  • Input Devices:
    • standard keyboard + hotkeys
    • Synaptics touchpad
  • Multimedia:
    • TV-Card DVB-T AVerMedia a309
    • Webcam Logitech

Printout of lspci:

Code: lspci
00:00.0 Host bridge: Intel Corporation Device 2a40 (rev 07)
00:01.0 PCI bridge: Intel Corporation Device 2a41 (rev 07)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation Device 2919 (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Device 0649 (rev a1)
02:00.0 Network controller: Intel Corporation Device 4237
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
06:00.0 FireWire (IEEE 1394): JMicron Technologies, Inc. Device 2380
06:00.1 System peripheral: JMicron Technologies, Inc. Device 2382
06:00.2 SD Host controller: JMicron Technologies, Inc. Device 2381
06:00.3 System peripheral: JMicron Technologies, Inc. Device 2383
06:00.4 System peripheral: JMicron Technologies, Inc. Device 2384

Printout of lsusb:

Code: lsusb
Bus 008 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 007 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 006 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 046d:09b8 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 004: ID 07ca:a309 AVerMedia Technologies, Inc.
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard
Bus 003 Device 001: ID 1d6b:0001
Bus 003 Device 003: ID 138a:0001

[edit] Installation notes

Properly working WiFi 5000AGN comes with 2.6.27. So I use a 2.6.27-gentoo-r2 Kernel.

  • using Gentoo 2008.0
  • using USE flags as below:
File: /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="-O2 -march=i686 -pipe"
MAKEOPTS="-j4"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="-kde -arts cups \
     gimp \
     ieee1394 java mng \
     mozdevelop moznocompose moznoirc moznomail \
     network \
     pam pcmcia ppds python\
     real samba ssl \
     usb xinerama zlib nls dvb v4l dri xorg nptl \
     nsplugin acl v4l2 a52 aac exif ffmpeg \
     bash-completion avahi x264 xulrunner"

GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

FEATURES="fixpackages parallel-fetch"

INPUT_DEVICES="keyboard mouse evdev synaptics"
VIDEO_CARDS="vesa nvidia"
ALSA_CARDS="hda-intel"
LINGUAS="de"

PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save"


PORTAGE_ECLASS_WARNING_ENABLE="0"
source /usr/portage/local/layman/make.conf

[edit] Configuration

[edit] Sound Card Intel HDA

Using alsa-driver from kernel as shown below:

Linux Kernel Configuration: 2.6.27-gentoo-r2
--- Advanced Linux Sound Architecture
<M>   Sequencer support
<M>     Sequencer dummy client
<M>   OSS Mixer API
<M>   OSS PCM (digital audio) API
[*]     OSS PCM (digital audio) API - Include plugin system
[*]   OSS Sequencer API
<M>   RTC Timer support
[*]     Use RTC asbjl,bv,nbnmvbbhmb <fcgcxcvbkh  < h default sequencer timer
[ ]   Dynamic device file minor numbers
[*]   Support old ALSA API
[*]   Verbose procfs contents
[ ]   Verbose printk
[ ]   Debug
[ ]   Generic sound devices  --->
[*]   PCI sound devices  --->
[ ]   USB sound devices  --->
[ ]   PCMCIA sound devices  --->
< >   ALSA for SoC audio support  --->

--- PCI sound devices
< >   ForteMedia FM801
<M>   Intel HD Audio
[ ]     Build hwdep interface for HD-audio driver
[*]     Build Realtek HD-audio codec support
[*]     Build Analog Device HD-audio codec support
[*]     Build IDT/Sigmatel HD-audio codec support
[*]     Build VIA HD-audio codec support
[*]     Build ATI HDMI HD-audio codec support
[*]     Build Conexant HD-audio codec support
[*]     Build C-Media HD-audio codec support
[*]     Build Silicon Labs 3054 HD-modem codec support
[*]     Enable generic HD-audio codec parser
[*]     Aggressive power-saving on HD-audio
(0)       Default time-out for HD-audio power-save mode
< >   RME Hammerfall DSP Audio
< >   RME Hammerfall DSP MADI
< >   TempoTec HiFier Fantasia

Giving the folowing module parameter by editing /etc/modprobe.d/alsa as folowing:

File: /etc/modprobe.d/alsa
# Set this to the correct number of cards.
options snd cards_limit=1

alias snd-card-0 snd-hda-intel
options snd-hda-intel enable=1 enable_msi=1 single_cmd=0 power_save_controller=0 power_save=0

Do not forget to run update-modules to generate /etc/modprobe.conf

Code: update-modules
update-modules -f

[edit] TV-Card

The DVB-T AVerMedia a309 is not supportet with the 2.6.27-gentoo-r2 Kernel. So you have to install the latest V4L drivers from cvs:

Code: media-tv/v4l-dvb-hg
emerge media-tv/v4l-dvb-hg

The module is called dvb_usb_af9015.

I'm living in Switzerland. There was no initial-tuning-data-file for Swizerland so I created one.

File: /usr/share/dvb/dvb-t/ch-Deutschschweiz
# DVB-T Deutschschweiz
# by Berner Martin

T 562000000 8MHz 2/3 NONE QAM16 8k 1/4 NONE
T 562000000 8MHz 3/4 NONE QAM16 8k 1/4 NONE

I'm using vlc for watching TV.

Code: vlc
emerge media-video/vlc

[edit] Videocard

Using the latest nvidia-drivers.

Code: nvidia-drivers
echo "x11-drivers/nvidia-drivers ~x86" >> /etc/portage/package.keywords

emerge x11-drivers/nvidia-drivers

[edit] Wireless

The Intel Wifi 5000 needs firmware.

Linux Kernel Configuration: 2.6.27-gentoo-r2
[ ] Wireless LAN (pre-802.11)
[*] Wireless LAN (IEEE 802.11)
< >   Aviator/Raytheon 2.4MHz wireless support
< >   Intel PRO/Wireless 2100 Network Connection
...
{*} Intel Wireless Wifi Core
[*] Iwlwifi RF kill support
[ ] Enable full debugging output in iwlagn driver
<M> Intel Wireless WiFi Next Gen AGN
[*]   Enable Spectrum Measurement in iwlagn driver
[*]   Enable LEDS features in iwlagn driver
[ ]   Intel Wireless WiFi 4965AGN
[*]   Intel Wireless WiFi 5000AGN
< > Intel PRO/Wireless 3945ABG/BG Network Connection
Code: iwl5000-ucode
echo "net-wireless/iwl5000-ucode ~x86" >> /etc/portage/package.keywords

emerge net-wireless/iwl5000-ucode

[edit] LAN Card

Linux Kernel Configuration: 2.6.27-gentoo-r2
--- Ethernet (1000 Mbit)
< >   Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support
< >   DL2000/TC902x-based Gigabit Ethernet support
< >   Intel(R) PRO/1000 Gigabit Ethernet support
< >   Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
< >   IP1000 Gigabit Ethernet support
< >   Intel(R) 82575 PCI-Express Gigabit Ethernet support
< >   National Semiconductor DP83820 support
< >   Packet Engines Hamachi GNIC-II support
< >   Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)
<*>   Realtek 8169 gigabit ethernet support
< >   SiS190/SiS191 gigabit ethernet support
< >   New SysKonnect GigaEthernet support
< >   SysKonnect Yukon2 support
< >   VIA Velocity support
< >   Broadcom Tigon3 support
< >   Broadcom NetXtremeII support
< >   QLogic QLA3XXX Network Driver Support
< >   Attansic L1 Gigabit Ethernet support (EXPERIMENTAL)
< >   Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)

Don't use the r8169 module from kernel directly. Sometimes it will slow down the internet transfer speed. Download driver for 8111/8168B from RealTek's website and make it run. It may boost the speed. --wecing

Personal tools
In other languages