DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th January 2019
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 66
Default Touchpad scrolling and tap to click - no Synaptics?

I have 6.4 freshly installed on my ThinkPad T61, and I'm unable to configure edge scrolling and tap to click on the touchpad.

Checking synclient, I get this:

Code:
thuja$ synclient
Couldn't find synaptics properties. No synaptics driver loaded?
And it appears as though Synaptics isn't available in the packages:

Code:
Can't find synaptics
So, how do I enable edge scrolling and tap to click, if this is the case?
Reply With Quote
  #2   (View Single Post)  
Old 13th January 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 115
Default

The synaptics driver is already included in the base system:
Code:
Puffy:~$ pkg_locate synaptics
xbase64:/usr/X11R6/include/xorg/synaptics-properties.h
xserv64:/usr/X11R6/lib/modules/input/synaptics_drv.la
xserv64:/usr/X11R6/lib/modules/input/synaptics_drv.so
xserv64:/usr/X11R6/lib/pkgconfig/xorg-synaptics.pc
xserv64:/usr/X11R6/man/man4/synaptics.4
xserv64:/usr/X11R6/share/X11/xorg.conf.d/70-synaptics.conf
dtb-4.20:sysutils/dtb:/usr/local/share/dtb/arm64/synaptics/
dtb-4.20:sysutils/dtb:/usr/local/share/dtb/arm64/synaptics/berlin4ct-dmp.dtb
dtb-4.20:sysutils/dtb:/usr/local/share/dtb/arm64/synaptics/berlin4ct-stb.dtb
Puffy:~$
If you want to use it then copy the configuration file from /usr/X11R6/share/X11/xorg.conf.d/70-synaptics.conf to /etc/X11/xorg.conf.d/70-synaptics.conf and modify it to your liking.

Otherwise the umt(4) driver is loaded, that can be controlled with wsconsctl(8):
Code:
Puffy:~$ doas wsconsctl | grep mouse
wsconsctl: Use explicit arg to view keyboard.map.
mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1472,5888,1408,4810,0,97,188
mouse.tp.tapping=0
mouse.tp.scaling=0.165
mouse.tp.swapsides=0
mouse.tp.disable=0
mouse.tp.edges=0.0,5.0,0.0,5.0
mouse1.type=ps2
Puffy:~$
__________________
Linux is for people who hate Windows. BSD is for people who love UNIX.
Reply With Quote
  #3   (View Single Post)  
Old 13th January 2019
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 66
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
If you want to use it then copy the configuration file from /usr/X11R6/share/X11/xorg.conf.d/70-synaptics.conf to /etc/X11/xorg.conf.d/70-synaptics.conf and modify it to your liking.
I copied this over, and then added the following to the file:

Code:
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
            Option "TapButton1" "1"
            Option "TapButton2" "2"
            Option "TapButton3" "3"
        Option "VertEdgeScroll" "on"
        Option "HorizEdgeScroll" "on"
EndSection
So, in it's entirety, it looks like this:

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"
        MatchDevicePath "/dev/input/event*"
            Option "TapButton1" "1"
            Option "TapButton2" "2"
            Option "TapButton3" "3"
        Option "VertEdgeScroll" "on"
        Option "HorizEdgeScroll" "on"
EndSection

## 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

# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
Rebooted, and still no edge scrolling or tap to click. What am I doing wrong?
Reply With Quote
  #4   (View Single Post)  
Old 13th January 2019
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 115
Default

Quote:
Originally Posted by JWJones View Post
What am I doing wrong?
I think you have to keep the MatchDevicePath "/dev/input/event*" line commented out, here is my file:
Code:
Puffy:~$ cat /etc/X11/xorg.conf.d/70-synaptics.conf                      
# 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 
## enabled by default. See the following link for details:
## http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.h
##       MatchDevicePath "/dev/input/event*"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "off"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

# This option enables the bottom right corner to be a right button on cli
# and the right and middle top areas to be right / middle buttons on clic
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
Puffy:~$
Otherwise, check the Xorg log to see what is happening.
__________________
Linux is for people who hate Windows. BSD is for people who love UNIX.
Reply With Quote
  #5   (View Single Post)  
Old 13th January 2019
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 66
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
I think you have to keep the MatchDevicePath "/dev/input/event*" line commented out, here is my file:
That was it. I am now scrollin' -n- tappin' to my hearts content. Thanks!
Reply With Quote
  #6   (View Single Post)  
Old 4 Weeks Ago
hrsetrdr's Avatar
hrsetrdr hrsetrdr is offline
Port Guard
 
Join Date: Jul 2008
Posts: 23
Default

Subscribed. May need this for setting up OBSD on my Dell Inspiron.
__________________
Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |OpenBSD 6.4
Endeavoring to resolve my Linux dependancies.
Reply With Quote
  #7   (View Single Post)  
Old 4 Weeks Ago
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 66
Default

Quote:
Originally Posted by hrsetrdr View Post
Subscribed. May need this for setting up OBSD on my Dell Inspiron.
Hey, is that Johnny5 as your avatar?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchpad mouse scrolling dragan OpenBSD General 3 20th March 2017 08:28 PM
Xorg right click with touchpad psypro OpenBSD General 30 30th October 2016 10:14 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
Scrolling touchpad on T500 There0 OpenBSD General 0 28th December 2009 08:01 PM


All times are GMT. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick