HP_Pavilion_dv5t
Contents |
Intro:
This document is for information on configuring gentoo for your HP Pavilion DV5t laptop. Use this to fill in some of the blanks that the Gentoo Docs will throw at you.
What's under the hood:
Here are some basic specs of this machine.
- CPU: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
- RAM: 3GB DDR2
- Hard drive: 160GB Western Digital SATA
- Optical drive: LightScribe 8X DVD+/-RW Dual Layer
- Video: NVidia 9200M GS
- Sound: Integrated Audio
- Network: Integrated GigE
- Wifi: Intel Wireless 5100AGN with BlueTooth
- Webcam: Integrated Webcam
A closer look as seen by lspci with latest pciids:
| Code: #lspci |
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) 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 ICH9M LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03) 00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 9200M GS (rev a1) 02:00.0 Network controller: Intel Corporation Device 4237 03: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 |
And /proc/cpuinfo:
| Code: #cat /proc/cpuinfo |
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz stepping : 6 cpu MHz : 1600.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nopl pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm bogomips : 4786.80 clflush size : 64 power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz stepping : 6 cpu MHz : 1600.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nopl pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm bogomips : 4786.60 clflush size : 64 power management: |
Setup:
- make.conf
Since this machine will primarily be primarily for basic desktop and internet use, I opted for a 32 bit system for compatibility reasons ( The flash plugin + nspluginwrapper is especially annoying ). Here are my CFLAGS:
| File: /etc/make.conf |
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
|
For more information see CFlags and Intel_Core_2_Duo.
- Kernel Config
Here's where things start to get interesting. The current gentoo-sources (at the time of this writing 2.6.25-r7) will not support the wifi or the onboard sound. You will need a vanilla kernel to get these working. The latest available right now is 2.6.27-rc8 and is available at here or through portage ( vanilla-sources-2.6.27-rc8 ). If you go the portage route you'll need to do some unmasking...more on that here.
Here is my kernel config that has every device enabled and working on this laptop. It also includes some other things like framebuffer support, a wide variety of filesystems support, and netfilter (iptables). Make sure to edit it for your exact hardware if you have a different configuration than I do.
Networking
- Ethernet
| Code: #lspci -k | grep -A 1 -i ethernet |
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Kernel driver in use: r8169
|
It uses the Provided you followed the gentoo install guide and are booted into your new ( properly configured ) 2.6.27 kernel, this device should be setup and ready to go.
- Wireless
| Code: #lspci -k | grep -A 1 -i network |
02:00.0 Network controller: Intel Corporation Device 4237
Kernel driver in use: iwlagn
|
Not a very intuitive device entry is it? The hardware is pretty new so expect this to change soon :). Again if you're in your new kernel this device should be working though you will have to enable it by hitting the hot key for it (yeah the red button with the waves coming out of it on the right side of the hotkeys panel). You should see it turn blue...when it does, you'll know it's on and you can test it by scanning for near by wireless networks with the following command:
| Code: #iwlist wlan0 scan |
From this point you've got some more configuration to do to get it talking. See these docs for more information. Installing NetworkManager is a good idea as it will make your life much easier when it comes to networking.
Sound
| Code: #lspci -k | grep -A 1 -i audio |
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Kernel driver in use: HDA Intel
|
The actual name for this driver is snd-hda-intel incase you're curious for some reason :>. This should be working now as well so you should check your mixer levels and make sure nothing is muted and the volume is turned up loud enough to hear something. More info is here if you need it.
| Code: #alsamixer |
Now test your audio with your favorite cli player (e.g. mplayer, mpg123, etc)
Video
- Driver
| Code: #lspci -k | grep -A 1 -i video |
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9200M GS (rev a1)
Kernel driver in use: nvidia
|
This proved to be quite a pain in the neck since neither the latest available drivers from portage or nvidia's website would work with the 2.6.27 kernel. After, a bit of hunting I was able to locate a patch. Here is the patched installer. Simply cd into the unpacked directory and run the installer.
| Code: #cd NVIDIA-Linux-x86-173.14.12-pkg0; sh nvidia-installer |
That should take care of the driver, now to configure /etc/X11/xorg.conf.
- Xorg
The easiest way to get this done is to let the nvidia-installer do it for you and then make your edits for any custom font paths and the synaptics mouse driver ( x11-drivers/synaptics which you'll want to install). Here is mine if you'd like a reference.
- Framebuffer
This is very easy to setup once you have the proper kernel support. Adding vga=792 will give your frame buffer console a resolution of 1024x768 and a color depth of 24bpp. You may also wish to setup Fbsplash to display splash images while the system boots.
Misc
This section will cover the rest of the hardware in this laptop.
- Webcam:
This device is on the USB bus and can be found using the lsusb utility.
| Code: #lsusb | grep -i suyin |
Bus 002 Device 002: ID 064e:c107 Suyin Corp. |
It uses the uvcvideo module and more info can be found here.
- Burner
This works out of the box and doesn't require any special configuration. Simply emerge your favorite burning software ( k3b, brasero, cdrecord, etc ) and go to town.
- Hotkeys
All of these work except the "circular arrow" ( I think microsoft uses this for media player? ). You need to edit $HOME/.Xmodmap and add the following entries.
| File: $HOME/.Xmodmap |
keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 160 = XF86AudioMute keycode 144 = XF86AudioPrev keycode 162 = XF86AudioPlay keycode 153 = XF86AudioNext keycode 164 = XF86AudioStop |
Consult this page for information about setting them up in your preferred desktop.
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
