Gentoo on Pavilion DV652
Introduction^
The pavilion dv6520ea is a mid-end laptop, and costs around ~800 euros. It is available in two configurations, one with intel's x3100 and one with nvidia's 8400m. This tutorial is for the intel version, but it should be pretty much the same for the nvidia version, except for X.org configuration.
Specs^
- Intel Core 2 Duo 7100 @1.80GHz (Merom Core, 667MHz FSB, 2MB L2)
- 1GB DDR2 @667MHz (I got mine with 2GB)
- 120GB Sata 5400rpm Seagate
- Intel 965GM Chipset (X3100 graphics)
- Ricoh 5in1 card reader
- Ricoh IEEE1394 Firewire controller
- Realtek RTL8101E (NDIS 6.0) 10/100 Ethernet Controller (GigE)
- Intel PRO/Wireless 3945ABG
- Intel HDA Sound with Realtek ALC268 controller
- AuthenTec AES2501 Fingerprint reader
- Intel SATA AHCI controller
- Hewlett-Packard 1.3MB Built-in webcam
- Chicony Electronics Quick-launch keys
- Motorola SM56 Data Audio Fax modem
- 1x XpressCard 34/54 slot
Hardware identification tools^
Output of hardware identification tools
# lspci 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03) 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01) 07:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) 07:09.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 07:09.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12) 07:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) 07:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12) # lsusb Bus 5 Device 1: ID 0000:0000 Bus 7 Device 3: ID 03f0:171d Hewlett-Packard Bus 7 Device 1: ID 0000:0000 Bus 4 Device 1: ID 0000:0000 Bus 2 Device 3: ID 04f2:b015 Chicony Electronics Co., Ltd Bus 2 Device 1: ID 0000:0000 Bus 6 Device 2: ID 08ff:2580 AuthenTec, Inc. Bus 6 Device 1: ID 0000:0000 Bus 1 Device 1: ID 0000:0000 Bus 3 Device 1: ID 0000:0000
What doesn't work^
- The 56k modem
- XpressCard slot
N (I don't have such a card to test if it works)
Battery life^
Frequency scaling should be used. Using the ondemand governor, and with *normal* usage, including wifi, it should last for ~2hrs for the 6-cell battery, and ~5hrs for the 12-cell battery (which is available as an accessory. If you are doing a x86 installation, be sure to install and experiment with intel’s powertop (see reference section).
Setup^
webcam^
You will need 3rd party software to use the webcam, namely luvcview. Then, do emerge linux-uvc; modprobe uvcvideo. You 'll check a new device at /dev/v4l/video0.
Linux Kernel Configuration: gentoo-sources-2.6.22-r8
Device Drivers ---> Multimedia devices ---> <*> Video For Linux [*] Enable Video For Linux API 1 compatible Layer (NEW) [*] Video capture adapters [*] Autoselect pertinent encodes/decoders and other helper chips (NEW) [*] V4L USB devices (NEW) ---> <M> USB video devices based on Nogatech NT1003/1004/1005 <M> USB SN9C1xx PC Camera Controller support <M> USB ZR364XX Camera support
quickplay keys^
You need to remap the keys to work with xmodmap. There are the keycodes to put in /etc/X11/Xmodmap:
keycodes
code 144 = XF86AudioPrev keycode 162 = XF86AudioPlay keycode 153 = XF86AudioNext keycode 164 = XF86AudioStop keycode 160 = XF86AudioMute keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume
fingerprint scanner^
You have to use fprint. Unfortunately, this is not in portage yet. You have to create a custom overlay.
emerge-ing fprint
mkdir -p /usr/local/portage/bioapi/app-misc/fprint_demo cd /usr/local/portage/bioapi/app-misc/fprint_demo wget http://www.reactivated.net/fprint/ebuilds/fprint_demo-0.4.ebuild ebuild fprint_demo-0.4.ebuild digest mkdir -p ../../media-libs/libfprint cd ../../media-libs/libfprint/ wget http://www.reactivated.net/fprint/ebuilds/libfprint-0.0.4.ebuild ebuild libfprint-0.0.4.ebuild digest mkdir -p ../../sys-auth/pam_fprint cd ../../sys-auth/pam_fprint wget http://www.reactivated.net/fprint/ebuilds/pam_fprint-0.2.ebuild ebuild pam_fprint-0.2.ebuild digest echo PORTAGE_OVERLAY=\”/usr/local/portage/bioapi/\” >> /etc/make.conf # or edir apropriately if you already have other custom overlays emerge libfprint pam_fprint fprint_demo vim /etc/pam.d/system-auth in the second line add: auth sufficient pam_fprint.so
N If you 've used the fingerprint scanner in windows, it will take you a lot of tries to get used to the way fprint scans. You 'll get 9/10 logins as failed. Keep in mind that you have to pass your finger always with the same speed.
Touchpad enhancement^
emerge synaptics. Synaptics has a daemon which will allow you to deactivate the touchpad while typing, so you don't accidentaly touch it. synd -d -i 1, where -d is daemonize and -i the interval that has to pass before it activates the touchpad again, in seconds.