![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
New openbsd user here, as a refugee from Linux.
I'm trying to get the synaptics driver loaded in xorg as I want access to buttons 2 and 3 from the trackpad using multi-finger clicks. I've tried forcing a load of synaptics from xorg.conf, and it appears to load (according to the logs) but synclient claims it's not there. Also tried disabling wsmouse and ws but still no joy. Can anyone point me in the right direction? Thanks. This is openbsd 6.6 (amd64) on a Dell laptop. __ Marc |
|
||||
![]() Quote:
Does this thread help? |
|
|||
![]()
Sadly, that post doesn't help. I'd read it previously and although it seemed to contain clues, I don't think it applies.
Here is the wsconsctl stuff: Code:
minnie# cat /etc/wsconsctl.conf # $OpenBSD: wsconsctl.conf,v 1.1 2014/07/16 13:21:33 deraadt Exp $ # # wscons configurable parameters # mouse.type=synaptics display.brightness=70.00% # $OpenBSD: wsconsctl.conf,v 1.1 2014/07/16 13:21:33 deraadt Exp $ # # wscons configurable parameters # mouse.type=synaptics display.brightness=70.00% minnie# wsconsctl keyboard.type=pc-xt [ . . . ] keyboard.encoding=us mouse.type=touchpad mouse.rawmode=0 mouse.scale=0,1229,0,929,0,12,12 mouse.reverse_scrolling=0 mouse.tp.tapping=0 mouse.tp.scaling=0.597 mouse.tp.swapsides=0 mouse.tp.disable=0 mouse.tp.edges=0.0,5.0,10.0,5.0 display.type=inteldrm [ . . . ] display.brightness=70.00% [ . . . ] minnie# wsconsctl mouse.type=synaptics wsconsctl: mouse.type: read only Here is /etc/X11/xorg.conf.d/70-synaptics.conf: Code:
# MM Section "Module" Disable "wsmouse" Disable "ws" Load "synaptics" EndSection Section "InputClass" Identifier "touchpad for minnie" MatchIsTouchpad "on" MatchDriver "synaptics" MatchDevicePath "/dev/wsmouse0" Option "ClickFinger1" "1" Option "ClickFinger2" "2" Option "ClickFinger3" "3" EndSection Code:
. . . [ 34.593] (WW) "wsmouse" will not be loaded unless you've specified it to be l oaded elsewhere. [ 34.593] (WW) "ws" will not be loaded unless you've specified it to be loade d elsewhere. [ 34.593] (II) "glx" will be loaded by default. [ 34.593] (II) LoadModule: "synaptics" [ 34.672] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so [ 34.734] (II) Module synaptics: vendor="X.Org Foundation" . . . [ 37.933] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBO A RD, id 6) [ 38.130] (II) config/wscons: checking input device /dev/wsmouse0 [ 38.130] (II) LoadModule: "ws" [ 38.132] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [ 38.148] (II) Module ws: vendor="X.Org Foundation" [ 38.148] compiled for 1.20.5, module version = 1.3.0 [ 38.148] Module class: X.Org XInput Driver [ 38.148] ABI class: X.Org XInput driver, version 24.1 [ 38.148] (II) Using input driver 'ws' for '/dev/wsmouse0' [ 38.148] (**) /dev/wsmouse0: always reports core events [ 38.148] (II) ws: /dev/wsmouse0: debuglevel 0 [ 38.148] (**) Option "Device" "/dev/wsmouse0" [ 38.148] (**) ws: /dev/wsmouse0: ZAxisMapping: buttons 4 and 5 [ 38.148] (**) ws: /dev/wsmouse0: WAxisMapping: buttons 6 and 7 [ 38.148] (**) ws: /dev/wsmouse0: associated screen: 0 [ 38.341] (II) ws: /dev/wsmouse0: minimum x position: 0 [ 38.341] (II) ws: /dev/wsmouse0: maximum x position: 1365 [ 38.341] (II) ws: /dev/wsmouse0: minimum y position: 0 [ 38.341] (II) ws: /dev/wsmouse0: maximum y position: 767 [ 38.341] (==) ws: /dev/wsmouse0: Buttons: 7 [ 38.341] (**) ws: /dev/wsmouse0: YAxisMapping: buttons 4 and 5 [ 38.341] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: MO U SE, id 7) [ 38.541] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1 [ 38.541] (**) /dev/wsmouse0: (accel) acceleration profile 0 [ 38.541] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000 [ 38.541] (**) /dev/wsmouse0: (accel) acceleration threshold: 4 [ 38.541] (II) config/wscons: checking input device /dev/wsmouse [ 38.541] (II) Using input driver 'ws' for '/dev/wsmouse' [ 38.541] (**) /dev/wsmouse: always reports core events [ 38.541] (II) ws: /dev/wsmouse: debuglevel 0 [ 38.541] (**) Option "Device" "/dev/wsmouse" [ 38.541] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [ 38.541] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [ 38.541] (**) ws: /dev/wsmouse: associated screen: 0 [ 38.541] (EE) PreInit returned 2 for "/dev/wsmouse" [ 38.541] (II) UnloadModule: "ws" Thanks. __ Marc |
|
|||
![]() Quote:
Here is my 70-synaptics.conf file now: Code:
Example xorg.conf.d snippet that assigns the touchpad driver # to all touchpads. See xorg.conf.d(5) for more information on # InputClass. # DO NOT EDIT THIS FILE, your distribution will likely overwrite # it when updating. Copy (and rename) this file into # /etc/X11/xorg.conf.d first. # Additional options may be added in the form of # Option "OptionName" "value" # #Section "InputClass" # Identifier "touchpad catchall" # Driver "synaptics" # MatchIsTouchpad "on" ## This option is recommend on all Linux systems using evdev, but cannot be ## enabled by default. See the following link for details: ## http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html ## MatchDevicePath "/dev/input/event*" #EndSection Section "InputClass" Identifier "touchpad ignore duplicates" MatchIsTouchpad "on" MatchDevicePath "/dev/wsmouse*" #Option "Ignore" "on" Option "ClickFinger1" "1" Option "ClickFinger2" "2" Option "ClickFinger3" "3" EndSection Still no joy. synclient tells me that it couldn't find synaptics properties and the Xorg log file shows no loading of synclient. It looks to me like wscons is in control here, but I don't know what to do about it. Thanks for the responses btw. It helps to know I'm not on my own. __ Marc |
|
||||
![]()
You've commented out the "touchpad catchall" section and added your configuration to the "ignore duplicates" section, don't do that.
And I don't think you should change the MatchDevicePath at all. Try copying my configuration from the other thread, here it is again: http://daemonforums.org/showpost.php...54&postcount=4 |
|
|||
![]() Quote:
And, yes I was adding options to the wrong section, though only in this iteration and not originally. Quote:
...A few experiments later: Looks like the MatchOs and MatchDevicePath stuff was all failing. The MatchOs failing makes sense to me, the MatchDevicePath not so much. I tried various versions: the version from your config file; /dev/wsmouse*; /dev/wsmouse; and /dev/wsmouse0. All caused the driver to fail to load. Since I will only ever have one trackpad there was no need to use multiple InputClass definitions. Here is the final working version of my conf file, sans comments and with minimal options defined. This should be enough for future noobs to get started with the synaptics driver: Code:
Section "InputClass" Identifier "touchpad" Driver "synaptics" MatchIsTouchpad "on" Option "VertEdgeScroll" "off" Option "VertTwoFingerScroll" "on" EndSection Many thanks for your help and patience. __ Marc |
![]() |
Tags |
synaptics, trackpad, xorg.conf |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touchpad scrolling and tap to click - no Synaptics? | JWJones | OpenBSD General | 6 | 19th January 2019 02:27 PM |
NetBSD and a Synaptics Touchpad | gmjs | NetBSD General | 16 | 17th July 2014 03:19 PM |
Synaptics touchpad is slower on OpenBSD 5.2 -current | daemonfowl | OpenBSD General | 4 | 26th June 2012 05:20 PM |
5.0-Current and Synaptics Touch Pad | shep | OpenBSD General | 4 | 16th October 2011 01:15 AM |
Noob | Gargamelle | Off-Topic | 4 | 16th December 2010 11:39 PM |