You are not logged in.

#1 2012-11-29 18:52:40

cleberaraujo
Member
Registered: 2012-05-22
Posts: 10

Disable touchpad while typing

Hello Guys,

I do not know if everyone agrees, but one thing that happens in the super boring default installation of Arch is that the touchpad is activated while anymore. With that, often be typing something and you suddenly realize that the cursor (for some crazy reason) ended up somewhere else ... if you're not careful just typing in the wrong place.

After so many episodes I decided to put a stop to it. Searching the site saw the Arch syndaemon takes care of this function, but I can not make it run.
Look what happens when I try to run it:

[cleber@Arch_Cleber ~]$ syndaemon -t -k -i 2 -d &
[1] 1717
[cleber@Arch_Cleber ~]$ Unable to find a synaptics device.
^C
[1]+  End of execution with status 2      syndaemon -t -k -i 2 -d
[cleber@Arch_Cleber ~]$ 

Searching the internet on this topic, I discovered synaptiks. But even after installing it does not work and does not detect the touchpad.

cleber@Arch_Cleber ~]$ synaptiks
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
synaptiks(2130)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

[cleber@Arch_Cleber ~]$ synaptiks
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/synaptiks/kde/trayapplication.py", line 260, in newInstance
    self.icon.show_configuration_dialog()
  File "/usr/lib/python2.7/site-packages/synaptiks/kde/trayapplication.py", line 241, in show_configuration_dialog
    self.touchpad, self.touchpad_manager, self._config)
AttributeError: 'SynaptiksNotifierItem' object has no attribute 'touchpad'
[cleber@Arch_Cleber ~]$ 

I think I found the problem, although the touchpad is working properly, the note does not acknowledge his presence. He even shows that the hardware exists.

Gave a researched on the internet trying to find the touchpad driver for Calpella Topstar H49 motherboard, but not found.

Can you say if there is already a module in the kernel ready, waiting modprobe, so the touchpad is detected?


Giving a verified site in the arch, I realized there was a template file 10-synaptics.conf who started using it:

Section "InputClass"
  Identifier "touchpad catchall"
  Driver "synaptics"
  MatchIsTouchpad "on"
    # Enable touchpad
    Option "TouchpadOff"        "0"
    # Allow run-time configuration
    # Option "SHMConfig"           "on"  # deprecated
    # Edge Limits
    Option "LeftEdge" "1748"
    Option "RightEdge" "5640"
    Option "TopEdge" "1274"
    Option "BottomEdge" "4752"
    # Speed
    Option "MinSpeed" "0.4"
    Option "MaxSpeed" "0.7"
    Option "AccelFactor" "0.00995223"
    # Pressure
    Option "FingerLow" "24"
    Option "FingerHigh" "29"
    Option "FingerPress" "255"
    # Tapping Detection
    Option "MaxTapTime" "0"             # 0 disables tap
    Option "MaxTapMove" "29"
    Option "MaxDoubleTapTime" "180"
    Option "SingleTapTimeout" "180"
    Option "ClickTime" "100"
    Option "FastTaps" "0"
    # Tapping as Buttons (number of fingers)
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    # Tap Dragging
    Option "LockedDrags" "0"
    Option "LockedDragTimeout" "5000"
    # Tap Gesture Dragging
    Option "TapAndDragGesture" "0"
    # Corner Tap Buttons
    Option "RTCornerButton" "0"
    Option "RBCornerButton" "0"
    Option "LTCornerButton" "0"
    Option "LBCornerButton" "0"
    # Scrolling Edges
    Option "VertEdgeScroll" "1"
    Option "VertScrollDelta" "100"
    Option "HorizEdgeScroll" "0"
    Option "HorizScrollDelta" "100"
    # Circular Scrolling
    Option "CircularScrolling" "0"
    Option "CircScrollDelta" "0.1"
    Option "CircScrollTrigger" "0"
    # Two Finger Scrolling
    Option "VertTwoFingerScroll" "0"
    Option "HorizTwoFingerScroll" "0"
    # Corner Coasting
    Option "CornerCoasting" "0"
    Option "CoastingSpeed" "20"
    Option "CoastingFriction" "50"
    # Kernel Event Protocol
    Option "GrabEventDevice" "1"
    # Edge Ignore Boundaries
    Option "AreaLeftEdge" "0"
    Option "AreaRightEdge" "0"
    Option "AreaTopEdge" "0"
    Option "AreaBottomEdge" "0"
    # Trackstick
    Option "TrackstickSpeed" "40"
    # Circular Trackpad
    Option "CircularPad" "0"
    # Multi-function Buttons
    Option "ClickFinger1" "1"
    Option "ClickFinger2" "1"
    Option "ClickFinger3" "1"
    # Edge Movements
    Option "EdgeMotionMinZ" "29"
    Option "EdgeMotionMaxZ" "159"
    Option "EdgeMotionMinSpeed" "1"
    Option "EdgeMotionMaxSpeed" "401"
    Option "EdgeMotionUseAlways" "0"
    # Pressure Motion
    Option "PressureMotionMinZ" "29"
    Option "PressureMotionMaxZ" "159"
    Option "PressureMotionMinFactor" "1"
    Option "PressureMotionMaxFactor" "1"
    # Emulations
    Option "EmulateMidButtonTime" "75"
    Option "EmulateTwoFingerMinZ" "280"
    Option "EmulateTwoFingerMinW" "7"
    # Palm Detection
    Option "PalmDetect" "0"
    Option "PalmMinWidth" "10"
    Option "PalmMinZ" "199"
EndSection

But even changing the file for this model above the system still does not recognize the touchpad. Notify insists he is not present in the notebook. Checking the xorg log, see what interesting:

He finds nothing on the touchpad.

[root@Arch_Cleber log]# cat Xorg.0.log | grep -i touch
[root@Arch_Cleber log]#

But find an ordinary mouse PS / 2, even if it does not exist.

[root@Arch_Cleber log]# cat Xorg.0.log | grep -i MOUSE
[    12.502] (==) intel(0): Silken mouse enabled
[    16.218] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event8)
[    16.218] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[    16.218] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
[    16.218] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[    16.218] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event8"
[    16.218] (--) evdev: ImPS/2 Generic Wheel Mouse: Vendor 0x2 Product 0x5
[    16.218] (--) evdev: ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[    16.218] (--) evdev: ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[    16.218] (--) evdev: ImPS/2 Generic Wheel Mouse: Found relative axes
[    16.218] (--) evdev: ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[    16.218] (II) evdev: ImPS/2 Generic Wheel Mouse: Configuring as mouse
[    16.218] (II) evdev: ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[    16.218] (**) evdev: ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[    16.218] (**) evdev: ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    16.218] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 12)
[    16.218] (II) evdev: ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[    16.218] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[    16.218] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[    16.218] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[    16.218] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[    16.218] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[root@Arch_Cleber log]# 

And not to mention that the touchpad works properly. Go figure ...

Do you know how can I fix it?

Already very grateful!

Offline

#2 2012-11-29 19:24:15

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,021

Re: Disable touchpad while typing

https://wiki.archlinux.org/index.php/Sy … ile_Typing

Edit: answered just on thread title.

Last edited by moetunes (2012-11-29 19:28:07)


You're just jealous because the voices only talk to me.

Offline

#3 2012-11-29 19:31:04

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,021

Re: Disable touchpad while typing

Might help if you mention the laptop model.


You're just jealous because the voices only talk to me.

Offline

#4 2012-11-29 19:38:57

cleberaraujo
Member
Registered: 2012-05-22
Posts: 10

Re: Disable touchpad while typing

Thanks for the reply moetunes, tried your tip but the error persists.

The system displays:

[cleber@Arch_Cleber xorg.conf.d]$ synclient PalmDetect=1
Couldn't find synaptics properties. No synaptics driver loaded?
[cleber@Arch_Cleber xorg.conf.d]$

Interestingly it does not exist for Arch touchpad on the notebook, he recognizes it as a regular mouse.

Any hint will be very welcome.

Offline

#5 2012-11-29 19:44:59

cleberaraujo
Member
Registered: 2012-05-22
Posts: 10

Re: Disable touchpad while typing

The model it is the ONIX - 7810B +, and the brand is CCE (Brazilian brand).

According to the manufacturer it is the motherboard Calpella Topstar H49, but already tried the touchpad driver on the manufacturer's website but could not find it for Linux.

Already very grateful!

Offline

Board footer

Powered by FluxBB