Difference between revisions of "HP ProBook 4320s"
(→What's needed is the real buttons)
|Line 43:||Line 43:|
stagingblacklist the .
Revision as of 15:38, 13 April 2011
- 1 Device Information
- 2 Configuration
There are many configurations for these models of HP Probooks. Mine is like the following "lspci". Mostly, the stuff in lspci is pretty meaningless, because your OS (most likely Arch) will pick up all the device modules automatically, so you should't worry or pay too close attention to them. The most and only items in the lspci are your graphics card and your wireless networking card.
lspci model HP Probook 4320s P/N:WS904EA#ABB
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05) 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05) 00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05) 01:00.0 VGA compatible controller: ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series] 01:00.1 Audio device: ATI Technologies Inc Manhattan HDMI Audio [Mobility Radeon HD 5000 Series] 44:00.0 Network controller: RaLink RT3090 Wireless 802.11n 1T/1R PCIe 45:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
items of interest form lspci
44:00.0 Network controller: RaLink RT3090 Wireless 802.11n 1T/1R PCIe 01:00.0 VGA compatible controller: ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series]
other devices needing an attention
- Synaptics Clikpad (looks like a touchpad, but it has both of the buttons integrated in the overall touching zone of the touchpad).
- Battery life!!! Huuuuge difference of battery life when win7 and Arch compared. I suspect it to be tricky configuration of lm-sensors, cpufreq, and acpi alltogether.
This notebook comes, in my opinion, equiped the worst choice of wireless hardware. Definetely, for linux users. The Ralink combo card RT3090 is quite new, and Ralink promises extremely welcome support for the Linux community. However, the drivers supplied by them are nothing more but a pain and bunch of unstable, unusable lines of coding. So for now, let's try using what's already there for us within the linux kernel.
There generally are two drivers. One of with is old and staging, and another much newer, but probably not quite ready. The best choice is to load the older rt2860sta driver and blacklist the rest.
- add "rt2860sta" to the modules array in /etc/rc.conf
- black list the rest. My /etc/modprobe.d/modprobe.conf looks like this
blacklist rt2800pci blacklist rt61pci blacklist rt2800usb blacklist rt2800lib blacklist rt2x00usb blacklist rt2x00lib blacklist rt2x00pci
Video card ATI
Not much to say.. Just install the required package with pacman and you are all set. Your system will pick up the driver at the next lounch of X. The package is xf86-video-ati. Works without an issue. I have not tried the proprietary catalyst driver yet, I very well may not try it, because this one works good enaough for me.
The touchpad -clickpad is a pain. Unless you are already using the 2.6.38 kernel (as you shoud) and xf86-input-synaptics 1.4.0-2 package (wich came out pretty much the same day), your clikpad will be jittering and acting annoyingly with the default settings. I managed to get it working somewhat well by tweaking it with the /etc/X11/xorg.d/10-synaptics.conf file see below.
Now - with the synaptics package older than "xf86-input-synaptics 1.4.0-2", there are many things to tweak to get your clikpad working somewhat good. You will still miss the right-clik (the real click) button though, but I worked around this problem by making a soft-clik out of a two-finger touch that emulates the right-button click with inserting "Option "RTCornerButton" "2" in the config file.
Note, that normaly you shoudn't have any other files in the ..xorg.d/ directory that state configurations for input devices, unless you need specific configs for other input devices. When I connect external mouse, it works without any specific configuration.
Here is my /etc/X11/xorg.conf.d/10-synaptics.conf file.
# Config for clickpad ## Section "InputClass" Identifier "touchpad catchall" ## As defined in ../10-evdev.conf file Driver "synaptics" MatchIsTouchpad "on" Option "SHMConfig" "true" ## Alows you to run synclient commands on-the-fly. Good for testing MatchDevicePath "/dev/input/event*" Option "TapButton1" "1" Option "TapButton2" "3" Option "TapButton3" "0" Option "FastTaps" "0" Option "LockedDrags" "flase" Option "TapAndDragGesture" "true" Option "MinSpeed" "1" Option "MaxSpeed" "1.95" ## Found this value suiting best for me Option "AccelFactor" "0.0115" ## Also good for me #Option "AreaBottomEdge" "3800" ## Makes area around the real buttons insensitive for touch, disabled just because... Option "LeftEdge" "1756" ## Edge settins found to be correct Option "RightEdge" "5258" Option "TopEdge" "1622" Option "BottomEdge" "3450" Option "FingerLow" "30" ## Managing sensitivity Option "FingerHigh" "50" ## Also Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "VertEdgeScroll" "true" Option "UpDownScrolling" "true" Option "VertScrollDelta" "101" #Option "HorizEdgeScroll" "true" ## If enabled, the area right above real buttons will react to horizontal sroll, I prefer two-finger-scrolls for bot h ver and horiz Option "HorizScrollDelta" "88" Option "HorizTwoFingerScroll" "true" Option "VertTwoFingerScroll" "true" Option "RTCornerButton" "2" ## Right-top corner touch will emulate 3rd button press- good for pasting #Option "EmulateTwoFingerMinW" "5" #Option "HorizTwoFingerMinZ" "0" Option "CoastingFriction" "10" ## Adds inertia for scrolls Option "CoastingSpeed" "50" ## Also EndSection
What is achieved with these setings are explained in the comments in the file.
ClickPad with newest synaptics package
Now, with the newer package form Synaptics (1.4.0-2) I was really expecting much more improvement. However, it comes with some degree of dissapointment. First I tried to roll on without any aditional configuration of the device. I left it with the default settings that came with the new version of synaptics package.
- First, the clickpad seems to work smoother than before - thank you!
- However, the right-button is still missing. Vertical-two-finger sroll is working out-of-the-box - thank you!
- The default sensitivity of the clickpad is set too much - bad!
- None of the true wonders of clickpad are available (correct me if I am wrong)
- wonders like two-finger-zoom (stealed from apple),
- two-finger rotation,
- finger-movement inertia (really nice option- I very much like it),
- scrolling inertia (also very useful),
- Clickpad off button in the upper-left corner.
- I have the opportunity to test all the wonders of the clickpad, because I double-boot my Probook with Windows7. Where all the features of the clickpad are available.
Working w/o aditional settings in ../xorg.d/: with the newer Synaptics package
This is the default config file, let's use it and see how it goes.. /etc/X11/xorg.conf.d/10-synaptics.conf
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" EndSection
When reverting to using the same (my tweaked file) config file as listed above, everything works pretty much the same as with the newer driver, except that more options come default.