Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synaptics doesn't work very well
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Tue Apr 17, 2012 3:34 pm    Post subject: Synaptics doesn't work very well Reply with quote

Hi,

I'm trying to fix a problem with Synaptics. Actually it works when I configure it with System > Preferences > Mouse > Touchpad.

But it's not very customizable. Especially, I want to define the distance between fingers for the TwoFingerScroll.

Anyway, I tried to configure synaptics in /etc/X11/xorg.conf.d/20-synaptics.conf :

Code:

Section "InputClass"
   Identifier   "TouchPad"
   Driver      "synaptics"
   MatchIsTouchpad   "on"
   Option   "TapButton1"           "1"
   Option   "TapButton2"          "3"
   Option   "TapButton3"          "2"
   Option   "VertEdgeScroll"       "off"
   Option   "VertTwoFingerScroll"   "on"
   Option   "HorizEdgeScroll"       "on"
   Option   "HorizTwoFingerScroll"   "off"
   Option   "EmulateTwoFingerMinZ"   "40"
   Option   "EmulateTwoFingerMinW"   "8"
EndSection


I have INPUT_DEVICES="evdev synaptics" in my /etc/make.conf

Here is the interesting part of /var/log/Xorg.0.log :
Code:

[    26.897] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[    26.897] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    26.897] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    26.897] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "TouchPad"
[    26.897] (II) LoadModule: "synaptics"
[    26.897] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[    26.897] (II) Module synaptics: vendor="X.Org Foundation"
[    26.897]    compiled for 1.11.2, module version = 1.4.0
[    26.897]    Module class: X.Org XInput Driver
[    26.897]    ABI class: X.Org XInput driver, version 13.0
[    26.897] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    26.898] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[    26.898] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    26.898] (**) Option "Device" "/dev/input/event6"
[    26.960] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5888
[    26.960] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4844
[    26.960] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    26.960] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    26.960] (--) SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    26.960] (**) Option "EmulateTwoFingerMinZ" "40"
[    26.960] (**) Option "EmulateTwoFingerMinW" "8"
[    26.960] (**) Option "VertEdgeScroll" "off"
[    26.960] (**) Option "HorizEdgeScroll" "on"
[    26.960] (**) Option "VertTwoFingerScroll" "on"
[    26.960] (**) Option "HorizTwoFingerScroll" "off"
[    26.960] (**) Option "TapButton1" "1"
[    26.960] (**) Option "TapButton2" "3"
[    26.960] (**) Option "TapButton3" "2"
[    27.080] (--) SynPS/2 Synaptics TouchPad: touchpad found
[    27.080] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    27.440] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[    27.440] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[    27.440] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    27.440] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[    27.440] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.036
[    27.440] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    27.440] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    27.440] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    27.440] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    27.440] (--) SynPS/2 Synaptics TouchPad: touchpad found
[    27.440] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    27.440] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    27.440] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "TouchPad"
[    27.440] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    27.441] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[    27.441] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    27.441] (**) Option "Device" "/dev/input/mouse0"
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid x-axis range.  defaulting to 1615 - 5685
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid y-axis range.  defaulting to 1729 - 4171
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid pressure range.  defaulting to 0 - 256
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid finger width range.  defaulting to 0 - 16
[    27.441] (**) Option "EmulateTwoFingerMinZ" "40"
[    27.441] (**) Option "EmulateTwoFingerMinW" "8"
[    27.441] (**) Option "VertEdgeScroll" "off"
[    27.441] (**) Option "HorizEdgeScroll" "on"
[    27.441] (**) Option "VertTwoFingerScroll" "on"
[    27.441] (**) Option "HorizTwoFingerScroll" "off"
[    27.441] (**) Option "TapButton1" "1"
[    27.441] (**) Option "TapButton2" "3"
[    27.441] (**) Option "TapButton3" "2"
[    27.461] (EE) Query no Synaptics: 6003C8
[    27.461] (--) SynPS/2 Synaptics TouchPad: no supported touchpad found
[    27.461] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[    27.760] (EE) PreInit returned 11 for "SynPS/2 Synaptics TouchPad"
[    27.760] (II) UnloadModule: "synaptics"
[    27.760] (II) Unloading synaptics


I noticed that the module was load twice. One due to input device /dev/input/event6 and the other due to input device /dev/input/mouse0.

I also noticed that there was something wrong the second time :
Code:

[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid x-axis range.  defaulting to 1615 - 5685
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid y-axis range.  defaulting to 1729 - 4171
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid pressure range.  defaulting to 0 - 256
[    27.441] (--) SynPS/2 Synaptics TouchPad: invalid finger width range.  defaulting to 0 - 16


But I don't know what to do from here.

Thanks for help.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Apr 17, 2012 5:21 pm    Post subject: Reply with quote

Ad a restrict to '/dev/input/event*' paths in that conf snippet.
Back to top
View user's profile Send private message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Tue Apr 17, 2012 6:03 pm    Post subject: Reply with quote

I tried to add Option "Device" "/dev/input/event6" but it didn't change anything.

After a further research, I deleted my /etc/X11/xorg.conf.d/20-synaptics.conf

and changed the content of /usr/share/X11/xorg.conf.d/50-synaptics.conf

Code:
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event6"
        Option  "TapButton1"            "1"
        Option  "TapButton2"            "3"
        Option  "TapButton3"            "2"
        Option  "VertEdgeScroll"        "off"
        Option  "VertTwoFingerScroll"   "on"
        Option  "HorizEdgeScroll"       "on"
        Option  "HorizTwoFingerScroll"  "off"
        Option  "EmulateTwoFingerMinZ"  "40"
        Option  "EmulateTwoFingerMinW"  "8"
EndSection


It seems to work since Xorg.0.log doesn't log any error about synaptics. However, the "GUI configuration" of the touchpad (System > Preferences > Mouse > Touchpad) still has the precedence.

How could I set the precedence to 50-synaptics ?
Back to top
View user's profile Send private message
radius
n00b
n00b


Joined: 30 Mar 2012
Posts: 24

PostPosted: Tue Apr 17, 2012 6:45 pm    Post subject: Reply with quote

https://wiki.archlinux.org/index.php/Touchpad_Synaptics#GNOME says that

Quote:
Gnome settings daemon may override existing settings (for example ones set in xorg.conf.d) for which there is no equivalent in any of the graphical configuration utilities. It is possible to stop gnome from touching mouse settings at all:
Run dconf-editor
Edit /org/gnome/settings-daemon/plugins/mouse/
Uncheck the active setting
It will now respect your system's existing synaptics configuration.


I use openbox, so I can't confirm if it works.
_________________
...
Back to top
View user's profile Send private message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Tue Apr 17, 2012 7:30 pm    Post subject: Reply with quote

Haven't anything looking like settings-daemon in /org/gnome/ :s I browse all trees and haven't found anything else that could be relevant.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum