[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Touchpad tap clicking



Hi.

I'm running the latest xserver stuff on unstable, using a hal policy
file for my touchpad and it works without problems. I believe this is
the recommended way to do things.

A couple of things you can do:

- run hal from the command line - i.e. do something like (as root):

  /etc/init.d/hal stop
  hald --daemon=no --verbose=yes

and search the output for the name of your policyfile. That should
tell you if hal found an error.

- there is a line in the policyfile like this:

<match key="info.product" contains="ALPS">

the value of 'contains' should be 'Synaptics' or 'ALPS' depending on
what hardware you have.

My fdi policyfile looks like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains="ALPS">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.SHMConfig" type="string">on</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">2</merge>
        <merge key="input.x11_options.TapButton3" type="string">3</merge>
        <merge key="input.x11_options.LeftEdge" type="string">0</merge>
        <merge key="input.x11_options.RightEdge" type="string">900</merge>
        <merge key="input.x11_options.TopEdge" type="string">0</merge>
        <merge key="input.x11_options.BottomEdge" type="string">640</merge>
        <merge key="input.x11_options.FingerLow" type="string">7</merge>
        <merge key="input.x11_options.FingerHigh" type="string">8</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.MinTapTime" type="string">110</merge>
        <merge key="input.x11_options.ClickTime" type="string">0</merge>
        <merge key="input.x11_options.EmulateMidButtonTime"
type="string">75</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">20</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.40</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">0.65</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.030</merge>
        <merge key="input.x11_options.EdgeMotionMinSpeed"
type="string">200</merge>
        <merge key="input.x11_options.EdgeMotionMaxSpeed"
type="string">200</merge>
        <merge key="input.x11_options.UpDownScrolling" type="string">1</merge>
        <merge key="input.x11_options.CircularScrolling" type="string">1</merge>
        <merge key="input.x11_options.CircScrollDelta" type="string">0.1</merge>
        <merge key="input.x11_options.CircScrollTrigger" type="string">3</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">on</merge>
        <merge key="input.x11_options.Emulate3Buttons" type="string">on</merge>
        <merge key="input.x11_options.LockedDrags" type="string">0</merge>
      </match>
    </match>
  </device>
</deviceinfo>

My Xorg.conf is:

# Minimalistic xorg.xonf. Devices handled by HAL
Section "Device"
    Identifier  "G965"
    Option          "AccelMethod"           "UXA"
#     Option          "AccelMethod"           "EXA"
#    Option          "MigrationHeuristic"    "greedy"
#    Option          "ExaNoComposite"        "false"
EndSection

Section "ServerFlags"
        Option "DontZap" "off"
EndSection




Installed versions:

chr-pc:/etc# dpkg -l '*xserver-xorg*' | grep ii
ii  xserver-xorg                         1:7.4+4
   the X.Org X server
ii  xserver-xorg-core                    2:1.6.3-1+b1
   Xorg X server - core server
ii  xserver-xorg-input-evdev             1:2.2.5-1
   X.Org X server -- evdev input driver
ii  xserver-xorg-input-kbd               1:1.3.2-3
   X.Org X server -- keyboard input driver
ii  xserver-xorg-input-mouse             1:1.4.0-2
   X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics         1.1.2-1
   Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-video-intel             2:2.8.0-2
   X.Org X server -- Intel i8xx, i9xx display d


Hopes this helps.

br. Christian Surlykke




2009/8/22 Vincent Frison <vincent.frison@gmail.com>
>
> Hi all,
>
> My laptop touchpad works pretty well on my KDE except for the tap clicking.
>
> I tried different solutions but none of them has worked:
>
> 1) Enabling tap clicking on gsynaptics
>
> 2) Adding an explicit conf in xorg.conf:
> Section "InputDevice"
>    Identifier "Touchpad0"
>    Driver "synaptics"
>    Option "Device" "/dev/psaux"
>    Option "Protocol" "auto-dev"
>    Option "SendCoreEvents" "true"
>    Option "MaxTapTime" "180"
>    Option "MaxTapMove" "220"
> [..]
> EndSection
>
> 3) Adding lines in /etc/hal/fdi/policy/11-x11-synaptics.fdi such as
> <merge key="input.x11_options.TapButton1" type="string">1</merge>
>
> Apparently there's no GUI for touchpad in KDE settings unlike GNOME :(
>
> And the weird thing is that it works perfectly when I boot on a Kubuntu 8.10
> Live CD! In that case there's no special conf relative to touchpad in
> xorg.conf...
>
> I'm under Debian unstable with KDE 4.3.0 and  xserver-xorg-input-synaptics
> 1.1.2-1 installed.
>
> Any help would be appreciated,
>
> Thanks,
>
> Vincent.
>
>
> --
> To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>


Reply to: