Difference between revisions of "HP Pavilion dv9500"

From ArchWiki
Jump to: navigation, search
(New page: Category:Laptops (English) == Input devices == To use multimedia keys you need to set keyboard model in /etc/X11/xorg.conf Option "XkbModel" "hpdv9500" Add this section into /us...)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:HP]]
 
+
 
== Input devices ==
 
== Input devices ==
 +
 +
=== Keyboard ===
 
To use multimedia keys you need to set keyboard model in /etc/X11/xorg.conf
 
To use multimedia keys you need to set keyboard model in /etc/X11/xorg.conf
  
Line 27: Line 28:
 
to section "! $inetkbds = ..." in /usr/share/X11/xkb/rules/xorg.
 
to section "! $inetkbds = ..." in /usr/share/X11/xkb/rules/xorg.
 
Now you can restart X server and set keyboard shortcuts in your music player
 
Now you can restart X server and set keyboard shortcuts in your music player
 +
 +
=== Touchpad ===
 +
1)
 +
    pacman -S synaptics
 +
 +
2) Open /etc/X11/xorg.conf
 +
 +
3) Add this section
 +
    Section "InputDevice"
 +
    Identifier      "Touchpad"
 +
    Driver  "synaptics"
 +
    Option  "Protocol" "auto"
 +
    Option  "Device" "/dev/psaux"
 +
    Option  "LeftEdge" "2000"
 +
    Option  "RightEdge" "5300"
 +
    Option  "TopEdge" "2000"
 +
    Option  "BottomEdge" "4300"
 +
    Option  "FingerLow" "25"
 +
    Option  "FingerHigh" "30"
 +
    Option  "MaxTapTime" "180"
 +
    Option  "MaxTapMove" "220"
 +
    #Option "VertScrollDelta" "100"
 +
    Option  "HorizScrollDelta" "100"
 +
    Option  "MinSpeed" "0.09"
 +
    Option  "MaxSpeed" "0.3"
 +
    Option  "AccelFactor" "0.002"
 +
    Option  "SHMConfig" "on"
 +
    Option  "HorizTwoFingerScroll" "false"
 +
    Option  "VertTwoFingerScroll" "false"
 +
    Option  "VertEdgeScroll" "false"
 +
    Option  "CircularScrolling" "true"
 +
    Option  "CircScrollTrigger" "3"
 +
    Option  "RTCornerButton" "0"
 +
    Option  "RBCornerButton" "2"
 +
    Option  "LTCornerButton" "0"
 +
    EndSection
 +
 +
4) You can modify it
 +
 +
5) Edit section "server layout"
 +
    Section "ServerLayout"
 +
    Identifier      "X.Org Configured"
 +
    Screen  0      "Screen0" 0 0
 +
    InputDevice    "Keyboard0" "CoreKeyboard"
 +
    InputDevice    "USB Mouse" "SendCoreEvents"
 +
    InputDevice    "Touchpad" "CorePointer"
 +
    EndSection

Revision as of 12:58, 23 April 2012

Input devices

Keyboard

To use multimedia keys you need to set keyboard model in /etc/X11/xorg.conf

   Option "XkbModel" "hpdv9500"

Add this section into /usr/share/X11/xkb/symbols/inet

   // Hewlett-Packard Pavilion dv9500
   partial alphanumeric_keys
   xkb_symbols "hpdv9500" {
    key <I10> { [ XF86AudioPrev		] };
    key <I19> { [ XF86AudioNext		] };
    key <I20> { [ XF86AudioMute		] };
    key <I22> { [ XF86AudioPlay, XF86AudioPause ] };
    key <I24> { [ XF86AudioStop		] };
    key <I2E> { [ XF86AudioLowerVolume		] };
    key <I30> { [ XF86AudioRaiseVolume		] };
    key <I32> { [ XF86WWW			] };
    key <PAUS> { [ Pause			] };
   };

And finally add

   hpdv9500

to section "! $inetkbds = ..." in /usr/share/X11/xkb/rules/xorg. Now you can restart X server and set keyboard shortcuts in your music player

Touchpad

1)

   pacman -S synaptics

2) Open /etc/X11/xorg.conf

3) Add this section

   Section "InputDevice"
    Identifier      "Touchpad"
    Driver  "synaptics"
    Option  "Protocol" "auto"
    Option  "Device" "/dev/psaux"
    Option  "LeftEdge" "2000"
    Option  "RightEdge" "5300"
    Option  "TopEdge" "2000"
    Option  "BottomEdge" "4300"
    Option  "FingerLow" "25"
    Option  "FingerHigh" "30"
    Option  "MaxTapTime" "180"
    Option  "MaxTapMove" "220"
    #Option "VertScrollDelta" "100"
    Option  "HorizScrollDelta" "100"
    Option  "MinSpeed" "0.09"
    Option  "MaxSpeed" "0.3"
    Option  "AccelFactor" "0.002"
    Option  "SHMConfig" "on"
    Option  "HorizTwoFingerScroll" "false"
    Option  "VertTwoFingerScroll" "false"
    Option  "VertEdgeScroll" "false"
    Option  "CircularScrolling" "true"
    Option  "CircScrollTrigger" "3"
    Option  "RTCornerButton" "0"
    Option  "RBCornerButton" "2"
    Option  "LTCornerButton" "0"
   EndSection

4) You can modify it

5) Edit section "server layout"

   Section "ServerLayout"
    Identifier      "X.Org Configured"
    Screen  0       "Screen0" 0 0
    InputDevice     "Keyboard0" "CoreKeyboard"
    InputDevice     "USB Mouse" "SendCoreEvents"
    InputDevice     "Touchpad" "CorePointer"
   EndSection