HP Compaq 6510b
From Gentoo Linux Wiki
| Laptops • TV Tuner Cards • Wireless • Servers • Storage • Other Hardware • Motherboards • Related |
Contents |
[edit] Introduction
14", 1440x900, CPU Core2duo 2.4GHz, 2GHz.
[edit] Description of the hardware
First of all, here's the output of lspci:
| Code: #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.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (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) 02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6) 02:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 02) 10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02) |
[edit] Configuration
[edit] make.conf
For CFLAGS, see the CPU section.
| File: /etc/make.conf |
ACCEPT_KEYWORDS="amd64" USE="nptl bash-completion a52 aac dvb lcmsusb xinerama X sse sse2 udev utf8" FEATURES="sandbox ccache" INPUT_DEVICES="keyboard mouse synaptics evdev" VIDEO_CARDS="i810 vesa" |
[edit] Kernel Configuration
I tested only kernel 2.6.24 (tuxonice)
[edit] CPU
See this guide.
[edit] Shared Memory
I had problems with shared memory (shmget) with VirtualBox, Mplayer, PGAdmin3 and others, because I had forgotten to this setting :
| Linux Kernel Configuration: Shared Memory |
General setup --->
[*] System V IPC
|
[edit] Graphics
See this guide.
[edit] Audio, Intel HD Audio Controller
| Linux Kernel Configuration: Intel HD Audio Controller |
Device Drivers --->
Sound --->
<*> Sound card support
<*> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[*] OSS Sequencer API
PCI devices --->
<*> 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
|
[edit] Xorg
[edit] Synaptics
Default configuration which open way to change settings for example by ksynaptics.
| File: /etc/X11/xorg.conf |
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "SendCoreEvents"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
EndSection
|
An another functional configuration is for example :
| File: /etc/X11/xorg.conf |
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "SendCoreEvents"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1400"
Option "BottomEdge" "4500"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
EndSection
|
[edit] Dualhead/Xinerama
For Xinerama is important to use this :
Virtual 2720 1924
which means LFP resolution and VGA resolution :
1440x900 + 1280x1024
Full configuration :
| File: /etc/X11/xorg.conf |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "TouchPad" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "GLcore"
Load "dbe"
#Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "SendCoreEvents"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
#DisplaySize 300 190 # mm
Identifier "Monitor0"
VendorName "AUO"
ModelName "1147"
VertRefresh 43-75
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "DRI" "true" # [<bool>]
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Virtual 2720 1924
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Virtual 2720 1924
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Virtual 2720 1924
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Virtual 2720 1924
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Virtual 2720 1924
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Virtual 2720 1924 # this is important for Xinerama
Depth 24
EndSubSection
EndSection
|
[edit] xrandr 1.2
After connecting another monitor (Samsung SyncMaster 940B) you can see this
| Code: # xrandr |
Screen 0: minimum 320 x 200, current 2720 x 1024, maximum 2720 x 1924 VGA connected 1280x1024+1440+0 (normal left inverted right) 376mm x 301mm 1280x1024 60.0*+ 59.9 1280x960 59.9 1152x864 75.0 74.8 1024x768 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 60.0 720x400 70.1 LVDS connected 1440x900+0+0 (normal left inverted right) 304mm x 190mm 1440x900 60.0*+ 1024x768 60.0 800x600 60.3 640x480 59.9 TV disconnected (normal left inverted right) |
To connect an another monitor just type
| Code: |
xrandr --output VGA --mode 1280x1024 --right-of LVDS |
Warning: LVDS AS FIRST SCREEN: The big problem is still with use LVDS as main screen and VGA as additional.
